android_kernel_xiaomi_sm8350/arch/powerpc/boot
Scott Wood 173ba87b95 [POWERPC] bootwrapper: cuboot-83xx: Exclude upper 1MB from heap.
The uppermost part of memory is where u-boot puts the stack, so don't
include that in the heap.  It's not currently causing problems, as the
current code allocates from the bottom of the heap, but this will keep
things from potentially breaking if a future implementation were to
allocate from the top.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-04-27 21:14:21 +10:00
..
dts [POWERPC] Fix comment typo in Kurobox device tree 2007-04-24 22:06:56 +10:00
.gitignore [POWERPC] bootwrapper: Add a cuboot platform and a cuImage target 2007-04-24 21:31:54 +10:00
addnote.c
addRamDisk.c
crt0.S [POWERPC] bootwrapper: missing relocation in crt0.S 2007-04-13 03:55:16 +10:00
cuboot-83xx.c [POWERPC] bootwrapper: cuboot-83xx: Exclude upper 1MB from heap. 2007-04-27 21:14:21 +10:00
cuboot-85xx.c [POWERPC] bootwrapper: cuImage for 85xx 2007-04-27 21:14:15 +10:00
devtree.c [POWERPC] bootwrapper: Fix array handling in dt_xlate_reg(). 2007-04-27 21:13:56 +10:00
div64.S
dummy.c
elf_util.c [POWERPC] Move bootwrapper ELF parsing routines to a file 2007-04-13 03:55:16 +10:00
elf.h [POWERPC] Move bootwrapper ELF parsing routines to a file 2007-04-13 03:55:16 +10:00
flatdevtree_env.h [POWERPC] Add flatdevtree source 2006-10-23 12:49:18 +10:00
flatdevtree_misc.c [POWERPC] bootwrapper: Add dt_ops methods. 2007-03-21 22:35:21 +11:00
flatdevtree.c [POWERPC] bootwrapper: Make ft_create_node() pay attention to the parent parameter. 2007-03-16 15:49:15 +11:00
flatdevtree.h [POWERPC] bootwrapper: Make ft_create_node() pay attention to the parent parameter. 2007-03-16 15:49:15 +11:00
gunzip_util.c [POWERPC] boot: More verbose gunzip error message 2007-04-27 21:13:49 +10:00
gunzip_util.h [POWERPC] Add documentation for the zImage's gunzip convenience functions 2007-03-16 16:38:19 +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] bootwrapper: Decompress less, check more 2007-04-13 03:55:17 +10:00
Makefile [POWERPC] bootwrapper: cuImage for 85xx 2007-04-27 21:14:15 +10:00
mktree.c [POWERPC] Add mktree utility to arch/powerpc/boot 2006-10-24 15:01:27 +10:00
ns16550.c [POWERPC] bootwrapper: Add dt_xlate_reg(), and use it to find serial registers. 2007-04-13 03:55:15 +10:00
of.c [POWERPC] bootwrapper: Use `unsigned long' for malloc sizes 2007-04-24 22:06:54 +10:00
ops.h [POWERPC] bootwrapper: Use `unsigned long' for malloc sizes 2007-04-24 22:06:54 +10:00
page.h
ppc_asm.h
ppcboot.h [POWERPC] bootwrapper: Add ppcboot.h 2007-04-24 21:31:55 +10:00
README
reg.h [POWERPC] New reg.h for the zImage 2007-03-26 15:11:20 +10:00
rs6000.h
serial.c [POWERPC] Add non-OF serial console support 2006-10-23 12:49:19 +10:00
simple_alloc.c [POWERPC] bootwrapper: Use `unsigned long' for malloc sizes 2007-04-24 22:06:54 +10:00
stdio.c [POWERPC] More bootwrapper reorganization 2006-10-18 15:50:18 +10:00
stdio.h [POWERPC] Add gcc format warnings to zImage printf() 2007-03-26 15:11:20 +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] bootwrapper: Add a cuboot platform and a cuImage target 2007-04-24 21:31:54 +10: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