Good Morning !
I am trying to get ready with FRDM i.MX 93 with getting started guide: Guide
I downloaded FRDM-IMX93 Demo Images (tried REV.1.0 and REV4.0), but keep getting same error message.
Tried command from guide: .\uuu.exe -b sd_all imx-image-full-imx93frdm.rootfs.wic.zst
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-0-g230f1b1
Build in config:
Pctl Chip Vid Pid BcdVersion Serial_No
==================================================
SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff]
SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff]
SDPS: MX8DXL 0x1fc9 0x0147
SDPS: MX28 0x15a2 0x004f
SDPS: MX815 0x1fc9 0x013e
SDPS: MX865 0x1fc9 0x0146
SDPS: MX8ULP 0x1fc9 0x014a
SDPS: MX8ULP 0x1fc9 0x014b
SDPS: MX93 0x1fc9 0x014e
SDPS: MX91 0x1fc9 0x0159
SDPS: MX95 0x1fc9 0x015d
SDPS: MX95 0x1fc9 0x015c
SDPS: MX943 0x1fc9 0x0027
SDPS: MX952 0x1fc9 0x0028
SDP: MX7D 0x15a2 0x0076
SDP: MX6Q 0x15a2 0x0054
SDP: MX6D 0x15a2 0x0061
SDP: MX6SL 0x15a2 0x0063
SDP: MX6SX 0x15a2 0x0071
SDP: MX6UL 0x15a2 0x007d
SDP: MX6ULL 0x15a2 0x0080
SDP: MX6SLL 0x1fc9 0x0128
SDP: MX7ULP 0x1fc9 0x0126
SDP: MXRT106X 0x1fc9 0x0135
SDP: MX8MM 0x1fc9 0x0134
SDP: MX8MQ 0x1fc9 0x012b
SDPU: SPL 0x0525 0xb4a4 [0x0000..0x04ff]
SDPV: SPL1 0x0525 0xb4a4 [0x0500..0x9998]
SDPV: SPL1 0x1fc9 0x0151 [0x0500..0x9998]
SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999]
SDPU: SPL 0x3016 0x1001 [0x0000..0x04ff]
SDPV: SPL1 0x3016 0x1001 [0x0500..0x9998]
FBK: 0x066f 0x9afe
FBK: 0x066f 0x9bff
FBK: 0x1fc9 0x0153
FB: 0x0525 0xa4a5
FB: 0x18d1 0x0d02
FB: 0x3016 0x0001
FB: 0x1fc9 0x0152
FB: 0x0483 0x0afb
Run built-in script:
uuu_version 1.4.149
# @_flash.bin | bootloader, which can extract from wic image
# @_image [_flash.bin] | wic image burn to emmc.
# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
SDP: boot -f imx-image-full-imx93frdm.rootfs.wic.zst/* -scanlimited 0x800000
# This command will be run when ROM support stream mode
# i.MX8QXP, i.MX8QM
SDPS: boot -scanterm -f imx-image-full-imx93frdm.rootfs.wic.zst/* -scanlimited 0x800000
# These commands will be run when use SPL and will be skipped if no spl
# SDPU will be deprecated. please use SDPV instead of SDPU
# {
SDPU: delay 1000
SDPU: write -f imx-image-full-imx93frdm.rootfs.wic.zst/* -offset 0x57c00 -scanlimited 0x800000
SDPU: jump -scanlimited 0x800000
# }
# These commands will be run when use SPL and will be skipped if no spl
# if (SPL support SDPV)
# {
SDPV: delay 1000
SDPV: write -f imx-image-full-imx93frdm.rootfs.wic.zst/* -skipspl -scanterm -scanlimited 0x800000
SDPV: jump -scanlimited 0x800000
# }
FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${sd_dev}
FB: ucmd mmc dev ${sd_dev}
FB: flash -raw2sparse all imx-image-full-imx93frdm.rootfs.wic.zst/*
FB: flash -scanterm -scanlimited 0x800000 bootloader imx-image-full-imx93frdm.rootfs.wic.zst/*
FB: done
Wait for Known USB Device Appear...
New USB Device Attached at 4:2-23F11C6A09B54230
4:2-23F11C6A09B54230>Start Cmd:SDPS: boot -scanterm -f imx-image-full-imx93frdm.rootfs.wic.zst/* -scanlimited 0x800000
Decompress file:>imx-image-full-imx93frdm.rootfs.wic.zst
14%4:2-23F11C6A09B54230>Fail HID(W): LIBUSB_ERROR_TIMEOUT (-7)(20.15s)
Then I tried .\uuu.exe -v -b emmc_all .\imx-boot-imx93frdm-sd.bin-flash_singleboot .\imx-image-full-imx93frdm.rootfs.wic.zst, but also got same error meassage:
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-0-g230f1b1
Build in config:
Pctl Chip Vid Pid BcdVersion Serial_No
==================================================
SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff]
SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff]
SDPS: MX8DXL 0x1fc9 0x0147
SDPS: MX28 0x15a2 0x004f
SDPS: MX815 0x1fc9 0x013e
SDPS: MX865 0x1fc9 0x0146
SDPS: MX8ULP 0x1fc9 0x014a
SDPS: MX8ULP 0x1fc9 0x014b
SDPS: MX93 0x1fc9 0x014e
SDPS: MX91 0x1fc9 0x0159
SDPS: MX95 0x1fc9 0x015d
SDPS: MX95 0x1fc9 0x015c
SDPS: MX943 0x1fc9 0x0027
SDPS: MX952 0x1fc9 0x0028
SDP: MX7D 0x15a2 0x0076
SDP: MX6Q 0x15a2 0x0054
SDP: MX6D 0x15a2 0x0061
SDP: MX6SL 0x15a2 0x0063
SDP: MX6SX 0x15a2 0x0071
SDP: MX6UL 0x15a2 0x007d
SDP: MX6ULL 0x15a2 0x0080
SDP: MX6SLL 0x1fc9 0x0128
SDP: MX7ULP 0x1fc9 0x0126
SDP: MXRT106X 0x1fc9 0x0135
SDP: MX8MM 0x1fc9 0x0134
SDP: MX8MQ 0x1fc9 0x012b
SDPU: SPL 0x0525 0xb4a4 [0x0000..0x04ff]
SDPV: SPL1 0x0525 0xb4a4 [0x0500..0x9998]
SDPV: SPL1 0x1fc9 0x0151 [0x0500..0x9998]
SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999]
SDPU: SPL 0x3016 0x1001 [0x0000..0x04ff]
SDPV: SPL1 0x3016 0x1001 [0x0500..0x9998]
FBK: 0x066f 0x9afe
FBK: 0x066f 0x9bff
FBK: 0x1fc9 0x0153
FB: 0x0525 0xa4a5
FB: 0x18d1 0x0d02
FB: 0x3016 0x0001
FB: 0x1fc9 0x0152
FB: 0x0483 0x0afb
Run built-in script:
uuu_version 1.4.149
# @_flash.bin | bootloader, which can extract from wic image
# @_image [_flash.bin] | wic image burn to emmc.
# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
SDP: boot -f .\imx-boot-imx93frdm-sd.bin-flash_singleboot -scanlimited 0x800000
# This command will be run when ROM support stream mode
# i.MX8QXP, i.MX8QM
SDPS: boot -scanterm -f .\imx-boot-imx93frdm-sd.bin-flash_singleboot -scanlimited 0x800000
# These commands will be run when use SPL and will be skipped if no spl
# SDPU will be deprecated. please use SDPV instead of SDPU
# {
SDPU: delay 1000
SDPU: write -f .\imx-boot-imx93frdm-sd.bin-flash_singleboot -offset 0x57c00
SDPU: jump -scanlimited 0x800000
# }
# These commands will be run when use SPL and will be skipped if no spl
# if (SPL support SDPV)
# {
SDPV: delay 1000
SDPV: write -f .\imx-boot-imx93frdm-sd.bin-flash_singleboot -skipspl -scanterm -scanlimited 0x800000
SDPV: jump -scanlimited 0x800000
# }
FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${emmc_dev}
FB: ucmd mmc dev ${emmc_dev}
FB: flash -raw2sparse all .\imx-image-full-imx93frdm.rootfs.wic.zst/*
FB: flash -scanterm -scanlimited 0x800000 bootloader .\imx-boot-imx93frdm-sd.bin-flash_singleboot
FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;
FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0
FB: done
Wait for Known USB Device Appear...
New USB Device Attached at 4:2-
4:2->Start Cmd:SDPS: boot -scanterm -f .\imx-boot-imx93frdm-sd.bin-flash_singleboot -scanlimited 0x800000
4:2->Fail HID(W): LIBUSB_ERROR_TIMEOUT (-7)(20.02s)
I am using latest uuu.exe version. Also with new drivers on windows.
Same here. I'm trying with Ubuntu 20.04 and same error occured.
sudo ~/uuu-ubuntu20.04 -lsusb
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-0-g230f1b1
Connected Known USB Devices
Path Chip Pro Vid Pid BcdVersion Serial_no
====================================================================
1:3 MX93 SDPS: 0x1FC9 0x014E 0x0001 8214D79A2FFA4708
sudo ~/uuu-ubuntu20.04 -b emmc_all imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singleboot imx-image-core-imx93-11x11-lpddr4x-frdm.rootfs-20260608162024.wic.zst
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-0-g230f1b1
Success 0 Failure 1
1:3-8214D79A 1/ 1 [HID(W): LIBUSB_ERROR_TIMEOUT (-7) ] SDPS: boot -scanterm -f imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash...
I tried both with MACHINE=imx93frdm and MACHINE=imx93-11x11-lpddr4x-frdm and same result. I just see this log on UART DEBUG:
U-Boot SPL 2024.04+gde16f4f1722+p0 (Sep 02 2024 - 10:44:35 +0000)
SOC: 0xa1009300
LC: 0x2040010
PMIC: PCA9451A
PMIC: Over Drive Voltage Mode
DDR: 3733MTS
DDR: 3733MTS
M33 prepare ok
There's no solution anywhere and no one is helping.
Hello,
Please try with the standard BSP release from here:
https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/embedded-linux-for...
Also, I would rather recommend to not use the compressed rootfs, please uncompress (un-zst) and try again.
Best regards/Saludos,
Aldo.
Hi,
I am facing the same problem.
The board is booting fine from the emmc but when I try to flash the SD card in any way it does not work.
I tried flashing one of the pre-built images on the imx93 FRDM main page (compressed and un-compressed)
using uuu
I also used dd:
zstd -d imx-image-full-imx93frdm.rootfs.wic.zst -c | sudo dd of=/dev/mmcblk0 bs=4M status=progress conv=fsync
then when I boot the board from the SD card it does not fully boot and stops there
U-Boot SPL 2024.04+gde16f4f1722+p0 (Sep 02 2024 - 10:44:35 +0000)
SOC: 0xa1009300
LC: 0x2040010
PMIC: PCA9451A
PMIC: Over Drive Voltage Mode
DDR: 3733MTS
DDR: 3733MTS
M33 prepare ok
And I faced this same output after booting up when I tried flashing the SD card with the Debian-based image using flex-installer.
Hello!!
For the first issue, please note that you'll need the bootloader not only the rootfs, so you'll need to run a command like the following:
./uuu -b emmc_all flash.bin imx-image-full-imx93frdm.rootfs.wic
For the issue that it uses dd, is the same please do not use compressed rootfs (un-zst)
Best regards/Saludos,
Aldo.
Also please update the guide I linked in first post to help others :).
Hello,
Glad that it is now working, I will double check the script maybe it uses a different bootloader, and yes we are working on improvingthe documentation for the FRDM boards we apreciate your comments.
Best regards/Saludos,
Aldo.
Well I think it worked with the latest software You linked and command: .\uuu.exe -v uuu.auto-imx93-11x11-lpddr4x-frdm
But I don't know is it the best solution, because now my board introduces itself as "imx93evk" not imx93frdm.
As I told it is not working, check my comment above.
The only way to make it work is: .\uuu.exe -v uuu.auto-imx93-11x11-lpddr4x-frdm
Hi,
I have run into this problem as well, trying out a i.MX 93 FRDM development board. The training guide I found was wrong and misleading, the demo firmware package contains a pile of files with no info as to what each one is, and the usage of the "uuu" utility is almost incomprehensible (at least to me!), even after reading the manual for it.
Here's what I have figured out. Someone please correct me if I got this wrong.
I downloaded the demo firmware package "LF_v6.18.20-2.0.0_images_IMX93EVK.zip". I wanted to test the process of writing a firmware image to the uSD card and/or the built-in eMMC.
Here is what worked:
* I think files with names like "imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singleboot" are bootloader images for specific boards and different configurations. I chose this one for writing to uSD card on my board.
* I think "imx-image-full-imx93evk.wic" is the Linux image (rootfs, etc). There is only one, so I guess it's the same for all supported dev boards?
* As per comments above, don't try to use the zipped version "imx-image-full-imx93evk.tar.zst"?
To write to uSD card:
* Power off board
* Insert uSD card
* Connect board "USB1_C" port to laptop via USB-C cable
* Set boot switches to [3:0] 0001 for serial download mode
* Use this uuu command from the firmware folder:
# Copy BOOTLOADER ONLY to the SD card:
uuu -b sd imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singleboot
# OR: Copy bootloader and linux image:
uuu -b sd_all imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singleboot imx-image-full-imx93evk.wic
* Power on the board. UUU should automatically detect the board and start the download.
For writing the files to eMMC, you use these commands:
# Bootloader Only:
uuu -b emcc imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singleboot
# OR: Bootloader and Image:
uuu -b emmc_all imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singleboot imx-image-full-imx93evk.wic
I don't know what the difference is between the various boot loader files.
@Kapixxx Your method probably did work. I think all the boards use the same Linux rootfs so they all have the host name "imx93evk". However, I have not figured out how to use a uuu script (e.g. "uuu.auto-imx93-11x11-lpddr4x-frdm") to write to uSD card rather than eMMC. The relationship between the supplied command line parameters, built-in scripts, and supplied script files is unclear.