Does anyone know if the NOR can be used to store the uboot env. I was trying to find out the exact config for this but unfortunately under Environment only NAND and SPI flash are available.I am not sure if these substitute for the NOR also.
If anyone has tried this could you share the uboot drivers/options used and the memory locations?
You can use either
CONFIG_ENV_IS_IN_MTD to store the U-Boot environment on NOR flash (OpenWrt is using
CONFIG_ENV_IS_IN_MTD for the boot-from-NOR build for the BPi-R3):
Thanks for this. Unfortunately my uboot does not have
CONFIG_ENV_IS_IN_MTD and will need to port openwrt’s patches. Before I do that I’d like to try the
CONFIG_ENV_IS_IN_SPI_FLASH method if you think that works to. I tried the following config, but it does not seem to work. Would be gratefull if you can point out any issues/missing details.