This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Force MMC rescan after booting from NAND?

Is there a way to force a rescan of the MMC after booting from NAND?

Right now the kernel will recognize an MMC card if the card is in during boot (from NAND), but will not re-scan the MMC after the boot process is complete and hence not find that an MMC card has been inserted. Is there a userspace method to force this rescan?

  • Turns out the answer is to modify the omap2_hsmmc_info struct in the board configuration file:

    .caps = MMC_CAP_4_BIT_DATA | MMC_CAP_NEEDS_POLL,

    This allowed the kernel to auto-mount the partitions.