[U-Boot-Users] [PATCH] mips: When booting Linux images, add'ethaddr' and 'eth1addr' to the environment
Shinya Kuribayashi
skuribay at ruby.dti.ne.jp
Tue Jul 8 15:55:56 CEST 2008
McMullan, Jason wrote:
> On Sun, 2008-07-06 at 14:59 +0900, Shinya Kuribayashi wrote:
>> Jason McMullan wrote:
>>> Add 'ethaddr' and 'eth1addr' to the Linux kernel environment if
>>> they are set in the U-Boot environment.
>> Looking closely into linux/arch/*, I found that mips is the only
>> architecture which supports the 'ethaddr' kernel parameter. Is this
>> right? What I want to make sure is whether 'ethaddr' is an unusual
>> kernel parameter or not.
>
> On our devices, the U-Boot environment is the only place the ethernet
> MAC address is stored.
>
> Since the infrastructure for passing environment variables up to the
> MIPS Linux kernel existed anyways, I decided that it would be a better
> plan to use that machanism than to have the kernel dig through the
> duplicate U-Boot environments.
Thanks for the explanations. As Linux/MIPS kernel supports this
parameter anyway, it's good for U-Boot to support that, too.
Applied, will send to Wolfgang asap.
Shinya
More information about the U-Boot
mailing list