UUU support in docker container?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

UUU support in docker container?

3,986 次查看
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?

标记 (1)
6 回复数

2,886 次查看
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 项奖励
回复

3,437 次查看
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.

3,902 次查看
Rita_Wang
NXP TechSupport
NXP TechSupport

Could you tell us which board are you using?

3,902 次查看
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 项奖励
回复

3,902 次查看
Rita_Wang
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复

3,902 次查看
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 项奖励
回复