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