NVIDIA / NVIDIA/TensorRT

Cross compiling for Jetson Nano needs better support!!!!

Open
#1,168 17 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Module:Embedded Module:OSS Build triaged
Dominant language
C++
Stars
13.4k
Forks
2.4k
Avg merge
5d 3h
Merged PRs (30d)
2

Description

This is here for anyone else trying to cross compile for Jetson. If you want to use the cross compile docker image, this post has workarounds for step 3, "(Optional) JetPack SDK for Jetson builds" (which you have to do)

They say just install the SDK manager and copy the files over. Ha! Here's what you really need to do:

1). The SDK manager only runs on Linux
2). The Docker image for the SDK manager WILL NOT let you "just download files." If you don't flash the target from the SDK, then you won't be able to get the files
3). Even if you run Ubuntu, or run it in a VM, IT STILL WONT LET YOU DOWNLOAD the Jetpack files. You'll have to hack your OS according to these instructions: https://forums.developer.nvidia.com/t/sdkmanager-not-supported-on-linux/71742/8. Note, I used the trick related to the file "/usr/lib/os-release-bionic," not the other tricks

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the cross-compile Docker image and the optional “JetPack SDK for Jetson builds” step described in the issue. Reproduce the SDK Manager download limitation on Linux or a VM, review the linked NVIDIA forum workaround involving /usr/lib/os-release-bionic, and define done as a supported way to obtain the required JetPack files without manually hacking the host.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, linux
Domain
build-system, embedded-iot
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.