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
Line 1: Line 1:
 
{{#vardefine:RELEASE_PARAM|{{#urlget:release}}}} <!--
 
{{#vardefine:RELEASE_PARAM|{{#urlget:release}}}} <!--
 
--> {{#lst:Yocto_Platform_Customization|{{#var:RELEASE_PARAM|RELEASE_MORTY_V1.0_DART-6UL}}}} <!--
 
--> {{#lst:Yocto_Platform_Customization|{{#var:RELEASE_PARAM|RELEASE_MORTY_V1.0_DART-6UL}}}} <!--
--> {{PageHeader|How to Restore Yocto Linux to the eMMC on EBOX-IMX8MM}} {{DocImage|category1={{#var:HARDWARE_NAME}}|category2=Yocto|}}  
+
--> {{PageHeader|Restore the Android9 OS via Linux host PC to the EBOX-IMX8MM}} {{DocImage|category1={{#var:HARDWARE_NAME}}|category2=Yocto|}}  
  
 
__toc__
 
__toc__
Line 32: Line 32:
 
[[File:1.2.7.png|frameless|760x760px]]
 
[[File:1.2.7.png|frameless|760x760px]]
  
* 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:1.2.2.png|frameless|121x121px]]
  
* Power on the EBOX-IMX8MM and you can see the Android9 booting.
+
*Power on the EBOX-IMX8MM and you can see the Android9 booting.
  
 
[[File:1.2.9.png|frameless|560x560px]]
 
[[File:1.2.9.png|frameless|560x560px]]
Line 42: Line 42:
 
<br />
 
<br />
  
== Restore the Android9 OS via Win10 host PC to the EBOX-IMX8MM ==
+
==Restore the Android9 OS via Win10 host PC to the EBOX-IMX8MM==
  
=== Tools you need before restoring the image to the eMMC: ===
+
===Tools you need before restoring the image to the eMMC:===
  
* '''Recovery image''' with the '''UUU burning software''':[./Ftp://sbc:sbc%40ftp.icop.com.tw/iMX8/OS/Android/Demo%20image/EB-IMX8MM-Android.zip ftp://sbc:sbc@ftp.icop.com.tw/iMX8/OS/Android/Demo%20image/EB-IMX8MM-Android.zip]
+
*'''Recovery image''' with the '''UUU burning software''':[./Ftp://sbc:sbc%40ftp.icop.com.tw/iMX8/OS/Android/Demo%20image/EB-IMX8MM-Android.zip ftp://sbc:sbc@ftp.icop.com.tw/iMX8/OS/Android/Demo%20image/EB-IMX8MM-Android.zip]
* 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)
* USB cable to connect between the host PC and the EBOX-IMX8MM. (Ex: USB to micro USB)
+
*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. ==
+
==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.
 
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:
+
*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:1.2.2.png|frameless|121x121px]]
  
* Turn on the host PC and unzip the image file to it.
+
*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.
+
*Connect the USB to micro USB cable to the host PC, but not connect to EBOX-IMX8MM.
* 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”.
+
*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”.
  
 
[[File:2.2.4.png|frameless|700x700px]]
 
[[File:2.2.4.png|frameless|700x700px]]
  
* Connect the Micro USB to the EBOX-IMX8MM, and it will trigger the serial download mode to restore the image from the host PC.
+
*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:
+
*After the restore process is done, it will show on the host PC as the image below:
  
 
[[File:2.2.6.png|frameless|700x700px]]Remove the USB to Micro USB cable on the EBOX-IMX8MM (Power off), and set the SW1 to Internal boot as below.
 
[[File:2.2.6.png|frameless|700x700px]]Remove the USB to Micro USB cable on the EBOX-IMX8MM (Power off), and set the SW1 to Internal boot as below.
Line 70: Line 70:
 
[[File:1.2.2.png|frameless|121x121px]]
 
[[File:1.2.2.png|frameless|121x121px]]
  
* 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.
  
 
[[File:1.2.9.png|frameless|560x560px]]
 
[[File:1.2.9.png|frameless|560x560px]]

Revision as of 14:25, 7 August 2020

Restore the Android9 OS via Linux host PC to the EBOX-IMX8MM


Restore the Android9 OS 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:

1.2.2.png

  • 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 ./ uuu_imx_android_flash.sh” ; you will see “Wait for known USB Device Appear

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:

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.

1.2.2.png

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

1.2.9.png


Restore the Android9 OS via Win10 host PC to the EBOX-IMX8MM

Tools you need before restoring the image to the eMMC:

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 USB to micro USB cable to the host PC, but not connect to EBOX-IMX8MM.
  • 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”.

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:

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

1.2.2.png

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

1.2.9.png