7.1.2 MMC-SPI Mode
The following are the steps to switch the MMC/SDIO mode to MMC-SPI mode on the prebuilt SDCard image
- Enter uBoot command prompt: press
any keys while the 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
- Add “wilc_mmc_spi” overlay in “bootcmd_boot” uBoot environment variable.
=> setenv bootcmd_boot 'fatload mmc 1:1 ${loadaddr} ${board_name}.itb; bootm ${loadaddr}#kernel_dtb${at91_overlays_config}#wilc_mmc_spi' => saveenv
- Reboot the SAMA5D27 SOM1 host board. It is required to manually insert the "wilc-sdio.ko" and the "mmc-spi.ko" over the shell console.