I have two boards of "UniElec U7621-06".
I am testing the SD card read and write. But meet problems.
- mkfs.ext4 /dev/mmcblk0p1 successed, but execute "mount /dev/mmcblk0p1 /mnt" then get Invalid Param error.
- I format SD at first on general Linux like ubuntu, and plug it on board, it mounts successed, after I write some data to the /mnt dictionary, like mkdir or touch an empty file, then umount and mount again, got invalid param error too.
And I plug the SD card on general Linux, it says the file system is broken, the system can't recognize the fs type.
I can almostly get the conclusion that writing data to the SD card on board will cause its file system broken.
I followed the official manual:
- using the official image, http://downloads.openwrt.org/releases/19.07.2/targets/ramips/mt7621/openwrt-19.07.2-ramips-mt7621-unielec_u7621-06-256m-16m-squashfs-sysupgrade.bin
- Default image doesn't support ext4, so I follows the direct of "Extroot configuration" and use opkg to install the packages.
"opkg update && opkg install block-mount kmod-fs-ext4 kmod-usb-storage e2fsprogs kmod-usb-ohci kmod-usb-uhci fdisk"
BTW, if I plug the USB disk to the usb port on the board, it causes rebooting.
Seems like a power supply problem? Could any one can help me. Thanks.