imx93 fails to burn the uboot by UUU

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx93 fails to burn the uboot by UUU

641 Views
jack_huang1
Contributor III

Dears;

         In the IMX9352 solution, the chip used is IMX9352 A0 and the linux version is L6.1.36-2.1.0. For details, see the following:

          sdk version used:

repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-mickledore -m imx-6.1.36-2.1.0.xml

           Compiling process:

DISTRO=fsl-imx-xwayland MACHINE=imx93evk source imx-setup-release.sh -b build-imx93evk-xwayland

bitbake imx-image-multimedia

Compile the generated image see Figure 1;

Burn your own compiled image, failure process:

ffh@ffh:~/work/imx/VT-SBC-SMARC-IMX93-CB/image/myself-compile$ cp /home/ffh/work/yocto/imx/VT-SBC-SMARC-IMX93-CB/imx-yocto-bsp/build-imx93evk-xwayland/tmp/deploy/images/imx93evk/imx-boot-imx93evk-sd.bin-flash_singleboot .

ffh@ffh:~/work/imx/VT-SBC-SMARC-IMX93-CB/image/myself-compile$ cp imx-boot-imx93evk-sd.bin-flash_singleboot flash.bin

ffh@ffh:~/work/imx/VT-SBC-SMARC-IMX93-CB/image/myself-compile$ 

ffh@ffh:~/work/imx/VT-SBC-SMARC-IMX93-CB/image/myself-compile$ sudo uuu -V  -b emmc flash.bin

uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.21-0-g1f42172

 

Build in config:

    Pctl   Chip      Vid   Pid   BcdVersion

    ==================================================

    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

    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.2.39

 

# @_flash.bin            | bootloader

# @_image   [_flash.bin] | image burn to emmc, default is the same as bootloader

 

# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ

SDP: boot -f flash.bin

 

# This command will be run when ROM support stream mode

# i.MX8QXP, i.MX8QM

SDPS: boot -f flash.bin

 

# 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 flash.bin -offset 0x57c00

SDPU: jump

# }

 

# 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 flash.bin -skipspl

SDPV: jump

# }

 

FB: ucmd setenv fastboot_dev mmc

FB: ucmd setenv mmcdev ${emmc_dev}

FB: ucmd mmc dev ${emmc_dev}

FB: flash bootloader flash.bin

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 3:52

3:52>Start Cmd:SDPS: boot -f flash.bin

3%3:52>Fail HID(W):LIBUSB_ERROR_IO(0.015s)

 ffh@ffh:~/work/imx/VT-SBC-SMARC-IMX93-CB/image/myself-compile$ 

 

The image downloaded on the nxp official website can be burned and run normally:

ffh@ffh:~/work/imx/VT-SBC-SMARC-IMX93-CB/image/myself-compile$ cp ../nxp/imx-boot-imx93evk-sd.bin-flash_singleboot .

ffh@ffh:~/work/imx/VT-SBC-SMARC-IMX93-CB/image/myself-compile$ cp imx-boot-imx93evk-sd.bin-flash_singleboot flash.bin

ffh@ffh:~/work/imx/VT-SBC-SMARC-IMX93-CB/image/myself-compile$ 

ffh@ffh:~/work/imx/VT-SBC-SMARC-IMX93-CB/image/myself-compile$ 

ffh@ffh:~/work/imx/VT-SBC-SMARC-IMX93-CB/image/myself-compile$ 

ffh@ffh:~/work/imx/VT-SBC-SMARC-IMX93-CB/image/myself-compile$ sudo uuu -V  -b emmc flash.bin

uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.21-0-g1f42172

 

Build in config:

    Pctl   Chip      Vid   Pid   BcdVersion

    ==================================================

    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

    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.2.39

 

# @_flash.bin            | bootloader

# @_image   [_flash.bin] | image burn to emmc, default is the same as bootloader

 

# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ

SDP: boot -f flash.bin

 

# This command will be run when ROM support stream mode

# i.MX8QXP, i.MX8QM

SDPS: boot -f flash.bin

 

# 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 flash.bin -offset 0x57c00

SDPU: jump

# }

 

# 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 flash.bin -skipspl

SDPV: jump

# }

 

FB: ucmd setenv fastboot_dev mmc

FB: ucmd setenv mmcdev ${emmc_dev}

FB: ucmd mmc dev ${emmc_dev}

FB: flash bootloader flash.bin

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 3:52

3:52>Start Cmd:SDPS: boot -f flash.bin

100%3:52>Okay (2.415s)

New USB Device Attached at 3:52

3:52>Start Cmd:FB: ucmd setenv fastboot_dev mmc

3:52>Okay (0.019s)

3:52>Start Cmd:FB: ucmd setenv mmcdev ${emmc_dev}

3:52>Okay (0.072s)

3:52>Start Cmd:FB: ucmd mmc dev ${emmc_dev}

3:52>Okay (0.038s)

3:52>Start Cmd:FB: flash bootloader flash.bin

0x200000003:52>Okay (0.166s)

3:52>Start Cmd:FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;

3:52>Okay (0.004s)

3:52>Start Cmd:FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0

3:52>Okay (0.004s)

3:52>Start Cmd:FB: Done

3:52>Okay (0s)

 

ffh@ffh:~/work/imx/VT-SBC-SMARC-IMX93-CB/image/myself-compile$ 

 

Please help to analyze the cause of the problem, thank you!

 

 

 

           

0 Kudos
Reply
1 Reply

562 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi @jack_huang1 

The cause of the problem is that Yocto build image for 6.1.36-2.1.0 should just work for A1.

 

Regards

Harvey

0 Kudos
Reply