Greetings,
I am trying to access the u-boot env variables from the OS using fw_printenv. I would like to adjust the bootdelay.
I am unable to create a working fw_env.config file for my router.
/proc/mtd looks like this:
dev: size erasesize name
mtd0: 00050000 00010000 "u-boot"
mtd1: 00180000 00010000 "kernel"
mtd2: 00610000 00010000 "rootfs"
mtd3: 00010000 00010000 "nvram"
mtd4: 00010000 00010000 "factory"
mtd5: 00790000 00010000 "firmware"
I can't find anything on the web about how to properly create the config file based on these values.
It shoudl look something like this, but I cant figure out how to set the values properly.
# MTD device name Device offset Env. size Flash sector size
/dev/mtd0 0x0000 0x50000 0x10000
This is a non-branded RT3052 router running Openwrt.
If you know the answer, please share.
Thank you.