[U-Boot-Users] [PATCH] mips: When booting Linux images, add 'ethaddr' and 'eth1addr' to the environment

Shinya Kuribayashi skuribay at ruby.dti.ne.jp
Sun Jul 6 07:59:08 CEST 2008


Jason McMullan wrote:
> Add 'ethaddr' and 'eth1addr' to the Linux kernel environment if
> they are set in the U-Boot environment.

I missed this mail, sorry for my late reply.

Patch itself looks correct, but let me confirm.

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.

I think it's possible to probe MAC address(es) on kernel side, and it's
common practice IMO. [ if not so, Linux couldn't work without suitable
bootldrs which can pass the 'ethaddr' parameter. It's inconvenient, at
least for me. ]

However, I don't have strong opinions on this matter.  If you still have
troubles without this change, or can't probe MAC addresses by Kernel due
to some reason, I'll apply the patch.

Comments?


  Shinya




More information about the U-Boot mailing list