initrd size is printed as hex, add a missing 0x remove a duplicate printf when initrd is used. remove use of kernel type to access the first bytes of the initrd memarea. Signed-off-by: Olaf Hering <olh@suse.de> Signed-off-by: Paul Mackerras <paulus@samba.org> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| README | ||
| addRamDisk.c | ||
| addnote.c | ||
| crt0.S | ||
| div64.S | ||
| install.sh | ||
| main.c | ||
| ppc32-types.h | ||
| prom.c | ||
| string.S | ||
| zImage.lds | ||
| zlib.c | ||
| zlib.h | ||
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