[U-Boot] ethact not set after usb start

Chris Packham judge.packham at gmail.com
Wed Mar 8 00:02:49 UTC 2017


Hi,

I'm working with a new board using u-boot v2016.11. The board is using
a SoC (Marvell integrated switch using armada-xp "compatible" core).
While the SoC does have some built-in Ethernet interfaces the board I
have only has USB available.

Based on doc/README.usb I expect that running "usb start" should
automatically set the "ethact" environment variable. But that seems
not to work for me.

=> usb start starting USB...
USB0: USB EHCI 1.00 scanning bus 0 for devices...
Warning: asix_eth MAC addresses don't match:
Address in SROM is 8c:ae:4c:f5:bd:06
Address in environment is 00:50:43:4a:4a:4a
2 USB Device(s) found
=> ping ${serverip}
No ethernet found.
ping failed; host 10.34.254.1 is not alive
=> print ethact
## Error: "ethact" not defined

But if I set ethact manually things work

=> setenv ethact asix_eth
=> ping ${serverip}
Using asix_eth device
host 10.34.254.1 is alive

I see some older patches around ethact/ethrotate misbehaving with the
driver model and I seem to have all those changes.

Is my expectation correct? Or is setting ethact required?

Thanks,
Chris


More information about the U-Boot mailing list