Flashing with sdkmanager docker image - usb bind problem

Hello,
I am trying to install and flash AGX with dockerized SDKManager for Ubuntu-18.

The following command:
docker run -it --network host --rm --privileged -v /dev/bus/usb:/dev/bus/usb/ -v /dev:/dev -v /media/$USER:/media/nvidia:slave -v ./data/flasher-downloads:/home/nvidia/Downloads sdkmanager:2.2.0.12028-Ubuntu_18.04 --cli

Yields an error:
docker: Error response from daemon: path /host_mnt/media/jj is mounted on /host_mnt/media but it is not a shared or slave mount

If I remove the :slave suffix, the entire installation process goes as normal, but the container is unable to detect connected USB devices (lsusb gives nothing).

Setup details:

  • Host system is Ubuntu 22.
  • I have bound the nvidia/Downloads folder to have be able to modify and flash custom images

Regards,
jaglaz

Hi,

If you are designing a custom base board, then it means some adaptation configurations are needed.
Otherwise, your board may not work fine.

For Orin AGX series, you could refer to below document

(please be aware that above link is for rel-36.3/jetpack6.0)

This document includes below configuration

  1. pinmux change & GPIO configuration
  2. EEPROM change as most custom boards do not have an EEPROM on it.
  3. Kernel porting
  4. PCIe configuration
  5. USB configuration
  6. MGBE configuration
  7. RGMII configuration

Thanks!

Hi,

What is your target JP version?

Thanks

Hi,
for now I’m trying with the JP 4.6.6.

Regards,
jaglaz

Hi jaglaz,

Do you have a native ubuntu?
Or you are using docker with a windows?

Thanks,
David

The host system is Ubuntu-22. The downloads folder from the container is shared to my host machine.


Another thing worth mentioning is an error a warning about file system mismatch.

The current image only supports to be installed on an EXT4 file system, continue installing may cause flashing failure later.

Im not sure though how it is of any importance at this stage, since there is no flashing initialized due to no USBs ;)

Edit: the warning shows up when everything is downloaded and the installing process is about to start.

What is your target JP version?
Since your host system is a native ubuntu host, you could download bsp and rootfs manually to flash the device.

Thanks

Hello Dave, sorry for late response.

I did some experimentation with dockerized and virtualized flashers, I kept encountering various problems. For now I decided to flash the boards “the old way”.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.