From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,
barebox@lists.infradead.org
Subject: Re: [PATCH v3 0/4] mvebu: Add network support for Armada 370/XP
Date: Mon, 10 Nov 2014 09:06:57 +0100 [thread overview]
Message-ID: <20141110080657.GA18558@pengutronix.de> (raw)
In-Reply-To: <1415544978-22392-1-git-send-email-ezequiel.garcia@free-electrons.com>
Hello Ezequiel,
On Sun, Nov 09, 2014 at 11:56:14AM -0300, Ezequiel Garcia wrote:
> Very delayed third round of the support for the network controller present
> on Marvell Armada 370/XP SoC.
>
> The first patch enables the peripherals in a PUP register, which is required
> on RGMII ports.
>
> The second and third patches add support for Marvell's 88E1543 and 88E1545 PHY
> chips.
>
> The fourth patch adds the mvneta driver. Most of the configuration part is
> based on Linux's mvneta driver, while some of code organization is based
> on Barebox's orion-gbe driver.
I tested this series on top of 784b352aeeed with a patch to support my
ReadyNAS 104 (by Netgear, Armada 370 system, currently only second stage
booting from U-Boot, similar to mirabox with
armada-370-netgear-rn104.dts from next-20141106).
Marvell>> tftp start_netgear_rn104.pblx
Using egiga1 device
TFTP from server 192.168.77.157; our IP address is 192.168.77.133
Filename 'start_netgear_rn104.pblx'.
Load address: 0x2000000
Loading: ####################
done
Bytes transferred = 292148 (47534 hex)
Marvell>> go 0x2000000
## Starting application at 0x02000000 ...
barebox 2014.11.0-00123-g422a0a9d46a8 #3 Sun Nov 9 21:35:11 CET 2014
Board: NETGEAR ReadyNAS 104
SoC: Marvell 6710 rev 1
mdio_bus: miibus0: probed
eth1: got preset MAC address: 28:c6:8e:36:df:57
of_get_named_gpio_flags: unable to get gpio num of device pca95540: -19
of_get_named_gpio_flags: unable to get gpio num of device pca95540: -19
of_get_named_gpio_flags: unable to get gpio num of device pca95540: -19
of_get_named_gpio_flags: unable to get gpio num of device pca95540: -19
malloc space: 0x01f00000 -> 0x03dfffff (size 31 MiB)
environment load /dev/env0: No such file or directory
Maybe you have to create the partition.
no valid environment found on /dev/env0. Using default environment
running /env/bin/init...
/env/bin/init not found
barebox:/ ethact eth1
barebox:/ dhcp
eth1: 1000Mbps full duplex link detected
T T T T T T T T T T T T T T T T T T T T dhcp failed: Connection timed out
dhcp: Connection timed out
barebox:/ eth1.ipaddr=192.168.77.133
barebox:/ eth1.netmask=255.255.255.0
barebox:/ echo $eth1.ethaddr
28:c6:8e:36:df:57
barebox:/ ping 192.168.77.157
T T T T T ping failed: Connection timed out
barebox:/
tcpdump on 192.168.77.157 (which is connected via a switch) worked just
fine from U-Boot, after all it served the barebox image.
The pca9554 i2c device is only used for leds, so I don't think the error
messages above are related.
Yesterday I saw a different error, that I cannot reproduce now with the
same barebox image. IIRC I first played around a bit with eth0 until
noticing that I need eth1. I didn't save the full log, but it resulted
in:
barebox:/ ethact eth1
barebox:/ dhcp
eth1: 1000Mbps full duplex link detected
eth1: transmit error 3
dhcp failed: I/O error
dhcp: I/O error
Any ideas? I can try to use a dtb without pinmux definitions later
today.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2014-11-10 8:07 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-09 14:56 [PATCH v3 0/4] mvebu: Add network support for Armada 370/XP Ezequiel Garcia
2014-11-09 14:56 ` [PATCH v3 1/4] ARM: mvebu: Enable PUP register Ezequiel Garcia
2014-11-09 14:56 ` [PATCH v3 2/4] net: phy: Support Marvell 88EE1545 PHY Ezequiel Garcia
2014-11-09 14:56 ` [PATCH v3 3/4] net: phy: Support Marvell 88EE1543 PHY Ezequiel Garcia
2014-11-10 6:57 ` Sascha Hauer
2014-11-09 14:56 ` [PATCH v3 4/4] net: Add driver for Armada 370/XP 10/100/1000 Mbps network controller Ezequiel Garcia
2014-11-10 8:06 ` Uwe Kleine-König [this message]
2014-11-10 18:10 ` [PATCH v3 0/4] mvebu: Add network support for Armada 370/XP Ezequiel Garcia
2014-11-10 18:43 ` Uwe Kleine-König
2014-11-10 19:36 ` Sebastian Hesselbarth
2014-11-11 9:06 ` Uwe Kleine-König
2014-11-11 14:25 ` Ezequiel Garcia
2014-11-11 14:31 ` Thomas Petazzoni
2014-11-11 14:34 ` Ezequiel Garcia
2014-11-12 7:03 ` Sascha Hauer
2014-11-11 20:35 ` Uwe Kleine-König
2014-11-12 10:56 ` Uwe Kleine-König
2014-11-12 11:22 ` Sebastian Hesselbarth
2014-11-13 9:09 ` Uwe Kleine-König
2014-11-13 9:53 ` Sebastian Hesselbarth
2014-11-13 10:46 ` Uwe Kleine-König
2014-11-13 11:31 ` Sebastian Hesselbarth
2014-11-13 18:44 ` Uwe Kleine-König
2014-11-14 8:21 ` Sebastian Hesselbarth
2014-11-14 20:48 ` Uwe Kleine-König
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=20141110080657.GA18558@pengutronix.de \
--to=u.kleine-koenig@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=ezequiel.garcia@free-electrons.com \
--cc=thomas.petazzoni@free-electrons.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.