UUU support in docker container?

cancel
Showing results for 
Search instead for 
Did you mean: 

UUU support in docker container?

89 Views
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)
0 Kudos
4 Replies

5 Views
NXP TechSupport
NXP TechSupport

Could you tell us which board are you using?

0 Kudos

5 Views
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

5 Views
NXP TechSupport
NXP TechSupport

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

0 Kudos

5 Views
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