From: Dinh Nguyen Date: Wed, 13 Mar 2019 21:26:13 -0500 Subject: [U-Boot] [PATCH] ARM: dts: socfpga: Add missing altr, sysmgr-syscon for EMAC In-Reply-To: <1552478054.5582.25.camel@intel.com> References: <1552446215-17067-1-git-send-email-ley.foon.tan@intel.com> <1552456775.5582.12.camel@intel.com> <21096642-5be7-9db1-473d-4857612813bb@kernel.org> <8e5c4376-101f-016a-ea7a-7a1f1c344590@kernel.org> <1552478054.5582.25.camel@intel.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On 3/13/19 6:54 AM, Ley Foon Tan wrote: > On Wed, 2019-03-13 at 10:33 -0500, Dinh Nguyen wrote: >> >> On 3/13/19 9:32 AM, Dinh Nguyen wrote: >>> >>> >>> >>> On 3/13/19 12:59 AM, Ley Foon Tan wrote: >>>> >>>> On Wed, 2019-03-13 at 04:30 +0100, Marek Vasut wrote: >>>>> >>>>> On 3/13/19 4:03 AM, Ley Foon Tan wrote: >>>>>> >>>>>> >>>>>> Syscon register is required in dts to select correct >>>>>> PHY interface. >>>>>> >>>>>> Fix error below: >>>>>> >>>>>> Net:   Failed to get syscon: -2 >>>>>> >>>>>> Signed-off-by: Ley Foon Tan >>>>> Is this fixed in mainline Linux too ? >>>> Didn't see this in mainline Linux. >>>> >>>> Dinh, do you aware of this? I see sysmgr-syscon error in EMAC in >>>> v4.20 >>>> kernel. >>>> >>>> [    1.427994] socfpga-dwmac ff800000.ethernet: Could not read >>>> reg_offset from sysmgr-syscon! >>>> [    1.436241] socfpga-dwmac ff800000.ethernet: Unable to parse >>>> OF data >>>> [    1.442646] socfpga-dwmac: probe of ff800000.ethernet failed >>>> with >>>> error -22 >> It looks like you're running downstream Linux. The failed to probe >> message is only in the downstream Linux, not upstream Linux. >> >> Dinh >> > Yes, I am using downstream socfpga-4.20 branch. Upstream Linux can ping > IP address successfully? > I can even mount an NFS. Anyways, I'm sending out a patch shortly. Dinh