Flashing TX1 from inside of a docker image.


I do all of my development work inside of a docker image. I’d like to build an image that I can use for TX1 work as well, I have an image with Jetpack installed but I think there may be an issue when flashing the TX1 from within the image.
lsusb indicates that the TX1 is in recovery mode and pass through to the docker image correctly, as would be the concern with a traditional image.

lsusb -d 0955:7721
Bus 001 Device 008: ID 0955:7721 NVidia Corp.

However I get this when I try to flash.

sudo ./flash.sh jetson-tx1 mmcblk0p1

[ 0.1826 ] Sending BCTs
[ 0.1838 ] tegrarcm --download bct P2180_A00_LP4_DSC_204Mhz.bct
[ 0.1848 ] USB communication failed.Check if device is in recovery

Any tips

What speeds are supported on your USB from the docker image? I think anything other than USB2 would fail. USB2 lists as 480M on the right side of a node listed via “lsusb -t” (tree mode). If any device in the chain of HUBs does not support USB2 this could possibly cause the problem.

How did you build the docker environment for the TX1? Could you provide a link to it?