Hi,

This patchset allows the calimain board to use a random MAC address
if no MAC address has been set yet. We use this feature for tests
during production of our boards. Later, official MAC addresses are
assigned to the boards.

To seed the random number generator I use the content of the uninitialized
SRAM of the AM1808 SoC.

Regards, Christian

Cc: Tom Rini <tr...@ti.com>
Cc: Joe Hershberger <joe.hershber...@gmail.com>
Cc: Michael Walle <mich...@walle.cc>

Christian Riesch (2):
  net: Remove call of srand from eth_random_enetaddr()
  calimain: Generate random MAC address for factory tests

 board/buffalo/lsxl/lsxl.c         |    1 +
 board/omicron/calimain/calimain.c |   31 ++++++++++++++++++++++++++++++-
 include/configs/calimain.h        |    2 ++
 include/net.h                     |    3 +++
 net/eth.c                         |    2 --
 5 files changed, 36 insertions(+), 3 deletions(-)

-- 
1.7.9.5

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to