[U-Boot] sandbox: Net: No ethernet found.

Heinrich Schuchardt xypron.glpk at gmx.de
Fri Jun 15 06:10:32 UTC 2018


Hello Simon,

when I run sandbox_defconfig I always get
Net:   No ethernet found.

The dm command shows no driver attached to uclass 21: eth. Why are the
sandbox and sandbox-raw drivers not loaded?

device_bind_common is not called for these drivers.

arch/sandbox/dts/sandbox.dts makes assumptions about the naming of
interfaces:

host-raw-interface = "eth0"

With systemd eth0 tends not to exist. The interfaces on my Debian Buster
system the interfaces are called lo, enp0s25, and wlp12s0.

Shouldn't we use if_nameindex() to enumerate the interfaces?

Best regards

Heinrich





More information about the U-Boot mailing list