public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Ethernet does not work on at91rm9200
@ 2004-07-05 16:34 Kögler Peter
  2004-07-05 17:46 ` Wolfgang Denk
  2004-07-05 17:49 ` Steven Scholz
  0 siblings, 2 replies; 9+ messages in thread
From: Kögler Peter @ 2004-07-05 16:34 UTC (permalink / raw)
  To: u-boot

hi hamid,
i added CONFIG_AT91C_USE_RMII to my configuration and now it works. 

sorry guys for trouble i caused!

another problem i have is that if i boot via nfs everything works, linux
knows the mac-adress. 

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? can i
force u-boot to init the ethernet interface or is there another 'standard'
way to tell linux the mac-adress?

wbr
peter

--------------------------------------------------------------
Peter K?gler
EL-ME AG
Gewerbering 1
D-84072 Au i. d. Hallertau

Tel.:     +49 / 8752 / 864 - 527
Fax.:     +49 / 8752 / 864 - 100
mailto.:  p.koegler at el-me.de         
Web:      www.el-me.de
 

-----Original Message-----
From: Hamid IKDOUMI [mailto:hikdoumi at rfo.atmel.com]
Sent: Friday, July 02, 2004 10:23 AM
To: 'K?gler Peter'; u-boot-users at lists.sourceforge.net
Subject: RE: [U-Boot-Users] Ethernet does not work on at91rm9200


Hi Peter,

The ethernet works fine on at91rm9200dk board. Can you give more information
about this issue? (hardware differences with at91rm9200dk board (PHY MII or
RMII).


Best regards,

Hamid


-----Original Message-----
From: u-boot-users-admin@lists.sourceforge.net
[mailto:u-boot-users-admin at lists.sourceforge.net]On Behalf Of K?gler
Peter
Sent: vendredi 2 juillet 2004 09:41
To: 'u-boot-users at lists.sourceforge.net'
Subject: [U-Boot-Users] Ethernet does not work on at91rm9200


Hello,

our custom board runs now perfectly with u-boot 1.1.1 except that the
ethernet is not working. But the ethernet worked when we used u-boot 0.4.0.


Changing only the driver file at91rm9200_ether.c, now using the u-boot 0.4.0
driver file version in u-boot 1.1.1 helped to fix this problem.


wbr
Peter


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [U-Boot-Users] Ethernet does not work on at91rm9200
@ 2004-07-06  9:04 Kögler Peter
  2004-07-06  9:41 ` Wolfgang Denk
  0 siblings, 1 reply; 9+ messages in thread
From: Kögler Peter @ 2004-07-06  9:04 UTC (permalink / raw)
  To: u-boot

There is an interesting thread about initializing the mac adress:

http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2004-April/021126.h
tml



--------------------------------------------------------------
Peter K?gler
EL-ME AG
Gewerbering 1
D-84072 Au i. d. Hallertau

Tel.:     +49 / 8752 / 864 - 527
Fax.:     +49 / 8752 / 864 - 100
mailto.:  p.koegler at el-me.de         
Web:      www.el-me.de
 

-----Original Message-----
From: Wolfgang Denk [mailto:wd at denx.de]
Sent: Monday, July 05, 2004 7:47 PM
To: K?gler Peter
Cc: u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] Ethernet does not work on at91rm9200 


In message <367ED8C46538D7119DAC000A0D106744520D54@elmegmbh.elmedmn.com> you
wrote:
> 
> 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. 

This is a problem with your LInux driver which does not  perform  all
the required initialization.

This tends to become a FAQ.


> does u-boot only initialize the ethernet interface if it is needed? can i

Yes.

> force u-boot to init the ethernet interface or is there another 'standard'
> way to tell linux the mac-adress?

U-Boot should NOT touch any hardware it does not  access  itself.  If
you  don't  use  the  ethernet  interface  in  U-Boot it shall NOT be
initialized by U-Boot.

The standard way is that the Linux driver is responsible  to  perform
all  required initialization. The method to pass information from the
boot loader to the Linux kernel is architecture dependent; it may use
a bd_info structure (like on PPC), or ATAGs (like on ARM) or  command
line arguments, or a combination of these.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
I have made mistakes, but have never made the mistake of  claiming  I
never made one.                                     - James G. Bennet

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [U-Boot-Users] Ethernet does not work on at91rm9200
@ 2004-07-02  7:40 Kögler Peter
  2004-07-02  8:06 ` Wolfgang Denk
  2004-07-02  8:22 ` Hamid IKDOUMI
  0 siblings, 2 replies; 9+ messages in thread
From: Kögler Peter @ 2004-07-02  7:40 UTC (permalink / raw)
  To: u-boot

Hello,

our custom board runs now perfectly with u-boot 1.1.1 except that the
ethernet is not working. But the ethernet worked when we used u-boot 0.4.0.


Changing only the driver file at91rm9200_ether.c, now using the u-boot 0.4.0
driver file version in u-boot 1.1.1 helped to fix this problem.


wbr
Peter 

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

end of thread, other threads:[~2004-07-06  9:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
  -- 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

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