public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Steven Scholz <steven.scholz@imc-berlin.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Ethernet does not work on at91rm9200
Date: Mon, 05 Jul 2004 19:49:25 +0200	[thread overview]
Message-ID: <40E994A5.2010700@imc-berlin.de> (raw)
In-Reply-To: <367ED8C46538D7119DAC000A0D106744520D54@elmegmbh.elmedmn.com>

Hi Peter,

> i added CONFIG_AT91C_USE_RMII to my configuration and now it works. 
Aah. I hope you know why you did it... ;-)

> but if i boot from filesystem (jffs2) than linux doesnt know the mac-adress.
> if i stop at u-boot prompt, call any network function, and start linux
> afterwords, then linux knows the mac-adress. 
> 
> does u-boot only initialize the ethernet interface if it is needed?
Yes. That's a declared policy of U-Boot!

> can i force u-boot to init the ethernet interface 

Of course you force anything you want. You could put

	eth_init (gd->bd);

in you board specific board_init();
This way the init code in at91rm9200_ether.c gets called and write the MAC 
address into the ethernet controller...

 > or is there another 'standard' way to tell linux the mac-adress?
You could pass "MAC=xx.xx.xx.xx.xx.xx" as bootargs to the linux kernel.
Although I am not sure right now if the at91rm9200 linux ethernet driver 
would actually care. But it should not be too hard to implemtent taht feature...

Good luck,

Steven

  parent reply	other threads:[~2004-07-05 17:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-05 16:34 [U-Boot-Users] Ethernet does not work on at91rm9200 Kögler Peter
2004-07-05 17:46 ` Wolfgang Denk
2004-07-06  9:54   ` Wolfgang Denk
2004-07-05 17:49 ` Steven Scholz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-07-06  9:04 Kögler Peter
2004-07-06  9:41 ` Wolfgang Denk
2004-07-02  7:40 Kögler Peter
2004-07-02  8:06 ` Wolfgang Denk
2004-07-02  8:22 ` Hamid IKDOUMI

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=40E994A5.2010700@imc-berlin.de \
    --to=steven.scholz@imc-berlin.de \
    --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