Issue using MfgTool to install Linux on sdCard on iMX8 EVK

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

Issue using MfgTool to install Linux on sdCard on iMX8 EVK

Jump to solution
2,086 Views
aelder
Contributor III

I'm having trouble using the MfgTool to load Linux on an sdCard on an iMX8 EVK. I'm using a Windows 10 host. I have both USB ports connected to the host. I open the file mfgtool2-yocto-mx8-arm2-lpddr4-sdcard-sd2.vbs to launch the manufacturing tool. When I press start, the tool locks up and shows

pastedImage_1.png

Labels (1)
1 Solution
1,824 Views
Yuri
NXP Employee
NXP Employee

Hello,

  Do You have proper Windows 10 driver for UART - USB convertor to run terminal ?

Use the following demo image:

https://www.nxp.com/webapp/Download?colCode=L4.14.98_2.0.0_MX8MQ&appType=license 

(fsl-image-validation-imx-imx8mqevk.sdcard)

Summary page:

i.MX Software | NXP 

Regards,

Yuri.

View solution in original post

0 Kudos
12 Replies
1,824 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

 

Which imx 8 are you trying to flash?

And which BSP are you using?

 

Regards,

Aldo.

0 Kudos
1,824 Views
aelder
Contributor III

iMX8MQ that is on this i.MX 8M Evaluation Kit | NXP  EVK.

I'm trying to flash fsl-image-qt5-validation-imx-xwayland-imx8mqevk.sdcard on to a bootable sdcard.

0 Kudos
1,824 Views
AldoG
NXP TechSupport
NXP TechSupport

Hi,

 

For latest releases we suggest to use latest MfgTool-UUU, you can download it form here:

UUU 1.2.135 binary (uuu.exe is for Windows and uuu is for Linux host pc)

Execute the tool in terminal (Linux) or PowerShell as administrator (Windows) with the following command:

Windows:

.\uuu.exe -b sd_all <bootloader>.bin <rootfs>.sdcard

Linux:

$ sudo uuu -b sd_all <bootloader>.bin <rootfs>.sdcard

 

Hope this helps,

Best regards,

Aldo.

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
1,824 Views
aelder
Contributor III

I see


e:\Downloads\L4.9.88_2.0.0_images_MX8MQ>c:\Apps\nxp\uuu.exe -b sd_all imx-boot-imx8mqevk-sd.bin-flash_evk fsl-image-qt5-validation-imx-xwayland-imx8mqevk.sdcard
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.2.135-0-gacaf035

Success 0 Failure 0

1:1 1/ 1 [=================100%=================] SDP: boot -f imx-boot-imx8mqevk-sd.bin-flash_evk

and then nothing else happens. Is that expected?

0 Kudos
1,824 Views
Yuri
NXP Employee
NXP Employee

Hello,

   since .sdcard file is just image of SD it is possible to write this image on a host, using Linux dd command

or Win32DiskImager utility under Windows. 

Regards,

Yuri.

0 Kudos
1,826 Views
aelder
Contributor III

I have tried writing to the sdcard using the Linux dd command and the EVK did not boot. I have tried writing to the sdcard using balenaEtcher from Windows and the EVK did not boot. I'm using a 32 GB sdcard. That should work, correct?

0 Kudos
1,826 Views
Yuri
NXP Employee
NXP Employee

Hello,

  is BOOT_CFG  set correctly for SD boot?

Get Started with the MCIMX8M-EVK | NXP 

 

Regards,

Yuri.

0 Kudos
1,826 Views
aelder
Contributor III

Hi Yuri,

Thank you for responding. I have boot switches set to

Booting from SD on i.MX 8MQuad EVK
==================================
SWitch    D1  D2  D3  D4
SW801 :  1    1     0     0
SW802 :  1  0   (Internal boot mode)

0 Kudos
1,825 Views
Yuri
NXP Employee
NXP Employee

Hello,

  Do You have proper Windows 10 driver for UART - USB convertor to run terminal ?

Use the following demo image:

https://www.nxp.com/webapp/Download?colCode=L4.14.98_2.0.0_MX8MQ&appType=license 

(fsl-image-validation-imx-imx8mqevk.sdcard)

Summary page:

i.MX Software | NXP 

Regards,

Yuri.

0 Kudos
1,826 Views
aelder
Contributor III

Yuri, that image worked! I am up and running!

1,826 Views
aelder
Contributor III

For the record, I just used balenaEtcher to copy the sdcard image to an sdcard and then I plugged the sdcard in to the EVK, made sure the dip switches were set correctly and it booted fine.

1,826 Views
aelder
Contributor III

Are there default versions of cfg.ini and UICfg.ini that can be used to program the EVK? I'm not clear whether or not I have to edit those files to program an image that comes from NxP on the the EVK?

0 Kudos