Problem while flashing Yocto Zeus on NXP i.MX 8M

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

Problem while flashing Yocto Zeus on NXP i.MX 8M

1,045 Views
alphaanyms05
Contributor I

Hi, 
I am trying to flash the Yocto Zeus image on NXP i.MX 8M.
I built the Yocto Zeus successfully. I have all the files need to flash yocto.

I am following the tutorial: https://developer.ridgerun.com/wiki/index.php?title=IMX8/iMX8MEVK/Yocto/Installing_an_Image 

According to the guide, I configured the file -MFGTOOL_DIR-/Profiles/Linux/OS Firmware/ucl2.xml. Now I am trying to flashboard using serial download mode. 

I don't know the exact steps to flash the board this way.
I am quite new to these flashing NXP boards and MFGTool. Can any help me with this?

I am using the following MFGTool: mfgtools-with-rootfs-mx8
OS: Ubuntu 20

As mentioned in guide I tried to run mfgtool2-yocto-mx8-evk-emmc1.vbs

OUTPUT:
sudo ./mfgtool2-yocto-mx8-evk-emmc1.vbs
[sudo] password for alpha:
./mfgtool2-yocto-mx8-evk-emmc1.vbs: 1: Syntax error: "(" unexpected

0 Kudos
Reply
2 Replies

1,035 Views
igorpadykov
NXP Employee
NXP Employee

Hi Harish

 

nxp supported mfg tools for i.MX8MQ only for L4.9.88 (Rocko) as described in Relase Notes p.10

included in  Documentation

Latest nxp software does not support mfg tool, recommended to use uuu tool

https://github.com/NXPmicro/mfgtools

https://community.nxp.com/t5/Technology-Days-Training/i-MX-8-Universal-Update-Utility-UUU-Tools-and-...

Usage can be found in Linux Guide on link

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

 

Best regards
igor

1,029 Views
alphaanyms05
Contributor I

Hi @igorpadykov,

Actually, I am trying to install Yocto Zeus on Google Coral Dev Board. I have added a meta-coral layer to support yocto on Coral Dev Board.
I followed the steps according to this quick start guide and it worked till building the Yocto Image: https://github.com/mirzak/meta-coral/wiki/Quick-start-guide

But the issue is I am not able to flash it on Coral Dev Board. Coral Dev Board officially supports Mendel Linux. To flash the board steps are like using the fastboot method we can flash the board with Mendel Linux. And the image comes with the following files:

  1. flash.sh
  2. home.img
  3. partition-table-8gb.img
  4. partition-table-16gb.img
  5. partition-table-64gb.img
  6. recovery.img
  7. rootfs_arm64.img
  8. u-boot.imx

By following the steps of building Yocto Zeus with meta-coral and BSP layers, I am able to generate the Yocto Zeus image. And after the built folder's content are (please find attached picture).

 

After successfully built the core-image-base-coral-dev.wic.gz file is generated.
Now I am looking for a way to flash the generated Yocto image on Coral Dev Board. Can you help me with this regard? The coral dev board is having i.MX 8M som. 

0 Kudos
Reply