From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752522AbdDCIjQ (ORCPT ); Mon, 3 Apr 2017 04:39:16 -0400 Received: from mail-vk0-f41.google.com ([209.85.213.41]:35580 "EHLO mail-vk0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752266AbdDCIjP (ORCPT ); Mon, 3 Apr 2017 04:39:15 -0400 MIME-Version: 1.0 From: Fawad Lateef Date: Mon, 3 Apr 2017 10:38:53 +0200 Message-ID: Subject: 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 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: fawadlateef@gmail.com (Fawad Lateef) Date: Mon, 3 Apr 2017 10:38:53 +0200 Subject: Suggestions needed for resolving DT issues between kernel 3.10 and 4.4 Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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