Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752100AbdDCIzL (ORCPT ); Mon, 3 Apr 2017 04:55:11 -0400 Received: from mail-vk0-f50.google.com ([209.85.213.50]:35948 "EHLO mail-vk0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751649AbdDCIzJ (ORCPT ); Mon, 3 Apr 2017 04:55:09 -0400 MIME-Version: 1.0 In-Reply-To: References: From: Fawad Lateef Date: Mon, 3 Apr 2017 10:54:48 +0200 Message-ID: Subject: Re: Suggestions needed for resolving DT issues between kernel 3.10 and 4.4 To: Linux Kernel Mailing List , kernelnewbies@kernelnewbies.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1610 Lines: 46 Hi, One more thing I realised that eth0 which is working is directly out of SOM/SOC but other 3 eth ports are connected to a internal USB switch (so Linux should see only eth1 besides eth0). So seems like flash/nand chip (m25p80) and spi_ks8995 (Micrel KS8995 Ethernet switch SPI) mainly not working. Thanks -- Fawad Lateef On 3 April 2017 at 10:38, Fawad Lateef wrote: > Hi, > > I am facing some issues with device-trees (I am fairly new to them) > and need some pointers about how to approach below problem: > > I got some I.MX6Q based hardware (some custom made whose hardware > details are unknown to me). Hardware shipped with 3.10.53 kernel with > full sources and everything is working on it > > Trying to get one of the recent kernel working on it (linux-4.4, from > linux-linaro-stable with rt patches). I can compile the kernel and > boot into it using 3.10.xx kernel compiled DTB but getting Warning at > boot-time "Outdated DT detected, suspend/resume will NOT work" and few > main hardware components not working (mainly ethernet(s) - 1 out of 4 > ports working though, MTD/NAND (for u-boot environment)) > > So I looked into compiling the DTS (from 3.10 kernel) for 4.4 and > managed to get it compiled. Now no warning of outdated DT _but_ still > hardware components not working. > > I was assuming that as hardware is still same for both kernel 3.10 and > 4.4, so it should work, but seems like something in DT is off for 4.4 > kernel. > > Any help and suggestions will be good enough for me to look into above issue. > > Thanks and regards, > > -- Fawad Lateef