iMX93 Industrial Recovery

From Voipac Wiki
Revision as of 21:05, 11 February 2025 by Voipac (talk | contribs) (→‎Description)
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 U-boot and Filesystem:

Download u-boot file:

https://downloads.voipac.com/index.php?p=iMX93_Industrial_Development_Kit/module/software/yocto/binaries

Download filesystem:

https://downloads.voipac.com/index.php?p=iMX93_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+gde16f4f1722+p0 (Sep 02 2024 - 10:44:35 +0000)

Reset Status: POR

CPU:   NXP i.MX93(52) Rev1.1 A55 at 1700 MHz
CPU:   Industrial temperature grade  (-40C to 105C) at 36C

Model: Voipac i.MX93 EVK board
DRAM:  2 GiB
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:  219 devices, 31 uclasses, devicetree: separate
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... OK
[*]-Video Link 0fail to find output device
probe video device failed, ret -19

        [0] lcd-controller@4ae30000, video
fail to find output device
probe video device failed, ret -19
In:    serial
Out:   serial
Err:   serial

BuildInfo:
  - ELE firmware version 1.2.0-38f309fe

switch to partitions #0, OK
mmc0(part 0) is current device
UID: ad4a5a940e804162a528d6fe1532d4d5
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
 35564032   Image
    69445   imx93-11x11-evk-aud-hat.dtb
    66749   imx93-11x11-evk-boe-wxga-lvds-panel.dtb
    65705   imx93-11x11-evk-flexio-i2c.dtb
    66009   imx93-11x11-evk-flexspi-m2.dtb
    66799   imx93-11x11-evk-i2c-spi-slave.dtb
    65062   imx93-11x11-evk-i3c.dtb
     2725   imx93-11x11-evk-inmate.dtb
    51134   imx93-11x11-evk-iw612-otbr.dtb
    65362   imx93-11x11-evk-ld.dtb
    65520   imx93-11x11-evk-lpuart.dtb
    65983   imx93-11x11-evk-mqs.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)

u-boot=>


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

u-boot=> setenv fdtfile imx93-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.