Skip to content

Commit

Permalink
Imported 34.1.1-5.0.1 source
Browse files Browse the repository at this point in the history
  • Loading branch information
dlangenkamp-avt committed Jul 18, 2022
1 parent b093ea4 commit de1f51d
Show file tree
Hide file tree
Showing 18 changed files with 189 additions and 116 deletions.
10 changes: 5 additions & 5 deletions README.md
@@ -1,7 +1,7 @@
# NVIDIA Jetson driver (Beta)


Driver (Beta) for Allied Vision Alvium MIPI cameras for NVIDIA Jetson with JetPack 5.0 DP (L4T 34.1.0)
Driver (Beta) for Allied Vision Alvium MIPI cameras for NVIDIA Jetson with JetPack 5.0.1 DP (L4T 34.1.1)
https://developer.nvidia.com/embedded/jetpack
![Alvium camera](https://cdn.alliedvision.com/fileadmin/content/images/cameras/Alvium/various/alvium-cameras-models.png)

Expand All @@ -20,7 +20,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SO

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

Compatible platforms with JetPack 5.0 DP (L4T 34.1.0) :
Compatible platforms with JetPack 5.0.1 DP (L4T 34.1.1) :

+ AGX Xavier NVIDIA developer kit (including optional use of Allied Vision's adapter for up to 6 cameras)
+ Xavier NX NVIDIA developer kit
Expand All @@ -32,9 +32,9 @@ The scripts require Git on the host PC.

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

## Prerequisites: Install JetPack 5.0 Developer Preview
## Prerequisites: Install JetPack 5.0.1 Developer Preview

Install JetPack 5.0 DP (L4T 34.1.0) as per NVIDIA's instructions
Install JetPack 5.0.1 DP (L4T 34.1.1) as per NVIDIA's instructions
https://developer.nvidia.com/embedded/jetpack

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

1. Extract the tarball on a host PC.
The tarball contains helper scripts and another tarball with the precompiled binaries named AlliedVision_NVidia_L4T_34.1.0_<git-rev>.tar.gz.
The tarball contains helper scripts and another tarball with the precompiled binaries named AlliedVision_NVidia_L4T_34.1.1_<git-rev>.tar.gz.

2. Copy the tarball to the target board.
3. On the target board, extract the tarball and run the included install script.
Expand Down
8 changes: 4 additions & 4 deletions avt_build/jetson_build/board.py
Expand Up @@ -3,9 +3,9 @@
from . import upstream
from . import build

AVT_RELEASE = "5.0.0~beta1"
AVT_RELEASE = "5.0.1~beta1"
KERNEL_RELEASE = "5.10.65-tegra"
L4T_VERSION = "34.1.0"
L4T_VERSION = "34.1.1"

FileSet = namedtuple('FileSet', [
'driver_package',
Expand All @@ -14,9 +14,9 @@


def get_tx2_agx_nx_upstream_files(UpstreamFile):
driver_package = UpstreamFile("https://developer.nvidia.com/embedded/l4t/r34_release_v1.0/release/jetson_linux_r34.1.0_aarch64.tbz2", "0b04c8f8cf04a3f506dc1dbe2fef3c228a7aa9afb63cc51fa9917cf94a952dde")
driver_package = UpstreamFile("https://developer.nvidia.com/embedded/l4t/r34_release_v1.1/release/jetson_linux_r34.1.1_aarch64.tbz2", "3fb10621fb12c500eda01cf8dcf48693e1dc8b23ff315549c5077f1a85b639f7")
#rootfs = UpstreamFile("https://developer.nvidia.com/embedded/l4t/r32_release_v7.1/t186/tegra_linux_sample-root-filesystem_r32.7.1_aarch64.tbz2", "17996e861dd092043509e0b7e9ae038e271e5b0b7b78f26a34db4f03df2b12b8")
public_sources = UpstreamFile("https://developer.nvidia.com/embedded/l4t/r34_release_v1.0/sources/public_sources.tbz2", "fe2d0ce56682c825347a899763c3d38772667c954480f00b6d4d74f276e1eff1")
public_sources = UpstreamFile("https://developer.nvidia.com/embedded/l4t/r34_release_v1.1/sources/public_sources.tbz2", "0d3ba642cabeb619d61b8180f93d2716a3f02e52f12ace8ea60d3639bbd4d7e4")

return FileSet(
public_sources=public_sources,
Expand Down
23 changes: 14 additions & 9 deletions avt_build/jetson_build/files/bootloader/config
Expand Up @@ -50,8 +50,9 @@ class NvSpecInformation:


class Configuration:
def __init__(self, name, dtb, board_sku, board_ver=None):
def __init__(self, name, dtb, board_sku, board_ver=None, beta=False):
self.name = name
self.beta = beta
self.dtb = dtb
self.board_sku = board_sku
self.board_ver = board_ver
Expand All @@ -60,8 +61,8 @@ agx_devkit = BoardDefinition('Jetson AGX Xavier devkit', '0x19', '2888', [
Configuration('2 cameras', 'tegra194-p2888-0001-p2822-0000-avt-14375-2cam.dtb', '0001'),
Configuration('2 cameras', 'tegra194-p2888-0001-p2822-0000-avt-14375-2cam.dtb', '0004'),

Configuration('6 cameras (beta)', 'tegra194-p2888-0001-p2822-0000-avt-14385-6cam.dtb', '0001'),
Configuration('6 cameras (beta)', 'tegra194-p2888-0001-p2822-0000-avt-14385-6cam.dtb', '0004'),
Configuration('6 cameras (beta)', 'tegra194-p2888-0001-p2822-0000-avt-14385-6cam.dtb', '0001', beta=True),
Configuration('6 cameras (beta)', 'tegra194-p2888-0001-p2822-0000-avt-14385-6cam.dtb', '0004', beta=True),

Configuration('None', 'tegra194-p2888-0001-p2822-0000.dtb', '0001'),
Configuration('None', 'tegra194-p2888-0001-p2822-0000.dtb', '0004'),
Expand All @@ -79,15 +80,15 @@ nx_devkit = BoardDefinition('Jetson Xavier NX devkit', '0x19', '3668', [
#NX 16GB
Configuration('DevKit', 'tegra194-p3668-0001-p3509-0000-avt.dtb', '0003'),

#Configuration('Auvidea JNX30 (beta)', 'tegra194-p3668-all-p3509-0000-auvidea-jnx30.dtb', '0000'),
#Configuration('Auvidea JNX30 (beta)', 'tegra194-p3668-all-p3509-0000-auvidea-jnx30.dtb', '0001'),
#Configuration('Auvidea JNX30 (beta)', 'tegra194-p3668-all-p3509-0000-auvidea-jnx30.dtb', '0000', beta=True),
#Configuration('Auvidea JNX30 (beta)', 'tegra194-p3668-all-p3509-0000-auvidea-jnx30.dtb', '0001', beta=True),
#NX 16GB
#Configuration('Auvidea JNX30 (beta)', 'tegra194-p3668-all-p3509-0000-auvidea-jnx30.dtb', '0003'),
#Configuration('Auvidea JNX30 (beta)', 'tegra194-p3668-all-p3509-0000-auvidea-jnx30.dtb', '0003', beta=True),

#Configuration('Auvidea JNX30+38491 FPD-Link (beta)', 'tegra194-p3668-all-p3509-0000-auvidea-jnx30-38491.dtb', '0000'),
#Configuration('Auvidea JNX30+38491 FPD-Link (beta)', 'tegra194-p3668-all-p3509-0000-auvidea-jnx30-38491.dtb', '0001'),
#Configuration('Auvidea JNX30+38491 FPD-Link (beta)', 'tegra194-p3668-all-p3509-0000-auvidea-jnx30-38491.dtb', '0000', beta=True),
#Configuration('Auvidea JNX30+38491 FPD-Link (beta)', 'tegra194-p3668-all-p3509-0000-auvidea-jnx30-38491.dtb', '0001', beta=True),
#NX 16GB
#Configuration('Auvidea JNX30+38491 FPD-Link (beta)', 'tegra194-p3668-all-p3509-0000-auvidea-jnx30-38491.dtb', '0003'),
#Configuration('Auvidea JNX30+38491 FPD-Link (beta)', 'tegra194-p3668-all-p3509-0000-auvidea-jnx30-38491.dtb', '0003', beta=True),

Configuration('None', 'tegra194-p3668-0000-p3509-0000.dtb', '0000'),
Configuration('None', 'tegra194-p3668-0001-p3509-0000.dtb', '0001'),
Expand Down Expand Up @@ -275,6 +276,10 @@ def main():
new_option = db.getString('avt-nvidia-l4t-bootloader/target-board')
for i in range(len(config_list)):
if config_list[i] == new_option:
if active_board.configurations()[i].beta:
db.forceInput(debconf.HIGH, 'avt-nvidia-l4t-bootloader/beta-warning')
db.command('GO')

active_board.update_active_configuration(i)
break

Expand Down
4 changes: 2 additions & 2 deletions avt_build/jetson_build/files/bootloader/control
Expand Up @@ -4,8 +4,8 @@ Maintainer: Allied Vision Technologies GmbH
Package: avt-nvidia-l4t-bootloader
Architecture: arm64
Pre-Depends: nvidia-l4t-core (>> 34.1-0), nvidia-l4t-core (<< 34.2-0)
Depends: nvidia-l4t-tools (= ${L4T_TOOLS_VERSION}), nvidia-l4t-init (>> 34.1-0), nvidia-l4t-init (<< 34.2-0)
Conflicts: nvidia-l4t-bootloader
Depends: nvidia-l4t-tools (>> 34.1-0), nvidia-l4t-tools (<< 34.2-0), nvidia-l4t-init (>> 34.1-0), nvidia-l4t-init (<< 34.2-0)
Conflicts: nvidia-l4t-bootloader (<< 34.2-0)
Section: bootloader
Priority: standard
Homepage: http://developer.nvidia.com/jetson
Expand Down
5 changes: 5 additions & 0 deletions avt_build/jetson_build/files/bootloader/templates
Expand Up @@ -3,3 +3,8 @@ Type: select
Choices: ${board-configurations}
Default: ${default-board-configuration}
Description: Select board configuration:

Template: avt-nvidia-l4t-bootloader/beta-warning
Type: note
Description: WARNING: beta configuration selected!
The selected configuration is in beta state and not validated.
2 changes: 1 addition & 1 deletion avt_build/jetson_build/files/kernel-deb/control
Expand Up @@ -5,7 +5,7 @@ Package: avt-nvidia-l4t-kernel
Architecture: arm64
Pre-Depends: nvidia-l4t-core (>> 34.1-0), nvidia-l4t-core (<< 34.2-0)
Depends: nvidia-l4t-tools (>> 34.1-0), nvidia-l4t-tools (<< 34.2-0)
Conflicts: nvidia-l4t-kernel
Conflicts: nvidia-l4t-kernel (<< 34.2-0)
Section: kernel
Priority: standard
Homepage: http://developer.nvidia.com/jetson
Expand Down
2 changes: 1 addition & 1 deletion avt_build/jetson_build/files/kernel-dtb-deb/control
Expand Up @@ -5,7 +5,7 @@ Package: avt-nvidia-l4t-kernel-dtbs
Architecture: arm64
Pre-Depends: nvidia-l4t-core (>> 34.1-0), nvidia-l4t-core (<< 34.2-0)
Depends: device-tree-compiler, avt-nvidia-l4t-kernel (= ${KERNEL_RELEASE}-${L4T_VERSION}-${AVT_RELEASE})
Conflicts: nvidia-l4t-kernel-dtbs
Conflicts: nvidia-l4t-kernel-dtbs (<< 34.2-0)
Section: kernel
Priority: standard
Homepage: http://developer.nvidia.com/jetson
Expand Down
2 changes: 1 addition & 1 deletion avt_build/jetson_build/files/kernel-headers-deb/control
Expand Up @@ -5,7 +5,7 @@ Package: avt-nvidia-l4t-kernel-headers
Architecture: arm64
Pre-Depends: nvidia-l4t-core (>> 34.1-0), nvidia-l4t-core (<< 34.2-0)
Depends: libc6, avt-nvidia-l4t-kernel (= ${KERNEL_RELEASE}-${L4T_VERSION}-${AVT_RELEASE})
Conflicts: nvidia-l4t-kernel-headers
Conflicts: nvidia-l4t-kernel-headers (<< 34.2-0)
Section: kernel
Priority: standard
Homepage: http://developer.nvidia.com/jetson
Expand Down
Expand Up @@ -38,4 +38,12 @@
};
};
};

fragment-usb-vbus-en0@1 {
target-path = "/fixed-regulators/regulator@114";
delete_prop = "enable-active-high";
board_config {
ids = "<2822-0000-400";
};
};
};

0 comments on commit de1f51d

Please sign in to comment.