173ba87b95
The uppermost part of memory is where u-boot puts the stack, so don't include that in the heap. It's not currently causing problems, as the current code allocates from the bottom of the heap, but this will keep things from potentially breaking if a future implementation were to allocate from the top. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Paul Mackerras <paulus@samba.org> |
||
---|---|---|
.. | ||
dts | ||
.gitignore | ||
addnote.c | ||
addRamDisk.c | ||
crt0.S | ||
cuboot-83xx.c | ||
cuboot-85xx.c | ||
devtree.c | ||
div64.S | ||
dummy.c | ||
elf_util.c | ||
elf.h | ||
flatdevtree_env.h | ||
flatdevtree_misc.c | ||
flatdevtree.c | ||
flatdevtree.h | ||
gunzip_util.c | ||
gunzip_util.h | ||
hack-coff.c | ||
install.sh | ||
io.h | ||
main.c | ||
Makefile | ||
mktree.c | ||
ns16550.c | ||
of.c | ||
ops.h | ||
page.h | ||
ppc_asm.h | ||
ppcboot.h | ||
README | ||
reg.h | ||
rs6000.h | ||
serial.c | ||
simple_alloc.c | ||
stdio.c | ||
stdio.h | ||
string.h | ||
string.S | ||
types.h | ||
util.S | ||
wrapper | ||
zImage.coff.lds.S | ||
zImage.lds.S |
To extract the kernel vmlinux, System.map, .config or initrd from the zImage binary: objcopy -j .kernel:vmlinux -O binary zImage vmlinux.gz objcopy -j .kernel:System.map -O binary zImage System.map.gz objcopy -j .kernel:.config -O binary zImage config.gz objcopy -j .kernel:initrd -O binary zImage.initrd initrd.gz Peter