Skip to content

Commit 35ec8dd

Browse files
Imported 35.3.1-5.1.1 source
1 parent 4609206 commit 35ec8dd

File tree

231 files changed

+16718
-18879
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

231 files changed

+16718
-18879
lines changed

README.md

+12-7
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,25 @@
1-
# NVIDIA Jetson driver
1+
# NVIDIA Jetson driver (Beta)
22

33

4-
Driver for Allied Vision Alvium MIPI cameras for NVIDIA Jetson with JetPack 5.1 (L4T 35.2.1)
4+
Driver (Beta) for Allied Vision Alvium MIPI cameras for NVIDIA Jetson with JetPack 5.1.1 (L4T 35.3.1)
55
https://developer.nvidia.com/embedded/jetpack
66
![Alvium camera](https://cdn.alliedvision.com/fileadmin/content/images/cameras/Alvium/various/alvium-cameras-models.png)
77

8+
THE SOFTWARE IS PRELIMINARY AND STILL IN TESTING AND VERIFICATION PHASE AND IS PROVIDED ON AN “AS IS” AND “AS AVAILABLE” BASIS AND IS BELIEVED TO CONTAIN DEFECTS. A PRIMARY PURPOSE OF THIS EARLY ACCESS IS TO OBTAIN FEEDBACK ON PERFORMANCE AND THE IDENTIFICATION OF DEFECT SOFTWARE, HARDWARE AND DOCUMENTATION.
9+
10+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
11+
812
## Overview
913

1014
The scripts in this project build and install the Allied Vision MIPI camera driver to the NVIDIA Jetson boards.
1115

12-
Compatible platforms with JetPack 5.1 (L4T 35.2.1) :
16+
Compatible platforms with JetPack 5.1.1 (L4T 35.3.1) :
1317

1418
- AGX Orin Developer Kit
1519
- AGX Xavier DevKit
1620
- Xavier NX DevKit
17-
- Auvidea carrier JNX30-PD with Xavier NX
21+
- Auvidea carrier JNX30-PD with Xavier NX
22+
- Orin Nano Developer Kit (**NEW**)
1823

1924
***Before starting the installation, make sure to create a backup of your Jetson system.***
2025

@@ -23,9 +28,9 @@ Compatible platforms with JetPack 5.1 (L4T 35.2.1) :
2328
### Host PC
2429
The scripts for the driver installation require Git on the host PC.
2530

26-
### Install JetPack 5.1
31+
### Install JetPack 5.1.1
2732

28-
Install JetPack 5.1 (L4T 35.2.1) as per NVIDIA's instructions
33+
Install JetPack 5.1.1 (L4T 35.3.1) as per NVIDIA's instructions
2934
https://developer.nvidia.com/embedded/jetpack
3035

3136
Recommendation: Use NVIDIA SDK Manager to install JetPack and useful tools such as CUDA.
@@ -41,7 +46,7 @@ https://docs.nvidia.com/sdk-manager/
4146
Install the precompiled kernel, which includes the driver and an installation menu.
4247

4348
1. Extract the tarball on a host PC.
44-
The tarball contains helper scripts and another tarball with the precompiled binaries named AlliedVision_NVidia_L4T_35.2.1.0_<git-rev>.tar.gz.
49+
The tarball contains helper scripts and another tarball with the precompiled binaries named AlliedVision_NVidia_L4T_35.3.1.0_<git-rev>.tar.gz.
4550

4651
2. Copy the tarball to the target board.
4752
3. On the target board, extract the tarball and run the included install script.

avt_build/jetson_build/board.py

+4-6
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
from . import upstream
44
from . import build
55

6-
AVT_RELEASE = "5.1.0"
6+
AVT_RELEASE = "5.1.1"
77
KERNEL_RELEASE = "5.10.104-tegra"
8-
L4T_VERSION = "35.2.1"
8+
L4T_VERSION = "35.3.1"
99

1010
FileSet = namedtuple('FileSet', [
1111
'driver_package',
@@ -14,9 +14,9 @@
1414

1515

1616
def get_tx2_agx_nx_upstream_files(UpstreamFile):
17-
driver_package = UpstreamFile("https://developer.download.nvidia.com/embedded/L4T/r35_Release_v2.1/release/Jetson_Linux_R35.2.1_aarch64.tbz2", "9959bcd3de79de231a8fb54119f9cdb57a753542d44d994e346664028142d40d")
17+
driver_package = UpstreamFile("https://developer.download.nvidia.com/embedded/L4T/r35_Release_v3.1/release/Jetson_Linux_R35.3.1_aarch64.tbz2", "80a55504a2ce9cdc0a328edb6fd0690615c4ffde9c2b32f4e64e0a1a3432a2e2")
1818
#rootfs = UpstreamFile("https://developer.nvidia.com/embedded/l4t/r32_release_v7.1/t186/tegra_linux_sample-root-filesystem_r32.7.1_aarch64.tbz2", "17996e861dd092043509e0b7e9ae038e271e5b0b7b78f26a34db4f03df2b12b8")
19-
public_sources = UpstreamFile("https://developer.download.nvidia.com/embedded/L4T/r35_Release_v2.1/sources/public_sources.tbz2", "ae9d2f903347013a915b128cf311899a24c6ba21e13607cdbde785e1f0557449")
19+
public_sources = UpstreamFile("https://developer.download.nvidia.com/embedded/L4T/r35_Release_v3.1/sources/public_sources.tbz2", "cd914110043cdb2a19a298fefc52d9dacbbcd560f781955fe03a1e98b470f2ae")
2020

2121
return FileSet(
2222
public_sources=public_sources,
@@ -35,11 +35,9 @@ def get_tx2_agx_nx_upstream_files(UpstreamFile):
3535

3636
bootloader_payload_files_xavier = [
3737
("bootloader/payloads_t19x/bl_only_payload", "opt/ota_package/t19x/bl_only_payload"),
38-
("bootloader/payloads_t19x/bl_update_payload", "opt/ota_package/t19x/bl_update_payload"),
3938
("bootloader/payloads_t19x/TEGRA_BL.Cap", "opt/ota_package/t19x/TEGRA_BL.Cap"),
4039
("bootloader/BOOTAA64.efi", "opt/ota_package/t19x/BOOTAA64.efi"),
4140
("bootloader/payloads_t23x/bl_only_payload", "opt/ota_package/t23x/bl_only_payload"),
42-
("bootloader/payloads_t23x/bl_update_payload", "opt/ota_package/t23x/bl_update_payload"),
4341
("bootloader/payloads_t23x/TEGRA_BL.Cap", "opt/ota_package/t23x/TEGRA_BL.Cap"),
4442
("bootloader/BOOTAA64.efi", "opt/ota_package/t23x/BOOTAA64.efi")
4543
]

avt_build/jetson_build/deploy.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def build_kernel_deb(args, board):
4242
logging.info("Adding display drivers")
4343
os.makedirs(board.build_dir / "Linux_for_Tegra/kernel/origin/display", exist_ok=True)
4444
t.execute(["tar","xf",board.build_dir / "Linux_for_Tegra/kernel/kernel_display_supplements.tbz2","-C",board.build_dir / "Linux_for_Tegra/kernel/origin/display"])
45-
shutil.copytree(board.build_dir / f"Linux_for_Tegra/kernel/origin/display/lib/modules/{KERNEL_RELEASE}/extra",board.build_dir / f"Linux_for_Tegra/kernel/avt/kernel/debian/out/lib/modules/{kernel_release}/extra")
45+
t.execute(['sudo', 'cp', '-a', board.build_dir / f"Linux_for_Tegra/kernel/origin/display/lib/modules/{KERNEL_RELEASE}/extra", board.build_dir / f"Linux_for_Tegra/kernel/avt/kernel/debian/out/lib/modules/{kernel_release}/extra"])
4646

4747

4848
for ef in board.kernel_extra_files:

avt_build/jetson_build/files/bootloader/config

+11-3
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,11 @@ nx_devkit = BoardDefinition('Jetson Xavier NX devkit', '0x19', '3668', [
7777

7878
Configuration('Auvidea JNX30', 'tegra194-p3668-0000-p3509-0000-auvidea-jnx30.dtb', '0000'),
7979
Configuration('Auvidea JNX30', 'tegra194-p3668-0001-p3509-0000-auvidea-jnx30.dtb', '0001'),
80+
Configuration('Auvidea JNX30D', 'tegra194-p3668-0000-p3509-0000-auvidea-jnx30d.dtb', '0000'),
81+
Configuration('Auvidea JNX30D', 'tegra194-p3668-0001-p3509-0000-auvidea-jnx30d.dtb', '0001'),
8082
#NX 16GB
8183
Configuration('Auvidea JNX30', 'tegra194-p3668-0001-p3509-0000-auvidea-jnx30.dtb', '0003'),
84+
Configuration('Auvidea JNX30D', 'tegra194-p3668-0001-p3509-0000-auvidea-jnx30d.dtb', '0003'),
8285

8386
#Configuration('Auvidea JNX30+38491 FPD-Link (beta)', 'tegra194-p3668-all-p3509-0000-auvidea-jnx30-38491.dtb', '0000', beta=True, rootfs='/dev/mmcblk1p1'),
8487
#Configuration('Auvidea JNX30+38491 FPD-Link (beta)', 'tegra194-p3668-all-p3509-0000-auvidea-jnx30-38491.dtb', '0001', beta=True, rootfs='/dev/mmcblk1p1'),
@@ -99,15 +102,20 @@ agx_orin_devkit = BoardDefinition('Jetson AGX Orin devkit', '0x23', '3701', [
99102
Configuration('None', 'tegra234-p3701-0004-p3737-0000.dtb', '0004'),
100103
])
101104

102-
orin_nx_devkit = BoardDefinition('Jetson Orin NX devkit', '0x23', '3767', [
103-
Configuration('2 cameras', 'tegra234-p3767-0000-p3509-a02.dtb', '0000'),
105+
orin_nx_nano_devkit = BoardDefinition('Jetson Orin Nano/NX devkit', '0x23', '3767', [
106+
Configuration('2 cameras', 'tegra234-p3767-0000-p3768-0000-a0.dtb', '0000'),
107+
Configuration('2 cameras', 'tegra234-p3767-0001-p3768-0000-a0.dtb', '0001'),
108+
109+
Configuration('2 cameras', 'tegra234-p3767-0003-p3768-0000-a0.dtb', '0003'),
110+
Configuration('2 cameras', 'tegra234-p3767-0004-p3768-0000-a0.dtb', '0004'),
111+
Configuration('2 cameras', 'tegra234-p3767-0003-p3768-0000-a0.dtb', '0005'),
104112
])
105113

106114
boards = [
107115
agx_devkit,
108116
nx_devkit,
109117
agx_orin_devkit,
110-
orin_nx_devkit
118+
orin_nx_nano_devkit
111119
]
112120

113121
_label_keywords = ['APPEND', 'FDT', 'FDTDIR', 'INITRD', 'LINUX', 'MENU']

avt_build/jetson_build/files/bootloader/control

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Maintainer: Allied Vision Technologies GmbH
33

44
Package: avt-nvidia-l4t-bootloader
55
Architecture: arm64
6-
Pre-Depends: nvidia-l4t-core (>> 35.2-0), nvidia-l4t-core (<< 35.3-0)
7-
Depends: nvidia-l4t-tools (>> 35.2-0), nvidia-l4t-tools (<< 35.3-0), nvidia-l4t-init (>> 35.2-0), nvidia-l4t-init (<< 35.3-0)
8-
Conflicts: nvidia-l4t-bootloader (<< 35.3-0)
6+
Pre-Depends: nvidia-l4t-core (>> 35.3-0), nvidia-l4t-core (<< 35.4-0)
7+
Depends: nvidia-l4t-tools (>> 35.3-0), nvidia-l4t-tools (<< 35.4-0), nvidia-l4t-init (>> 35.3-0), nvidia-l4t-init (<< 35.4-0)
8+
Conflicts: nvidia-l4t-bootloader (<< 35.4-0)
99
Section: bootloader
1010
Priority: standard
1111
Homepage: http://developer.nvidia.com/jetson

avt_build/jetson_build/files/kernel-deb/control

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Maintainer: Allied Vision Technologies GmbH
33

44
Package: avt-nvidia-l4t-kernel
55
Architecture: arm64
6-
Pre-Depends: nvidia-l4t-core (>> 35.2-0), nvidia-l4t-core (<< 35.3-0)
7-
Depends: nvidia-l4t-tools (>> 35.2-0), nvidia-l4t-tools (<< 35.3-0)
8-
Conflicts: nvidia-l4t-kernel (<< 35.3-0)
6+
Pre-Depends: nvidia-l4t-core (>> 35.3-0), nvidia-l4t-core (<< 35.4-0)
7+
Depends: nvidia-l4t-tools (>> 35.3-0), nvidia-l4t-tools (<< 35.4-0)
8+
Conflicts: nvidia-l4t-kernel (<< 35.4-0)
99
Section: kernel
1010
Priority: standard
1111
Homepage: http://developer.nvidia.com/jetson

avt_build/jetson_build/files/kernel-dtb-deb/control

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Maintainer: Allied Vision Technologies GmbH
33

44
Package: avt-nvidia-l4t-kernel-dtbs
55
Architecture: arm64
6-
Pre-Depends: nvidia-l4t-core (>> 35.2-0), nvidia-l4t-core (<< 35.3-0)
6+
Pre-Depends: nvidia-l4t-core (>> 35.3-0), nvidia-l4t-core (<< 35.4-0)
77
Depends: device-tree-compiler, avt-nvidia-l4t-kernel (= ${KERNEL_RELEASE}-${L4T_VERSION}-${AVT_RELEASE})
8-
Conflicts: nvidia-l4t-kernel-dtbs (<< 35.3-0)
8+
Conflicts: nvidia-l4t-kernel-dtbs (<< 35.4-0)
99
Section: kernel
1010
Priority: standard
1111
Homepage: http://developer.nvidia.com/jetson

avt_build/jetson_build/files/kernel-headers-deb/control

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Maintainer: Allied Vision Technologies GmbH
33

44
Package: avt-nvidia-l4t-kernel-headers
55
Architecture: arm64
6-
Pre-Depends: nvidia-l4t-core (>> 35.2-0), nvidia-l4t-core (<< 35.3-0)
6+
Pre-Depends: nvidia-l4t-core (>> 35.3-0), nvidia-l4t-core (<< 35.4-0)
77
Depends: libc6, avt-nvidia-l4t-kernel (= ${KERNEL_RELEASE}-${L4T_VERSION}-${AVT_RELEASE})
8-
Conflicts: nvidia-l4t-kernel-headers (<< 35.3-0)
8+
Conflicts: nvidia-l4t-kernel-headers (<< 35.4-0)
99
Section: kernel
1010
Priority: standard
1111
Homepage: http://developer.nvidia.com/jetson

hardware/nvidia/platform/t19x/common/kernel-dts/t19x-common-modules/tegra194-cvm-e3360-0000-a00.dtsi

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
2+
* Copyright (c) 2017-2023, NVIDIA CORPORATION. All rights reserved.
33
*
44
* This program is free software; you can redistribute it and/or modify it
55
* under the terms and conditions of the GNU General Public License,
@@ -32,6 +32,10 @@
3232
#address-cells = <2>;
3333
#size-cells = <2>;
3434

35+
nvpmodel {
36+
status = "okay";
37+
};
38+
3539
pmc@c360000 {
3640
#if TEGRA_PMC_VERSION >= DT_VERSION_2
3741
nvidia,invert-interrupt;

hardware/nvidia/platform/t19x/common/kernel-dts/t19x-common-modules/tegra194-cvm-p2888-0000-a00.dtsi

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
2+
* Copyright (c) 2017-2023, NVIDIA CORPORATION. All rights reserved.
33
*
44
* This program is free software; you can redistribute it and/or modify it
55
* under the terms and conditions of the GNU General Public License,
@@ -32,6 +32,10 @@
3232
#address-cells = <2>;
3333
#size-cells = <2>;
3434

35+
nvpmodel {
36+
status = "okay";
37+
};
38+
3539
pmc@c360000 {
3640
#if TEGRA_PMC_VERSION >= DT_VERSION_2
3741
nvidia,invert-interrupt;

hardware/nvidia/platform/t19x/common/kernel-dts/t19x-common-platforms/tegra194-platforms-eqos.dtsi

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
nvidia,mtl-queues = <0>;
3737
nvidia,rx-queue-prio = <0x2>;
3838
nvidia,tx-queue-prio = <0x0>;
39-
/* 0=enable, 1=disable */
40-
nvidia,pause_frames = <0>;
39+
/* 1=enable, 0=disable */
40+
nvidia,pause_frames = <1>;
4141
nvidia,phy-reset-gpio = <&tegra_main_gpio TEGRA194_MAIN_GPIO(G, 5) 0>;
4242
phy-mode = "rgmii-id";
4343
phy-handle = <&phy>;

hardware/nvidia/platform/t19x/jakku/kernel-dts/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ dtb-$(BUILD_ENABLE) += tegra194-p3668-all-p3509-0000.dtb
1313
dtb-$(BUILD_ENABLE) += tegra194-p3668-0000-p3509-0000.dtb
1414
dtb-$(BUILD_ENABLE) += tegra194-p3668-0000-p3509-0000-avt.dtb
1515
dtb-$(BUILD_ENABLE) += tegra194-p3668-0000-p3509-0000-auvidea-jnx30.dtb
16+
dtb-$(BUILD_ENABLE) += tegra194-p3668-0000-p3509-0000-auvidea-jnx30d.dtb
1617
dtb-$(BUILD_ENABLE) += tegra194-p3668-0001-p3509-0000.dtb
1718
dtb-$(BUILD_ENABLE) += tegra194-p3668-0001-p3509-0000-avt.dtb
1819
dtb-$(BUILD_ENABLE) += tegra194-p3668-0001-p3509-0000-auvidea-jnx30.dtb
20+
dtb-$(BUILD_ENABLE) += tegra194-p3668-0001-p3509-0000-auvidea-jnx30d.dtb
1921
dtb-$(CONFIG_ARCH_TEGRA_19x_SOC) += tegra194-p3668-all-p3509-0000-kexec.dtb
2022
dtbo-$(BUILD_ENABLE) += tegra194-p3668-all-p3509-0000-hdr40.dtbo
2123
dtbo-$(BUILD_ENABLE) += tegra194-p3668-all-p3509-0000-adafruit-sph0645lm4h.dtbo

0 commit comments

Comments
 (0)