<p>hi,<br>Using the following configuration in the<br>dts file (mpc8272ads.dts):</p>
<p> <a href="mailto:localbus@f0010100">localbus@f0010100</a> {<br> compatible = "fsl,mpc8272-localbus",<br> "fsl,pq2-localbus";<br> #address-cells = <2>;<br> #size-cells = <1>;<br>
reg = <f0010100 40>;</p>
<p> ranges = <0 0 fc000000 04000000>;<br> };</p>
<p><a href="mailto:flash@fc000000">flash@fc000000</a> {<br> device_type = "rom";<br> compatible = "direct-mapped";<br> probe-type = "CFI";<br> reg = <fc000000 04000000>;<br>
bank-width = <4>;<br> device-width = <2>;<br> #address-cells = <1>;<br> #size-cells = <1>;</p>
<div> partitions = <0 200000<br> 2000000 a00000<br> c000000 a00000<br> 16000000 600000<br> 1c000000 e00000<br>
2a000000 600000<br> 30000000 e00000<br> 3e000000 100000<br> 3f000000 80000<br> 3f800000 40000<br>
3fc00000 40000>;<br> partition-names = "part01","part02","part03","part04","part05","part06","part07","part08","part09","part10","part11";<br>
};</div>
<div><br>I can't see the different partitions linked to the /dev/mtd<x><br>devices in the startup messages. When testing the devices<br>I see that only /dev/mtd0 is actually linked to the beginning<br>of the flash. (other /dev/mtd1 etc.. can't be opened).<br>
I included below also the relevant startup messages.<br>Does anyone have any idea what is wrong with my flash<br>configuration format?<br>Thanks, Liran.</div>
<p>Linux version: 2.6.24<br>Processor: mpc8272<br>Startup messages:<br>physmap platform flash device: 04000000 at fc000000<br>physmap-flash.0: Found 2 x16 devices at 0x0 in 32-bit bank<br> Amd/Fujitsu Extended Query Table at 0x0040<br>
physmap-flash.0: CFI does not contain boot bank location. Assuming top.<br>number of CFI chips: 1<br>cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.<br></p>