Cannot parse config file after upgrading OpenWrt

I was able to install OpenWrt version '22.03.5-ath79-generic-extreme-networks_ws-ap3805i-squashfs-sysupgrade.bin' via Luci to my AP3805i device successfully and without any reported issues in the serial console log entries. However, upgrading from version 22.03.5-ath79 to OpenWrt '24.10.3-ath79-generic-extreme-networks_ws-ap3805i' the following error message appeared in logs:

Cannot parse config file '/etc/fw.env.config': No such file or directory
Failed to find NVMEM Device

I have included the upgrade logs below:

U-Boot 1.2.0.03 (Sep  4 2014 - 00:51:34)

ap135 - Scorpion 1.0DRAM:  
sri
Scorpion 1.0
ath_ddr_initial_config(205): (32bit) ddr2 init
tap = 0x00000003
Tap (low, high) = (0x3, 0x1f)
Tap values = (0x11, 0x11, 0x11, 0x11)
256 MB
Flash Manuf Id 0x1, DeviceId0 0x2, DeviceId1 0x20
flash size 64MB, sector count = 256
Flash: 64 MB
In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
athrs_sgmii_res_cal: cal value = 0xe
ath_gmac_enet_initialize: reset mask:c02200 
Scorpion  ----> S17 PHY *
TEST: FINAL REG VAL after TX Calibration - 0x00000000
TEST: FINAL XMII VAL after RX Calibration - 0x00000000
TEST: FINAL ETH_CFG VAL after RX Calibration - 0x00000001
athrs17_reg_init: complete
: cfg1 0x80000000 cfg2 0x7135
eth0: d8:84:66:0d:2e:1f
eth0 up
eth0
Setting 0x18116290 to 0x60c0214f
Hit 'd' for diagnostics, or any other key to stop autoboot:  2  1  0 
## Booting image at a1280000 ...
   Image Name:   MIPS OpenWrt Linux-6.6.104
   Created:      2025-09-19  21:19:38 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    2617935 Bytes =  2.5 MB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 6.6.104 (builder@buildhost) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r28872-daca7c049b) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 Fri Sep 19 21:19:38 2025
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] MIPS: machine is Extreme Networks WS-AP3805i
[    0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 249788K/262144K available (6831K kernel code, 608K rwdata, 900K rodata, 1188K init, 233K bss, 12356K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] CPU clock: 720.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
[    0.000001] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
[    0.008356] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[    0.075007] pid_max: default: 32768 minimum: 301
[    0.090052] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.097845] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.114738] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.
[    0.129582] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.140096] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.149973] pinctrl core: initialized pinctrl subsystem
[    0.158351] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.165220] thermal_sys: Registered thermal governor 'step_wise'
[    0.167160] /ahb/apb: Fixed dependency cycle(s) with /ahb/apb/interrupt-controller@18060010
[    0.194938] clocksource: Switched to clocksource MIPS
[    0.211276] NET: Registered PF_INET protocol family
[    0.216730] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.226130] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.235190] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.243438] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.251625] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.259293] TCP: Hash tables configured (established 2048 bind 2048)
[    0.266744] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.274675] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.281693] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.290106] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.296224] PCI: CLS 0 bytes, default 32
[    0.304724] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.313312] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.319560] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.337746] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.348977] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[    0.356308] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.368002] printk: console [ttyS0] disabled
[    0.372962] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A
[    0.382312] printk: console [ttyS0] enabled
[    0.382312] printk: console [ttyS0] enabled
[    0.391229] printk: bootconsole [early0] disabled
[    0.391229] printk: bootconsole [early0] disabled
[    0.432567] spi-nor spi0.0: s25fl512s (65536 Kbytes)
[    0.437781] 13 fixed-partitions partitions found on MTD device spi0.0
[    0.444349] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.451117] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.458084] Creating 13 MTD partitions on "spi0.0":
[    0.463089] 0x000000000000-0x000000080000 : "u-boot-bak"
[    0.471438] 0x000000080000-0x000000100000 : "u-boot"
[    0.478334] 0x000000100000-0x000000140000 : "cfg1"
[    0.485025] 0x000000140000-0x000000180000 : "cfg2"
[    0.491720] 0x000000180000-0x0000001c0000 : "nvram4"
[    0.498600] 0x0000001c0000-0x000000200000 : "nvram3"
[    0.505579] 0x000000200000-0x000000240000 : "nvram2"
[    0.512411] 0x000000240000-0x000000280000 : "nvram1"
[    0.519348] 0x000000280000-0x000001280000 : "PriImg"
[    0.526319] 0x000001280000-0x000002280000 : "SecImg"
[    0.533160] 0x000002280000-0x000003f40000 : "firmware"
[    0.540451] 2 uimage-fw partitions found on MTD device firmware
[    0.546509] Creating 2 MTD partitions on "firmware":
[    0.551551] 0x000000000000-0x000000280000 : "kernel"
[    0.558351] 0x000000280000-0x000001cc0000 : "rootfs"
[    0.565121] mtd: setting mtd12 (rootfs) as root device
[    0.570402] 1 squashfs-split partitions found on MTD device rootfs
[    0.576709] 0x0000006c0000-0x000001cc0000 : "rootfs_data"
[    0.583983] 0x000003f40000-0x000003fc0000 : "cert"
[    0.590689] 0x000003fc0000-0x000004000000 : "art"
[    0.597362] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.617950] ag71xx-legacy 19000000.eth: invalid MAC address, using random address
[    1.045436] ag71xx-legacy 19000000.eth: connected to PHY at mdio.0:05 [uid=004dd072, driver=Qualcomm Atheros AR8035]
[    1.056765] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii-id
[    1.063820] i2c_dev: i2c /dev entries driver
[    1.071153] NET: Registered PF_INET6 protocol family
[    1.084751] Segment Routing with IPv6
[    1.088627] In-situ OAM (IOAM) with IPv6
[    1.092767] NET: Registered PF_PACKET protocol family
[    1.097973] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.111363] 8021q: 802.1Q VLAN Support v1.8
[    1.146438] PCI host bridge to bus 0000:00
[    1.150615] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
[    1.157733] pci_bus 0000:00: root bus resource [io  0x0000]
[    1.163396] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.171494] pci 0000:00:00.0: [168c:003c] type 00 class 0x028000
[    1.177642] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    1.184579] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    1.191462] pci 0000:00:00.0: supports D1
[    1.195544] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.202461] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    1.209246] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit]
[    1.216709] pci 0000:00:00.0: BAR 6: assigned [mem 0x10200000-0x1020ffff pref]
[    1.227897] clk: Disabling unused clocks
[    1.239260] VFS: Mounted root (squashfs filesystem) readonly on device 31:12.
[    1.250602] Freeing unused kernel image (initmem) memory: 1188K
[    1.256642] This architecture does not have kernel memory protection.
[    1.263187] Run /sbin/init as init process
[    1.907978] init: Console is alive
[    1.911782] init: - watchdog -
[    3.199485] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.269144] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    3.279860] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.297757] init: - preinit -
[    7.674966] random: crng init done
**Cannot parse config file '/etc/fw_env.config': No such file or directory**
**Failed to find NVMEM device**
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   12.839235] eth0: link up (1000Mbps/Full duplex)
[   13.067944] jffs2_scan_eraseblock(): End of filesystem marker found at 0x40000
[   13.075329] jffs2_build_filesystem(): unlocking the mtd device... 
[   13.075349] done.
[   13.083557] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   65.865606] done.
[   65.875321] jffs2: notice: (560) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   65.893313] mount_root: overlay filesystem has not been fully initialized yet
[   65.905928] mount_root: switching to jffs2 overlay
[   65.915586] overlayfs: upper fs does not support tmpfile.
- config restore -
[   66.431280] urandom-seed: Seed file not found (/etc/urandom.seed)
[   66.545934] eth0: link down
[   66.562636] procd: - early -
[   66.565947] procd: - watchdog -
[   67.305130] procd: - watchdog -
[   67.308732] procd: - ubus -
[   67.506016] procd: - init -
Please press Enter to activate this console.
[   69.514345] kmodloader: loading kernel modules from /etc/modules.d/*
[   70.882701] Loading modules backported from Linux version v6.12.44-0-g11a24528d080
[   70.890434] Backport generated by backports.git v6.1.110-1-35-g410656ef
[   71.245865] urngd: v1.0.2 started.
[   71.737633] PPP generic driver version 2.4.2
[   71.765969] NET: Registered PF_PPPOX protocol family
[   71.861008] ath10k 6.10 driver, optimized for CT firmware, probing pci device: 0x3c.
[   71.915632] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[   71.924219] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   75.768458] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043222ff sub 0000:0000
[   75.777897] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   75.788210] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-__fW-022-ecad3248 api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,txrate-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 3e4cf97f
[   76.657907] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   77.623630] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   77.641487] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[   77.647828] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   77.655986] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 24984 iram: 38672'
[   77.712902] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal nvmem max-sta 128 raw 0 hwcrypto 1
[   77.728234] ath10k_pci 0000:00:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   77.945759] ath9k 18100000.wmac: Direct firmware load for ath9k-eeprom-ahb-18100000.wmac.bin failed with error -2
[   77.956232] ath9k 18100000.wmac: Falling back to sysfs fallback for: ath9k-eeprom-ahb-18100000.wmac.bin
[   78.988780] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0x7c113974, irq=13
[   79.024034] kmodloader: done loading kernel modules from /etc/modules.d/*
[   99.315484] br-lan: port 1(eth0) entered blocking state
[   99.320836] br-lan: port 1(eth0) entered disabled state
[   99.326214] ag71xx-legacy 19000000.eth eth0: entered allmulticast mode
[   99.333093] ag71xx-legacy 19000000.eth eth0: entered promiscuous mode
[  102.463198] eth0: link up (1000Mbps/Full duplex)
[  102.467998] br-lan: port 1(eth0) entered blocking state
[  102.473317] br-lan: port 1(eth0) entered forwarding state
[  103.475167] eth0: link down
[  103.478318] br-lan: port 1(eth0) entered disabled state
[  106.596436] eth0: link up (1000Mbps/Full duplex)
[  106.601197] br-lan: port 1(eth0) entered blocking state
[  106.606546] br-lan: port 1(eth0) entered forwarding state
 


BusyBox v1.36.1 (2025-09-19 21:19:38 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 24.10.3, r28872-daca7c049b
 -----------------------------------------------------
root@OpenWrt-ex2:~#

Can you downgrade to an earlier release version or is it better to start allover again?

There is no nvme on this device and mtd is properly initialized and config restored.

So all looks good and nothing to really worry about then! Many thanks to you brada4.

It looks like that conf file is just default and not tailored to (oem bootloader's) ubootenv, OpenWrt compiles in boot parameters, and OEM ubootenv is not meant to be edited.

Did you read the error message correctly? NVME is not NVMEM: