Personal tools

Difference between revisions of "How to Restore Android9 OS to the eMMC on EBOX-IMX8MM"

From ICOP tech wiki

Jump to: navigation, search
(How to Restore Android9 OS to the eMMC on EBOX-IMX8MM)
 
Line 1: Line 1:
How to Restore Android9 OS to the eMMC on  
+
{{#vardefine:RELEASE_PARAM|{{#urlget:release}}}} <!--
EBOX-IMX8MM
+
--> {{#lst:Yocto_Platform_Customization|{{#var:RELEASE_PARAM|RELEASE_MORTY_V1.0_DART-6UL}}}} <!--
 +
--> {{PageHeader|How to Restore Android9 OS to the eMMC on  
 +
EBOX-IMX8MM|Contents=1.Restore the Android9 OS via Linux host PC to the EBOX-IMX8MM
 +
2.Restore the Android9 OS via Win10 host PC to the EBOX-IMX8MM}} {{DocImage|category1={{#var:HARDWARE_NAME}}|category2=Yocto|}}
  
 +
__toc__
 +
<br />
  
Contents
+
{{:Recovery_SD_card_general}}
1. Restore the Android9 OS via Linux host PC to the EBOX-IMX8MM
 
2. Restore the Android9 OS via Win10 host PC to the EBOX-IMX8MM
 
  
1. Restore the Android9 OS via Linux host PC to the EBOX-IMX8MM
+
==Restore the Yocto Linux via Win10 host PC to the EBOX-IMX8MM==
1.1 Tools you need before restoring the image to the eMMC:
 
1.1.1 Recovery image with the UUU burning software:
 
 ftp://sbc:sbc@ftp.icop.com.tw/iMX8/OS/Android/Demo%20image/EB-IMX8MM-Android.zip
 
1.1.2 A 64-bit Linux host O/S on a PC (The virtual machine is not suggested to be used)
 
1.1.3 USB cable to connect between the host PC and the EBOX-IMX8MM.
 
(Ex: USB to micro USB)
 
  
1.2 Write the image to the eMMC on the EBOX-IMX8MM.
 
1.2.1 This section will introduce how to write the image to the eMMC on the EBOX-IMX8MM step by step.
 
1.2.2 Find the SW1 on the EBOX-IMX8MM and change the setting to Serial Download Mode according to the photo below:
 
1.2.3 Turn on the host PC and unzip the image file in it.
 
1.2.4 Connect the USB to micro USB to the host PC, but not connect to the EBOX-IMX8MM.
 
1.2.5 Open a terminal on the host PC and access the location you’ve put the image file and input “sudo ./ uuu_imx_android_flash.sh” ; you will see “Wait for known USB Device Appear”.
 
  
1.2.6 Connect the Micro USB to the EBOX-IMX8MM, and it will trigger the serial download mode to restore the image from the host PC.
+
===Tools you need before restoring the image to the eMMC:===
 
  
1.2.7 After the restore process is done, it will show on the host PC as the image below:
+
*Recovery image with the UUU burning software:
 +
**1GB RAM version: <br />ftp://sbc:sbc@ftp.icop.com.tw/iMX8/OS/Yocto/Demo%20image/EB-IMX8MM1G.zip
 +
**2GB RAM version: <br />ftp://sbc:sbc@ftp.icop.com.tw/iMX8/OS/Yocto/Demo%20image/EB-IMX8MM2G.zip
  
1.2.8 Remove the USB to Micro USB cable on the EBOX-IMX8MM (Power off), and set the SW1 to Internal boot as below.
+
A Windows 10 host O/S on a PC (The virtual machine is not suggested to be used)
1.2.9 Power on the EBOX-IMX8MM and you can see the Android9 booting.
 
  
+
*USB cable to connect between the host PC and EBOX-IMX8MM.
  
2. Restore the Android9 OS via Win10 host PC to the EBOX-IMX8MM.
 
2.1 Tools you need before restoring the image to the eMMC:
 
2.1.1 Recovery image with the UUU burning software:
 
ftp://sbc:sbc@ftp.icop.com.tw/iMX8/OS/Android/Demo%20image/EB-IMX8MM-Android.zip
 
2.1.2 A Windows 10 host O/S on a PC (The virtual machine is not suggested to be used)
 
2.1.3 USB cable to connect between the host PC and the EBOX-IMX8MM.
 
 
(Ex: USB to micro USB)
 
(Ex: USB to micro USB)
  
2.2 Write the image to the eMMC on the EBOX-IMX8MM.
+
*Cable for the console to connect between the host PC and the EBOX-IMX8MM.
This section will introduce how to write the image to the eMMC on the EBOX-IMX8MM step by step.
 
2.2.1 Find the SW1 on the EBOX-IMX8MM and change the setting to Serial Download Mode according to the photo below:
 
2.2.2 Turn on the host PC and unzip the image file to it.
 
2.2.3 Connect the USB to micro USB cable to the host PC, but not connect to EBOX-IMX8MM.
 
2.2.4 Open a terminal with administration right on the host PC and access the location you’ve put the image file and input “uuu_imx_android_flash.bat -f imx8mm -a -e” , and you will see “Wait for known USB Device Appear”.
 
  
 +
(Ex: USB to RS-232)
  
 +
===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: <br />[[File:1-2-2.png|frameless]]
 
+
*Turn on the host PC and unzip the image file to it.
 
+
*Connect the host PC and the EBOX-IMX8MM via console cable. (In this case, the console function on the EBOX-IMX8MM is on COM2.)
 
+
*Connect the USB to micro USB cable to the host PC, but not connect to EBOX-IMX8MM.
 
+
*Open the PUTTY on the host PC and set the Serial line at the correct location. You could find the location under device manager. <br />[[File:2-2-5-1.png|frameless|400x400px]][[File:2-2-5-2.png|frameless|400x400px]] <br />If there is no PUTTY on the host PC, please download it on the PUTTY’s website: https://www.putty.org/
 
+
*After connected to the PUTTY, you could monitor the restore process on the 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”. <br />[[File:2-2-7.png|frameless|500x500px]]
 
+
*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: <br />[[File:2-2-9.png|frameless|500x500px]]
 
+
*Remove the USB to Micro USB cable on the EBOX-IMX8MM (Power off), and set the SW1 to Internal boot as below. <br />[[File:1-2-10.png|frameless]]
 
+
*Power on the EBOX-IMX8MM and you can see the Yocto Linux booting. <br />[[File:1-2-11.png|frameless|500x500px]]
 
+
*If you press any key while booting up, we will access the U-boot mode. <br />[[File:1-2-12.png|frameless|400x400px]]
   
 
 
 
2.2.5 Connect the Micro USB to the EBOX-IMX8MM, and it will trigger the serial download mode to restore the image from the host PC.
 
2.2.6 After the restore process is done, it will show on the host PC as the image below:
 
 
 
2.2.7 Remove the USB to Micro USB cable on the EBOX-IMX8MM (Power off), and set the SW1 to Internal boot as below.
 
2.2.8 Power on the EBOX-IMX8MM and you can see the Yocto Linux booting.
 

Revision as of 10:15, 6 August 2020

How to Restore Android9 OS to the eMMC on EBOX-IMX8MM



Recovery SD card general

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)

  • Cable for the console to connect between the host PC and the EBOX-IMX8MM.

(Ex: USB to RS-232)

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:
    1-2-2.png
  • Turn on the host PC and unzip the image file to it.
  • Connect the host PC and the EBOX-IMX8MM via console cable. (In this case, the console function on the EBOX-IMX8MM is on COM2.)
  • Connect the USB to micro USB cable to the host PC, but not connect to EBOX-IMX8MM.
  • Open the PUTTY on the host PC and set the Serial line at the correct location. You could find the location under device manager.
    2-2-5-1.png2-2-5-2.png
    If there is no PUTTY on the host PC, please download it on the PUTTY’s website: https://www.putty.org/
  • After connected to the PUTTY, you could monitor the restore process on the 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”.
    2-2-7.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:
    2-2-9.png
  • Remove the USB to Micro USB cable on the EBOX-IMX8MM (Power off), and set the SW1 to Internal boot as below.
    1-2-10.png
  • Power on the EBOX-IMX8MM and you can see the Yocto Linux booting.
    1-2-11.png
  • If you press any key while booting up, we will access the U-boot mode.
    1-2-12.png