0d279d4761
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> |
||
---|---|---|
.. | ||
dts | ||
.gitignore | ||
44x.c | ||
44x.h | ||
addnote.c | ||
addRamDisk.c | ||
crt0.S | ||
cuboot-83xx.c | ||
cuboot-85xx.c | ||
cuboot-ebony.c | ||
cuboot.c | ||
cuboot.h | ||
dcr.h | ||
devtree.c | ||
div64.S | ||
dummy.c | ||
ebony.c | ||
elf.h | ||
elf_util.c | ||
flatdevtree.c | ||
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 | ||
Makefile | ||
mktree.c | ||
mpsc.c | ||
mv64x60.c | ||
mv64x60.h | ||
mv64x60_i2c.c | ||
ns16550.c | ||
of.c | ||
of.h | ||
ofconsole.c | ||
oflib.c | ||
ops.h | ||
page.h | ||
ppc_asm.h | ||
ppcboot.h | ||
prpmc2800.c | ||
ps3-head.S | ||
ps3-hvcall.S | ||
ps3.c | ||
README | ||
reg.h | ||
rs6000.h | ||
serial.c | ||
simple_alloc.c | ||
stdio.c | ||
stdio.h | ||
string.h | ||
string.S | ||
treeboot-ebony.c | ||
types.h | ||
util.S | ||
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