<div class="gmail_quote">2009/2/12 Pieter <span dir="ltr"><<a href="mailto:phenning@vastech.co.za" target="_blank">phenning@vastech.co.za</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div><div class="Ih2E3d">Jean-Michel Hautbois wrote:<br>
> Warning (reg_format): "reg" property in<br>
> /localbus@f0010100/flash@0,0/partition@ff800000 has invalid length (8<br></div>
> JM<br>
</div></div><div class="Ih2E3d">You are missing some definitions, The #address-cells and #size-cells = <1>;<br>
tis is a snippet of teh dts i defined for my board.<br>
<br>
flash@0,0 {<br>
#address-cells = <1>;<br>
#size-cells = <1>;<br>
compatible = "cfi-flash";<br>
reg = <0x0 0x0 0x08000000>;<br>
<div> bank-width = <4>;<br>
device-width = <1>;<br>
<br>
</div> /* set flash partition to correspond tu mtd parts in<br>
u-boot*/<br>
/* 0xf8000000 */<br>
partition@0x0 {<br>
label = "factory-image";<br>
reg = <0x00000000 0x01000000>;<br>
};<br>
/* 0xf9000000 */<br>
partition@0x01000000 {<br>
label = "app-image-1";<br>
reg = <0x01000000 0x01000000>;<br>
};<br>
cheers pieter</div></blockquote><div><br>Hi do have these definitions, at a higher level:<br> localbus@f0010100 {<br> compatible = "fsl,mpc8272-localbus",<br> "fsl,pq2-localbus";<br>
#address-cells = <2>;<br> #size-cells = <1>;<br> reg = <0xf0010100 0x40>;<br><br> ranges = <0x0 0x0 0xfe000000 0x2000000<br> 0x1 0x0 0xf4500000 0x8000<br>
0x3 0x0 0xf8200000 0x8000>;<br><br> flash@0,0 {<br>etc.<br></div></div><br>Regards,<br><font color="#888888">JM</font><br>