Can't change root password on OpenWrt because of read-only file system

ok. so instead of reflashing eMMC. just ssh [email protected] and type
e2fsck -y -v -f /dev/mmcblk0p2
problem solved.