mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 08:46:43 +07:00
94b212c29f
This also extends the code to handle 32-bit ELF vmlinux files as well as 64-bit ones. This is sufficient for booting on new-world 32-bit powermacs (i.e. all recent machines). Signed-off-by: Paul Mackerras <paulus@samba.org>
12 lines
327 B
Plaintext
12 lines
327 B
Plaintext
|
|
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
|
|
|