FEC Not working with imx27 based board

Sascha Hauer s.hauer at pengutronix.de
Tue Jul 12 09:58:16 EDT 2011


On Tue, Jul 12, 2011 at 03:54:43PM +0200, Sascha Hauer wrote:
> On Mon, Jul 11, 2011 at 05:14:54PM +0200, Kamel BOUHARA wrote:
> > Hi,
> > 
> > Im trying to port barebox to my Armadeus apf27 board (based on the Freescale
> > imx27 with a 512MiB NAND and 1GB of SDRAM).
> > I've first tried the phytec imx27 configuration and I got it worked until
> > the Linux uncompressing task (the machine ID is bad so I didn't expect it
> > will boot fine :)).
> > So I just copied the phycard-imx27 board directory and I followed the
> > boards.dox in order to add support for my board.
> > But when I've tried to boot again it was not working anymore ...
> > 
> > There are somethings stranges with the FEC, here is the result of a memory
> > display with both phytec and my own board :
> > 
> > > barebox at Phytec phyCard-i.MX27:/ md -s /dev/phy0
> > >
> > > 00000000: ffffffff ffffffff ffffffff ffffffff ................
> > >
> > > 00000010: ffffffff ffffffff ffffffff ffffffff ................
> > >
> > > 00000020: ffffffff ffffffff ffffffff ffffffff ................
> > >
> > > 00000030: ffffffff ffffffff ffffffff ffffffff ................
> 
> This means your phy is not configured correctly. Do you usse the correct
> address (can be passed in platform_data).

GPIO pins which hold the phy in reset are another thing which might go
wrong.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list