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

Simon Glass sjg at chromium.org
Tue Jun 19 22:03:00 UTC 2018


+Joe

On 15 June 2018 at 00:10, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> 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