iMX91 Industrial Recovery

From Voipac Wiki
Revision as of 09:50, 31 October 2025 by Voipac (talk | contribs) (→‎Setting a suitable dtb file in bootloader (u-boot))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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: Cannot find device id=0x52
setup_typec: tcpc portpd init failed, err=-19
tcpc_init: Cannot find device id=0x51
setup_typec: tcpc port2 init failed, err=-19
tcpc_init: Cannot 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.