• Home
  • History
  • Annotate
  • only in this directory
NameDateSize

..25-Jun-20164 KiB

decompress_v10.ldsH A D25-Jun-2016342

decompress_v32.ldsH A D25-Jun-2016337

head_v10.SH A D25-Jun-20162.8 KiB

head_v32.SH A D25-Jun-20163.6 KiB

MakefileH A D25-Jun-20161.1 KiB

misc.cH A D25-Jun-20168.6 KiB

READMEH A D25-Jun-20161 KiB

README

1Creation of the self-extracting compressed kernel image (vmlinuz)
2-----------------------------------------------------------------
3
4This can be slightly confusing because it's a process with many steps.
5
6The kernel object built by the arch/etrax100/Makefile, vmlinux, is split
7by that makefile into text and data binary files, vmlinux.text and
8vmlinux.data.
9
10Those files together with a ROM filesystem can be catted together and
11burned into a flash or executed directly at the DRAM origin.
12
13They can also be catted together and compressed with gzip, which is what
14happens in this makefile. Together they make up piggy.img.
15
16The decompressor is built into the file decompress.o. It is turned into
17the binary file decompress.bin, which is catted together with piggy.img
18into the file vmlinuz. It can be executed in an arbitrary place in flash.
19
20Be careful - it assumes some things about free locations in DRAM. It
21assumes the DRAM starts at 0x40000000 and that it is at least 8 MB,
22so it puts its code at 0x40700000, and initial stack at 0x40800000.
23
24-Bjorn
25