kernel-fxtec-pro1x/arch/cris/arch-v32/boot/compressed
Jesper Nilsson 111e3b1aba CRIS v32: Replace build flags in boot/compressed/Makefile
- Change AFLAGS to asflags-y, LDFLAGS to ldflags-y and KBUILD_CFLAGS
  to ccflags-y. We only need the flags in this Makefile.
2008-02-08 11:06:33 +01:00
..
decompress.ld [PATCH] CRIS update: new subarchitecture v32 2005-07-27 16:26:01 -07:00
head.S CRIS v32: Update compressed head.S 2008-02-08 11:06:26 +01:00
Makefile CRIS v32: Replace build flags in boot/compressed/Makefile 2008-02-08 11:06:33 +01:00
misc.c CRIS v32: Update boot/compressed/misc.c 2008-02-08 11:06:27 +01:00
README CRIS v32: Remove useless CVS id tag from boot/compressed/README 2008-02-08 11:06:33 +01:00

Creation of the self-extracting compressed kernel image (vmlinuz)
-----------------------------------------------------------------

This can be slightly confusing because it's a process with many steps.

The kernel object built by the arch/etrax100/Makefile, vmlinux, is split
by that makefile into text and data binary files, vmlinux.text and
vmlinux.data.

Those files together with a ROM filesystem can be catted together and
burned into a flash or executed directly at the DRAM origin.

They can also be catted together and compressed with gzip, which is what
happens in this makefile. Together they make up piggy.img.

The decompressor is built into the file decompress.o. It is turned into
the binary file decompress.bin, which is catted together with piggy.img
into the file vmlinuz. It can be executed in an arbitrary place in flash.

Be careful - it assumes some things about free locations in DRAM. It
assumes the DRAM starts at 0x40000000 and that it is at least 8 MB,
so it puts its code at 0x40700000, and initial stack at 0x40800000.

-Bjorn