7.1.1 MMC/SDIO mode

The following are the steps to switch the MMC-SPI mode to MMC/SDIO mode on the prebuilt SDCard image

  • Enter uBoot command prompt: press any keys while SAMA5D27 SOM1 board booting the SDCard image
    CPU:   SAMA5D27 1G bits DDR2 
    Crystal frequency:       24 MHz
    CPU clock        :      492 MHz
    Master clock     :      164 MHz
    
    DRAM:  128 MiB
    MMC:   sdio-host@a0000000: 0, sdio-host@b0000000: 1
    Loading Environment from FAT... OK
    In:    serial@f8020000
    Out:   serial@f8020000
    Err:   serial@f8020000
    Net:   eth0: ethernet@f8008000
    Hit any key to stop autoboot:  3
  • Remove the “wilc_mmc_spi” overlay in the “bootcmd_boot” uBoot environment variable.
    => setenv bootcmd_boot 'fatload mmc 1:1 ${loadaddr} ${board_name}.itb; bootm ${loadaddr}#kernel_dtb${at91_overlays_config}
    => saveenv
  • Reboot the SAMA5D27 SOM1 host board. The ‘wilc-sdio’ kernel driver module will be loaded automatically when WILCS02 SD module is probed. .
    Note: By default the pre-built image boots in the MMC/SDIO mode.