android_kernel_xiaomi_sm8350/arch/powerpc/boot
Scott Wood a9ec7669fc [POWERPC] bootwrapper: Make ft_get_parent() return a phandle, and NULL if already top-level.
Most of ft_get_parent() is factored out into __ft_get_parent(), which
deals only in internal node pointers.  The ft_get_parent() wrapper
handles phandle conversion in both directions (previously,
ft_get_parent() did not convert its return value).

It also now returns NULL as the parent of the toplevel node, rather than
just returning the toplevel node again (which made it rather useless in
loops).

Signed-off-by: Scott Wood <scottwood@freescale.com>
Acked-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-03-16 15:49:11 +11:00
..
dts [POWERPC] Remove unused, undocumented #cpus property from cpus node 2007-03-09 15:03:24 +11:00
.gitignore [POWERPC] Add files build to .gitignore 2006-12-04 20:41:29 +11:00
addnote.c
addRamDisk.c
crt0.S [POWERPC] zImage: Cleanup and improve zImage entry point 2007-03-13 13:35:03 +11:00
div64.S
dummy.c
elf.h
flatdevtree_env.h [POWERPC] Add flatdevtree source 2006-10-23 12:49:18 +10:00
flatdevtree_misc.c [POWERPC] Cleanup zImage handling of kernel entry with flat device tree 2006-12-04 20:39:34 +11:00
flatdevtree.c [POWERPC] bootwrapper: Make ft_get_parent() return a phandle, and NULL if already top-level. 2007-03-16 15:49:11 +11:00
flatdevtree.h [POWERPC] bootwrapper: Make ft_get_parent() return a phandle, and NULL if already top-level. 2007-03-16 15:49:11 +11:00
gunzip_util.c [POWERPC] zImage: Add more flexible gunzip convenience functions 2007-03-13 13:35:01 +11:00
gunzip_util.h [POWERPC] zImage: Add more flexible gunzip convenience functions 2007-03-13 13:35:01 +11:00
hack-coff.c
install.sh
io.h [POWERPC] Add non-OF serial console support 2006-10-23 12:49:19 +10:00
main.c [POWERPC] zImage: Cleanup and improve zImage entry point 2007-03-13 13:35:03 +11:00
Makefile [POWERPC] zImage: Cleanup and improve zImage entry point 2007-03-13 13:35:03 +11:00
mktree.c [POWERPC] Add mktree utility to arch/powerpc/boot 2006-10-24 15:01:27 +10:00
ns16550.c [POWERPC] Add non-OF serial console support 2006-10-23 12:49:19 +10:00
of.c [POWERPC] zImage: Cleanup and improve zImage entry point 2007-03-13 13:35:03 +11:00
ops.h [POWERPC] bootwrapper: Add stddef.h to ops.h 2007-03-13 21:15:42 +11:00
page.h
ppc_asm.h
README
rs6000.h
serial.c [POWERPC] Add non-OF serial console support 2006-10-23 12:49:19 +10:00
simple_alloc.c [POWERPC] Add simple memory allocator to bootwrapper 2006-10-23 12:49:19 +10:00
stdio.c [POWERPC] More bootwrapper reorganization 2006-10-18 15:50:18 +10:00
stdio.h [POWERPC] Start arch/powerpc/boot code reorganization 2006-09-20 15:09:58 +10:00
string.h
string.S
types.h [POWERPC] Start arch/powerpc/boot code reorganization 2006-09-20 15:09:58 +10:00
util.S [POWERPC] Add non-OF serial console support 2006-10-23 12:49:19 +10:00
wrapper [POWERPC] zImage: Cleanup and improve zImage entry point 2007-03-13 13:35:03 +11:00
zImage.coff.lds.S [POWERPC] zImage: Cleanup and improve zImage entry point 2007-03-13 13:35:03 +11:00
zImage.lds.S [POWERPC] zImage: Cleanup and improve zImage entry point 2007-03-13 13:35:03 +11: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