acrn-kernel/arch/powerpc/boot
David Gibson b2ba34f370 [POWERPC] Derive ebc ranges property from EBC registers
In the device tree for Ebony, the 'ranges' property in the node for
the EBC bridge shows the mappings from the chip select / address lines
actually used for the EBC peripherals into the address space of the
OPB.  At present, these mappings are hardcoded in ebony.dts for the
mappings set up by the OpenBIOS firmware when it configures the EBC
bridge.

This replaces the hardcoded mappings with code in the zImage to
read the EBC configuration registers and create an appropriate ranges
property based on them.  This should make the zImage and kernel more
robust to changes in firmware configuration.  In particular, some of
the Ebony's DIP switches can change the effective address of the Flash
and other peripherals in OPB space.  With this patch, the kernel will
be able to cope with at least some of the possible variations.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-06-14 22:30:16 +10:00
..
dts [POWERPC] Derive ebc ranges property from EBC registers 2007-06-14 22:30:16 +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
Makefile [POWERPC] Split low-level OF-related bootloader code into separate files 2007-06-14 22:30:15 +10:00
README
addRamDisk.c
addnote.c
crt0.S [POWERPC] Fix building of COFF zImages 2007-06-07 22:21:31 +10:00
cuboot-83xx.c
cuboot-85xx.c
cuboot-ebony.c
dcr.h [POWERPC] Derive ebc ranges property from EBC registers 2007-06-14 22:30:16 +10:00
devtree.c
div64.S
dummy.c
ebony.c [POWERPC] Derive ebc ranges property from EBC registers 2007-06-14 22:30:16 +10:00
elf.h
elf_util.c
flatdevtree.c [POWERPC] Fix bug adding properties with flatdevtree.c's ft_set_prop() 2007-05-17 21:11:13 +10:00
flatdevtree.h
flatdevtree_env.h
flatdevtree_misc.c
gunzip_util.c
gunzip_util.h
hack-coff.c
holly.c
install.sh
io.h
main.c
mktree.c
mpsc.c [POWERPC] Add bootwrapper support for Marvell MPSC 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
mv64x60_i2c.c [POWERPC] Add bootwrapper support for Marvell/mv64x60 I2C 2007-05-12 11:32:49 +10:00
ns16550.c
of.c [POWERPC] Split low-level OF-related bootloader code into separate files 2007-06-14 22:30:15 +10:00
of.h [POWERPC] Split low-level OF-related bootloader code into separate files 2007-06-14 22:30:15 +10:00
ofconsole.c [POWERPC] Split low-level OF-related bootloader code into separate files 2007-06-14 22:30:15 +10:00
oflib.c [POWERPC] Split low-level OF-related bootloader code into separate files 2007-06-14 22:30:15 +10:00
ops.h [POWERPC] Add bootwrapper support for Marvell MPSC 2007-05-12 11:32:49 +10:00
page.h
ppc_asm.h
ppcboot.h
prpmc2800.c [POWERPC] Add bootwrapper support for Motorola PrPMC2800 platform 2007-05-12 11:32:50 +10:00
reg.h
rs6000.h
serial.c [POWERPC] Add bootwrapper support for Marvell MPSC 2007-05-12 11:32:49 +10:00
simple_alloc.c
stdio.c
stdio.h
string.S
string.h
treeboot-ebony.c
types.h
util.S
wrapper [POWERPC] Fix zImage.coff generation for 32-bit pmac 2007-06-02 22:26:22 +10:00
zImage.coff.lds.S
zImage.lds.S

README

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