[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 Marco,
On Fri, Aug 21, 2009 at 11:21 PM, hoefle
marco<marco.hoefle@xxxxxxxxxxxxx> wrote:
>
>> 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
>
> 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 :-)
The flatfsd daemon, enabled by default, uses /dev/flash/config as
backing store for the RAM based filesystem mounted at /etc/config
This is a simple, robust way of having persistent, writeable files in
/etc (often just symlink /etc/XXXX to /etc/config/XXXX).
You can get rid of the config partition, but you'll have to disable
flatfsd in your user build. There may be some other dependnecies as
well, for example in the u-boot config scripts where we generate MTD
partition info.
Regards,
John
--
John Williams, PhD, B.Eng, B.IT
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663 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/