Getting Buildroot to Detect MMC

Jimmy Lipham
Jimmy Lipham New Member Posts: 2
Hey all,

I have a 4GB/64GB eMMC upboard that I am trying to compile linux for via Buildroot. However, I notice that when I try to run linux (just flashing the disk image to USB and booting off of a USB stick) on the board, there is no /dev/mmc* detected. In fact, dmesg makes no mention of the mmc hardware at all. Booting with ubilinux works just fine and we see the mmc hardware.

I have compiled in almost everything under ATA/AHCI/MMC in the linux configuration, and I _still_ can't get it to detect the hardware.

Has anyone had any luck getting Buildroot/custom Linux kernel up and going with this board? I'm using the 4.9.6 kernel.

Any help would be appreciated!

Thanks!

Comments

  • Dan O'Donovan
    Dan O'Donovan Administrator, Moderator, Emutex Posts: 241 admin
    Can you verify that you have CONFIG_MMC_SDHCI_ACPI=y in your kernel configuration?
  • Jimmy Lipham
    Jimmy Lipham New Member Posts: 2
    Hey Dan!

    Thanks a bunch for the quick reply, I have the following config options enabled pertaining to MMC support:

    CONFIG_MMC=y
    # CONFIG_MMC_DEBUG is not set

    #
    # MMC/SD/SDIO Card Drivers
    #
    CONFIG_MMC_BLOCK=y
    CONFIG_MMC_BLOCK_MINORS=8
    CONFIG_MMC_BLOCK_BOUNCE=y
    # CONFIG_SDIO_UART is not set
    # CONFIG_MMC_TEST is not set

    #
    # MMC/SD/SDIO Host Controller Drivers
    #
    CONFIG_MMC_SDHCI=y
    CONFIG_MMC_SDHCI_PCI=y
    CONFIG_MMC_RICOH_MMC=y
    CONFIG_MMC_SDHCI_ACPI=y
    # CONFIG_MMC_SDHCI_PLTFM is not set
    CONFIG_MMC_WBSD=y
    CONFIG_MMC_TIFM_SD=y
    CONFIG_MMC_CB710=y
    CONFIG_MMC_VIA_SDMMC=y
    CONFIG_MMC_VUB300=y
    # CONFIG_MMC_USHC is not set
    CONFIG_MMC_USDHI6ROL0=y
    CONFIG_MMC_TOSHIBA_PCI=y
    CONFIG_MMC_MTK=y