[PATCH] ARM: imx23-olinuxino: discover usb before ifup
Dmitry Voytik
voytikd at gmail.com
Thu Oct 23 07:21:38 PDT 2014
i.MX233 in OLinuXino uses LAN9512 for Ethernet connection.
LAN9512 is connected to USB. Execute usb command before bringing
network up.
This patch makes 'ifup eth0' workable.
Signed-off-by: Dmitry Voytik <voytikd at gmail.com>
---
arch/arm/boards/imx233-olinuxino/env/network/eth0-discover | 6 ++++++
1 file changed, 6 insertions(+)
create mode 100644 arch/arm/boards/imx233-olinuxino/env/network/eth0-discover
diff --git a/arch/arm/boards/imx233-olinuxino/env/network/eth0-discover b/arch/arm/boards/imx233-olinuxino/env/network/eth0-discover
new file mode 100644
index 0000000..76494fe
--- /dev/null
+++ b/arch/arm/boards/imx233-olinuxino/env/network/eth0-discover
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# In OLinuXino board i.MX233 SoC uses LAN9512 (attached to USB) to connect
+# to an Ethernet LAN.
+
+usb
--
1.9.1
More information about the barebox
mailing list