UCM-iMX8M-Mini: Yocto Linux: Manual Installation: SD card
This article provides instructions needed to install the Yocto Linux SD-card image on SD card using a Linux Host workstation. The image provides full boot system including U-Boot, Linux kernel, device driver modules and example root filesystem.
- Obtain a Linux PC workstation.
- Obtain a USB Card reader and an micro-SD Card. Any commercially available micro-SD card of 1GB (or larger) may be used for the installation.
- Download the UCM-iMX8M-Mini Yocto Linux package from CompuLab website.
- Unzip the package to a directory on the host workstation.
- The Yocto Linux SD-card image file mentioned below can be found in the images subdirectory.
- Plug the USB SD Card reader into the host PC. Insert the micro-SD Card into the USB Card reader. From now we assume the device name of the MMC/SD card on your Linux PC is /dev/sdX.
- Flash the image file to the micro-SD card:
bzcat ~/path/to/ucm-imx8m-mini-yocto-linux/images/image-ucm-imx8m-mini.sdcard.bz2 | sudo dd of=/dev/sdX bs=1M
Run Yocto Linux image
- Insert the micro-SD card into SD socket P23 [see drawing]
- Assemble jumper E15 in order to force the system to boot from SD card [see drawing]
- Connect a standard USB cable (included in the kit) between your host PC and the evaluation kit micro-USB2.0 connector P13. [see drawing]
- Use a terminal emulator as described here
- Power on the system.
- When U-Boot starts press any key to stop autoboot.
- Set the correct U-Boot environment in the U-Boot prompt:
env default -a setenv fdt_file ucm-imx8m-mini.dtb saveenv
- Reboot the device:
- The system will boot into Linux.