Can't edit u-boot bootargs

Thomas Tull
Hello,

when I try to set bootargs in the u-boot menu I can't do this. Always the
menu is shown again. When I try to set the arguments on the u-boot console
with:

setenv bootargs root=/dev/mmcblk0p1 ....

then the changes will be shown by printenv. But After rebooting the changes
are lost.

Does anybody knows what I have to do to set the bootargs?

Thanks a lot!

Thomas

laurent
> setenv bootargs root=/dev/mmcblk0p1 ....

then to make the change persistent :
saveeenv

Thomas Tull
I have done saveenv! But the changes aren't persistent! After reboot the
changes are lost!

dejatod
There is a problem with u-boot prepared for board with mlc2 chip. It has
limited functionality.
I got 2 board. First with slc and second with mlc2 chip
Slc version works well.

When I try to perform saveenv I see:

Saving Environment to NAND...

Erasing Nand...MINI6410 # 



I looked into u-boot source and that means, that erasing nand failed.

Does anybody has u-boot for mlc2 with working this feature?

Here is my u-boot version:

##### FriendlyARM U-Boot(2011-03, NAND) for 6410 #####

Regards,
  dk

Thomas Tull
Workarround:

To change bootargs you can use the flashing-sdcard. The argument
Linux-CommandLine is editing the nand-bootargs.

Kind regards

Thomas

dejatod
This is not good workaround for me.
I have to change MAC address because I got more then one mini6410 boards in
1 network and all have the same MAC number.
Mac number is stored in environment so I have to use saveenv cmd from
u-boot.

dk

aragats
The solution mentioned here:

http://www.friendlyarm.net/forum/topic/4486

works for mini6410. It does not matter how you boot, just pass the kernel
command line parameter:  ethmac=aa:bb:cc:dd:ee:ff