[U-Boot-Users] Mac Address communication to Linux

Hi all
i'm wondering something, i don't understand how can U-Boot communicate to an Embedded Linux. Can someone explain it to me please?

In message cbc1ab770507190531274b3224@mail.gmail.com you wrote:
i'm wondering something, i don't understand how can U-Boot communicate to an Embedded Linux. Can someone explain it to me please?
Which architecture are talking about? And what exactly is your problem?
U-Boot passes arguments in registers; some of these registers may contain pointers to things like the board info data (struct bd_info) or the kernel commandline or a flattened OF device tree or ...
Best regards,
Wolfgang Denk

Ok, i was just wondering if Linux try to access to the environnment variable "ethaddr" to get it's value (i've forget one or two words in my question and i ask you to excuse me for that)
but to access to ethaddr, someone say me that i can modify the Linux driver to catch the ethaddr by a custom option in my bootargs
2005/7/19, Wolfgang Denk wd@denx.de:
In message cbc1ab770507190531274b3224@mail.gmail.com you wrote:
i'm wondering something, i don't understand how can U-Boot communicate
to an
Embedded Linux. Can someone explain it to me please?
Which architecture are talking about? And what exactly is your problem?
U-Boot passes arguments in registers; some of these registers may contain pointers to things like the board info data (struct bd_info) or the kernel commandline or a flattened OF device tree or ...
Best regards,
Wolfgang Denk
-- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de NOTE: The Most Fundamental Particles in This Product Are Held Together by a "Gluing" Force About Which Little is Currently Known and Whose Adhesive Power Can Therefore Not Be Permanently Guaranteed.

In message cbc1ab7705071906205ac8b0b9@mail.gmail.com you wrote:
Ok, i was just wondering if Linux try to access to the environnment variable "ethaddr" to get it's value (i've forget one or two words in my question and i ask you to excuse me for that)
This is obviously a question of which ethernet driver you are using. On PowerPC the current standard is to pass the MAC addres(es) as part of the bd_info structure; other architectures have different ways, or the one who implements the driver invents one.
Of course it is also possible to access the U-Boot environment for this purpose, but to me this seems to be overkill.
but to access to ethaddr, someone say me that i can modify the Linux driver to catch the ethaddr by a custom option in my bootargs
Yes, this is an option, too.
Content-Type: text/html; charsetÿO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
And please stop posting HTML.
Post plain text only.
Best regards,
Wolfgang Denk
participants (2)
-
Stage Iup - Fabrice & Frederic
-
Wolfgang Denk