mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: zii-vf610-dev: disable eth1
@ 2019-05-21  0:43 Vivien Didelot
  2019-05-23  7:07 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Vivien Didelot @ 2019-05-21  0:43 UTC (permalink / raw)
  To: barebox; +Cc: Andrey Smirnov, Vivien Didelot

The current support for the ZII Dev Boards time out on eth1 when
booting from net, which takes a while:

    Booting entry 'net'
    eth0: 100Mbps full duplex link detected
    T T T eth0: DHCP client bound to address 192.168.203.22
    WARNING: eth1: No MAC address set. Using random address 3a:e8:f7:52:55:6d
    T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T
    Loading ARM Linux zImage '/mnt/tftp/none-linux-zii-dev-rev-b-2'

eth1 is the DSA master interface and has no use within barebox,
so disable the interface to allow Barebox to boot right away from eth0.

Suggested-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com>
---
 .../zii-vf610-dev/defaultenv-zii-vf610-dev/nv/dev.eth1.mode      | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 arch/arm/boards/zii-vf610-dev/defaultenv-zii-vf610-dev/nv/dev.eth1.mode

diff --git a/arch/arm/boards/zii-vf610-dev/defaultenv-zii-vf610-dev/nv/dev.eth1.mode b/arch/arm/boards/zii-vf610-dev/defaultenv-zii-vf610-dev/nv/dev.eth1.mode
new file mode 100644
index 000000000..87e7bdaae
--- /dev/null
+++ b/arch/arm/boards/zii-vf610-dev/defaultenv-zii-vf610-dev/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] 2+ messages in thread

* Re: [PATCH] ARM: zii-vf610-dev: disable eth1
  2019-05-21  0:43 [PATCH] ARM: zii-vf610-dev: disable eth1 Vivien Didelot
@ 2019-05-23  7:07 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2019-05-23  7:07 UTC (permalink / raw)
  To: Vivien Didelot; +Cc: Andrey Smirnov, barebox

On Mon, May 20, 2019 at 08:43:45PM -0400, Vivien Didelot wrote:
> The current support for the ZII Dev Boards time out on eth1 when
> booting from net, which takes a while:
> 
>     Booting entry 'net'
>     eth0: 100Mbps full duplex link detected
>     T T T eth0: DHCP client bound to address 192.168.203.22
>     WARNING: eth1: No MAC address set. Using random address 3a:e8:f7:52:55:6d
>     T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T
>     Loading ARM Linux zImage '/mnt/tftp/none-linux-zii-dev-rev-b-2'
> 
> eth1 is the DSA master interface and has no use within barebox,
> so disable the interface to allow Barebox to boot right away from eth0.
> 
> Suggested-by: Andrey Smirnov <andrew.smirnov@gmail.com>
> Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com>
> ---

Applied, thanks

Sascha

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

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

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

end of thread, other threads:[~2019-05-23  7:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-21  0:43 [PATCH] ARM: zii-vf610-dev: disable eth1 Vivien Didelot
2019-05-23  7:07 ` Sascha Hauer

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