From: Hans de Goede <hdegoede@redhat.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] regarding u-boot ethernet support for TFTP boot in Banana pi R1 (Lamobo R1)
Date: Wed, 12 Aug 2015 12:26:08 +0200 [thread overview]
Message-ID: <55CB1F40.7080108@redhat.com> (raw)
In-Reply-To: <1439367973065-223553.post@n7.nabble.com>
Hi,
On 12-08-15 10:26, ramki982 wrote:
> Dear all,
>
> I've successfully compiled and running u-boot on the Bananapi R1 board using
> the instructions in http://linux-sunxi.org/Mainline_U-boot#Compile_U-Boot
>
> This board uses a BCM 53125 ethernet chip
>
> 4+1 ports 10/100/1000 Ethernet RJ45 (BCM 53125),
> WLAN @802.11b/g/n (RTL8192CU) with 2x external antennas connectors
>
> But when I any try to run any NETWORK related command - i'm getting a "No
> Link". I do have the ip add, gateway addr, net mask etc set as environment
> variables.
>
> sunxi# ping 192.168.10.1
> ethernet at 01c50000 Waiting for PHY auto negotiation to complete.........
> TIMEOUT !
> ethernet at 01c50000: No link.
> ping failed; host 192.168.10.1 is not alive
The problem is that the R1 uses a broadcom switch chip rather then a regular
ethernet phy, and neither u-boot nor the upstream kernel has support for this
switch chip.
So this is sortof expected behavior. There are kernel patches for adding
support for the switch chip in question and people have successfully
build upstream kernels with those patches.
It might be interesting to write a small u-boot patch adding support for
this switch chip, which simply enables all ports as normal (not part of a vlan)
ports.
Even if you only add proper kernel support, u-boot still needs to initialize
the gmac, as the kernel does not know how to setup the gmac tx / rx clk delays,
ideally someone would write a small kernel gmac clk driver patch to teach the
kernel about this.
Regards,
Hans
next prev parent reply other threads:[~2015-08-12 10:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-12 8:26 [U-Boot] regarding u-boot ethernet support for TFTP boot in Banana pi R1 (Lamobo R1) ramki982
2015-08-12 10:26 ` Hans de Goede [this message]
2015-08-12 15:05 ` Ramakrishnan Meenakshi Sundaram
-- strict thread matches above, loose matches on Subject: below --
2015-08-10 2:54 Ramakrishnan Meenakshi Sundaram
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=55CB1F40.7080108@redhat.com \
--to=hdegoede@redhat.com \
--cc=u-boot@lists.denx.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