[U-Boot] Generating random numbers

Wolfgang Denk wd at denx.de
Tue Aug 30 21:55:52 CEST 2011


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

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The existence of god implies a violation of causality.


More information about the U-Boot mailing list