30d8caf7c6
zImage will set /chosen/bootargs (if it is otherwise empty) with the contents of a buffer in the section "__builtin_cmdline". This permits tools to edit zImage binaries to set the command-line eventually processed by vmlinux. -- Signed-off-by: Michal Ostrowski <mostrows@watson.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
README | ||
addRamDisk.c | ||
addnote.c | ||
crt0.S | ||
div64.S | ||
dummy.c | ||
elf.h | ||
hack-coff.c | ||
install.sh | ||
main.c | ||
page.h | ||
ppc_asm.h | ||
prom.c | ||
prom.h | ||
rs6000.h | ||
stdio.c | ||
stdio.h | ||
string.S | ||
string.h | ||
zImage.coff.lds | ||
zImage.lds |
README
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