Please provide the following info (check/uncheck the boxes after creating this topic):
Software Version
DRIVE OS Linux 5.2.6
DRIVE OS Linux 5.2.6 and DriveWorks 4.0
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version 6.0.9
other
Target Operating System
Linux
QNX
other
Hardware Platform
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other production kit
SDK Manager Version
1.9.1.10844
other
Host Machine Version
native Ubuntu 18.04
other, Ubuntu 20.04
I am setting up a cross-compilation environment to deploy code on the nvidia drive orin. Do I miss certain packages? My Dockerfile looks like this:
ENV DEBIAN_FRONTEND=noninteractive
# Copy the dependency files into the container
COPY deps/*.deb /tmp/
WORKDIR /tmp
ENV NV_WORKSPACE=/drive
RUN apt-get update && apt-get install -y \
gcc-aarch64-linux-gnu g++-aarch64-linux-gnu \
wget dpkg-dev
# Install CUDA, cuDNN, TensorRT, and DriveOS SDK
ADD deps/camera_tools_sdk6090_0.0.8.13_gravis/camera_api.tar.gz /tmp
RUN dpkg -i cuda-repo-cross-aarch64-ubuntu2004-11-4-local_11.4.28-1_all.deb
RUN dpkg -i cuda-repo-ubuntu2004-11-4-local_11.4.28-535.104.12-1_amd64.deb
RUN dpkg -i cudnn-local-repo-cross-aarch64-ubuntu2004-8.9.2.19_1.0-1_all.deb
RUN dpkg -i cudnn-local-repo-ubuntu2004-8.9.2.19_1.0-1_amd64.deb
RUN dpkg -i nv-driveos-repo-sdk-linux-6.0.9.0-35041135_6.0.9.0_amd64.deb
RUN dpkg -i nv-tensorrt-repo-ubuntu2004-cuda11.4-trt8.6.12.4-d6l-cross-ga-20231014_1-1_amd64.deb
RUN dpkg -i nv-tensorrt-repo-ubuntu2004-cuda11.4-trt8.6.12.4-x86-host-ga-20231014_1-1_amd64.deb
# Copy keyrings to the system keyrings directory
RUN cp /var/cuda-repo-ubuntu2004-11-4-local/*.gpg /usr/share/keyrings/ && \
cp /var/cuda-repo-cross-aarch64-ubuntu2004-11-4-local/*.gpg /usr/share/keyrings/ && \
cp /var/cudnn-local-repo-ubuntu2004-8.9.2.19/*.gpg /usr/share/keyrings/ && \
cp /var/cudnn-local-repo-cross-aarch64-ubuntu2004-8.9.2.19/*.gpg /usr/share/keyrings/ && \
cp /var/nv-tensorrt-repo-ubuntu2004-cuda11.4-trt8.6.12.4-d6l-cross-ga-20231014/*.gpg /usr/share/keyrings/ && \
cp /var/nv-tensorrt-repo-ubuntu2004-cuda11.4-trt8.6.12.4-x86-host-ga-20231014/*.gpg /usr/share/keyrings/
RUN apt-get update && \
apt-get install -y --no-install-recommends \
cuda-toolkit-11-4 \
libcudnn8 \
tensorrt \
gcc-aarch64-linux-gnu \
g++-aarch64-linux-gnu \
libc6-dev-arm64-cross \
linux-libc-dev-arm64-cross \
libstdc++-10-dev-arm64-cross \
&& apt-get clean
RUN mkdir -p $NV_WORKSPACE
RUN apt-get install -y nv-driveos-build-sdk-linux-6.0.9.0-35041135
Thanks!