Hi,
currently I am using a VoCore2 device with OpenWrt 23.05.5 r24106-10cc5fcd00 provided by the manufacturer.
OPENWRT_BOARD="ramips/mt76x8"
OPENWRT_ARCH="mipsel_24kc"
Now I tried to upgrade to OpenWRT 24.10.4 from openwrt.org but after (re)boot the SD/MMC is not being recognized. I was wondering why, re-inserted the card, then it got recognized again and I could mount it again. This behaviour is reproducible on 24.10.4.
Using 23.05.5 from the manufacturer this issue does not happen (the SD/MMC is mounted fine as expected after every reboot)
In /etc/config/fstab I have added the mount like shown in block detect and enabled the mount.
What is missing in the openwrt.org build? Is there a possibility to add/enable the missing switch?
EDIT:
Here the block detect output from the manufacturer’s 23.05.5 image:
root@OpenWrt:/# block detect
config 'global'
option anon_swap '0'
option anon_mount '0'
option auto_swap '1'
option auto_mount '1'
option delay_root '5'
option check_fs '0'
config 'mount'
option target '/mnt/mmcblk0p1'
option uuid '9016-4EF8'
option enabled '0'
Here the same with 24.10.4 image from openwrt, directly after a reboot:
root@OpenWrt:/# block detect
config 'global'
option anon_swap '0'
option anon_mount '0'
option auto_swap '1'
option auto_mount '1'
option delay_root '5'
option check_fs '0'
What I did exactly: I added the mount by using block detect > /etc/config/fstab then edited the fstab file and set option enabled '0' to '1'.
When I downgrade (and keep settings) the mount gets recognized and mounted perfectly fine again. When I upgrade again, I need to re-plug the sd-card again after each reboot to be able to mount it again.
Thank you and kind regards!