[U-Boot] Generating random numbers

elison.niven at gmail.com elison.niven at gmail.com
Tue Aug 30 22:10:23 CEST 2011


On Wed, Aug 31, 2011 at 1:25 AM, Wolfgang Denk <wd at denx.de> wrote:

> Dear "elison.niven at gmail.com",
>
> In message <CAAO=
> tyeYTt4M+54y_qovCK7vdQy_ssOktRdjbPF8+Pq0-YcCzQ at mail.gmail.com> you wrote:
> >
> > I am trying to random my mac in u-boot on AT91RM9200 and AT91SAM9G45
> > processor.
>
> This approach is inherently wrong, and I'm actually happy if you
> find it difficult to implement.  Otherwise we would probably have
> rejected your code when you submit the patches.
>
> MAC addresses are supposed to be NOT random. Please see the related
> FAQ, for example
> http://www.denx.de/wiki/view/DULG/WhereCanIGetAValidMACAddress
>
> Hi,
I do realize that. The "random" MAC address is not forever. It is only to
get the "actual" MAC in the first boot so as to not set the environment
variables manually.

Thanks,
Elison


More information about the U-Boot mailing list