summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/README
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/boot/README')
-rw-r--r--arch/powerpc/boot/README11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/powerpc/boot/README b/arch/powerpc/boot/README
new file mode 100644
index 00000000000..3e11058760e
--- /dev/null
+++ b/arch/powerpc/boot/README
@@ -0,0 +1,11 @@
+
+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
+