Problem flashing an iMx8MQ with 'uuu' to flash e.MMC

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Problem flashing an iMx8MQ with 'uuu' to flash e.MMC

跳至解决方案
1,860 次查看
Hpot
Contributor I

I'm having a problem flashing an ubuntu image (https://github.com/TechNexion/tn-imx-yocto-manifest) on a PICO-PI-IMX8M (exactly an iMx8MQ).

The command "$:bitbake imx-image-desktop" went all the way.

So I move to the “edm_yocto/build-xwayland-pico-imx8mq/tmp/deploy/images/pico-imx8mq” folder as indicated by the doc (https://developer.technexion.com/docs/using-uuu-to-flash-emmc) looking for the correct ".bin" to launch the command "$: sudo uuu -b emmc_all [***.bin] imx-image-desktop-pico-imx8mq.wic".

I installed uuu following this guide (https://emteria.com/kb/uuu-linux), because I had a problem with tinyxml following the installation indicated by TNX (https://github.com/TechNexion/imx-mfgtools-tn).

bin.png

I first tested with "u-boot-pico-imx8mq.bin", it gave me this error. I tried with other files, same thing.

$: sudo uuu -b emmc_all u-boot-pico-imx8mq.bin imx-image-desktop-pico-imx8mq.wic.bz2/* 

error_bin.png

I then looked for other files to test, this one allowed me to go further ("imx-boot-pico-imx8mq-sd.bin-flash_evk"), but it blocks indefinitely at this step. 

$: sudo uuu -b emmc_all imx-boot-pico-imx8mq-sd.bin-flash_evk imx-image-desktop-pico-imx8mq.wic.bz2/*

boucle.png

I can't find any help online so I'm posting here.
Thank you in advance for any help you can give me, it is very important to me.

0 项奖励
回复
1 解答
1,767 次查看
Chavira
NXP TechSupport
NXP TechSupport

Hi @Hpot!

 

The u-boot-pico-imx8mq.bin is only the boot binary, and the imx-boot-pico-imx8qm-sd.flash_evk is the complete binary to boot the imx board.

 

I found a guide on how to flash the board.

 

You have to put the board on download mode according to the tecxhnextion documentation:

 

https://developer.technexion.com/docs/recover-to-factory-settings-pico-imx8m-mini

 

Best Regards!

Chavira

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,829 次查看
Chavira
NXP TechSupport
NXP TechSupport

Hi @Hpot!

Thank you for contacting NXP Support!

 

You have to use the next command in your case:

 

sudo uuu -b emmc_all imx-boot-pico-imx8qm-sd.flash_evk imx-image-desktop-pico-imx8mq.wic.bz2

 

I see the version of uuu that you download is not the stable version, please download the next version:

 

https://github.com/nxp-imx/mfgtools/releases/tag/uuu_1.5.125

 

If the problem persists try to use the tool provided by TechNexion:

 

https://github.com/TechNexion/imx-mfgtools-tn

 

Best Regards!

Chavira

0 项奖励
回复
1,800 次查看
Hpot
Contributor I

Thank you for your reply.

I just applied your advice (change the version of uuu and reinstall it with mfgtools) but unfortunately without success. (see screen).

2eme_tenta.png

Could it be that my bootloader (u-boot-pico-imx8mq.bin) is corrupted or something like that, leading to the "Cannot find valid IVT header" error.

Thank you in advance for your return,


Regards !

0 项奖励
回复
1,768 次查看
Chavira
NXP TechSupport
NXP TechSupport

Hi @Hpot!

 

The u-boot-pico-imx8mq.bin is only the boot binary, and the imx-boot-pico-imx8qm-sd.flash_evk is the complete binary to boot the imx board.

 

I found a guide on how to flash the board.

 

You have to put the board on download mode according to the tecxhnextion documentation:

 

https://developer.technexion.com/docs/recover-to-factory-settings-pico-imx8m-mini

 

Best Regards!

Chavira

0 项奖励
回复