On Tue, Aug 4, 2015 at 1:19 PM,  <[email protected]> wrote:
> I am using the Digilent PmodSD as the second sd card for the BBB:
> http://www.digilentinc.com/Products/Detail.cfm?Prod=PMOD-SD
>
> I've been following this forum:
> http://www.alteraforum.com/forum/showthread.php?t=19335&page=4
>
> but assumes that i have the mmc_spi driver, which isnt found in the
> 4.1.2-ti-r4 kernel on my beaglebone: mmc_spi.c source file doesnt exist
> also.
>
> root@beaglebone:~# find /lib/modules/`uname -r` -type f -name "*.ko" | grep
> mmc
>
> /lib/modules/4.1.2-ti-r4/kernel/drivers/media/mmc/siano/smssdio.ko
> /lib/modules/4.1.2-ti-r4/kernel/drivers/mmc/host/sdhci.ko
> /lib/modules/4.1.2-ti-r4/kernel/drivers/mmc/host/vub300.ko
> /lib/modules/4.1.2-ti-r4/kernel/drivers/mmc/host/dw_mmc-exynos.ko
> /lib/modules/4.1.2-ti-r4/kernel/drivers/mmc/host/dw_mmc-pltfm.ko
> /lib/modules/4.1.2-ti-r4/kernel/drivers/mmc/host/ushc.ko
> /lib/modules/4.1.2-ti-r4/kernel/drivers/mmc/host/dw_mmc.ko
> /lib/modules/4.1.2-ti-r4/kernel/drivers/mmc/host/sdhci-pltfm.ko
> /lib/modules/4.1.2-ti-r4/kernel/drivers/mmc/host/rtsx_usb_sdmmc.ko
> /lib/modules/4.1.2-ti-r4/kernel/drivers/mmc/card/sdio_uart.ko
>
>
>  root@beaglebone:~# find /lib/modules/`uname -r` -type f -name "*.ko" | grep
> spi
>
>
> /lib/modules/4.1.2-ti-r4/kernel/drivers/misc/ad525x_dpot-spi.ko
> /lib/modules/4.1.2-ti-r4/kernel/drivers/spi/spi-butterfly.ko
> /lib/modules/4.1.2-ti-r4/kernel/drivers/spi/spi-lm70llp.ko
> /lib/modules/4.1.2-ti-r4/kernel/drivers/spi/spi-omap2-mcspi.ko
> /lib/modules/4.1.2-ti-r4/kernel/drivers/mtd/spi-nor/spi-nor.ko
> /lib/modules/4.1.2-ti-r4/kernel/drivers/scsi/scsi_transport_spi.ko
> /lib/modules/4.1.2-ti-r4/kernel/drivers/net/wireless/ti/wl1251/wl1251_spi.ko
> /lib/modules/4.1.2-ti-r4/kernel/drivers/net/wireless/ti/wlcore/wlcore_spi.ko
> /lib/modules/4.1.2-ti-r4/kernel/drivers/net/can/spi/mcp251x.ko
> /lib/modules/4.1.2-ti-r4/kernel/drivers/mfd/mc13xxx-spi.ko
>
>
>  In another forum, a person solved this by actually interfacing the second
> SD to the mmc lines:  SPI-SD Card
>
> I dont see how this will work since mmc1 lines on the p8 header are used by
> the board. And when i wire my sd card to these lines the Beaglebone doesnt
> boot up.  Also the mmc2 on the p8 header doesnt have a cmd mode pin
> (mmc2_cmd), so i cant use these lines.  There are another set of mmc2 lines
> on the p9 header but its also missing a mmc2_cmd and a  mmc2_clk mode pin.
>
>   Any insight on how to add a second SD card?

CONFIG_HIGHMEM=y i set...

472 config MMC_SPI
473         tristate "MMC/SD/SDIO over SPI"
474         depends on SPI_MASTER && !HIGHMEM && HAS_DMA
475         select CRC7
476         select CRC_ITU_T
477         help
478           Some systems access MMC/SD/SDIO cards using a SPI controller
479           instead of using a "native" MMC/SD/SDIO controller.  This has a
480           disadvantage of being relatively high overhead, but a compensating
481           advantage of working on many systems without dedicated MMC/SD/SDIO
482           controllers.
483
484           If unsure, or if your system has no SPI master driver, say N.

So rebuild the kernel without HIGHMEM, then you can enable MMC_SPI..

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to