Personal tools

How to Restore Yocto Linux to the eMMC on EBOX-IMX8MM

From ICOP tech wiki

Jump to: navigation, search

How to Restore Yocto Linux to the eMMC on EBOX-IMX8MM


Restore the Yocto Linux via Linux host PC to the EBOX-IMX8MM

Tools you need before restoring the image to the eMMC:

  • A 64-bit Linux host O/S on a PC (The virtual machine is not suggested to be used)
  • USB cable to connect between the host PC and the EBOX-IMX8MM. (Ex: USB to micro USB)

Write the image to the eMMC on the EBOX-IMX8MM.

  • This section will introduce how to write the image to the eMMC on the EBOX-IMX8MM step by step.
  • Find the SW1 on the EBOX-IMX8MM and change the setting to Serial Download Mode according to the photo below:

  • Turn on the host PC and unzip the image file in it.
  • Connect the USB to micro USB to the host PC, but not connect to the EBOX-IMX8MM.
  • Open a terminal on the host PC and access the location you’ve put the image file and input "sudo chmod a+x uuu" to enable uuu as executable command.
  • Input “sudo ./uuu uuu.auto” ; you will see “Wait for known USB Device Appear”

Yocto-1.2.5.png

  • Connect the Micro USB to the EBOX-IMX8MM, and it will trigger the serial download mode to restore the image from the host PC.
  • After the restore process is done, it will show on the host PC as the image below:

Yocto-1.2.7.png

  • Remove the USB to Micro USB cable on the EBOX-IMX8MM (Power off), and set the SW1 to Internal boot as below.

  • Power on the EBOX-IMX8MM and you can see the Yocto Linux booting.

1-2-11.png


Restore the Yocto Linux via Win10 host PC to the EBOX-IMX8MM.

Tools you need before restoring the image to the eMMC:

  • A Windows 10 host O/S on a PC (The virtual machine is not suggested to be used)
  • USB cable to connect between the host PC and EBOX-IMX8MM.(Ex: USB to micro USB)

Write the image to the eMMC on the EBOX-IMX8MM.

This section will introduce how to write the image to the eMMC on the EBOX-IMX8MM step by step.

  • Find the SW1 on the EBOX-IMX8MM and change the setting to Serial Download Mode according to the photo below:

  • Turn on the host PC and unzip the image file to it.
  • Connect the USB to micro USB cable to the host PC, but not connect to EBOX-IMX8MM.
  • Open a terminal on the host PC and access the location you’ve put the image file and input “uuu.exe uuu.auto” , and you will see “Wait for known USB Device Appear”.

Yocto-2.2.4.png

  • Connect the Micro USB to the EBOX-IMX8MM, and it will trigger the serial download mode to restore the image from the host PC.
  • After the restore process is done, it will show on the host PC as the image below:

Yocto-2.2.6.png

  • Remove the USB to Micro USB cable on the EBOX-IMX8MM (Power off), and set the SW1 to Internal boot as below.

  • Power on the EBOX-IMX8MM and you can see the Yocto Linux booting.

1-2-11.png