<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 4, 2017 at 6:11 PM, Fawad Lateef <span dir="ltr">&lt;<a href="mailto:fawadlateef@gmail.com" target="_blank">fawadlateef@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Just as an update (and for future reference for anyone having similar issue):<br>
<br>
I got this all this sorted-out. Had to change some dt-binding for<br>
device and it was mostly drivers related changes for hardware<br>
components. Mostly nothing to do with DT.<br>
<br>
Thanks<br>
<br>
Fawad Lateef<br>
<span class="HOEnZb"><font color="#888888"><br>
-- Fawad Lateef<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On 3 April 2017 at 10:54, Fawad Lateef &lt;<a href="mailto:fawadlateef@gmail.com">fawadlateef@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; One more thing I realised that eth0 which is working is directly out<br>
&gt; of SOM/SOC but other 3 eth ports are connected to a internal USB<br>
&gt; switch (so Linux should see only eth1 besides eth0).<br>
&gt;<br>
&gt; So seems like flash/nand chip (m25p80) and spi_ks8995 (Micrel KS8995<br>
&gt; Ethernet switch SPI) mainly not working.<br>
&gt;<br>
&gt; Thanks<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; -- Fawad Lateef<br>
&gt;<br>
&gt;<br>
&gt; On 3 April 2017 at 10:38, Fawad Lateef &lt;<a href="mailto:fawadlateef@gmail.com">fawadlateef@gmail.com</a>&gt; wrote:<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; I am facing some issues with device-trees (I am fairly new to them)<br>
&gt;&gt; and need some pointers about how to approach below problem:<br>
&gt;&gt;<br>
&gt;&gt; I got some I.MX6Q based hardware (some custom made whose hardware<br>
&gt;&gt; details are unknown to me). Hardware shipped with 3.10.53 kernel with<br>
&gt;&gt; full sources and everything is working on it<br>
&gt;&gt;<br>
&gt;&gt; Trying to get one of the recent kernel working on it (linux-4.4, from<br>
&gt;&gt; linux-linaro-stable with rt patches). I can compile the kernel and<br>
&gt;&gt; boot into it using 3.10.xx kernel compiled DTB but getting Warning at<br>
&gt;&gt; boot-time &quot;Outdated DT detected, suspend/resume will NOT work&quot; and few<br>
&gt;&gt; main hardware components not working (mainly ethernet(s) - 1 out of 4<br>
&gt;&gt; ports working though, MTD/NAND (for u-boot environment))<br>
&gt;&gt;<br>
&gt;&gt; So I looked into compiling the DTS (from 3.10 kernel) for 4.4 and<br>
&gt;&gt; managed to get it compiled. Now no warning of outdated DT _but_ still<br>
&gt;&gt; hardware components not working.<br>
&gt;&gt;<br>
&gt;&gt; I was assuming that as hardware is still same for both kernel 3.10 and<br>
&gt;&gt; 4.4, so it should work, but seems like something in DT is off for 4.4<br>
&gt;&gt; kernel.<br>
&gt;&gt;<br>
&gt;&gt; Any help and suggestions will be good enough for me to look into above issue.<br>
&gt;&gt;<br>
&gt;&gt; Thanks and regards,<br>
&gt;&gt;<br>
&gt;&gt; -- Fawad Lateef<br>
<br></div></div></blockquote></div><br></div><div class="gmail_extra">Great share of issue plus the solution, Fawaad ðŸ˜Ž<br></div><div class="gmail_extra"><br><div class="gmail_signature" data-smartmail="gmail_signature">regards,<br><br>Mulyadi Santosa<br>Freelance Linux trainer and consultant<br><br>blog: <a href="http://the-hydra.blogspot.com" target="_blank">the-hydra.blogspot.com</a><br>training: <a href="http://mulyaditraining.blogspot.com" target="_blank">mulyaditraining.blogspot.com</a></div>
</div></div>