All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] smc911x: cannot pass the MAC address from U-Boot to the Linux driver via chip registers
@ 2008-05-16 15:15 Jens Gehrlein
  2008-05-16 15:59 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Jens Gehrlein @ 2008-05-16 15:15 UTC (permalink / raw)
  To: u-boot

Hi,

in the smc911x U-Boot driver the call of eth_halt() causes a reset of 
the ethernet controller. This also resets the MAC address in the 
according chip registers. This makes it impossible to pass the MAC 
address to an ARM kernel because the smc911x linux driver reads the MAC 
address from the MAC registers and complains if the found values are 
invalid.

Any ideas to solve this problem, e.g.
- rewriting the MAC address after reset?
- not to reset the chip?
- another passing mechanism to the kernel?
- or ...

Best Regards,
Jens

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

* [U-Boot-Users] smc911x: cannot pass the MAC address from U-Boot to the Linux driver via chip registers
  2008-05-16 15:15 [U-Boot-Users] smc911x: cannot pass the MAC address from U-Boot to the Linux driver via chip registers Jens Gehrlein
@ 2008-05-16 15:59 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2008-05-16 15:59 UTC (permalink / raw)
  To: u-boot

In message <482DA51D.7070705@tqs.de> you wrote:
> 
> in the smc911x U-Boot driver the call of eth_halt() causes a reset of 
> the ethernet controller. This also resets the MAC address in the 
> according chip registers. This makes it impossible to pass the MAC 
> address to an ARM kernel because the smc911x linux driver reads the MAC 
> address from the MAC registers and complains if the found values are 
> invalid.

You should have searched the  archives  and  possible  read  the  FAQ
before posting. This has been discussed a zillion times before.

> Any ideas to solve this problem, e.g.

Pass it with the kernel's boot arguments.

...or implement FDT support for ARM.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I have often regretted my speech, never my silence.

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

end of thread, other threads:[~2008-05-16 15:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-16 15:15 [U-Boot-Users] smc911x: cannot pass the MAC address from U-Boot to the Linux driver via chip registers Jens Gehrlein
2008-05-16 15:59 ` Wolfgang Denk

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.