Background - I bricked my router and messed it up big time. Eventually using TFTP and serial port I brought it back to life. I had to re-stall the kernal and initfsram etc then used uboot to install openwrt clean
However after a reboot it looses all its settings.
Here's the output from the mount command
mount, I'm hoping someone can see what I've done wrong or suggest how to bare metal restore the whole firmware.
edit - it seems no matter which bin or img file I upload it always forgets settings after reboot.
It seems that it always boots from the original fw rather than the most recently uploaded giving the impression that its forgetting the setttings
Thanks Tim
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /tmp/root type tmpfs (rw,noatime,mode=755)
overlayfs:/tmp/root on / type overlay (rw,noatime,lowerdir=/,upperdir=/tmp/root/upper,workdir=/tmp/root/work)
tmpfs on /dev type tmpfs (rw,nosuid,noexec,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,noatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,noatime,mode=700)
root@OpenWrt:/#