U-Boot overlays (HERE BE EVIL DRAGONS, AND THEY BE HUNGRY) ;)

Anyway, this is pretty slick. How long do you figure it’ll take before this functionality come into the default uboot ?

Oh pretty quickly in the current version..

But i want to add the whole cape eeprom parser to u-boot..

That'll take more time..

Regards,

the cpsw/eth0 is just broken. :wink: i saw on github (irc zmatt) was looking at it

While I don’t exclude the possibility that the cpsw driver might be crappy (haven’t really looked at it much), the blame here actually lies with linux itself, which unconditionally resets the phy.

Latest version of the patch:

hmmm, I wonder if that works ?

If you had Cc’d me then you wouldn’t have needed to wonder :slight_smile:

I’m not going to pretend it’s an elegant patch, but we’ve been using it for months now on all our beaglebones and it appears to work like a charm:

[ 5.548658] alexje kernel: net eth0: initializing cpsw version 1.12 (0)
[ 5.551254] alexje kernel: SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=4a101000.mdio:00, irq=-1)
[ 5.551903] alexje kernel: cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 5.593833] alexje systemd-networkd[105]: eth0: Gained carrier

Matthijs