UUU support in docker container?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

UUU support in docker container?

3,984件の閲覧回数
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,884件の閲覧回数
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,435件の閲覧回数
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,900件の閲覧回数
Rita_Wang
NXP TechSupport
NXP TechSupport

Could you tell us which board are you using?

3,900件の閲覧回数
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,900件の閲覧回数
Rita_Wang
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信

3,900件の閲覧回数
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 件の賞賛
返信