android_kernel_xiaomi_sm8350/arch/powerpc/boot
Scott Wood aeb4552fad [POWERPC] bootwrapper: Revert ps3 binary flag usage, and remove .bin suffix
The ps3 target produces two images, and the binary one is not the
"primary" image that corresponds to the -o flag; thus, it no longer
uses the generic binary flag.

On platforms which do use the binary flag, it no longer produces a
.bin suffix, so that the output file matches what was passed to the -o flag.

This should fix the zImage ln problems for the ps3 target.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Acked-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-11-08 14:15:30 +11:00
..
dts Merge branch 'for-2.6.24' of master.kernel.org:/pub/scm/linux/kernel/git/jwboyer/powerpc-4xx into merge 2007-10-23 22:20:51 +10:00
.gitignore [POWERPC] Add treeImage to .gitignore 2007-10-03 07:23:16 -05:00
4xx.c [POWERPC] PowerPC 440EPx: Sequoia bootwrapper 2007-09-07 07:49:28 -05:00
4xx.h [POWERPC] PowerPC 440EPx: Sequoia bootwrapper 2007-09-07 07:49:28 -05:00
44x.h [POWERPC] cuimage for Bamboo board 2007-09-19 21:13:16 -05:00
addnote.c
addRamDisk.c
bamboo.c [POWERPC] cuimage for Bamboo board 2007-09-19 21:13:16 -05:00
cpm-serial.c [POWERPC] cpm: Describe multi-user ram in its own device node. 2007-10-04 15:47:05 -05:00
crt0.S
cuboot-8xx.c [POWERPC] CPM: Change from fsl,brg-frequency to brg/clock-frequency 2007-10-03 20:35:43 -05:00
cuboot-52xx.c [POWERPC] mpc5200: Add cuimage support for mpc5200 boards 2007-09-22 14:49:22 +10:00
cuboot-83xx.c [POWERPC] bootwrapper: Move linker symbols into ops.h 2007-08-22 15:27:28 +10:00
cuboot-85xx.c [POWERPC] bootwrapper: Move linker symbols into ops.h 2007-08-22 15:27:28 +10:00
cuboot-bamboo.c [POWERPC] cuimage for Bamboo board 2007-09-19 21:13:16 -05:00
cuboot-ebony.c [POWERPC] Consolidate cuboot initialization code 2007-06-14 22:30:16 +10:00
cuboot-hpc2.c [POWERPC] bootwrapper: adds cuboot for MPC7448HPC2 platform 2007-10-04 11:02:50 -05:00
cuboot-pq2.c [POWERPC] Document local bus nodes in the device tree, and update cuboot-pq2. 2007-10-04 11:02:34 -05:00
cuboot-sequoia.c [POWERPC] PowerPC 440EPx: Sequoia bootwrapper 2007-09-07 07:49:28 -05:00
cuboot.c [POWERPC] bootwrapper: Move linker symbols into ops.h 2007-08-22 15:27:28 +10:00
cuboot.h [POWERPC] Consolidate cuboot initialization code 2007-06-14 22:30:16 +10:00
dcr.h [POWERPC] Walnut zImage wrapper 2007-09-07 07:51:44 -05:00
devtree.c [POWERPC] bootwrapper: Factor out dt_set_mac_address() 2007-10-03 11:48:43 +10:00
div64.S
dummy.c
ebony.c [POWERPC] bootwrapper: Move linker symbols into ops.h 2007-08-22 15:27:28 +10:00
elf_util.c
elf.h
ep88xc.c [POWERPC] 8xx/wrapper: Embedded Planet EP88xC support 2007-10-04 11:02:40 -05:00
fixed-head.S [POWERPC] 8xx/wrapper: Embedded Planet EP88xC support 2007-10-04 11:02:40 -05:00
flatdevtree_env.h [POWERPC] Move bootwrapper's strchr() and strncmp() from .h to string.S 2007-09-14 01:33:19 +10:00
flatdevtree_misc.c [POWERPC] bootwrapper: Add get_path() 2007-09-14 01:33:23 +10:00
flatdevtree.c [POWERPC] bootwrapper: Add get_path() 2007-09-14 01:33:23 +10:00
flatdevtree.h [POWERPC] bootwrapper: Add get_path() 2007-09-14 01:33:23 +10:00
fsl-soc.c [POWERPC] bootwrapper: Add fsl_get_immr() and 8xx/pq2 clock functions. 2007-10-03 20:36:35 -05:00
fsl-soc.h [POWERPC] bootwrapper: Add fsl_get_immr() and 8xx/pq2 clock functions. 2007-10-03 20:36:35 -05:00
gunzip_util.c [POWERPC] boot: Simplify gunzip_finish 2007-10-03 11:48:43 +10:00
gunzip_util.h
hack-coff.c
holly.c [POWERPC] bootwrapper: Move linker symbols into ops.h 2007-08-22 15:27:28 +10:00
install.sh
io.h [POWERPC] bootwrapper: Add 16-bit I/O, sync(), eieio(), and barrier() 2007-08-22 15:21:48 +10:00
main.c [POWERPC] bootwrapper: Move linker symbols into ops.h 2007-08-22 15:27:28 +10:00
Makefile [POWERPC] Enable debug info on boot wrapper 2007-10-09 21:01:55 +10:00
mktree.c
mpc8xx.c [POWERPC] bootwrapper: Add fsl_get_immr() and 8xx/pq2 clock functions. 2007-10-03 20:36:35 -05:00
mpc8xx.h [POWERPC] bootwrapper: Add fsl_get_immr() and 8xx/pq2 clock functions. 2007-10-03 20:36:35 -05:00
mpc52xx-psc.c [POWERPC] mpc5200: Add cuimage support for mpc5200 boards 2007-09-22 14:49:22 +10:00
mpsc.c [POWERPC] bootwrapper: Declare udelay() in ops.h 2007-08-22 15:21:49 +10:00
mv64x60_i2c.c [POWERPC] bootwrapper: Declare udelay() in ops.h 2007-08-22 15:21:49 +10:00
mv64x60.c
mv64x60.h
ns16550.c
of.c [POWERPC] bootwrapper: Move linker symbols into ops.h 2007-08-22 15:27:28 +10:00
of.h [POWERPC] Make more OF-related bootwrapper functions available to non-OF platforms 2007-06-28 19:19:28 +10:00
ofconsole.c [POWERPC] Make more OF-related bootwrapper functions available to non-OF platforms 2007-06-28 19:19:28 +10:00
oflib.c [POWERPC] Make more OF-related bootwrapper functions available to non-OF platforms 2007-06-28 19:19:28 +10:00
ops.h [POWERPC] Virtex: Add uartlite bootwrapper driver 2007-10-03 07:23:13 -05:00
page.h
planetcore.c [POWERPC] bootwrapper: Add PlanetCore firmware support 2007-10-03 11:48:43 +10:00
planetcore.h [POWERPC] bootwrapper: Add PlanetCore firmware support 2007-10-03 11:48:43 +10:00
ppc_asm.h
ppcboot.h [POWERPC] bootwrapper: Add TARGET_HAS_ETHn tests to ppcboot.h 2007-08-22 15:21:48 +10:00
pq2.c [POWERPC] bootwrapper: Add fsl_get_immr() and 8xx/pq2 clock functions. 2007-10-03 20:36:35 -05:00
pq2.h [POWERPC] bootwrapper: Add fsl_get_immr() and 8xx/pq2 clock functions. 2007-10-03 20:36:35 -05:00
prpmc2800.c [POWERPC] bootwrapper: Move linker symbols into ops.h 2007-08-22 15:27:28 +10:00
ps3-head.S PS3: Fix build with 32-bit toolchains 2007-07-21 17:49:16 -07:00
ps3-hvcall.S PS3: Fix build with 32-bit toolchains 2007-07-21 17:49:16 -07:00
ps3.c [POWERPC] bootwrapper: Move linker symbols into ops.h 2007-08-22 15:27:28 +10:00
README
reg.h
rs6000.h
serial.c [POWERPC] Virtex: Add uartlite bootwrapper driver 2007-10-03 07:23:13 -05:00
simple_alloc.c
stdio.c [POWERPC] Add u64 printf to bootwrapper 2007-06-28 19:16:48 +10:00
stdio.h
stdlib.c [POWERPC] bootwrapper: Add strtoull() 2007-09-14 01:33:23 +10:00
stdlib.h [POWERPC] bootwrapper: Add strtoull() 2007-09-14 01:33:23 +10:00
string.h [POWERPC] Add memchr() to the bootwrapper 2007-10-12 14:13:44 +10:00
string.S [POWERPC] Add memchr() to the bootwrapper 2007-10-12 14:13:44 +10:00
treeboot-bamboo.c [POWERPC] cuimage for Bamboo board 2007-09-19 21:13:16 -05:00
treeboot-ebony.c [POWERPC] bootwrapper: Move linker symbols into ops.h 2007-08-22 15:27:28 +10:00
treeboot-walnut.c [POWERPC] 4xx: Enable EMAC for PPC405 Walnut board 2007-10-19 16:18:33 -05:00
types.h [POWERPC] Add signed types to bootwrapper 2007-06-28 19:16:47 +10:00
uartlite.c [POWERPC] Uartlite: bootwrapper bug fix, getc loops forever 2007-10-10 09:14:35 -06:00
util.S
wrapper [POWERPC] bootwrapper: Revert ps3 binary flag usage, and remove .bin suffix 2007-11-08 14:15:30 +11:00
zImage.coff.lds.S
zImage.lds.S
zImage.ps3.lds.S [POWERPC] PS3: Bootwrapper support. 2007-07-10 21:56:40 +10: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