Laurent Vivier 58531b0c80 powerpc/boot: allow wrapper to work on non-english system
if the language is not english objdump output is not parsed correctly
and format is "". Later, "ld -m $format" fails.

This patch adds "LANG=C" to force english output for objdump.

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2015-11-26 22:11:16 +11:00
..
2015-11-05 23:38:43 -08:00
2013-12-02 14:06:57 +11:00
2010-05-12 07:48:49 -04:00
2007-09-19 21:13:16 -05:00
2008-06-09 13:42:25 +10:00
2008-04-17 01:01:40 -05:00
2014-05-01 08:26:26 +10:00
2009-12-12 22:24:26 -07:00
2014-08-05 15:41:03 +10:00
2015-04-29 17:17:17 -05:00
2015-04-29 17:17:17 -05:00
2014-08-26 09:35:57 +02:00
2007-09-14 01:33:23 +10:00
2007-09-14 01:33:23 +10:00
2009-12-12 22:24:29 -07:00

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