From: Mark Jackson <mpfjackson@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] How do I use AM335x eth1 rather than eth0 ?
Date: Fri, 12 Apr 2013 20:20:51 +0100 [thread overview]
Message-ID: <51685E93.2060805@mimc.co.uk> (raw)
In-Reply-To: <20130412160544.GS9914@bill-the-cat>
On 12/04/13 17:05, Tom Rini wrote:
> On Fri, Apr 12, 2013 at 11:56:57AM +0100, Mark Jackson wrote:
>
>> We have a dual Ethernet board (based on the BeagelBone) but with both Ethernet ports connected.
>>
>> I'm wanting to use eth1 (rather than eth0), so in my board.c file, I changed:-
<snip>
>> ... assuming that eth0 would now be ignored (as only 1 slave is configured).
>>
>> But (eg) dhcp still only responds on eth0 !?!
>>
>> What else do I have to change ?
>
> Good question, do you have both ports working in Linux yet? The EVM-SK
> design supports two interfaces and I know the cpsw driver in the kernel
> required some changes to support two. I strongly suspect similar
> changes would be required in the U-Boot driver (I don't have any
> specific links other than look at the vendor kernel tree).
Well, I've realised I needed to change CONFIG_PHY_ADDR in my board
config file.
So the link up/down portion now works to PHY#2, but I'm still unable to
ping anything from our board.
I'm guessing there's some hard-coded assumptions in the cpsw.c driver.
I've taken quick look at the Ethernet section of the TRM, but that's
*waaaay* over my head !?!
I've so far been unable to get Linux to see the 2nd port, and there is
no "vendor kernel tree" ... I'm the vendor :-)
Mark J.
next prev parent reply other threads:[~2013-04-12 19:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-12 10:56 [U-Boot] How do I use AM335x eth1 rather than eth0 ? Mark Jackson
2013-04-12 16:05 ` Tom Rini
2013-04-12 19:20 ` Mark Jackson [this message]
2013-04-13 17:45 ` [U-Boot] How do I use AM335x eth1 rather than eth0 ? [SOLVED] Mark Jackson
2013-04-13 17:46 ` Mark Jackson
2015-03-17 9:12 ` tejbir
-- strict thread matches above, loose matches on Subject: below --
2013-04-12 10:32 [U-Boot] How do I use AM335x eth1 rather than eth0 ? Mark Jackson
2013-04-18 15:49 ` Bo Shen
2013-04-18 17:23 ` Wolfgang Denk
2013-04-20 1:03 ` Bo Shen
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=51685E93.2060805@mimc.co.uk \
--to=mpfjackson@gmail.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 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.