Linksys EA9500 - readonly Overlay Issue

I'm trying to build lede for ea9500, the only major issue seems to be that settings get wiped out after reboot.

First time I boot, I do see that the overlay uses roofs_data

root@LEDE:/# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 2.8M      2.8M         0 100% /rom
tmpfs                    61.0M     72.0K     60.9M   0% /tmp
tmpfs                    61.0M     32.0K     61.0M   0% /tmp/root
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock7           25.0M    912.0K     24.1M   4% /overlay
overlayfs:/overlay       25.0M    912.0K     24.1M   4% /

however on reboot it gets mounted on tmpfs

root@LEDE:/# dmesg | grep overlay
[    8.053702] mount_root: no usable overlay filesystem found, using tmpfs overlay
root@LEDE:/# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 2.8M      2.8M         0 100% /rom
tmpfs                    61.0M     80.0K     60.9M   0% /tmp
tmpfs                    61.0M     36.0K     61.0M   0% /tmp/root
overlayfs:/tmp/root      61.0M     36.0K     61.0M   0% /
tmpfs                   512.0K         0    512.0K   0% /dev

Any ideas?

Can you see if running jffs2reset and then rebooting helps any? That reformats the overlay.

Let me try that :slight_smile:

[Edit]

Running jffs2reset did format the mtd7, and the first re-boot after that did mount overlay correctly. Then re-booting after that was back on tmpfs.

I don't know how to mount the mtd manually as the overlay, but maybe you could try that?

It seems I was using wrong firmware image type. Switching to default i.e ubi + trx-nand solved the problem.

That's great to hear :slight_smile:

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.