mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
621da0f8af
The "wrapper" script was using the wrong names for the initrd and dtb (device-tree blob) sections. This fixes it, and also ensures the symbols for the start and end of the dtb get defined correctly. Signed-off-by: Paul Mackerras <paulus@samba.org> |
||
---|---|---|
.. | ||
dts | ||
.gitignore | ||
addnote.c | ||
addRamDisk.c | ||
crt0.S | ||
div64.S | ||
dummy.c | ||
elf.h | ||
flatdevtree.h | ||
hack-coff.c | ||
install.sh | ||
main.c | ||
Makefile | ||
of.c | ||
ops.h | ||
page.h | ||
ppc_asm.h | ||
README | ||
rs6000.h | ||
stdio.c | ||
stdio.h | ||
string.h | ||
string.S | ||
types.h | ||
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