[RFC PATCH] ARM i.MX6: Add support for SabreSD board

Sascha Hauer s.hauer at pengutronix.de
Wed Feb 6 13:37:14 EST 2013


On Wed, Feb 06, 2013 at 04:55:45PM +0100, Hubert Feurstein wrote:
> Hi Steffen,
> 
> 2013/2/5 Steffen Trumtrar <s.trumtrar at pengutronix.de>:
> >> +static int sabresd_devices_init(void)
> >> +{
> >> +     imx6_add_mmc1(&sabresd_sd2_data);
> >> +     imx6_add_mmc2(&sabresd_sd3_data);
> >> +     imx6_add_mmc3(&sabresd_sd4_data);
> >> +
> >> +     sabresd_enet_setup();
> >
> > I think this is not necessary. The SabreSD ethernet works without this
> > and you can merge the two pinmuxings. On the SabreLite this was necessary
> > because of remuxing.
> OK
> 
> > The rest of the ethernet looks okay though and should work. I have a v2012.08.0
> > barebox for the SabreSD that only does ethernet (Forgot to mainline the patches
> > :-( ). The pinctrl and the rest is almost the same. The only difference is the
> > rgmii_rework.
> > I have
> >         imx6_add_fec(&fec_info);
> >         mx6_rgmii_rework();
> I recognized, that my rework code is the same as for the Arm2-board.
> But ethernet is still not working yet.

The phy rework code is phy specific. You have to look at the phy
datasheet to guess the correct values (Or look at the FSL sourcecode)

> Hit m for menu or any other key to stop autoboot:  3
> 
> type exit to get to the menu
> barebox at SabreSD:/
> barebox at SabreSD:/ dhcp
> 1000Mbps full duplex link detected

I have never tested gigabit support under barebox. Maybe connect to a
100MBit switch for now?

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