[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Changing ethernet MAC for production (speeding up the process)



Hi,

hoefle marco wrote:
> Hello,
> we have 10 prototype boards running petalinux. To assign a unique MAC
> address I had to edit the kernel/user configuration with "make
> menuconfig" and change the MAC address of the ethernetlite adapter. Then
> I created the images for each board followed by the normal approach:
> Getting u-boot on it via RS232, putting the u-boot config script on it
> and executing it, putting the linux image followed by a little JFFS2
> partition.
> 
> Imagine if we need 100 or even more :-)
> 
> 
> The idea would be to get the u-boot image + u-boot configuration on the
> board via xmd/JTAG and the rest via tftp. If possible everything should
> be automated.

yes, it is possible to do it. Passing MAC via command line to board from u-boot
and u-boot stores mac in variables.
There is also way when you store mac in any (spi/i2c/normal)flash and your bootloader/kernel
will read this value from this place.

All options are possible.
You have to connect every board to your PC, JTAG + serial, eth if is avaliable(just for speedup)
and load u-boot, kernel, fs, setting to your board, everything what you need and after "beep"
un-plug and plug new board.
It is recommended to do running tests of course.

I haven't seen any problem in it just need some work to do it.

Regards,
Michal


> 
> Has somebody a recommendation for me how to speed up that process?
> 
> Thanks,
> Marco 
>  
> 
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@xxxxxxxxxxxxxx
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
> 
> 

-- 
Michal Simek, Ing. (M.Eng)
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663,+42-0-721842854 f: +61-7-30090663
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/