Difference between revisions of "iMX91 Industrial Recovery"

From Voipac Wiki
Jump to navigation Jump to search
Line 37: Line 37:
 
Stop autoboot in bootloader:
 
Stop autoboot in bootloader:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
U-Boot 2024.04-lf_v2024.04+gde16f4f1722+p0 (Sep 02 2024 - 10:44:35 +0000)
+
U-Boot 2024.04-lf_v2024.04+g6c4545203d1+p0 (Nov 15 2024 - 04:02:13 +0000)
  
 
Reset Status: POR
 
Reset Status: POR
  
CPU:  NXP i.MX93(52) Rev1.1 A55 at 1700 MHz
+
CPU:  NXP i.MX91(31) Rev1.0 A55 at 1400 MHz
CPU:  Industrial temperature grade  (-40C to 105C) at 36C
+
CPU:  Industrial temperature grade  (-40C to 105C) at 29C
  
Model: Voipac i.MX93 EVK board
+
Model: Voipac i.MX91 EVK board
 
DRAM:  2 GiB
 
DRAM:  2 GiB
Core:  219 devices, 31 uclasses, devicetree: separate
+
optee optee: OP-TEE api uid mismatch
 +
tcpc_init: Can't find device id=0x52
 +
setup_typec: tcpc portpd init failed, err=-19
 +
tcpc_init: Can't find device id=0x51
 +
setup_typec: tcpc port2 init failed, err=-19
 +
tcpc_init: Can't find device id=0x50
 +
setup_typec: tcpc port1 init failed, err=-19
 +
Core:  205 devices, 31 uclasses, devicetree: separate
 
MMC:  FSL_SDHC: 0, FSL_SDHC: 1
 
MMC:  FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... OK
+
Loading Environment from MMC... *** Warning - bad CRC, using default environment
[*]-Video Link 0fail to find output device
 
probe video device failed, ret -19
 
  
        [0] lcd-controller@4ae30000, video
+
Fail to setup video link
fail to find output device
 
probe video device failed, ret -19
 
 
In:    serial
 
In:    serial
 
Out:  serial
 
Out:  serial
Line 60: Line 63:
  
 
BuildInfo:
 
BuildInfo:
   - ELE firmware version 1.2.0-38f309fe
+
   - ELE firmware version 2.0.0-64d8ef47
  
 
switch to partitions #0, OK
 
switch to partitions #0, OK
 
mmc0(part 0) is current device
 
mmc0(part 0) is current device
UID: ad4a5a940e804162a528d6fe1532d4d5
+
UID: 0f369d90914746998806e2d559c410c7
 
flash target is MMC:0
 
flash target is MMC:0
Net:   eth0: ethernet@42890000, eth1: ethernet@428a0000 [PRIME]
+
Net:   eth0: ethernet@42890000, eth1: ethernet@428a0000 [PRIME]
 
Fastboot: Normal
 
Fastboot: Normal
 
Normal Boot
 
Normal Boot
Line 76: Line 79:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
u-boot=> fatls mmc 0:1
 
u-boot=> fatls mmc 0:1
  35564032   Image
+
  35697152   Image
     69445   imx93-11x11-evk-aud-hat.dtb
+
     48709   imx91-11x11-evk-aud-hat.dtb
     66749   imx93-11x11-evk-boe-wxga-lvds-panel.dtb
+
     45805   imx91-11x11-evk-flexspi-m2.dtb
     65705   imx93-11x11-evk-flexio-i2c.dtb
+
     45801   imx91-11x11-evk-flexspi-nand-m2.dtb
    66009  imx93-11x11-evk-flexspi-m2.dtb
+
     46405   imx91-11x11-evk-i2c-spi-slave.dtb
     66799   imx93-11x11-evk-i2c-spi-slave.dtb
+
     44973   imx91-11x11-evk-i3c.dtb
     65062   imx93-11x11-evk-i3c.dtb
+
     45319   imx91-11x11-evk-ld.dtb
    2725  imx93-11x11-evk-inmate.dtb
+
     45403   imx91-11x11-evk-lpuart.dtb
     51134   imx93-11x11-evk-iw612-otbr.dtb
+
     45819   imx91-11x11-evk-mqs.dtb
    65362  imx93-11x11-evk-ld.dtb
+
     48061   imx91-11x11-evk-mt9m114.dtb
     65520   imx93-11x11-evk-lpuart.dtb
+
     47525   imx91-11x11-evk-tianma-wvga-panel.dtb
     65983   imx93-11x11-evk-mqs.dtb
+
     44324   imx91-voipac-evk.dtb
     68814   imx93-11x11-evk-mt9m114.dtb
 
     65819   imx93-11x11-evk-rm67199.dtb
 
    65573  imx93-11x11-evk-root.dtb
 
    66108  imx93-11x11-evk-rpmsg-lpv.dtb
 
    66132  imx93-11x11-evk-rpmsg.dtb
 
  130428  imx93-11x11-evk_m33_TCM_low_power_wakeword.bin
 
    19080  imx93-11x11-evk_m33_TCM_power_mode_switch.bin
 
    18708  imx93-11x11-evk_m33_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin
 
    17228  imx93-11x11-evk_m33_TCM_rpmsg_lite_str_echo_rtos.bin
 
    47472  imx93-11x11-evk_m33_TCM_sai_low_power_audio.bin
 
    48794  imx93-voipac-evk-boe-wxga-lvds-panel.dtb
 
     47605   imx93-voipac-evk.dtb
 
  593744  tee.bin
 
  
25 file(s), 0 dir(s)
+
12 file(s), 0 dir(s)
  
 
u-boot=>
 
u-boot=>

Revision as of 11:31, 30 October 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 Filesystem:

Download filesystem:

https://downloads.voipac.com/index.php?p=iMX91_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 2024.04-lf_v2024.04+g6c4545203d1+p0 (Nov 15 2024 - 04:02:13 +0000)

Reset Status: POR

CPU:   NXP i.MX91(31) Rev1.0 A55 at 1400 MHz
CPU:   Industrial temperature grade  (-40C to 105C) at 29C

Model: Voipac i.MX91 EVK board
DRAM:  2 GiB
optee optee: OP-TEE api uid mismatch
tcpc_init: Can't find device id=0x52
setup_typec: tcpc portpd init failed, err=-19
tcpc_init: Can't find device id=0x51
setup_typec: tcpc port2 init failed, err=-19
tcpc_init: Can't find device id=0x50
setup_typec: tcpc port1 init failed, err=-19
Core:  205 devices, 31 uclasses, devicetree: separate
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment

Fail to setup video link
In:    serial
Out:   serial
Err:   serial

BuildInfo:
  - ELE firmware version 2.0.0-64d8ef47

switch to partitions #0, OK
mmc0(part 0) is current device
UID: 0f369d90914746998806e2d559c410c7
flash target is MMC:0
Net:    eth0: ethernet@42890000, eth1: ethernet@428a0000 [PRIME]
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
 35697152   Image
    48709   imx91-11x11-evk-aud-hat.dtb
    45805   imx91-11x11-evk-flexspi-m2.dtb
    45801   imx91-11x11-evk-flexspi-nand-m2.dtb
    46405   imx91-11x11-evk-i2c-spi-slave.dtb
    44973   imx91-11x11-evk-i3c.dtb
    45319   imx91-11x11-evk-ld.dtb
    45403   imx91-11x11-evk-lpuart.dtb
    45819   imx91-11x11-evk-mqs.dtb
    48061   imx91-11x11-evk-mt9m114.dtb
    47525   imx91-11x11-evk-tianma-wvga-panel.dtb
    44324   imx91-voipac-evk.dtb

12 file(s), 0 dir(s)

u-boot=>


Select the required DTB file and enter the command to set it up:

u-boot=> setenv fdtfile imx91-voipac-evk.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.