Would someone help me to find out what would be the magic values to put into /etc/fw_env.config in order to have fw_printenv work ?
I've read many forums, tried to figure out by myself, but I must be a bit stupid.
Here are some tries I tested; after hours, I started to note and eliminate all non-working pairs, but I did not have luck.
Firmware version is: 220.127.116.11031
Linux version 18.104.22.168 (email@example.com
) (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72) ) #1 Wed Oct 15 14:54:06 EDT 2014
# Configuration file for fw_(printenv/saveenv) utility.
# Up to two entries are valid, in this case the redundand
# environment sector is assumed present.
#dev: size erasesize name
#mtd0: 000c0000 00020000 "uboot"
#mtd1: 00020000 00020000 "env"
#mtd2: 00300000 00020000 "zImage"
#mtd3: 00300000 00020000 "initrd"
#mtd4: 08000000 00020000 "flash"
# MTD device name Device offset Env. size Flash sector size
/dev/mtd1 0xa000 0x20000 0x20000
#/dev/mtd1 0x0000 0x20000 0x20000
It would be cool to be able to change the FanTempStart=58 to something more sensible easily, with just a fw_setenv FanTempStart=45, for example...