All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] Mac Address communication to Linux
@ 2005-07-19 12:31 Stage Iup - Fabrice & Frederic
  2005-07-19 12:46 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Stage Iup - Fabrice & Frederic @ 2005-07-19 12:31 UTC (permalink / raw)
  To: u-boot

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?

-- 
With regards

Fr?d?ric Kwiatkowski
--
IFOTEC
T?l : 04 76 67 53 53
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20050719/d44683c4/attachment.htm 

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

* [U-Boot-Users] Mac Address communication to Linux
  2005-07-19 12:31 [U-Boot-Users] Mac Address communication to Linux Stage Iup - Fabrice & Frederic
@ 2005-07-19 12:46 ` Wolfgang Denk
  2005-07-19 13:20   ` Stage Iup - Fabrice & Frederic
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2005-07-19 12:46 UTC (permalink / raw)
  To: u-boot

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 at 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.

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

* [U-Boot-Users] Mac Address communication to Linux
  2005-07-19 12:46 ` Wolfgang Denk
@ 2005-07-19 13:20   ` Stage Iup - Fabrice & Frederic
  2005-07-19 15:03     ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Stage Iup - Fabrice & Frederic @ 2005-07-19 13:20 UTC (permalink / raw)
  To: u-boot

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 at 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.
> 



-- 
Cordialement

Fabrice & Fr?d?ric
--
IFOTEC
T?l : 04 76 67 53 53
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20050719/c6444f73/attachment.htm 

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

* [U-Boot-Users] Mac Address communication to Linux
  2005-07-19 13:20   ` Stage Iup - Fabrice & Frederic
@ 2005-07-19 15:03     ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2005-07-19 15:03 UTC (permalink / raw)
  To: u-boot

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

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Save yourself!  Reboot in 5 seconds!

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

end of thread, other threads:[~2005-07-19 15:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-19 12:31 [U-Boot-Users] Mac Address communication to Linux Stage Iup - Fabrice & Frederic
2005-07-19 12:46 ` Wolfgang Denk
2005-07-19 13:20   ` Stage Iup - Fabrice & Frederic
2005-07-19 15:03     ` 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.