FEC Not working with imx27 based board

Kamel BOUHARA k.bouhara at gmail.com
Mon Jul 11 11:14:54 EDT 2011


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 ................
>
> barebox at Phytec phyCard-i.MX27:/ boto
>
> Unknown command 'boto' - try 'help'
>
> barebox at Phytec phyCard-i.MX27:/ boot
>
> phy0: Link is up - 100/Full
>
> T T T T T
>
>
The fec is working fine on the phytec but the same o my board make it crash:

> barebox at armadeus APF27:/ md -s /dev/phy0
>
> 00000000: 78091000 c0c40007 000101e1 ffff0000 ...x............
>
> 00000010: ffffffff ffffffff ffffffff 0000ffff ................
>
> 00000020: 00000040 ffff00ff 00000000 00000000 @...............
>
> 00000030: ffffffff 00010000 00100000 00400000 .............. at .
>
Why I did'nt get the boad working with the same configuration ?

Regards.

__________________________________
*Kamel BOUHARA*
7 rue Jules César
02100 SAINT-QUENTIN
06.17.83.29.04
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20110711/46be8b13/attachment.html>


More information about the barebox mailing list