devicetree-compiler.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* dtc crash when compiling a test file
@ 2014-06-18  0:28 Simon Glass
       [not found] ` <CAPnjgZ3pdOGOAO6ktY7gd696wUtA0zHgpcg-GZZxA8yfvHkHyQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Simon Glass @ 2014-06-18  0:28 UTC (permalink / raw)
  To: Devicetree Compiler; +Cc: David Gibson, Jon Loeliger

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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-18 12:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-18  0:28 dtc crash when compiling a test file Simon Glass
     [not found] ` <CAPnjgZ3pdOGOAO6ktY7gd696wUtA0zHgpcg-GZZxA8yfvHkHyQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-06-18 12:50   ` David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).