forked from luck/tmp_suning_uos_patched
ad611045ce
The PCI bridge on the Holly board is incorrectly represented in the device tree. The current device tree node for the PCI bridge sits under the tsi-bridge node. That's not obviously wrong, but the PCI bridge translates some PCI spaces into CPU address ranges which were not translated by the "ranges" property in tsi-bridge node. We used to get away with this problem because the PCI bridge discovery code was also buggy, assuming incorrectly that PCI host bridge nodes were always directly under the root bus and treating the translated addresses as raw CPU addresses, rather than parent bus addresses. This has since been fixed, thus breaking Holly. This could be fixed by adding extra translations to the tsi-bridge node, but this patch instead moves the Holly PCI bridge out of the tsi-bridge node to the root bus. This makes the tsi-bridge node represent only the built-in IO devices in the bridge, with a more-or-less contiguous address range. This is the same convention used on Freescale SoC chips, where the "soc" node represents only the IMMR region, and the PCI and other bus bridges are separate nodes under the root bus. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Acked-by: Josh Boyer <jwboyer@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> |
||
---|---|---|
.. | ||
dtc-src | ||
dts | ||
libfdt | ||
.gitignore | ||
4xx.c | ||
4xx.h | ||
44x.h | ||
addnote.c | ||
addRamDisk.c | ||
bamboo.c | ||
cpm-serial.c | ||
crt0.S | ||
crtsavres.S | ||
cuboot-8xx.c | ||
cuboot-52xx.c | ||
cuboot-83xx.c | ||
cuboot-85xx-cpm2.c | ||
cuboot-85xx.c | ||
cuboot-824x.c | ||
cuboot-bamboo.c | ||
cuboot-c2k.c | ||
cuboot-ebony.c | ||
cuboot-katmai.c | ||
cuboot-mpc7448hpc2.c | ||
cuboot-pq2.c | ||
cuboot-rainier.c | ||
cuboot-sam440ep.c | ||
cuboot-sequoia.c | ||
cuboot-taishan.c | ||
cuboot-warp.c | ||
cuboot-yosemite.c | ||
cuboot.c | ||
cuboot.h | ||
dcr.h | ||
devtree.c | ||
div64.S | ||
dummy.c | ||
ebony.c | ||
elf_util.c | ||
elf.h | ||
ep88xc.c | ||
ep405.c | ||
ep8248e.c | ||
fixed-head.S | ||
flatdevtree_env.h | ||
fsl-soc.c | ||
fsl-soc.h | ||
gunzip_util.c | ||
gunzip_util.h | ||
hack-coff.c | ||
holly.c | ||
install.sh | ||
io.h | ||
libfdt_env.h | ||
libfdt-wrapper.c | ||
main.c | ||
Makefile | ||
mktree.c | ||
mpc8xx.c | ||
mpc8xx.h | ||
mpc52xx-psc.c | ||
mpsc.c | ||
mv64x60_i2c.c | ||
mv64x60.c | ||
mv64x60.h | ||
ns16550.c | ||
of.c | ||
of.h | ||
ofconsole.c | ||
oflib.c | ||
ops.h | ||
page.h | ||
planetcore.c | ||
planetcore.h | ||
ppc_asm.h | ||
ppcboot.h | ||
pq2.c | ||
pq2.h | ||
prpmc2800.c | ||
ps3-head.S | ||
ps3-hvcall.S | ||
ps3.c | ||
README | ||
redboot-8xx.c | ||
redboot-83xx.c | ||
redboot.h | ||
reg.h | ||
rs6000.h | ||
serial.c | ||
simple_alloc.c | ||
simpleboot.c | ||
stdio.c | ||
stdio.h | ||
stdlib.c | ||
stdlib.h | ||
string.h | ||
string.S | ||
treeboot-bamboo.c | ||
treeboot-ebony.c | ||
treeboot-walnut.c | ||
types.h | ||
uartlite.c | ||
util.S | ||
virtex405-head.S | ||
virtex.c | ||
wrapper | ||
zImage.coff.lds.S | ||
zImage.lds.S | ||
zImage.ps3.lds.S |
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