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

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

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

ソリューションへジャンプ
1,997件の閲覧回数
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,904件の閲覧回数
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,966件の閲覧回数
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,937件の閲覧回数
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,905件の閲覧回数
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 件の賞賛
返信