android_kernel_xiaomi_sm8350/arch/powerpc/boot
David Gibson 0d279d4761 [POWERPC] Fixes to allow use of Ebony's flash chips through physmap_of
This patch contains a handful of small fixes to allow the Ebony's
flash to be exposed as MTD devices via the physmap_of driver.
Specifically it:
	- Makes a small addition to the device tree and zImage wrapper
to record the correct address for the flash in the device tree based
on the board switches as reported via an FPGA register.
	- Prohibits building the old hard-coded "Ebony" flash map on
arch/powerpc kernels, in favour of using physmap_of's device tree
based approach.
	- Enables MTD and physmap_of in the Ebony defconfig.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-08-17 11:01:51 +10:00
..
dts [POWERPC] Fixes to allow use of Ebony's flash chips through physmap_of 2007-08-17 11:01:51 +10:00
.gitignore
44x.c [POWERPC] Derive ebc ranges property from EBC registers 2007-06-14 22:30:16 +10:00
44x.h [POWERPC] Derive ebc ranges property from EBC registers 2007-06-14 22:30:16 +10:00
addnote.c
addRamDisk.c
crt0.S [POWERPC] Fix building of COFF zImages 2007-06-07 22:21:31 +10:00
cuboot-83xx.c [POWERPC] Consolidate cuboot initialization code 2007-06-14 22:30:16 +10:00
cuboot-85xx.c [POWERPC] Consolidate cuboot initialization code 2007-06-14 22:30:16 +10:00
cuboot-ebony.c [POWERPC] Consolidate cuboot initialization code 2007-06-14 22:30:16 +10:00
cuboot.c [POWERPC] Consolidate cuboot initialization code 2007-06-14 22:30:16 +10:00
cuboot.h [POWERPC] Consolidate cuboot initialization code 2007-06-14 22:30:16 +10:00
dcr.h [POWERPC] Derive ebc ranges property from EBC registers 2007-06-14 22:30:16 +10:00
devtree.c [POWERPC] Add dt_xlate_addr() to bootwrapper 2007-04-30 11:02:05 +10:00
div64.S
dummy.c
ebony.c [POWERPC] Fixes to allow use of Ebony's flash chips through physmap_of 2007-08-17 11:01:51 +10:00
elf_util.c
elf.h
flatdevtree_env.h
flatdevtree_misc.c
flatdevtree.c [POWERPC] Remove unused code causing a compile warning 2007-08-15 15:12:50 +10:00
flatdevtree.h
gunzip_util.c [POWERPC] boot: More verbose gunzip error message 2007-04-27 21:13:49 +10:00
gunzip_util.h
hack-coff.c
holly.c [POWERPC] Holly bootwrapper 2007-05-08 11:54:21 +10:00
install.sh
io.h
main.c [POWERPC] Make kernel_entry_t have global scope in bootwrapper 2007-06-28 19:16:50 +10:00
Makefile [POWERPC] Create a dummy zImage if no valid platform has been selected 2007-07-10 22:00:52 +10:00
mktree.c [POWERPC] Support for the Ebony 440GP reference board in arch/powerpc 2007-05-08 14:47:32 +10:00
mpsc.c [POWERPC] Add bootwrapper support for Marvell MPSC 2007-05-12 11:32:49 +10:00
mv64x60_i2c.c [POWERPC] Add bootwrapper support for Marvell/mv64x60 I2C 2007-05-12 11:32:49 +10:00
mv64x60.c [POWERPC] Add bootwrapper support for Marvell/mv64x60 hostbridge 2007-05-12 11:32:49 +10:00
mv64x60.h [POWERPC] Add bootwrapper support for Marvell/mv64x60 hostbridge 2007-05-12 11:32:49 +10:00
ns16550.c
of.c [POWERPC] Make more OF-related bootwrapper functions available to non-OF platforms 2007-06-28 19:19: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] Make kernel_entry_t have global scope in bootwrapper 2007-06-28 19:16:50 +10:00
page.h
ppc_asm.h
ppcboot.h [POWERPC] bootwrapper: Add ppcboot.h 2007-04-24 21:31:55 +10:00
prpmc2800.c [POWERPC] Add bootwrapper support for Motorola PrPMC2800 platform 2007-05-12 11:32:50 +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] PS3: Bootwrapper support. 2007-07-10 21:56:40 +10:00
README
reg.h
rs6000.h
serial.c [POWERPC] Fix constantness of bootwrapper arg 2007-06-28 19:16:49 +10:00
simple_alloc.c [POWERPC] bootwrapper: Use `unsigned long' for malloc sizes 2007-04-24 22:06:54 +10:00
stdio.c [POWERPC] Add u64 printf to bootwrapper 2007-06-28 19:16:48 +10:00
stdio.h
string.h
string.S
treeboot-ebony.c [POWERPC] Support for the Ebony 440GP reference board in arch/powerpc 2007-05-08 14:47:32 +10:00
types.h [POWERPC] Add signed types to bootwrapper 2007-06-28 19:16:47 +10:00
util.S
wrapper [POWERPC] PS3: Bootwrapper support. 2007-07-10 21:56:40 +10: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