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

2018-06-26 Thread Joe Hershberger
Hey Guys,

On Tue, Jun 19, 2018 at 5:03 PM, Simon Glass  wrote:
> +Joe
>
> On 15 June 2018 at 00:10, Heinrich Schuchardt  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
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-06-19 Thread Simon Glass
+Joe

On 15 June 2018 at 00:10, Heinrich Schuchardt  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
>
>
>
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-06-15 Thread Heinrich Schuchardt
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



___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot