[U-Boot-Users] [PATCH] ARM926: Display Ethernet infoindo_bdinfo only if CONFIG_CMD_NET is defined

Rune Torgersen runet at innovsys.com
Fri Feb 1 15:02:27 CET 2008


Peter Pearse wrote:
> Wolfgang
> 	You wrote:
>> And ARM doesn't even have a specific way to pass the MAC address to
>> Linux. 
> 	Please expand on this comment for me.

He is referign to the numerous kcooments on this list over the past few
years of how ARM dos not have  a way for u-boot to pass inthe MAC to the
kernel (via ATAG or any ohter easy way). THe kernel has to, by itself,
figure out the MAC.

> Is there another architecture in U-Boot passing the MAC
> address that I could
> look at to understand what you mean?
>
> Or are you referring to a kernel, architecture specific, command line
> feature? 

look at PPC.
old-style passses the MAC for each interface in the bd_t struct.
new-style passes the mac address for each interface in the device tree
(as local-mac-address tag)

This is highly useful where there is no _common_ place to store the MAC
that the eth driver knows about without a platform specific hack.
This way the driver just looks in the dts tree and is happy.




More information about the U-Boot mailing list