5.3.1 Configuration to Booting from the microSD Card

To make the board boot from the microSD Card slot, the bootloaders like, bootstrap and u-boot need to be configured to make it boot from the mmc1 slot. Based on the configuration, the resultant boot.bin and u-boot.bin files will get configured to get it boot from the microSD card slot. To achieve this, user needs to modify the default configurations like, version and defconfig file name.

Configuring Bootstrap

  • Open Bootloaders session from the menuconfig, see the following image:
    Figure 5-1. Bootloaders
  • Select the Bootstrap repository version.
    Figure 5-2. Bootstrap Repository Version
  • Update the repository tag name to v3.9.1-rc1.
    Figure 5-3. Custom Repository Version
  • Select the Bootstrap defconfig file name.
    Figure 5-4. Bootstrap Defconfig File Name
  • Update the Bootstrap defconfig file name to sama5d27_som1_eksd1_uboot.
    Figure 5-5. Update Bootstrap Defconfig File Name

Configuring U-Boot

  • Select the U-boot repository version.
    Figure 5-6. U-boot Repository Version
  • Update the U-boot repository tag to linux4sam_6.2-icp-rc1.
    Figure 5-7. Update U-boot Repository Version
  • Select the U-Boot defconfig configuration
    Figure 5-8. U-Boot defconfig
  • Update the u-boot defconfig file name to sama5d27_som1_ek_mmc1.
    Figure 5-9. Update the U-boot Defconfig File Name

Including wpa_cli for Station Connectivity

To include the wpa-cli into the buildroot package, include the below modules by selecting Y in the location:

Target packages > Networking applications

  • Enable autoscan
  • Enable EAP
  • Enable HS20
  • Enable syslog support
  • Enable WPS
  • Install wpa_cli binary
  • Install wpa-client shared library
  • Install wpa_passphrase binary
  • Enable support for old DBus control interface
  • Enable support for new DBus control interface
  • Introspection support
Figure 5-10. Networking Application Modules

Saving the Changes

Once all the necessary modules are added into the buildroot, save the changes in order to get the modules added into the package. Refer the following steps for details:
  • To save the changes, navigate and select the save option and press OK.
  • Exit after the save.