60e417536b
As a result of compiling all of the wrapper files for every platform now, the kernel build can fail for toolchains that don't support various op codes by default. An example of this building a 7xx platform with the ELD4.0 toolchain, is below: /tmp/ccYjhJoL.s: Assembler messages: /tmp/ccYjhJoL.s:42: Error: Unrecognized opcode: `mtdcr' /tmp/ccYjhJoL.s:43: Error: Unrecognized opcode: `mfdcr' make[1]: *** [arch/powerpc/boot/44x.o] Error 1 The following patch introduces additional CFLAGS for the 4xx specific files and fixes the kernel compile. Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org> |
||
---|---|---|
.. | ||
dts | ||
.gitignore | ||
44x.c | ||
44x.h | ||
Makefile | ||
README | ||
addRamDisk.c | ||
addnote.c | ||
crt0.S | ||
cuboot-83xx.c | ||
cuboot-85xx.c | ||
cuboot-ebony.c | ||
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 | ||
mktree.c | ||
mpsc.c | ||
mv64x60.c | ||
mv64x60.h | ||
mv64x60_i2c.c | ||
ns16550.c | ||
of.c | ||
ops.h | ||
page.h | ||
ppc_asm.h | ||
ppcboot.h | ||
prpmc2800.c | ||
reg.h | ||
rs6000.h | ||
serial.c | ||
simple_alloc.c | ||
stdio.c | ||
stdio.h | ||
string.S | ||
string.h | ||
treeboot-ebony.c | ||
types.h | ||
util.S | ||
wrapper | ||
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