Forum Discussion
Altera_Forum
Honored Contributor
16 years agoSD over spi?? Help
I am trying to run an sd card using the spi mode I followed the instructions in the wiki during boot here is what i get
... 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 ... but when I try to moun it /> mount -t vfat /dev/mmcblk0p1 /mnt mount: mounting /dev/mmcblk0p1 on /mnt failed: No such device or address anything I am missing threre is no other items displayed during boot. the card is installed. hmmmm1 Reply
- Altera_Forum
Honored Contributor
We use the following configuration in menuconfig:
And this is what we see on initialization:Device Drivers ---> SPI support ---> Altera SPI Controller Device Drivers ---> MMC/SD card support ---> MMC/SD over SPI File systems ---> Ext3 journalling file system support File systems ---> DOS/FAT/NT Filesystems ---> VFAT (Windows-95) fs support File systems ---> -*- Native language support ---> Codepage 437 (United States, Canada) File systems ---> -*- Native language support ---> NLS ISO 8859-1 (Latin 1; Western European Languages)
And then inside the etc/rc script the following command: mount -t vfat /dev/mmcblk0p1 /sd Are you doing anything different from the above? Cheers, Ricardo.... 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 ... mmc0: host does not support reading read-only switch. assuming write-enable. mmc0: new SD card on SPI mmcblk0: mmc0:0000 SA01G 972 MiB mmcblk0: p1 ...