[PATCH] ARM: imx23-olinuxino: discover usb before ifup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 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


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




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux