All configs gone after reboot (squashfs image behaving like initramfs)

Hi,

I just started using OpenWRT with Renkforce WS-WN530HP3-A. I used the latest squashfs-sysupgrade.bin file and followed the install guide in the git commit and I managed to install OpenWrt on the device.

The issue I'm facing now is that with every reboot everything is reset to the defaults. After some search, it seems that (similar to link 1 and link 2 ) the issue is that even though the bin file is named with "squashfs", it actually is behaving like "initramfs" and loading to the RAM:

Filesystem                Size      Used Available Use% Mounted on
/dev/root                 4.0M      4.0M         0 100% /rom
tmpfs                    59.0M    236.0K     58.8M   0% /tmp
tmpfs                    59.0M     64.0K     58.9M   0% /tmp/root
overlayfs:/tmp/root      59.0M     64.0K     58.9M   0% /
tmpfs                   512.0K         0    512.0K   0% /dev

According to the hardware data for Renkforce WS-WN530HP3-A it has 16MB flash and 128MB RAM.

I've double checked the sha256sum hashes to make sure I'm using the right file, tried the older versions of OpenWrt (22.03.0 to 22.03.3) and even tried flashing using both LuCI and cli (sysupgrade command). Resulting outcome is always the same.

Can anyone help me with making my setup/configs persistent?

Thanks in advance

It's obvious that the overlay is mounted in RAM only ( overlayfs:/tmp/root), there must be a reason for that and dmesg and/ or logread should know more. "sysupgrade -n https://downloads.openwrt.org/releases/22.03.3/targets/ramips/mt7621/openwrt-22.03.3-ramips-mt7621-renkforce_ws-wn530hp3-a-squashfs-sysupgrade.bin" might help.

Thanks for the reply. here's my logread and dmsg.

As you said there seems to be a mounting issue:

daemon.err mount_root: failed - mount -t jffs2 /dev/mtdblock6 /rom/overlay: I/O error

Also:

kern.warn kernel: [   83.763301] jffs2: Old JFFS2 bitmask found at 0x00350590
kern.warn kernel: [   83.773980] jffs2: You cannot use older JFFS2 filesystems with newer kernels