guruplug-debian:/tmp#ls -la fw_setenv -rwxr-xr-x 1 root root 22308 2010-05-12 06:40 fw_setenv guruplug-debian:/tmp# guruplug-debian:/tmp# guruplug-debian:/tmp# ln -s -T fw_setenv fw_printenv guruplug-debian:/tmp# ./fw_printenv bootcmd=${x_bootcmd_usb}; ${x_bootcmd_kernel}; setenv bootargs ${x_bootargs} ${x_bootargs_root}; bootdelay=3 baudrate=115200 x_bootcmd_usb=usb start x_bootcmd_kernel=nand read.e 0x6400000 0x100000 0x400000 x_bootargs=console=ttyS0,115200 ethaddr=02:50:43:e8:2b:9b ethact=egiga0 eth1addr=02:50:43:2f:ac:e5 ipaddr=10.31.130.199 serverip=10.31.130.190 stdin=serial stdout=serial stderr=serial x_bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs guruplug-debian:/tmp# cat /etc/fw_env.config # Configuration file for fw_(printenv/saveenv) utility. # Up to two entries are valid, in this case the redundant # environment sector is assumed present. # Notice, that the "Number of sectors" is ignored on NOR. # MTD device name Device offset Env. size Flash sector size # Number of sectos # NAND example /dev/mtd0 0x40000 0x20000 0x20000 1 guruplug-debian:/tmp# ./fw_setenv x_bootargs_root 'root=/dev/sda1 rootwait' guruplug-debian:/tmp# ./fw_printenv bootcmd=${x_bootcmd_usb}; ${x_bootcmd_kernel}; setenv bootargs ${x_bootargs} ${x_bootargs_root}; bootdelay=3 baudrate=115200 x_bootcmd_usb=usb start x_bootcmd_kernel=nand read.e 0x6400000 0x100000 0x400000 x_bootargs=console=ttyS0,115200 ethaddr=02:50:43:e8:2b:9b ethact=egiga0 eth1addr=02:50:43:2f:ac:e5 ipaddr=10.31.130.199 serverip=10.31.130.190 stdin=serial stdout=serial stderr=serial x_bootargs_root=root=/dev/sda1 rootwait guruplug-debian:/tmp#