Forum Discussion
Altera_Forum
Honored Contributor
16 years agomounting SD Card on uClinux
Hi everyone, I'm trying to implement a fat file system on sd card I followed the instructions for Altera SPI Core on this page http://www.nioswiki.com/operatingsystems/uclinux/mmcsd didn't w...
Altera_Forum
Honored Contributor
16 years agoI see this:
========================================================== Command: mkdir /mnt/sdcard Command: /etc/mount_sdcard Shell invoked to run file: /etc/mount_sdcard Command: modprobe mmc_block Command: modprobe mmc_spi mmc_spi spi2.0: ASSUMING SPI bus stays unshared! mmc_spi spi2.0: ASSUMING 3.2-3.4 V slot power mmc_spi spi2.0: SD/MMC host mmc0, no DMA, no WP, no poweroff Command: mount -t vfat /dev/mmcblk0 /mnt/sdcard mmc0: host does not support reading read-only switch. assuming write-enable. mmc0: new SD card on SPI mmcblk0: mmc0:0000 121 MiB mmcblk0: Command: mount -t vfat /dev/mmcblk0p1 /mnt/sdcard mount: mounting /dev/mmcblk0p1 on /mnt/sdcard failed: No such device or address Execution Finished, Exiting ============================================================= Thus mmcblk0 is mounted, while mounting /dev/mmcblk0p1 fails, as this is a Windows-formatted SD-Card without a partition table. -Michael