dtc crash when compiling a test file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

I noticed the following crash. I'm not offering a patch sorry, but
thought I would report it.

$ dtc tests/label01.dts
/dts-v1/;

/memreserve/ 0x1000000000000000 0x0000000002000000;
memrsv2: /memreserve/ 0x2000000000000000 0x0100000000000000;
/memreserve/ 0x0000000000000000 0x0000000000000014;
/ {
model = "MyBoardName";
compatible = "MyBoardName", "MyBoardFamilyName";
#address-cells = <0x2>;
#size-cells = <0x2>;

cpus {
linux,phandle = <0x1>;
#address-cells = <0x1>;
#size-cells = <0x0>;

PowerPC,970@0 {
device_type = "cpu";
reg = <0x0>;
clock-frequency = <0x5f5e1000>;
timebase-frequency = <0x1fca055>;
linux,boot-cpu;
i-cache-size = <0x10000>;
d-cache-size = <0x8000>;
};

PowerPC,970@1 {
device_type = "cpu";
reg = <0x1>;
clock-frequency = <0x5f5e1000>;
timebase-frequency = <0x1fca055>;
i-cache-size = <0x10000>;
d-cache-size = <0x8000>;
};
};

node: randomnode {
dtc: treesource.c:132: write_propval_string: Assertion `m->offset ==
val.len' failed.
prop: string = str: "foo", "stuffstuff\t\t\t\n\n\n"Aborted (core dumped)

Regards,
Simon
--
To unsubscribe from this list: send the line "unsubscribe devicetree-compiler" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux