Skip to contentSkip to conversation

ep88xc_defconfig doesn't build

DISCUSSION Olof Johansson 2 participants 5 messages Oct 20, 2007 – Oct 22, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

Did it ever?! I get this with current mainline when building default target:

WRAP arch/powerpc/boot/cuImage.8xx
DTC: dts->dtb on file "/work/work/linux/k.org/arch/powerpc/boot/dts/ep88xc.dts"
ERROR: Missing /chosen node
Input tree has errors
WRAP arch/powerpc/boot/zImage.ep88xc
make[1]: *** [arch/powerpc/boot/cuImage.8xx] Error 1
make[1]: *** Waiting for unfinished jobs....
DTC: dts->dtb on file "/work/work/linux/k.org/arch/powerpc/boot/dts/ep88xc.dts"
ERROR: Missing /chosen node
Input tree has errors
make[1]: *** [arch/powerpc/boot/zImage.ep88xc] Error 1
make: *** [zImage] Error 2

-Olof

#1 lore raw
Quoted 3 lines · Olof Johansson

Hi,

Did it ever?! I get this with current mainline when building default target:

I think you must have an old dtc; I'm pretty sure I removed the check for /chosen some time ago. But then I also thought we added a force to the dtc commant line in wrapper ages ago, so now I'm a bit confused.

Quoted 21 lines

WRAP arch/powerpc/boot/cuImage.8xx
DTC: dts->dtb on file "/work/work/linux/k.org/arch/powerpc/boot/dts/ep88xc.dts"
ERROR: Missing /chosen node
Input tree has errors
WRAP arch/powerpc/boot/zImage.ep88xc
make[1]: *** [arch/powerpc/boot/cuImage.8xx] Error 1
make[1]: *** Waiting for unfinished jobs....
DTC: dts->dtb on file "/work/work/linux/k.org/arch/powerpc/boot/dts/ep88xc.dts"
ERROR: Missing /chosen node
Input tree has errors
make[1]: *** [arch/powerpc/boot/zImage.ep88xc] Error 1
make: *** [zImage] Error 2

-Olof
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Signature · 4 lines
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson
#2 lore raw
Quoted 8 lines · David Gibson
Quoted 3 lines · Olof Johansson

Hi,

Did it ever?! I get this with current mainline when building default target:

I think you must have an old dtc; I'm pretty sure I removed the check for /chosen some time ago. But then I also thought we added a force to the dtc commant line in wrapper ages ago, so now I'm a bit confused.

Hrm, seems like I had an old version. It's a little annoying that it's a moving target and it's impossible to find out form a built binary which version it is, besides trying to guess based on file time stamps.

A nice enhancement could be to have a "dtc -v" and have the makefile verify it before using it.

-Olof

#3 lore raw
Quoted 2 lines · Olof Johansson

A nice enhancement could be to have a "dtc -v" and have the makefile verify it before using it.

Looks like current versions do have "-v", my old one didn't. Apologies.

-Olof

#4 lore raw
In reply to Olof Johansson
Quoted 10 lines · Olof Johansson
Quoted 8 lines · David Gibson
Quoted 3 lines · Olof Johansson

Hi,

Did it ever?! I get this with current mainline when building default target:

I think you must have an old dtc; I'm pretty sure I removed the check for /chosen some time ago. But then I also thought we added a force to the dtc commant line in wrapper ages ago, so now I'm a bit confused.

Quoted 6 lines

Hrm, seems like I had an old version. It's a little annoying that it's a moving target and it's impossible to find out form a built binary which version it is, besides trying to guess based on file time stamps.

A nice enhancement could be to have a "dtc -v" and have the makefile verify it before using it.

Current dtc has a -v option. Trying to verify it in Makefile (or more to the point in the wrapper script) would be a bit.. messy (since the necessary version kind of depends on the dts file anyway).

Avoiding this sort of hassle is why I'd like to put a copy of dtc in the kernel tree.

Signature · 4 lines
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson