mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: zii-rdu2: disable eth0 and eth1
@ 2019-06-10 15:58 Vivien Didelot
  2019-06-11  6:24 ` Andrey Smirnov
  2019-06-11 11:45 ` Lucas Stach
  0 siblings, 2 replies; 6+ messages in thread
From: Vivien Didelot @ 2019-06-10 15:58 UTC (permalink / raw)
  To: barebox; +Cc: Andrey Smirnov, 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.

Signed-off-by: Vivien Didelot <vivien.didelot@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
-- 
2.21.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-06-11 18:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-10 15:58 [PATCH] ARM: zii-rdu2: disable eth0 and eth1 Vivien Didelot
2019-06-11  6:24 ` Andrey Smirnov
2019-06-11 11:45 ` Lucas Stach
2019-06-11 14:46   ` Vivien Didelot
2019-06-11 18:02     ` Lucas Stach
2019-06-11 18:11       ` Vivien Didelot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox