[ELDK] about CONFIG_OF_LIBFDT in u-boot-1.3.0
dayu at datangmobile.cn
dayu at datangmobile.cn
Wed Jan 21 04:52:11 CET 2009
Hi all,
A problem about u-boot-1.3.0 on Freescale MPC8313ERDB board, when I use CONFIG_OF_LIBFDT to pass device tree, I got the following debug info:
Couldn't find /cpus/PowerPC,8313 at 0: <valid offset/length>
Couldn't find /cpus/PowerPC,8313 at 0: <valid offset/length>
Couldn't find /cpus/PowerPC,8313 at 0: <valid offset/length>
Couldn't find /soc8313 at e0000000: <valid offset/length>
Couldn't find /soc8313 at e0000000/serial at 4500: <valid offset/length>
Couldn't find /soc8313 at e0000000/serial at 4600: <valid offset/length>
this debug info is from cpu/83xx/cpu.c:ft_cpu_setup()
but my dts file has the following configs and my dtc version is Version: DTC 1.1.0:
/ {
model = "MPC8313ERDB";
compatible = "MPC8313ERDB", "MPC831xRDB", "MPC83xxRDB";
#address-cells = <1>;
#size-cells = <1>;
cpus {
#address-cells = <1>;
#size-cells = <0>;
PowerPC,8313 at 0 {
device_type = "cpu";
reg = <0>;
d-cache-line-size = <20>; // 32 bytes
i-cache-line-size = <20>; // 32 bytes
d-cache-size = <4000>; // L1, 16K
i-cache-size = <4000>; // L1, 16K
timebase-frequency = <0>; // from bootloader
bus-frequency = <0>; // from bootloader
clock-frequency = <0>; // from bootloader
32-bit;
};
soc8313 at e0000000 {
#address-cells = <1>;
#size-cells = <1>;
#interrupt-cells = <2>;
device_type = "soc";
ranges = <0 e0000000 00100000>;
reg = <e0000000 00000200>;
bus-frequency = <0>;
serial at 4500 {
device_type = "serial";
compatible = "ns16550";
reg = <4500 100>;
clock-frequency = <0>;
interrupts = <9 8>;
interrupt-parent = < &ipic >;
};
serial at 4600 {
device_type = "serial";
compatible = "ns16550";
reg = <4600 100>;
clock-frequency = <0>;
interrupts = <a 8>;
interrupt-parent = < &ipic >;
};
};
if I use the old CONFIG_OF_FLAT_TREE, it is ok.
Does someone have met the same problem or it is a bug?
thanks!
More information about the eldk
mailing list