How to use uuu to flash real time prebuilt image to eMMC

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to use uuu to flash real time prebuilt image to eMMC

2,321件の閲覧回数
bakbad
Contributor III

Hello NXP Team,

    I want to test rt data for iMX91P SoC EVK, I hava download a Pre-Built image from Real-Time Edge Software | NXP Semiconductors for iMX9, but use uuu command below can not flash the imx-boot-sd.bin-flash_singleboot into eMMC

uuu.exe -b emmc imx-boot-sd.bin-flash_singleboot

it report errors in windows: LIBUSB_ERROR_PIPE(-9).

What should i do to resove this problem.

 

Regards,

bakbad

タグ(2)
0 件の賞賛
返信
16 返答(返信)

2,261件の閲覧回数
Oswalag
NXP TechSupport
NXP TechSupport

Hello,

 

Are you using windows or linux?  try with both.

Please try with the images provided in the last pre-build image

sudo uuu -b emmc_all imx-boot-imx91-11x11-lpddr4-evk-sd.bin-flash_singleboot nxp-image-real-time-edge-imx91-11x11-lpddr4-evk.rootfs.wic.zst 

0 件の賞賛
返信

2,221件の閲覧回数
bakbad
Contributor III
Hi,
I have try with both windows and linux. But can not work. The Pre-Built real time Image cant not flash to eMMC.
0 件の賞賛
返信

2,240件の閲覧回数
bakbad
Contributor III
Hi,
I used windows. I will try it in linux.
Yes, I download the latest Pre-Built image.
And I just flash bootloader, so i used uuu.exe -b emmc imx-boot-imx91-11x11-lpddr4-evk-sd.bin-flash_singleboot command
0 件の賞賛
返信

2,191件の閲覧回数
Oswalag
NXP TechSupport
NXP TechSupport

Please share a screenshot of the issue on windows.

0 件の賞賛
返信

2,157件の閲覧回数
bakbad
Contributor III
And the SoC in my board is iMX91P, the product number is PIMX91P3DVVXJAB, Did uuu tool and Pre-Built real-time Image support this SoC?
0 件の賞賛
返信

2,076件の閲覧回数
Oswalag
NXP TechSupport
NXP TechSupport

It should, let me try on my side and I'll let you know.

0 件の賞賛
返信

2,064件の閲覧回数
bakbad
Contributor III
OK, I‘ll wait
0 件の賞賛
返信

2,037件の閲覧回数
Oswalag
NXP TechSupport
NXP TechSupport

Hello,

I can confirm it worked as expected with the UUU tool in windows, please see below:

Oswalag_1-1743782225768.png

Also the board boots correctly. 

 

0 件の賞賛
返信

1,961件の閲覧回数
bakbad
Contributor III
Or can you upload the uuu version used in your PC.
0 件の賞賛
返信

2,009件の閲覧回数
bakbad
Contributor III
Also, i see the uuu Release in https://github.com/nxp-imx/mfgtools/releases?page=1, the version uuu_1.5.177 add support for i.MX91.
So why the uuu_1.4.193 can flash the i. MX91?
What's the difference between there?
0 件の賞賛
返信

1,923件の閲覧回数
Oswalag
NXP TechSupport
NXP TechSupport

Both versions work on my side, please use the Release uuu_1.5.182 , also try to boot from sd card, before trying to use the uuu tool be sure that your board actually works with a pre-build image, the one in the emmc or a new one booting from sd card. 

0 件の賞賛
返信

1,903件の閲覧回数
bakbad
Contributor III
I try to flash the sd card, but had the same error. The uuu version is 1.5.182
LIBUSB_ERROR_PIPE(-9)

Maybe the Pre-built image do not fit iMX91P SoC.
I have no ideas. Thanks a lot.

0 件の賞賛
返信

1,883件の閲覧回数
Oswalag
NXP TechSupport
NXP TechSupport

The image works, I have tested it in the i.MX91EVK, please flash the pre-build image using directly a linux host computer with the procedure in the i.MX Linux User’s Guide 

 

0 件の賞賛
返信

1,867件の閲覧回数
bakbad
Contributor III
Use the linux dd command directly? Ok, i'll try with it.
0 件の賞賛
返信

2,009件の閲覧回数
bakbad
Contributor III
The SoC is also i.MX91P? I use the same version uuu in your picture but no any logs
0 件の賞賛
返信

2,172件の閲覧回数
bakbad
Contributor III
I used uuu -v and logs like this:

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 imx-boot-imx91-11x11-lpddr4-evk-sd.bin-flash_singleboot

//# This command will be run when ROM support stream mode
//# i.MX8QXP, i.MX8QM
SDPS: boot -f imx-boot-imx91-11x11-lpddr4-evk-sd.bin-flash_singleboot

//# 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-imx91-11x11-lpddr4-evk-sd.bin-flash_singleboot -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 imx-boot-imx91-11x11-lpddr4-evk-sd.bin-flash_singleboot -skipspl
SDPV: jump
//# }

FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${emmc_dev}
FB: ucmd mmc dev ${emmc_dev}
FB: flash bootloader imx-boot-imx91-11x11-lpddr4-evk-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 1:11-B1C5114598464CD4
1:11-B1C5114598464CD4>Start Cmd:SDPS: boot -f imx-boot-imx91-11x11-lpddr4-evk-sd.bin-flash_singleboot
4%1:11-B1C5114598464CD4>Fail HID(W): LIBUSB_ERROR_PIPE (-9)(0.033s)

Also, I had try to connected two usb cable to board, one for serial download and one for debug uart port, while use uuu to flash the image, the debug uart port had no any logs.
0 件の賞賛
返信