Difference between revisions of "IMX8/iMX8MEVK/System Recovery"

From RidgeRun Developer Connection
< IMX8‎ | iMX8MEVK
Jump to: navigation, search
m
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{IMX8/Head}}</noinclude>
+
<noinclude>
 +
{{IMX8/Head|previous=iMX8MEVK/Android/Installing an Image|next=Nitrogen8M
 +
|metakeywords=evk,imx8evk,evaluation kit,i.MX8M Quad Evaluation Kit,iMX8MEVK,system recovery,recovery,recover board,board recovery,fixing the board
 +
|title= i.MX8 System Recovery - i.MX8M Evaluation Kit Recovery
 +
|metadescription=Recover the i.MX8M Evaluation Kit when it is not booting with this guide from RidgeRun Developer. Get the information you need for i.MX8 System Recovery now.
 +
}}
 +
</noinclude>
  
=Overview=
+
==Overview==
 
This page provides a guide about how to recover the i.MX8M Evaluation Kit when it is not booting.
 
This page provides a guide about how to recover the i.MX8M Evaluation Kit when it is not booting.
After following this guide, the i.MX8M Evaluation Kit will be flashed with U-Boot, Image and File System provided by NXP.   
+
After following this guide, the i.MX8M Evaluation Kit will be flashed with U-Boot, Image, and File System provided by NXP.   
  
=Dependencies=
+
==Dependencies==
The flashing tool is mainly developed for Windows, there is a Linux version but it is not running properly. This guide was successfully tested on Windows 10.  
+
The flashing tool is mainly developed for Windows, there is a Linux version but it is not running properly. This guide was successfully tested on '''Windows 8'''.  
  
The host machine requires Windows 8 and USB port 2.0.
+
The host machine requires at least Windows 8 and USB port 2.0.
  
=Getting MfgTool=
+
==Getting MfgTool==
 
Download '''MfgTool''' from NXP Support page [https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/evaluation-kit-for-the-i.mx-8m-applications-processor:MCIMX8M-EVK?tab=Design_Tools_Tab MfgTool].
 
Download '''MfgTool''' from NXP Support page [https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/evaluation-kit-for-the-i.mx-8m-applications-processor:MCIMX8M-EVK?tab=Design_Tools_Tab MfgTool].
  
 
The downloaded file has 2 compressed files, '''mfgtool-with-roots-mx8''' and '''mfgtool-without-rootfs-mx8'''. Those files are already configured for i.MX8M Evaluation Kit.   
 
The downloaded file has 2 compressed files, '''mfgtool-with-roots-mx8''' and '''mfgtool-without-rootfs-mx8'''. Those files are already configured for i.MX8M Evaluation Kit.   
  
=Flashing Board=
+
==Flashing Board==
Before flashing the board, set the board to '''Serial Downloader''' mode, see following image:  
+
Before flashing the board, set the board to '''Serial Downloader''' mode, see the following image:  
  
 
[[File:evk_serial_downloader_sw2.png|310px|center|Switch configured on Serial Downloader mode]]
 
[[File:evk_serial_downloader_sw2.png|310px|center|Switch configured on Serial Downloader mode]]
Line 26: Line 32:
 
In the folder, there are scripts to configure Mfg Tool, see image below:
 
In the folder, there are scripts to configure Mfg Tool, see image below:
  
[[File:Scripts-mfgtool.png|600px|center|Configuration Scripts for MfgTool]]
+
[[File:Scripts-mfgtool.png|500px|center|Configuration Scripts for MfgTool]]
  
 
As example, if you want to flash the File System (to eMMC), U-Boot and Kernel to your board, execute the script '''mfgtool2-yocto-mx8-evk-emmc1.vbs'''.
 
As example, if you want to flash the File System (to eMMC), U-Boot and Kernel to your board, execute the script '''mfgtool2-yocto-mx8-evk-emmc1.vbs'''.
Line 52: Line 58:
 
Change the boot switch to EMMC and power up the i.MX8M Evaluation Kit to enjoy the board in order to use it again.   
 
Change the boot switch to EMMC and power up the i.MX8M Evaluation Kit to enjoy the board in order to use it again.   
  
<noinclude>{{IMX8/Foot|<Replace with "previous" page>|<Replace with "next" page>}}</noinclude>
+
<noinclude>{{IMX8/Foot|iMX8MEVK/Android/Installing an Image|Nitrogen8M}}</noinclude>

Latest revision as of 12:11, 9 March 2023


NXP Partner Program Registered Vertical.jpg NXP Partner Program Horizontal.jpg
Previous: iMX8MEVK/Android/Installing an Image Index Next: Nitrogen8M





Overview

This page provides a guide about how to recover the i.MX8M Evaluation Kit when it is not booting. After following this guide, the i.MX8M Evaluation Kit will be flashed with U-Boot, Image, and File System provided by NXP.

Dependencies

The flashing tool is mainly developed for Windows, there is a Linux version but it is not running properly. This guide was successfully tested on Windows 8.

The host machine requires at least Windows 8 and USB port 2.0.

Getting MfgTool

Download MfgTool from NXP Support page MfgTool.

The downloaded file has 2 compressed files, mfgtool-with-roots-mx8 and mfgtool-without-rootfs-mx8. Those files are already configured for i.MX8M Evaluation Kit.

Flashing Board

Before flashing the board, set the board to Serial Downloader mode, see the following image:

Switch configured on Serial Downloader mode

Now, connect the i.MX8MQ Evaluation Kit to the host machine through OTG port (USB-C), your board should be detected as HID-Compliant Device.

i.MX8M Evaluation Kit

In the folder, there are scripts to configure Mfg Tool, see image below:

Error creating thumbnail: Unable to save thumbnail to destination

As example, if you want to flash the File System (to eMMC), U-Boot and Kernel to your board, execute the script mfgtool2-yocto-mx8-evk-emmc1.vbs. In this case, the image was built with Yocto but if you want to install an Android image, run the corresponding script.

After running the desired script, a window should be displayed ready to flash the board.

MfgTool before flashing the board

Click on Start to flash the i.MX8M Evaluation Kit. The window will display the file that is currently being flashed.

Flashing Kernel

After flashing the required files to boot, the file system will be also flashed to your desired device (SDcard or eMMC).

Flashing File System

When the flashing process is finished, MfgTool will display a success message.

Board Flashed

Finally, click on Stop and unplug the board.

Change the boot switch to EMMC and power up the i.MX8M Evaluation Kit to enjoy the board in order to use it again.


Previous: iMX8MEVK/Android/Installing an Image Index Next: Nitrogen8M