Difference between revisions of "iMX8M Industrial Recovery"
Jump to navigation
Jump to search
(Created page with "'''''Note:''''' Wiki subsections for iMX8M Industrial Development Kit about how to get recover COM firmware are being prepared. '''''Note:''''' The brief information about ho...") |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | <!-- --> | |
+ | <div style="float:right">__TOC__</div> | ||
− | + | =Description= | |
+ | The recovery procedure consists of following steps: | ||
+ | |||
+ | * Downloading binaries from Voipac download webpage | ||
+ | * Flashing binaries and filesystem over Baseboard USB-C connector | ||
+ | * Setting a suitable dtb file in bootloader (u-boot) | ||
+ | * Resetting and booting a module | ||
+ | |||
+ | ==Recommended Software== | ||
+ | * Universal Update Utility (UUU) | ||
+ | * Windows Command Promt | ||
+ | * TFTP Server | ||
+ | * DHCP Server (Otional) | ||
+ | |||
+ | =Configuration= | ||
+ | |||
+ | ==Updating U-boot and Filesystem== | ||
+ | |||
+ | ===Download u-boot file:=== | ||
+ | |||
+ | https://downloads.voipac.com/index.php?p=iMX8M_Industrial_Development_Kit/module/software/yocto/binaries | ||
+ | |||
+ | ===Download filesystem:=== | ||
+ | |||
+ | https://downloads.voipac.com/index.php?p=iMX8M_Industrial_Development_Kit/module/software/filesystem | ||
+ | |||
+ | ===Download Universal Update Utility (UUU) if needed:=== | ||
+ | |||
+ | https://github.com/nxp-imx/mfgtools/releases | ||
+ | |||
+ | |||
+ | Create a new folder e.g. C:\uuu and move all downloaded files into it. | ||
+ | |||
+ | ==Flashing uboot and filesystem== | ||
+ | Prepare Voipac baseboard and follow the steps to flash the module as shown on this [[iMX8M Industrial Flashing Procedure|page]]. | ||
+ | |||
+ | |||
+ | ==Setting a suitable dtb file in bootloader (u-boot)== | ||
+ | |||
+ | Stop autoboot in bootloader: | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | U-Boot 2020.04-imx_v2020.04_5.4.24_2.1.0+g4979a99482 (May 30 2020 - 06:50:01 +0000) | ||
+ | |||
+ | CPU: i.MX8MQLite rev2.1 1300 MHz (running at 800 MHz) | ||
+ | CPU: Industrial temperature grade (-40C to 105C) at 72C | ||
+ | Reset cause: POR | ||
+ | Model: VOIPAC i.MX8MQ EVK | ||
+ | DRAM: 2 GiB | ||
+ | MMC: FSL_SDHC: 0, FSL_SDHC: 1 | ||
+ | Loading Environment from MMC... *** Warning - bad CRC, using default environment | ||
+ | |||
+ | [*]-Video Link 0fail to find display device | ||
+ | probe video device failed, ret -19 | ||
+ | |||
+ | [0] display-controller@32e00000, video | ||
+ | fail to find display device | ||
+ | probe video device failed, ret -19 | ||
+ | In: serial | ||
+ | Out: serial | ||
+ | Err: serial | ||
+ | |||
+ | BuildInfo: | ||
+ | - ATF b0a00f2 | ||
+ | - U-Boot 2020.04-imx_v2020.04_5.4.24_2.1.0+g4979a99482 | ||
+ | |||
+ | switch to partitions #0, OK | ||
+ | mmc0(part 0) is current device | ||
+ | flash target is MMC:0 | ||
+ | Net: | ||
+ | Warning: ethernet@30be0000 using MAC address from ROM | ||
+ | eth0: ethernet@30be0000 | ||
+ | Fastboot: Normal | ||
+ | Normal Boot | ||
+ | Hit any key to stop autoboot: 0 | ||
+ | u-boot=> | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | |||
+ | Enter command: fatls mmc 0:1 (filesystem in eMMC) or fatls mmc 1:1 (filesystem in SD Card) to see a list of DTB files: | ||
+ | |||
+ | <syntaxhighlight lang="bash"> | ||
+ | u-boot=> fatls mmc 0:1 | ||
+ | 27787776 Image | ||
+ | 45970 imx8mq-evk-voipac-dp.dtb | ||
+ | 46177 imx8mq-evk-voipac-hdmi.dtb | ||
+ | 46578 imx8mq-evk-voipac-lvds-koe.dtb | ||
+ | 46582 imx8mq-evk-voipac-lvds-newhaven.dtb | ||
+ | |||
+ | 5 file(s), 0 dir(s) | ||
+ | |||
+ | u-boot=> | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | |||
+ | Select the required DTB file and enter the command to set it up: | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | u-boot=> setenv fdt_file imx8mq-evk-voipac-hdmi.dtb | ||
+ | u-boot=> | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | Save: | ||
+ | |||
+ | <syntaxhighlight lang="bash"> | ||
+ | u-boot=> saveenv | ||
+ | Saving Environment to MMC... Writing to MMC(0)... OK | ||
+ | u-boot=> | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | Enter boot command or reset the baseboard for image loading. |
Latest revision as of 18:26, 18 February 2025
Description
The recovery procedure consists of following steps:
- Downloading binaries from Voipac download webpage
- Flashing binaries and filesystem over Baseboard USB-C connector
- Setting a suitable dtb file in bootloader (u-boot)
- Resetting and booting a module
Recommended Software
- Universal Update Utility (UUU)
- Windows Command Promt
- TFTP Server
- DHCP Server (Otional)
Configuration
Updating U-boot and Filesystem
Download u-boot file:
Download filesystem:
https://downloads.voipac.com/index.php?p=iMX8M_Industrial_Development_Kit/module/software/filesystem
Download Universal Update Utility (UUU) if needed:
https://github.com/nxp-imx/mfgtools/releases
Create a new folder e.g. C:\uuu and move all downloaded files into it.
Flashing uboot and filesystem
Prepare Voipac baseboard and follow the steps to flash the module as shown on this page.
Setting a suitable dtb file in bootloader (u-boot)
Stop autoboot in bootloader:
U-Boot 2020.04-imx_v2020.04_5.4.24_2.1.0+g4979a99482 (May 30 2020 - 06:50:01 +0000) CPU: i.MX8MQLite rev2.1 1300 MHz (running at 800 MHz) CPU: Industrial temperature grade (-40C to 105C) at 72C Reset cause: POR Model: VOIPAC i.MX8MQ EVK DRAM: 2 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 Loading Environment from MMC... *** Warning - bad CRC, using default environment [*]-Video Link 0fail to find display device probe video device failed, ret -19 [0] display-controller@32e00000, video fail to find display device probe video device failed, ret -19 In: serial Out: serial Err: serial BuildInfo: - ATF b0a00f2 - U-Boot 2020.04-imx_v2020.04_5.4.24_2.1.0+g4979a99482 switch to partitions #0, OK mmc0(part 0) is current device flash target is MMC:0 Net: Warning: ethernet@30be0000 using MAC address from ROM eth0: ethernet@30be0000 Fastboot: Normal Normal Boot Hit any key to stop autoboot: 0 u-boot=>
Enter command: fatls mmc 0:1 (filesystem in eMMC) or fatls mmc 1:1 (filesystem in SD Card) to see a list of DTB files:
u-boot=> fatls mmc 0:1 27787776 Image 45970 imx8mq-evk-voipac-dp.dtb 46177 imx8mq-evk-voipac-hdmi.dtb 46578 imx8mq-evk-voipac-lvds-koe.dtb 46582 imx8mq-evk-voipac-lvds-newhaven.dtb 5 file(s), 0 dir(s) u-boot=>
Select the required DTB file and enter the command to set it up:
u-boot=> setenv fdt_file imx8mq-evk-voipac-hdmi.dtb u-boot=>
Save:
u-boot=> saveenv Saving Environment to MMC... Writing to MMC(0)... OK u-boot=>
Enter boot command or reset the baseboard for image loading.