From: Dmitry Voytik <voytikd@gmail.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Dmitry Voytik <voytikd@gmail.com>, barebox@lists.infradead.org
Subject: [PATCH] ARM: imx23-olinuxino: discover usb before ifup
Date: Thu, 23 Oct 2014 18:21:38 +0400 [thread overview]
Message-ID: <1414074098-13717-1-git-send-email-voytikd@gmail.com> (raw)
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@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
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2014-10-23 14:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-23 14:21 Dmitry Voytik [this message]
2014-11-03 14:41 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1414074098-13717-1-git-send-email-voytikd@gmail.com \
--to=voytikd@gmail.com \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox