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

Joe Hershberger joe.hershberger at ni.com
Tue Jun 26 21:25:02 UTC 2018


Hey Guys,

On Tue, Jun 19, 2018 at 5:03 PM, Simon Glass <sjg at chromium.org> wrote:
> +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

I sent out a patch set that fixes these issues,

Cheers,
-Joe


More information about the U-Boot mailing list