Skip to content

Commit 358a0e6

Browse files
Imported 35.5.0-5.1.3 source
1 parent d0e1114 commit 358a0e6

File tree

6,258 files changed

+93480
-67916
lines changed

Some content is hidden

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

6,258 files changed

+93480
-67916
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# NVIDIA Jetson driver (Beta)
22

33

4-
Driver (Beta) for Allied Vision Alvium MIPI cameras for NVIDIA Jetson with JetPack 5.1.2 (L4T 35.4.1)
4+
Driver (Beta) for Allied Vision Alvium MIPI cameras for NVIDIA Jetson with JetPack 5.1.3 (L4T 35.5.0)
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

@@ -13,7 +13,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
1313

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

16-
Compatible platforms with JetPack 5.1.2 (L4T 35.4.1) :
16+
Compatible platforms with JetPack 5.1.3 (L4T 35.5.0) :
1717

1818
- AGX Orin Developer Kit
1919
- AGX Xavier DevKit
@@ -29,9 +29,9 @@ Compatible platforms with JetPack 5.1.2 (L4T 35.4.1) :
2929
### Host PC
3030
The scripts for the driver installation require Git on the host PC.
3131

32-
### Install JetPack 5.1.2
32+
### Install JetPack 5.1.3
3333

34-
Install JetPack 5.1.2 (L4T 35.4.1) as per NVIDIA's instructions
34+
Install JetPack 5.1.3 (L4T 35.5.0) as per NVIDIA's instructions
3535
https://developer.nvidia.com/embedded/jetpack
3636

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

4949
1. Extract the tarball on a host PC.
50-
The tarball contains helper scripts and another tarball with the precompiled binaries named AlliedVision_NVidia_L4T_35.4.1.0_<git-rev>.tar.gz.
50+
The tarball contains helper scripts and another tarball with the precompiled binaries named AlliedVision_NVidia_L4T_35.5.0.0_<git-rev>.tar.gz.
5151

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

avt_build/jetson_build/board.py

+5-5
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.2"
7-
KERNEL_RELEASE = "5.10.120-tegra"
8-
L4T_VERSION = "35.4.1"
6+
AVT_RELEASE = "5.1.3"
7+
KERNEL_RELEASE = "5.10.192-tegra"
8+
L4T_VERSION = "35.5.0"
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_v4.1/release/Jetson_Linux_R35.4.1_aarch64.tbz2", "72b75a0c7fa3bf6ef41ae06634bb67c38a92682155d1206026dbee4a6b9a016f")
17+
driver_package = UpstreamFile("https://developer.download.nvidia.com/embedded/L4T/r35_Release_v5.0/release/Jetson_Linux_R35.5.0_aarch64.tbz2", "8cde3bd937d3eedb640a1c58d108c109f7cb904c38a03101dc17904b7d185ddf")
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_v4.1/sources/public_sources.tbz2", "cad6179ae16cc23720dc019f3a36f054df5d153ce833f45cf1bd09a376f5442c")
19+
public_sources = UpstreamFile("https://developer.download.nvidia.com/embedded/L4T/r35_Release_v5.0/sources/public_sources.tbz2", "89368d7003c278cdcf3746501db0ba5aa01f8cf9b39f2205d2d16c7852ab523e")
2020

2121
return FileSet(
2222
public_sources=public_sources,

avt_build/jetson_build/files/bootloader/config

+4
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,13 @@ nx_devkit = BoardDefinition('Jetson Xavier NX devkit', '0x19', '3668', [
9797
agx_orin_devkit = BoardDefinition('Jetson AGX Orin devkit', '0x23', '3701', [
9898
Configuration('2 cameras', 'tegra234-p3701-0000-p3737-0000-avt-14375-2cam.dtb', '0000'),
9999
Configuration('2 cameras', 'tegra234-p3701-0004-p3737-0000-avt-14375-2cam.dtb', '0004'),
100+
Configuration('2 cameras', 'tegra234-p3701-0005-p3737-0000-avt-14375-2cam.dtb', '0005'),
101+
Configuration('2 cameras', 'tegra234-p3701-0008-p3737-0000-avt-14375-2cam.dtb', '0008'),
100102

101103
Configuration('None', 'tegra234-p3701-0000-p3737-0000.dtb', '0000'),
102104
Configuration('None', 'tegra234-p3701-0004-p3737-0000.dtb', '0004'),
105+
Configuration('None', 'tegra234-p3701-0005-p3737-0000.dtb', '0005'),
106+
Configuration('None', 'tegra234-p3701-0008-p3737-0000.dtb', '0008'),
103107
])
104108

105109
orin_nx_nano_devkit = BoardDefinition('Jetson Orin Nano/NX devkit', '0x23', '3767', [

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.4-0), nvidia-l4t-core (<< 35.5-0)
7-
Depends: nvidia-l4t-tools (>> 35.4-0), nvidia-l4t-tools (<< 35.5-0), nvidia-l4t-init (>> 35.4-0), nvidia-l4t-init (<< 35.5-0)
8-
Conflicts: nvidia-l4t-bootloader (<< 35.5-0)
6+
Pre-Depends: nvidia-l4t-core (>> 35.5-0), nvidia-l4t-core (<< 35.6-0)
7+
Depends: nvidia-l4t-tools (>> 35.5-0), nvidia-l4t-tools (<< 35.6-0), nvidia-l4t-init (>> 35.5-0), nvidia-l4t-init (<< 35.6-0)
8+
Conflicts: nvidia-l4t-bootloader (<< 35.6-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.4-0), nvidia-l4t-core (<< 35.5-0)
7-
Depends: nvidia-l4t-tools (>> 35.4-0), nvidia-l4t-tools (<< 35.5-0)
8-
Conflicts: nvidia-l4t-kernel (<< 35.5-0)
6+
Pre-Depends: nvidia-l4t-core (>> 35.5-0), nvidia-l4t-core (<< 35.6-0)
7+
Depends: nvidia-l4t-tools (>> 35.5-0), nvidia-l4t-tools (<< 35.6-0)
8+
Conflicts: nvidia-l4t-kernel (<< 35.6-0)
99
Section: kernel
1010
Priority: standard
1111
Homepage: http://developer.nvidia.com/jetson
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
depmod -a "5.10.120-tegra"
3+
depmod -a "5.10.192-tegra"

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.4-0), nvidia-l4t-core (<< 35.5-0)
6+
Pre-Depends: nvidia-l4t-core (>> 35.5-0), nvidia-l4t-core (<< 35.6-0)
77
Depends: device-tree-compiler, avt-nvidia-l4t-kernel (= ${KERNEL_RELEASE}-${L4T_VERSION}-${AVT_RELEASE})
8-
Conflicts: nvidia-l4t-kernel-dtbs (<< 35.5-0)
8+
Conflicts: nvidia-l4t-kernel-dtbs (<< 35.6-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.4-0), nvidia-l4t-core (<< 35.5-0)
6+
Pre-Depends: nvidia-l4t-core (>> 35.5-0), nvidia-l4t-core (<< 35.6-0)
77
Depends: libc6, avt-nvidia-l4t-kernel (= ${KERNEL_RELEASE}-${L4T_VERSION}-${AVT_RELEASE})
8-
Conflicts: nvidia-l4t-kernel-headers (<< 35.5-0)
8+
Conflicts: nvidia-l4t-kernel-headers (<< 35.6-0)
99
Section: kernel
1010
Priority: standard
1111
Homepage: http://developer.nvidia.com/jetson

avt_build/jetson_build/installer/install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ NC='\033[0m'
3030
RED='\033[0;31m'
3131
GREEN='\033[0;32m'
3232
REQ_MACHINE="NVidia Jetson"
33-
REQ_KERNEL="5.10.120"
33+
REQ_KERNEL="5.10.192"
3434
DEST="/boot"
3535

3636

hardware/nvidia/platform/t19x/galen/kernel-dts/tegra194-p2888-0001-p2822-0000-overlay.dts

+53
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,57 @@
6161
};
6262
};
6363
};
64+
fragment-pcie-c1-rp-gen1@3 {
65+
target-path = "/";
66+
board_config {
67+
ids = "<2822-0000-200";
68+
};
69+
__overlay__ {
70+
pcie@14100000 {
71+
nvidia,max-speed = <1>;
72+
max-link-speed = <1>;
73+
};
74+
};
75+
};
76+
77+
fragment-pcie-c1-disable-aspm@4 {
78+
target-path = "/";
79+
board_config {
80+
ids = "<2822-0000-400";
81+
};
82+
83+
__overlay__ {
84+
pcie@14100000 {
85+
nvidia,disable-aspm-states = <0xf>;
86+
};
87+
};
88+
};
89+
90+
fragment-pcie-3v3-remove-gpio@5 {
91+
target-path = "/fixed-regulators/regulator@115";
92+
delete_prop = "gpio";
93+
board_config {
94+
ids = "<2822-0000-400";
95+
};
96+
};
97+
98+
fragment-pcie-12v-remove-gpio@6 {
99+
target-path = "/fixed-regulators/regulator@116";
100+
delete_prop = "gpio";
101+
board_config {
102+
ids = "<2822-0000-400";
103+
};
104+
};
105+
fragment-tegra-ufs-lane10@3 {
106+
target-path = "/";
107+
board_config {
108+
odm-data = "UFS_x1_L1";
109+
};
110+
111+
__overlay__ {
112+
ufshci@2450000 {
113+
status = "okay";
114+
};
115+
};
116+
};
64117
};

hardware/nvidia/platform/t19x/jakku/kernel-dts/common/tegra194-p3668-common.dtsi

+4-1
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,10 @@
413413
nvidia,disable-aspm-states = <0xf>;
414414
nvidia,enable-power-down;
415415
nvidia,max-speed = <3>;
416-
max-link-speed = <3>;
416+
/* Bug 4384809
417+
add max-link-speed property if want to limit pcie speed
418+
max-link-speed = <3>;
419+
*/
417420

418421
#if TEGRA_PCIE_VERSION >= DT_VERSION_2
419422
phys = <&p2u_nvhs_0>, <&p2u_nvhs_1>, <&p2u_nvhs_2>, <&p2u_nvhs_3>,

hardware/nvidia/platform/t19x/jakku/kernel-dts/common/tegra194-spmic-p3668.dtsi

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
interrupt-parent = <&tegra_pm_irq>;
3737
interrupts = <0 TEGRA194_IRQ_PMIC_EXT_INTR IRQ_TYPE_NONE>;
3838
#else
39-
interrupt-parent = <&intc>;
40-
interrupts = <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
39+
interrupt-parent = <&tegra_pmc>;
40+
interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
4141
#endif
4242

4343
#interrupt-cells = <2>;

hardware/nvidia/platform/t19x/jakku/kernel-dts/tegra194-p3668-p3509-overlay.dts

+3-63
Original file line numberDiff line numberDiff line change
@@ -71,34 +71,8 @@
7171
};
7272
};
7373

74-
/* Disable sdhci-SD for SKU1 */
75-
fragment@3 {
76-
target-path = "/";
77-
board_config {
78-
ids = ">=3668-0001-000";
79-
};
80-
__overlay__ {
81-
sdhci@3400000 {
82-
status = "disabled";
83-
};
84-
};
85-
};
86-
87-
/* Disable sdhci-emmc for SKU0 */
88-
fragment@4 {
89-
target-path = "/";
90-
board_config {
91-
ids = ">=3668-0000-000";
92-
};
93-
__overlay__ {
94-
sdhci@3460000 {
95-
status = "disabled";
96-
};
97-
};
98-
};
99-
10074
/* pcie-c5-c4-num-lanes */
101-
fragment@5 {
75+
fragment@3 {
10276
target-path = "/";
10377
board_config {
10478
ids = ">=3449-0000-000";
@@ -117,34 +91,11 @@
11791
};
11892
};
11993

120-
/* pcie-c5-rp */
121-
fragment@6 {
122-
target-path = "/";
123-
board_config {
124-
odm-data = "disable-pcie-c5-endpoint", "enable-nvhs-uphy-pcie-c5";
125-
};
126-
__overlay__ {
127-
pcie@141a0000 {
128-
status = "okay";
129-
};
130-
pcie_ep@141a0000 {
131-
status = "disabled";
132-
};
133-
#if TEGRA_PCIE_VERSION < DT_VERSION_2
134-
gpio@c2f0000 {
135-
pex-refclk-sel-low {
136-
status = "okay";
137-
};
138-
};
139-
#endif
140-
};
141-
};
142-
14394
/* pcie-c5-ep */
144-
fragment@7 {
95+
fragment@5 {
14596
target-path = "/";
14697
board_config {
147-
odm-data = "enable-pcie-c5-endpoint", "enable-nvhs-uphy-pcie-c5";
98+
odm-data = "pcie-c5-endpoint-enable", "NVHS_PCIE";
14899
};
149100
__overlay__ {
150101
pcie@141a0000 {
@@ -162,15 +113,4 @@
162113
#endif
163114
};
164115
};
165-
166-
#if TEGRA_SDMMC_VERSION >= DT_VERSION_2
167-
/* Fix mmc0 naming for SKU0 */
168-
fragment@8 {
169-
target-path = "/aliases";
170-
delete_prop = "mmc0";
171-
board_config {
172-
ids = ">=3668-0000-000";
173-
};
174-
};
175-
#endif
176116
};

hardware/nvidia/platform/t23x/common/kernel-dts/t234-common-cvm/tegra234-p3701-powermon.dtsi

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
2+
* Copyright (c) 2021-2023, NVIDIA CORPORATION. All rights reserved.
33
*
44
* This program is free software; you can redistribute it and/or modify
55
* it under the terms of the GNU General Public License as published by
@@ -44,7 +44,7 @@
4444
#io-channel-cells = <1>;
4545
channel@0 {
4646
reg = <0x0>;
47-
label = "NC";
47+
status = "disabled";
4848
};
4949
channel@1 {
5050
reg = <0x1>;
@@ -53,7 +53,7 @@
5353
};
5454
channel@2 {
5555
reg = <0x2>;
56-
label = "NC";
56+
status = "disabled";
5757
};
5858
};
5959
};

hardware/nvidia/platform/t23x/concord/kernel-dts/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ dtb-$(BUILD_ENABLE) += tegra234-p3701-0000-p3737-0000-kexec.dtb
2626
dtb-$(BUILD_ENABLE) += tegra234-p3701-0004-p3737-0000.dtb
2727
dtb-$(BUILD_ENABLE) += tegra234-p3701-0004-p3737-0000-avt-14375-2cam.dtb
2828
dtb-$(BUILD_ENABLE) += tegra234-p3701-0005-p3737-0000.dtb
29+
dtb-$(BUILD_ENABLE) += tegra234-p3701-0005-p3737-0000-avt-14375-2cam.dtb
2930
dtb-$(BUILD_ENABLE) += tegra234-p3701-0008-p3737-0000.dtb
31+
dtb-$(BUILD_ENABLE) += tegra234-p3701-0008-p3737-0000-avt-14375-2cam.dtb
3032
dtbo-$(BUILD_ENABLE) += tegra234-p3737-overlay.dtbo
3133
dtbo-$(BUILD_ENABLE) += tegra234-p3737-audio-codec-rt5658.dtbo
3234
dtbo-$(BUILD_ENABLE) += tegra234-p3737-audio-codec-rt5640.dtbo

hardware/nvidia/platform/t23x/concord/kernel-dts/cvb/tegra234-p3737-0000-camera-ar0234-a00.dtsi

+1-20
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.
2+
* Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved.
33
*
44
* This program is free software; you can redistribute it and/or modify
55
* it under the terms of the GNU General Public License as published by
@@ -23,8 +23,6 @@
2323
#define CAM1_RST_L TEGRA234_MAIN_GPIO(AC, 1)
2424
#define CAM1_PWDN TEGRA234_MAIN_GPIO(AC, 0)
2525
#define PWR_EN TEGRA234_MAIN_GPIO(AC, 7)
26-
#define GYRO1_IRQ_GPIO TEGRA234_AON_GPIO(BB, 1)
27-
#define ACCE1_IRQ_GPIO TEGRA234_AON_GPIO(BB, 0)
2826

2927
#define CAMERA_I2C_MUX_BUS(x) (0x1E + x)
3028

@@ -82,17 +80,6 @@
8280
pwdn-gpios = <&tegra_main_gpio CAM1_PWDN GPIO_ACTIVE_HIGH>;
8381
pwr-gpios = <&tegra_main_gpio PWR_EN GPIO_ACTIVE_HIGH>;
8482
};
85-
86-
bmi088_a@69 {
87-
compatible = "bmi,bmi088";
88-
reg = <0x69>;
89-
accel_i2c_addr = <0x19>;
90-
accel_irq_gpio = <&tegra_aon_gpio ACCE1_IRQ_GPIO GPIO_ACTIVE_HIGH>;
91-
gyro_irq_gpio = <&tegra_aon_gpio GYRO1_IRQ_GPIO GPIO_ACTIVE_HIGH>;
92-
accel_matrix = [01 00 00 00 01 00 00 00 01];
93-
gyro_matrix = [01 00 00 00 01 00 00 00 01];
94-
gyro_reg_0x18 = <0x81>;
95-
};
9683
};
9784
i2c@1 {
9885
reg = <1>;
@@ -130,10 +117,4 @@
130117
};
131118
};
132119
};
133-
nvpps {
134-
status = "disabled";
135-
compatible = "nvidia,tegra194-nvpps";
136-
interface = "eth0";
137-
sec_interface = "eth0";
138-
};
139120
};

0 commit comments

Comments
 (0)