[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,
> > From: hoefle marco [mailto:marco.hoefle@xxxxxxxxxxxxx]:
> > When ethaddr and macaddr are set correctly the ethernet lite driver
> > should use the "new" mac address, right?
> Yes, the bootloader will pass your edited flash data to the kernel as command-line parameters.
> You must tweek the CRC checksum of the flash data to avoid the CRC failure. Then you edited data will be accepted when the bootloader reads the flash sector.
> CU, Falk
Hi Falk,
your hint helped. After getting the 5 "golden mtdblocks" from a working
board I modify that on containing the u-boot environment with the new
MAC. Afterward I do:
uboot_envcrc ./mtdblock2 mtdblock_out
(I used the CRC routine from u-boot for this tool, if anybody is
interested I am happy to forward it)
cat mtdblock0 mtdblock1 mtdblock_out mtdblock3 mtdblock4 mtdblock5 >
spartan_flash_image
The spartan_flash_image can now be programmed via EDK flashwriter
utility directly to the board.
Petalinux is using mtdblock3 as "config". I want to get rid of that
partition but it would be good to know first what its for :-)
Cheers,
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/
>
>
___________________________
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/