sd card mount fails with tryng to mount

672 Views Asked by At

The SD Card over SPI driver and the board specific SPI Driver has been included in linux while the SD Card is being detected but the mounting is not successful. Please view the below log for reference.

# cd /
# ls
bin      init     linuxrc  opt      run      tmp
dev      lib      media    proc     sbin     usr
etc      lib64    mnt      root     sys      var

-----SD Card inserted-----

[ 1368.820495] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1369.106903] mmc0: new SDHC card on SPI
[ 1369.811157] mmcblk0: mmc0:0000 SS08G 7.40 GiB 
[ 1371.203216]  mmcblk0: p1

# mount -t auto /dev/mmcblk0p1 /root/
mount: mounting /dev/mmcblk0p1 on /root/ failed: No such file or directory

I have added the devtmpfs entry in the buildroot fstab file. I have checked the /dev and found that there is an entry for mmcblk0p1 and there is a directory called /root also at the root mountpoint. I am not able to find which is causing this issue.

Any help/guidence appreciated.

1

There are 1 best solutions below

0
On

The linux while upgrading to newer kernel version the Filesystem support for ext3/4 was somehow resetted automatically. Upon enabling through menuconfig, compilation and test it was found to work as expected.