From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-la0-x229.google.com ([2a00:1450:4010:c03::229]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VqP4G-0002gO-GQ for barebox@lists.infradead.org; Tue, 10 Dec 2013 15:17:49 +0000 Received: by mail-la0-f41.google.com with SMTP id eo20so2803152lab.0 for ; Tue, 10 Dec 2013 07:17:26 -0800 (PST) Date: Tue, 10 Dec 2013 19:24:40 +0400 From: Antony Pavlov Message-Id: <20131210192440.cbffc0bed7dd71d3f0e36f79@gmail.com> In-Reply-To: References: <20131206145250.ea5fc95adf61aca114babf5b@gmail.com> <20131206123925.GD24559@pengutronix.de> <20131206124327.GA22853@omega> Mime-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: How to debug Ethernet connectivity To: Atilla Filiz Cc: barebox@lists.infradead.org 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=3DPHY_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. > On Fri, Dec 6, 2013 at 1:43 PM, Alexander Aring wr= ote: > > On Fri, Dec 06, 2013 at 01:39:25PM +0100, Sascha Hauer wrote: > >> On Fri, Dec 06, 2013 at 01:18:52PM +0100, Atilla Filiz wrote: > >> > Sorry, figured it out. Just most verbose output is funny as well: > >> > :/ miitool -vvv /dev/mc13xxx > >> > >> Don't know what miitool does in this case, but mc13xxx is not your phy, > >> it's your PMIC. > >> > > > > oh, doesn't realize that :D. So reading zeros can make sense in some > > offset. :-) > > > > - Alex > = > = > = > -- = > Atilla Filiz > = > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox -- = --=A0 Best regards, =A0 Antony Pavlov _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox