[PATCH] ARM: zii-rdu2: disable eth0 and eth1

Lucas Stach l.stach at pengutronix.de
Tue Jun 11 04:45:13 PDT 2019


Am Montag, den 10.06.2019, 11:58 -0400 schrieb Vivien Didelot:
> The current support for the ZII RDU2 Board times out on eth0 and eth1
> when booting 'net' from an alternative interface, like a USB Ethernet
> dongle. eth0 is the DSA master interface and has no use within barebox,
> as well as the gigabit interface eth1 which is wired to the switch
> port 0. Disable them to allow Barebox to boot right away from network.

NACK.

With the just merged patches to the RDU2 environment the FEC interface
is fully usable for regular network boot, which is what I use for my
development setups.

As USB network boot requires additional hardware, I would say it's fair
to require to change the environment on the boards used for DSA
development.

Regards,
Lucas

> Signed-off-by: Vivien Didelot <vivien.didelot at gmail.com>
> ---
>  arch/arm/boards/zii-imx6q-rdu2/defaultenv-rdu2/nv/dev.eth0.mode | 1 +
>  arch/arm/boards/zii-imx6q-rdu2/defaultenv-rdu2/nv/dev.eth1.mode | 1 +
>  2 files changed, 2 insertions(+)
>  create mode 100644 arch/arm/boards/zii-imx6q-rdu2/defaultenv-rdu2/nv/dev.eth0.mode
>  create mode 100644 arch/arm/boards/zii-imx6q-rdu2/defaultenv-rdu2/nv/dev.eth1.mode
> 
> diff --git a/arch/arm/boards/zii-imx6q-rdu2/defaultenv-rdu2/nv/dev.eth0.mode b/arch/arm/boards/zii-imx6q-rdu2/defaultenv-rdu2/nv/dev.eth0.mode
> new file mode 100644
> index 000000000..87e7bdaae
> --- /dev/null
> +++ b/arch/arm/boards/zii-imx6q-rdu2/defaultenv-rdu2/nv/dev.eth0.mode
> @@ -0,0 +1 @@
> +disabled
> \ No newline at end of file
> diff --git a/arch/arm/boards/zii-imx6q-rdu2/defaultenv-rdu2/nv/dev.eth1.mode b/arch/arm/boards/zii-imx6q-rdu2/defaultenv-rdu2/nv/dev.eth1.mode
> new file mode 100644
> index 000000000..87e7bdaae
> --- /dev/null
> +++ b/arch/arm/boards/zii-imx6q-rdu2/defaultenv-rdu2/nv/dev.eth1.mode
> @@ -0,0 +1 @@
> +disabled
> \ No newline at end of file




More information about the barebox mailing list