[U-Boot] Generating random numbers

elison.niven at gmail.com elison.niven at gmail.com
Thu Sep 1 16:00:03 CEST 2011


On Thu, Sep 1, 2011 at 12:45 AM, Wolfgang Denk <wd at denx.de> wrote:
> Dear "elison.niven at gmail.com",
>
> In message <CAAO=tycSJgHWdUvYrH5zecHM6L6F4KPeC8qyu8_PzZaCibN7Bw at mail.gmail.com> 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.
>
> Not that is finally a good question, and one where answering makes
> sense again.
>
> There are many ways, depending on how you organized the production
> and/or testing of your boards.
>
> Of course, you can also pre-program your flashes before even fitting
> the chips on the boards. There are programmers that support auto-
> incrementing serial numbers or automatic insertion of data blocks
> retrieved from some sort of production database.

Yes, this is what I am looking into. Seems the most fitting in my case.

> There is a zillion of methods to do what you want, you just have to
> pick one that fits your board and your productions and test
> environment best.  And any of these is way better than using random
> MAC addresses.
>

Thanks a lot !

Thanks,
Elison


More information about the U-Boot mailing list