Toradex IMX 95 serial flash problem

I received the imx 95 Verdin Eval kit. I am trying to serial flash the image.
It is aborting with error “Unknown Image format”.
I have attached both console logs and output of serial flash command line.

Can someone help here?

Thanks
Ajay

====== Console log =====

U-Boot SPL 2024.04+g674440bc73e+p0 (Jun 06 2024 - 10:05:34 +0000)
SOC: 0xa1009500
LC: 0x40010
SYS Boot reason: por, origin: -1, errid: -1
SYS shutdown reason: por, origin: -1, errid: -1
DDRMIX is powered UP 
Normal Boot
Trying to boot from USB SDP
UID: 0x8f235830 0x584959ad 0x2eea8b8 0xa2b702d8
SDP: initialize...
SDP: handle requests...
Downloading file of size 1568768 to 0x90400000... done
Jumping to header at 0x90400000
Header Tag is not an IMX image
Found header at 0x90400000
NOTICE:  BL31: v2.10.0  (release):android-14.0.0_2.0.0-rc1-1-g49143a170
NOTICE:  BL31: Built : 10:04:22, May 29 2024


U-Boot 2024.04+g674440bc73e+p0 (Jun 06 2024 - 10:05:34 +0000)

CPU:   i.MX95 rev1.1 at 1800MHz
CPU:   Automotive temperature grade (-40C to 125C) at 46C
LM Boot reason: sw, origin: 2, errid: 1
LM shutdown reason: sw, origin: 2, errid: 1
Model: Toradex i.MX95 19X19 Verdin EVK
DRAM:  15.8 GiB
TCPC:  Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C6 0x52]
cfg name not match mx95alt:mx95evk, ignore
Core:  271 devices, 31 uclasses, devicetree: separate
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from nowhere... OK
In:    serial
Out:   serial
Err:   serial

BuildInfo:
  - ELE firmware version 0.0.3-25f6a933

MMC: no card present
UID: 0x8f235830 0x584959ad 0x2eea8b8 0xa2b702d8
Detect USB boot. Will enter fastboot mode!
Net:   WARNING: no MAC address assigned for MAC0
imx_get_mac_from_fuse: fuse read err: 0

Warning: enetc-0 (eth0) using random MAC address - 1e:ac:44:62:f6:0f
eth0: enetc-0 [PRIME]Could not get PHY for emdio-0: addr 2

Fastboot: Normal
Boot from USB for mfgtools
*** Warning - Use default environment for                                mfgtools
, using default environment

Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${i;
Hit any key to stop autoboot:  0 

## Checking Image at 93800000 ...
Unknown image format!
Run fastboot ...
USB init failed: -62

============== UUU script output =========

sudo /usr/local/bin/uuu -v -b emmc_all ./imx-boot-imx95-19x19-verdin-sd.bin-flash_all ./imx-image-full-imx95evk.wic
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.182-0-gda3cd53

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
        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-imx95-19x19-verdin-sd.bin-flash_all -scanlimited 0x800000

# This command will be run when ROM support stream mode
# i.MX8QXP, i.MX8QM
SDPS: boot -scanterm -f ./imx-boot-imx95-19x19-verdin-sd.bin-flash_all -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-imx95-19x19-verdin-sd.bin-flash_all -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-imx95-19x19-verdin-sd.bin-flash_all -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-imx95evk.wic
FB: flash -scanterm -scanlimited 0x800000 bootloader ./imx-boot-imx95-19x19-verdin-sd.bin-flash_all
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 1:712-3058238FAD594958
1:712-3058238FAD594958>Start Cmd:SDPV: delay 1000
1:712-3058238FAD594958>Okay (1s)
1:712-3058238FAD594958>Start Cmd:SDPV: write -f ./imx-boot-imx95-19x19-verdin-sd.bin-flash_all -skipspl -scanterm -scanlimited 0x800000
100%1:712-3058238FAD594958>Okay (2.346s)
1:712-3058238FAD594958>Start Cmd:SDPV: jump -scanlimited 0x800000
100%1:712-3058238FAD594958>Okay (0.058s)

The command “usb start” on uboot fixes the problem.

Once it fails the serial flash, type “usb start” and “reset” command at u-boot prompt.
After restart of u-boot it can flash the image.

Thanks for the support
Ajay

Hi @ajaypatel !

Thanks for the feedback. Good to know that you solved it!

I was informed that the NDA between Cariad and Toradex is still to be signed.

Therefore we can’t provide you information about i.MX 95 Verdin EVK.

As soon as it is solved, we will be able to provide support.

Also, no one can post about i.MX 95 Verdin EVK publicly. After the NDA is done, you will have access to the i.MX95 - Early Access category here in Toradex Community to ask for support.

Best regards,