Problem building kernel
Hello all,
I got the latest kernel from git://git.denx.de/linux-2.6-denx.git and after configuring with menuconfig I am seeing these errors. I feel like this could be something simple that I am just unaware of, but I'm not sure and haven't been able to find anything useful when doing a web search.
Any ideas? What other information would be helpful?
BOOTCC arch/powerpc/boot/redboot-83xx.o BOOTCC arch/powerpc/boot/cuboot-sam440ep.o BOOTCC arch/powerpc/boot/cuboot-acadia.o
{standard input}: Assembler messages:
{standard input}:278: Error: Unrecognized opcode: mtdcr' {standard input}:282: Error: Unrecognized opcode: mfdcr' {standard input}:289: Error: Unrecognized opcode: mtdcr' {standard input}:293: Error: Unrecognized opcode: mfdcr' {standard input}:312: Error: Unrecognized opcode: mtdcr' {standard input}:316: Error: Unrecognized opcode: mfdcr' make[2]: *** [arch/powerpc/boot/cuboot-acadia.o] Error 1 make[1]: *** [zImage] Error 2
make: *** [sub-make] Error 2
Ron
Quoted 23 lines · Ron Madrid
Hello all,
I got the latest kernel from
git://git.denx.de/linux-2.6-denx.gitand after configuring with menuconfig I am seeing these errors. I feel like this could be something simple that I am just unaware of, but I'm not sure and haven't been able to find anything useful when doing a web search.Any ideas? What other information would be helpful?
BOOTCC arch/powerpc/boot/redboot-83xx.o BOOTCC arch/powerpc/boot/cuboot-sam440ep.o BOOTCC arch/powerpc/boot/cuboot-acadia.o{standard input}: Assembler messages:
{standard input}:278: Error: Unrecognized opcode:mtdcr' {standard input}:282: Error: Unrecognized opcode:mfdcr' {standard input}:289: Error: Unrecognized opcode:mtdcr' {standard input}:293: Error: Unrecognized opcode:mfdcr' {standard input}:312: Error: Unrecognized opcode:mtdcr' {standard input}:316: Error: Unrecognized opcode:mfdcr' make[2]: *** [arch/powerpc/boot/cuboot-acadia.o] Error 1 make[1]: *** [zImage] Error 2
make: *** [sub-make] Error 2
Quoted 1 line
Ron
I swear Josh or Grant fixed this.
- k
Quoted 28 lines · Kumar Gala
Quoted 25 lines · Ron Madrid
Hello all,
I got the latest kernel from
git://git.denx.de/linux-2.6-denx.gitand after
configuring with menuconfig I am seeing these errors. I feel like this
could be something simple that I am just unaware of, but I'm not sure and haven't been able to find anything useful when doing a web search.Any ideas? What other information would be helpful?
BOOTCC arch/powerpc/boot/redboot-83xx.o BOOTCC arch/powerpc/boot/cuboot-sam440ep.o BOOTCC arch/powerpc/boot/cuboot-acadia.o{standard input}: Assembler messages:
{standard input}:278: Error: Unrecognized opcode:mtdcr' {standard input}:282: Error: Unrecognized opcode:mfdcr' {standard input}:289: Error: Unrecognized opcode:mtdcr' {standard input}:293: Error: Unrecognized opcode:mfdcr' {standard input}:312: Error: Unrecognized opcode:mtdcr' {standard input}:316: Error: Unrecognized opcode:mfdcr' make[2]: *** [arch/powerpc/boot/cuboot-acadia.o] Error 1 make[1]: *** [zImage] Error 2
make: *** [sub-make] Error 2
Quoted 3 lines
Quoted 1 line
Ron
I swear Josh or Grant fixed this.
I did. I sent a pull request to Paul today for this exact commit.
I had it sitting in the wrong branch of my tree. Sorry about that.
josh
Quoted 23 lines · Ron Madrid
Hello all,
I got the latest kernel from
git://git.denx.de/linux-2.6-denx.gitand after configuring with menuconfig I am seeing these errors. I feel like this could be something simple that I am just unaware of, but I'm not sure and haven't been able to find anything useful when doing a web search.Any ideas? What other information would be helpful?
BOOTCC arch/powerpc/boot/redboot-83xx.o BOOTCC arch/powerpc/boot/cuboot-sam440ep.o BOOTCC arch/powerpc/boot/cuboot-acadia.o{standard input}: Assembler messages:
{standard input}:278: Error: Unrecognized opcode:mtdcr' {standard input}:282: Error: Unrecognized opcode:mfdcr' {standard input}:289: Error: Unrecognized opcode:mtdcr' {standard input}:293: Error: Unrecognized opcode:mfdcr' {standard input}:312: Error: Unrecognized opcode:mtdcr' {standard input}:316: Error: Unrecognized opcode:mfdcr' make[2]: *** [arch/powerpc/boot/cuboot-acadia.o] Error 1 make[1]: *** [zImage] Error 2
make: *** [sub-make] Error 2
Quoted 1 line
Ron
Try the following patch:
arch/powerpc/boot/Makefile +1 -0
@@ -39,6 +39,7 @@ DTS_FLAGS ?= -p 1024 $(obj)/4xx.o: BOOTCFLAGS += -mcpu=405 $(obj)/ebony.o: BOOTCFLAGS += -mcpu=405 +$(obj)/cuboot-acadia.o: BOOTCFLAGS += -mcpu=405 $(obj)/cuboot-taishan.o: BOOTCFLAGS += -mcpu=405 $(obj)/cuboot-katmai.o: BOOTCFLAGS += -mcpu=405 $(obj)/treeboot-walnut.o: BOOTCFLAGS += -mcpu=405