<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Dear All, </div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">We are working on device tree backporting from  3.0 kernel   to 2.6.32-kernel. </div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<div>We have backported the device tree support for arm on 2.6.32. It is able to read machine name, </div><div>memory size and command line parameter from devicetree file for arm based target board. </div><div>But it failed to read drivers related data from device tree.</div>
<div><br></div><div>During  debugging I found that device tree is located at 0xC1000000 upto 4KB on</div><div>main memory and that data getting memset <font color="#222222">to 0 by </font><font color="#000099">alloc_bootmem_core</font>(<font color="#003300">mm/bootmem.c</font>) </div>
<div>in its first call.  <font color="#222222">And its later call of  </font><font color="#000099">alloc_bootmem_core  </font><font>write </font><font color="#222222"> some junk data at 0xC1000000 </font></div><div><font color="#222222">device tree memory location. Due to this corrupted D</font>evicetree data kernel failed to </div>
<div>read drivers details.  </div><div><br></div><div>I highly appreciate if you can suggest me <span style="text-align:left">some pointer that how we can avoid memset to 0 of</span></div><div><span style="text-align:left">Device tree memory(0x1000000 upto 4KB). Please let me know if you need more detail update.</span></div>
</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
Thanks in Advance !!</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
Thanks and Regards,</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Pankaj Pandey</div>