Cannot find Arducam Jetvariety deb package for NVIDIA Jetson Orin NX Jetpack 5.1.1

Hi everyone, I’m trying to get the Arducam Jetvariety camera driver installed on a Jetson Orin NX, but I’m stuck. The system is JetPack 5.1.1 (R35.3.1), kernel 5.10.104-tegra-35.3.1-20230319081403, on a NVIDIA Orin NX Developer Kit. From what I can tell, this JetPack version only lists the Orin Nano, not the Orin NX, and I can’t find a matching deb package for the Orin NX. Has anyone run into this?

Thanks for the details. The Jetvariety camera is supported on the Orin NX, but the JetPack version has to match what’s listed in the compatibility docs. In your case you’d need to flash the module to a supported JetPack version. The supported versions are listed here: Introduction to Arducam Jetson Cameras - Arducam Wiki — the key point is that Orin NX support is tied to using one of those supported JetPack versions, not just any L4T release.

I know JetPack 5.1 is listed as supported, but do you have any idea when 5.1.1 for the Orin NX will be added? Also, when I tried 5.1 earlier, the install failed with: RuntimeError: No DTB found for NVIDIA Orin NX Developer Kit! Not sure if that’s related.

Could you post a photo of the front and back of the Jetson device? I want to check exactly which carrier board / hardware platform you’re running, since that affects the DTB matching.

It’s a Seed Studio A603 carrier board with the Jetson Orin NX module.

Got it — that’s a third-party carrier board, and that may be the problem. Some Arducam cameras are not compatible with those boards. With a third-party carrier we can’t tell whether the failure is the camera or the hardware platform. The best test is to try the camera on the official NVIDIA development kit and see if it works there.

I tested the same camera on a Seed Studio A203v2 with a Jetson Xavier NX on JetPack 5.0.2 and it worked fine. That’s why I wanted to get it going on the A603 with the Orin NX. Any word on when the Orin NX JetPack 5.1.1 driver will be released?

At the moment I can’t give you an exact date for the 5.1.1 adaptation — we’ve had a heavy workload recently and there’s no ETA available right now.

Here’s the full error from trying JetPack 5.1 on the Seed Studio A603 with the Orin NX.

Command:

./install_full.sh -m arducam

Log:

./install_full.sh: line 241: warning: command substitution: ignored null byte in input
NVIDIA Orin NX Developer Kit
--2023-06-26 12:31:48--  https://github.com/ArduCAM/MIPI_Camera/releases/download/v0.0.3/modules.txt
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/186627215/7eb06e99-349d-4522-bee5-bc5731278d7a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230626%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230626T103148Z&X-Amz-Expires=300&X-Amz-Signature=45359a204ddaa56da7b96c94dac4652498d7ad2b493a49457656bcc9841bb8a3&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=186627215&response-content-disposition=attachment%3B%20filename%3Dmodules.txt&response-content-type=application%2Foctet-stream [following]
--2023-06-26 12:31:48--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/186627215/7eb06e99-349d-4522-bee5-bc5731278d7a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230626%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230626T103148Z&X-Amz-Expires=300&X-Amz-Signature=45359a204ddaa56da7b96c94dac4652498d7ad2b493a49457656bcc9841bb8a3&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=186627215&response-content-disposition=attachment%3B%20filename%3Dmodules.txt&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.111.133, 185.199.110.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1082 (1,1K) [application/octet-stream]
Saving to: 'modules.txt'
modules.txt         100%[===================>]   1,06K  --.-KB/s    in 0s
2023-06-26 12:31:48 (19,5 MB/s) - 'modules.txt' saved [1082/1082]
--2023-06-26 12:31:48--  https://github.com/ArduCAM/MIPI_Camera/releases/download/v0.0.3/arducam_links.txt
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/186627215/bde7a14a-3d5c-41bf-ba4d-43b04325c829?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230626%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230626T103149Z&X-Amz-Expires=300&X-Amz-Signature=8fc6986619d225e217a5c7f748b3d47c8612980a56d8d59c5fe73d486e7175f1&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=186627215&response-content-disposition=attachment%3B%20filename%3Darducam_links.txt&response-content-type=application%2Foctet-stream [following]
--2023-06-26 12:31:49--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/186627215/bde7a14a-3d5c-41bf-ba4d-43b04325c829?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230626%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230626T103149Z&X-Amz-Expires=300&X-Amz-Signature=8fc6986619d225e217a5c7f748b3d47c8612980a56d8d59c5fe73d486e7175f1&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=186627215&response-content-disposition=attachment%3B%20filename%3Darducam_links.txt&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.111.133, 185.199.110.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9511 (9,3K) [application/octet-stream]
Saving to: 'arducam_links.txt'
arducam_links.txt   100%[===================>]   9,29K  --.-KB/s    in 0,003s
2023-06-26 12:31:49 (3,53 MB/s) - 'arducam_links.txt' saved [9511/9511]
--2023-06-26 12:31:49--  https://github.com/ArduCAM/MIPI_Camera/releases/download/v0.0.1-orin-nx/arducam-nvidia-l4t-kernel-t234-5.10.104-tegra-35.2.1-20230315052005_arm64.deb
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/186627215/53d4de4d-88bb-485d-9fc3-e36561f228cb?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230626%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230626T103149Z&X-Amz-Expires=300&X-Amz-Signature=c0299a9a8f88e464da256f2cf8bbac94ed04d016aea5ec285c8d13bfc6c21e12&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=186627215&response-content-disposition=attachment%3B%20filename%3Darducam-nvidia-l4t-kernel-t234-5.10.104-tegra-35.2.1-20230315052005_arm64.deb&response-content-type=application%2Foctet-stream [following]
--2023-06-26 12:31:49--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/186627215/53d4de4d-88bb-485d-9fc3-e36561f228cb?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230626%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230626T103149Z&X-Amz-Expires=300&X-Amz-Signature=c0299a9a8f88e464da256f2cf8bbac94ed04d016aea5ec285c8d13bfc6c21e12&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=186627215&response-content-disposition=attachment%3B%20filename%3Darducam-nvidia-l4t-kernel-t234-5.10.104-tegra-35.2.1-20230315052005_arm64.deb&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.111.133, 185.199.110.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9738968 (9,3M) [application/octet-stream]
Saving to: 'arducam-nvidia-l4t-kernel-t234-5.10.104-tegra-35.2.1-20230315052005_arm64.deb'
arducam-nvidia-l4t- 100%[===================>]   9,29M  11,0MB/s    in 0,8s
2023-06-26 12:31:51 (11,0 MB/s) - 'arducam-nvidia-l4t-kernel-t234-5.10.104-tegra-35.2.1-20230315052005_arm64.deb' saved [9738968/9738968]
[sudo] password for nvidia:
Selecting previously unselected package arducam-nvidia-l4t-kernel.
(Reading database ... 146182 files and directories currently installed.)
Preparing to unpack arducam-nvidia-l4t-kernel-t234-5.10.104-tegra-35.2.1-20230315052005_arm64.deb ...
Unpacking arducam-nvidia-l4t-kernel (5.10.104-tegra-35.2.1-20230315052005) ...
Setting up arducam-nvidia-l4t-kernel (5.10.104-tegra-35.2.1-20230315052005) ...
Traceback (most recent call last):
  File "/opt/arducam/jetson-io/config-by-hardware.py", line 125, in <module>
    main()
  File "/opt/arducam/jetson-io/config-by-hardware.py", line 94, in main
    jetson = board.Board()
  File "/opt/arducam/jetson-io/Jetson/board.py", line 230, in __init__
    self.dtb = _board_get_dtb(self.compat, self.model, dtbdir)
  File "/opt/arducam/jetson-io/Jetson/board.py", line 114, in _board_get_dtb
    raise RuntimeError("No DTB found for %s!" % model)
RuntimeError: No DTB found for NVIDIA Orin NX Developer Kit!
An unknown error occurred while installing dtoverlays.
dpkg: error processing package arducam-nvidia-l4t-kernel (--install):
 installed arducam-nvidia-l4t-kernel package post-installation script subprocess returned error exit status 255
Errors were encountered while processing:
 arducam-nvidia-l4t-kernel
Unknown error, please send the error message to Arducam support.

For comparison, the A203v2 with Xavier NX on JetPack 5.0.2 worked fine, and the A603 is supposed to be very similar.

Looking at that log, this is the third-party carrier board issue. The install script picks up ‘NVIDIA Orin NX Developer Kit’ and then fails in the post-install step because it can’t find a matching DTB. The Jetvariety driver is not compatible with third-party carrier boards, so the install can’t complete on that board. An official carrier board is required for the driver to install properly.

Thanks. Is there a carrier board you’d recommend that definitely works with the Jetvariety? Also, would the Connect Tech Hadron be compatible with it?

To explain why this happens: we adapt the Jetvariety drivers against the official carrier board device trees. Third-party carrier boards use different device trees, and that mismatch is what causes the install to fail. Because of that, I can’t guarantee that a Connect Tech carrier board (or any third-party board) will work with the Jetvariety drivers. The safest path is an official carrier board, and if you try the camera on the official dev kit and it still fails, let us know.