UUU support in docker container?

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

UUU support in docker container?

2,130 Views
cnspring2002
Contributor II

I'm using uuu to flash to imx boards, like uuu -m 1:3 -b sd /tmp/uboot

It works fine when I execute in linux host, but if I run it in any docker container, it just hang.

The docker command I used is:

docker run -it --privileged -v /dev:/dev ubuntu:18.04 bash

Any suggestion on how I can make uuu work in docker container?

Tags (1)
6 Replies

1,030 Views
szSteiner
Contributor I

Hello is their a new Update on this Problem.
I have currently the same behaviour.
uuu does not recognize updates on the usb device.

0 Kudos

1,581 Views
max91
Contributor I

Hi NXP TechSupport,

we have the same problem with i.MX 8X. We were able to flash the QNX and Hypervisor on the ECU with the files on our laptop. If we put the files in a docker container and try to flash, it stops due to a problem with the USB connection.

Do you know what might cause the problem? Is there a security problem with the USB and docker container?

 

Thank you in advance.

2,046 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Could you tell us which board are you using?

2,046 Views
cnspring2002
Contributor II

I tried 6q-sabresd, but the truth is: even change to other board, all are ok if I use UUU in linux/windows.

The issue just happen when I use UUU in docker container.

I guess UUU need something special not just libusb?

0 Kudos

2,046 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

It maybe caused by the usb driver need. Which linux system on your docker container?

0 Kudos

2,046 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

For uuu support work on window system and linux,

Under Windows (should be as admin):

  • For SD card:
    • Linux:  
      • .\uuu -b sd_all imx-boot-imx8mmevk-sd.bin-flash_evk fsl-image-validation-imx-imx8mmevk.sdcard
  • For EMMC:
    • Linux: 
      • .\uuu -b emmc_all imx-boot-imx8mmevk-sd.bin-flash_evk fsl-image-validation-imx-imx8mmevk.sdcard
      • or
      • .\uuu.exe uuu.auto 
    • Android:  
      • .\uuu_imx_android_flash.bat -f imx8mm -u trusty

 

Under Linux:

  • For EMMC
    • Linux:
      • sudo .\uuu uuu.auto
0 Kudos