Bpir2wrt Openwrt-Fork for BPI-R2

(Andrzej) #43

You must find file named:


(Andrew Ware) #44

Thanks for publishing this image. I’ve installed it to EMMC on my BPI-R2 and it works great. The only problem is that I can’t configure /etc/fw_env.config correctly. Can anyone share a working copy of this config file? Right now mine is:

# Notice, that the "Number of sectors" is ignored on NOR and SPI-dataflash.
# Futhermore, if the Flash sector size is ommitted, this value is assumed to  
# be the same as the Environment size, which is valid for NOR and SPI-dataflash
# NOR example
# MTD device name       Device offset   Env. size       Flash sector size       Number of sectors
/dev/mtd1               0xc0000         0x2000          0x1000

When I run fw_printenv I get: root@OpenWrt:/# fw_printenv Unsupported flash type 1 on /dev/mtd1 Too few good blocks within range