Re: [U-Boot] Generating random numbers

2011-09-01 Thread elison.ni...@gmail.com
On Thu, Sep 1, 2011 at 12:45 AM, Wolfgang Denk wrote: > Dear "elison.ni...@gmail.com", > > In message > you > wrote: >> >> How am I supposed to set the real MAC in the environment? Build >> separate images for each board? I do not want that. >

Re: [U-Boot] Generating random numbers

2011-08-31 Thread elison.ni...@gmail.com
Tue Aug 30 23:48:41, Albert ARIBAUD albert.u.boot at aribaud.net wrote: > This differs from your use case which apparently is "use a random MAC so > that with some yet-undefined mechanism we can ask for a real MAC because > we don't want to set the real MAC in the environment" -- to me it looks > n

Re: [U-Boot] Generating random numbers

2011-08-30 Thread elison.ni...@gmail.com
On Wed, Aug 31, 2011 at 1:25 AM, Wolfgang Denk wrote: 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. > > Why does arch/blackfin/include/asm/net.h have bfin_gen_r

Re: [U-Boot] Generating random numbers

2011-08-30 Thread elison.ni...@gmail.com
On Wed, Aug 31, 2011 at 1:25 AM, Wolfgang Denk wrote: > Dear "elison.ni...@gmail.com", > > In message tyeytt4m+54y_qovck7vdqy_ssoktrdjbpf8+pq0-yc...@mail.gmail.com> you wrote: > > > > I am trying to random my mac in u-boot on AT91RM9200 and AT91SAM9G45 &

[U-Boot] Generating random numbers

2011-08-28 Thread elison.ni...@gmail.com
Hi, I am trying to random my mac in u-boot on AT91RM9200 and AT91SAM9G45 processor. My purpose is that before a MAC is assigned to the board at production, the board should use a random MAC address (and random IP) and also that it shouldn't conflict with other devices on the same network. In lib_