Forum Discussion
Altera_Forum
Honored Contributor
13 years agoHi,
I am trying to mount the MMC/SD by following the instruction in http://www.nioswiki.com/operatingsystems/uclinux/mmcsd and using n0114n's document as reference. Nonetheless it doesn't work... I am suppose to see this message in boot up right?? But it doesn't show up... 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 My next question would be on my pin mapping. Is this correct?? sd_dat[0] --> miso
sd_cmd <-- mosi
sd_clk <-- sclk
sd_dat[3] <-- ss_n I tried to mount it with no luck /> mount -t vfat /dev/mmcblk0p1 /mnt
mount: mounting /dev/mmcblk0p1 on /mnt failed: no such device or address I read post to add the follow lines into the top level design. I tried to add them but compiled with errors, so I am not sure what I have to do, and if anyone know, please kindly let me know. .miso_to_the_mmc_spi (sd_dat),
.mosi_from_the_mmc_spi (sd_cmd),
.sclk_from_the_mmc_spi (sd_clk),
.ss_n_from_the_mmc_spi (sd_dat3), Thanks!