Using MFG Tool on Linux to flash iMX6ULL EVK

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

Using MFG Tool on Linux to flash iMX6ULL EVK

1,425 Views
meetalipatel
Contributor III

Hello,

I am trying to flash a binary on iMX6ULL EVK Board using MFG Tool. When running mfgtools on Windows, there is no issue and I am able to flash successfully. However, when I trying running mfgtools on Linux, I am unable to do so (I am using Ubuntu 14.04). 

To run the mfgtoolcli application I executed the following command:

   $ ./mfgtoolcli -l eMMC -s lite=l -s 6uluboot=14x14evk -s 6uldtb=14x14-evk

The output is:

Your Options:
lite: l
6uluboot: 14x14evk
6uldtb: 14x14-evk
Ready to flash.
init op Failed code# 24

The logs in MfgToolLibLog.txt file are:

Start new logging
ModuleID[2] LevelID[1]: Error: Invalid device name: MX6ULL
ModuleID[2] LevelID[1]: Parse ucl script failed, error code: 24

Please guide me on how can I successfully flash using the mfgtools on Linux machine.

Thanks

Meetali Patel

0 Kudos
3 Replies

1,237 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi Patel,

For downloading images to i.MX using the Serial downloader mode, you could use the Universal Update Utility (UUU), available for Windows and Linux. Please take a look to the following Community thread, that provides additional UUU examples, and points to UUU documentation that could help you:

IMX8M UUU flashing questions 

Hope this will be useful for you.
Best regards!
/Carlos
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

-------------------------------------------------------------------------------

0 Kudos

1,237 Views
meetalipatel
Contributor III

Hi Carlos,

I am using Linux kernel version 4.9.88. Is UUU supported for this kernel version?

Thanks

Meetali Patel

0 Kudos

1,237 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi Patel,
Yes, it should be compatible, it just will need to manually specify the U-Boot and RootFS when launching the command, instead of using the “auto” script. You could take a look to the following link:

Example · NXPmicro/mfgtools Wiki · GitHub 

Hope this will be useful for you.
Best regards!
/Carlos
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

-------------------------------------------------------------------------------

0 Kudos