Personal tools

Difference between revisions of "How to Restore Yocto Linux to the eMMC on EBOX-IMX8MM"

From ICOP tech wiki

Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
  
 
*<u>Recovery image</u> with the <u>UUU burning software</u>:
 
*<u>Recovery image</u> with the <u>UUU burning software</u>:
**1GB RAM version:ftp://sbc:sbc@ftp.icop.com.tw/iMX8MM/EBOX-IMX8MM/OS/Yocto/1GRAM/Demo%20image/EB-IMX8MM1G-YOCTO.zip
+
**1GB RAM version:https://ftp.icop.com.tw/share/en7pLp4e
**2GB RAM version:ftp://sbc:sbc@ftp.icop.com.tw/iMX8MM/EBOX-IMX8MM/OS/Yocto/2GRAM/Demo%20image/EB-IMX8MM2G-YOCTO.zip
+
**2GB RAM version:https://ftp.icop.com.tw/share/iRJSN9mp
  
 
*A 64-bit Linux host O/S on a PC (The virtual machine is not suggested to be used)
 
*A 64-bit Linux host O/S on a PC (The virtual machine is not suggested to be used)
Line 17: Line 17:
 
*Find the SW1 on the EBOX-IMX8MM and change the setting to Serial Download Mode according to the photo below:
 
*Find the SW1 on the EBOX-IMX8MM and change the setting to Serial Download Mode according to the photo below:
  
[[File:1-2-2.png|frameless|121x121px]]
+
[[File:EBOX-IMX8MM SW.jpg|alt=|frameless|800x800px]]
  
 
*Turn on the host PC and unzip the image file in it.
 
*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.
 
*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 ./uuu uuu.auto” ; you will see “Wait for known USB Device Appear”
+
*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”
  
 
[[File:Yocto-1.2.5.png|frameless|680x680px]]
 
[[File:Yocto-1.2.5.png|frameless|680x680px]]
Line 32: Line 33:
 
*Remove the USB to Micro USB cable on the EBOX-IMX8MM (Power off), and set the SW1 to Internal boot as below.
 
*Remove the USB to Micro USB cable on the EBOX-IMX8MM (Power off), and set the SW1 to Internal boot as below.
  
[[File:1-2-2.png|frameless|121x121px]]
+
[[File:EBOX-IMX8MM SW2.jpg|alt=|frameless|800x800px]]
  
 
*Power on the EBOX-IMX8MM and you can see the Yocto Linux booting.
 
*Power on the EBOX-IMX8MM and you can see the Yocto Linux booting.
Line 45: Line 46:
  
 
*<u>Recovery image</u> with the <u>UUU burning software</u>:
 
*<u>Recovery image</u> with the <u>UUU burning software</u>:
**1GB RAM version:ftp://sbc:sbc@ftp.icop.com.tw/iMX8MM/EBOX-IMX8MM/OS/Yocto/1GRAM/Demo%20image/EB-IMX8MM1G-YOCTO.zip
+
**1GB RAM version:https://ftp.icop.com.tw/share/en7pLp4e
**2GB RAM version:ftp://sbc:sbc@ftp.icop.com.tw/iMX8MM/EBOX-IMX8MM/OS/Yocto/2GRAM/Demo%20image/EB-IMX8MM2G-YOCTO.zip
+
**2GB RAM version:https://ftp.icop.com.tw/share/iRJSN9mp
  
 
*A Windows 10 host O/S on a PC (The virtual machine is not suggested to be used)
 
*A Windows 10 host O/S on a PC (The virtual machine is not suggested to be used)
Line 56: Line 57:
 
*Find the SW1 on the EBOX-IMX8MM and change the setting to Serial Download Mode according to the photo below:
 
*Find the SW1 on the EBOX-IMX8MM and change the setting to Serial Download Mode according to the photo below:
  
[[File:1-2-2.png|frameless|121x121px]]
+
[[File:EBOX-IMX8MM SW.jpg|alt=|frameless|800x800px]]
  
 
*Turn on the host PC and unzip the image file to it.
 
*Turn on the host PC and unzip the image file to it.
Line 71: Line 72:
 
*Remove the USB to Micro USB cable on the EBOX-IMX8MM (Power off), and set the SW1 to Internal boot as below.
 
*Remove the USB to Micro USB cable on the EBOX-IMX8MM (Power off), and set the SW1 to Internal boot as below.
  
[[File:1-2-2.png|frameless|121x121px]]
+
[[File:EBOX-IMX8MM SW2.jpg|alt=|frameless|800x800px]]
  
 
*Power on the EBOX-IMX8MM and you can see the Yocto Linux booting.
 
*Power on the EBOX-IMX8MM and you can see the Yocto Linux booting.

Latest revision as of 20:47, 27 December 2023

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