Skip to content

04. How To Install Yocto Linux on eMMC or USB

vraevsky edited this page Sep 18, 2018 · 3 revisions

To install CL-SOM-iMX8 Yocto Linux onto on-board eMMC or USB please use the CompuLab Deployment Tool.

Follow the step-by-step procedure for a selected image:

compulab-image-xfce

fsl-image-validation-imx/xwayland

compulab-image-xfce

  • Start CompuLab Deployment Tool Start

  • Select an available destination:

    • cl-som-imx8 eMMC device is mmcblk0
    • cl-som-imx8 USB device is sda Destination
  • Be aware of the fact that all the data on the destination will be erased Warning

  • The process runs: the output screen shows the log and progress Log&Progress

  • At the end of the process this message shows up Success

fsl-image-validation-imx/xwayland

  • Open up a teminal window and issue cl-deploy Start

  • Select an available destination Destination

  • Be aware of the fact that all the data on the destination will be erased Warning

  • The process runs: the output screen shows the log and progress Log&Progress

  • At the end of the process this message shows up Success

eMMC boot

Requires no changes in the boot environment.

USB boot

⚠️

  • cl-som-imx8 is not able to read the bootloader from a USB device, it means that event though the kernel & rootfs are on the USB the bootloader must be on either SD-card or eMMC.
  • As of now the cl-som-imx8 U-Boot is able to recognize a USB device in the P9 port only.

⚠️

Set boot environment

  • Turn on the device, stop in U-Boot and issue:
setenv bootargs console=${console} root=/dev/sda2 rootwait rw
setenv loadfdt load usb 0 ${fdt_addr} ${fdt_file} 
setenv loadimage load usb 0 ${loadaddr} ${image}
setenv bootcmd 'usb start && run loadimage && run loadfdt && booti ${loadaddr} - ${fdt_addr}'
savenv
boot