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

Sascha Hauer s.hauer at pengutronix.de
Mon Nov 3 06:41:48 PST 2014


On Thu, Oct 23, 2014 at 06:21:38PM +0400, Dmitry Voytik wrote:
> 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>

Applied, thanks

Sascha

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

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list