IMX8QM: Flashing M4 images alone in yocto

cancel
Showing results for 
Search instead for 
Did you mean: 

IMX8QM: Flashing M4 images alone in yocto

279 Views
vinothkumars
Senior Contributor IV

Hi All,

 

Software: Yocto (L5.10)

Hardware: IMX8QM-MEK

 

I have to flash m4_image.bin alone. But, I unable to find the steps to flash. Will you please provide the steps  

Regards,
Vinothkumar Sekar
0 Kudos
2 Replies

242 Views
abn
Contributor I

Dear Israel, 

Thanks for the response. Now we are able to flash MEK Board, but same steps are failing in Sample A Board. can you guide us how to resolve this. 

Best Regards

Babu A

0 Kudos

265 Views
nxf63675
NXP Employee
NXP Employee

Hi @vinothkumars,

 

you need the u-boot and u-boot fast boot running for flashing the emmc.

and the image flash.bin you built only has the m4. that is why flash gets fail.

 

if you look at the uuu help.

you will see arg0: _flash.bin bootloader and arg1: _image[Optional] image burn to emmc, default is the same as bootloader. it is optional.

So for you case, you need two arg0 and arg1. arg0 is the bootloader flash.bin has u-boot and arg1 is what you want to burn to emmc.

So you can use the binary release to burn the flash.bin you built.

uuu -b emmc imx-boot-imx8qxpc0mek-sd.bin-flash flash.bin

here imx-boot-imx8qxpc0mek-sd.bin-flash is the flash.bin with u-boot(running on A35 and has uboot fastboot). flash.bin here is you build with "make SOC=iMX8QX flash_cm4".

 

Regards,

Israel.

0 Kudos