From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wg0-x22a.google.com ([2a00:1450:400c:c00::22a]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VqROI-00081M-9D for barebox@lists.infradead.org; Tue, 10 Dec 2013 17:46:38 +0000 Received: by mail-wg0-f42.google.com with SMTP id a1so4967236wgh.3 for ; Tue, 10 Dec 2013 09:46:15 -0800 (PST) Date: Tue, 10 Dec 2013 18:46:09 +0100 From: Alexander Aring Message-ID: <20131210174536.GA7305@omega> References: <20131206145250.ea5fc95adf61aca114babf5b@gmail.com> <20131206123925.GD24559@pengutronix.de> <20131206124327.GA22853@omega> <20131210192440.cbffc0bed7dd71d3f0e36f79@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20131210192440.cbffc0bed7dd71d3f0e36f79@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: How to debug Ethernet connectivity To: Antony Pavlov Cc: barebox@lists.infradead.org On Tue, Dec 10, 2013 at 07:24:40PM +0400, Antony Pavlov wrote: > On Tue, 10 Dec 2013 14:31:23 +0100 > Atilla Filiz wrote: > > > Ok, then my problem is slightly more clear, that /dev/phy0 does not exist. > > I do define a struct fec_platform_data with > > xcv_type=PHY_INTERFACE_MODE_MII and register it via imx27_add_fec(). > > > > Now I need to find out why it fails to register the device. > > There is issue with current barebox. > > The /dev/phy0 device is unavailable till you use network. > You can use this (ugly!) way > So just after boot type 'dhcp', next type 'ctrl-c' to interrupt dhcp and check /dev/phy0 presence. > mh, bad... :( Maybe just try a ping instead of dhcp to bring /dev/phy0 alive. But that's a ugly hack, too. Is there no some global(var/env) to enable it? - Alex _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox