From b329046af8d6427955627231ba0d332d23dc0f87 Mon Sep 17 00:00:00 2001 From: Alexandru Costache Date: Thu, 25 Jul 2024 10:10:52 +0300 Subject: [PATCH 1/2] hw.device-type: Add new device-type Jetson AGX Orin 64GB Devkit Change-type: patch Signed-off-by: Alexandru Costache --- .../jetson-agx-orin-devkit-64gb/contract.json | 40 +++++++++++++++++++ .../jetson-agx-orin-devkit-64gb.svg | 8 ++++ 2 files changed, 48 insertions(+) create mode 100644 contracts/hw.device-type/jetson-agx-orin-devkit-64gb/contract.json create mode 100644 contracts/hw.device-type/jetson-agx-orin-devkit-64gb/jetson-agx-orin-devkit-64gb.svg diff --git a/contracts/hw.device-type/jetson-agx-orin-devkit-64gb/contract.json b/contracts/hw.device-type/jetson-agx-orin-devkit-64gb/contract.json new file mode 100644 index 00000000..1ce1a16d --- /dev/null +++ b/contracts/hw.device-type/jetson-agx-orin-devkit-64gb/contract.json @@ -0,0 +1,40 @@ +{ + "slug": "jetson-agx-orin-devkit-64gb", + "version": "1", + "type": "hw.device-type", + "aliases": [], + "name": "Nvidia Jetson AGX Orin Devkit 64GB", + "assets": { + "logo": { + "url": "./jetson-agx-orin-devkit-64gb.svg", + "name": "logo" + } + }, + "data": { + "arch": "aarch64", + "hdmi": false, + "led": false, + "connectivity": { + "bluetooth": true, + "wifi": true + }, + "storage": { + "internal": true + }, + "media": { + "defaultBoot": "internal", + "altBoot": ["usb_mass_storage"] + }, + "is_private": false + }, + "partials": { + "bootDeviceExternal": [ + "Insert a NVME drive in the Devkit and put the device in force recovery mode.", + "Please note that both the NVME and the eMMC will be erased during the provisioning process.", + "Connect the USB-C port of the Devkit to the Host PC.", + "RCM boot the balenaOS kernel following the AGX Orin Devkit 64GB flashing steps." + ], + "flashIndicator": ["power LED is off"], + "bootDevice": ["Power up the {{name}}"] + } +} diff --git a/contracts/hw.device-type/jetson-agx-orin-devkit-64gb/jetson-agx-orin-devkit-64gb.svg b/contracts/hw.device-type/jetson-agx-orin-devkit-64gb/jetson-agx-orin-devkit-64gb.svg new file mode 100644 index 00000000..4b26bc07 --- /dev/null +++ b/contracts/hw.device-type/jetson-agx-orin-devkit-64gb/jetson-agx-orin-devkit-64gb.svg @@ -0,0 +1,8 @@ + + + + + + + AGX ORIN + \ No newline at end of file From c6807bdbf76875c67f7c3b23b8933fbed7755a7a Mon Sep 17 00:00:00 2001 From: Alexandru Costache Date: Thu, 25 Jul 2024 10:14:20 +0300 Subject: [PATCH 2/2] sw.os+hw.device-type: add distro.tpl files for Jetson AGX Orin Devkit 64GB Signed-off-by: Alexandru Costache --- .../debian+jetson-agx-orin-devkit-64gb/distro-config.tpl | 4 ++++ .../ubuntu+jetson-agx-orin-devkit-64gb/distro-config.tpl | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 contracts/sw.os+hw.device-type/debian+jetson-agx-orin-devkit-64gb/distro-config.tpl create mode 100644 contracts/sw.os+hw.device-type/ubuntu+jetson-agx-orin-devkit-64gb/distro-config.tpl diff --git a/contracts/sw.os+hw.device-type/debian+jetson-agx-orin-devkit-64gb/distro-config.tpl b/contracts/sw.os+hw.device-type/debian+jetson-agx-orin-devkit-64gb/distro-config.tpl new file mode 100644 index 00000000..625679e9 --- /dev/null +++ b/contracts/sw.os+hw.device-type/debian+jetson-agx-orin-devkit-64gb/distro-config.tpl @@ -0,0 +1,4 @@ +RUN echo "deb https://repo.download.nvidia.com/jetson/common r36.3 main" >> /etc/apt/sources.list.d/nvidia.list \ + && echo "deb https://repo.download.nvidia.com/jetson/t234 r36.3 main" >> /etc/apt/sources.list.d/nvidia.list \ + && apt-key adv --fetch-key http://repo.download.nvidia.com/jetson/jetson-ota-public.asc \ + && mkdir -p /opt/nvidia/l4t-packages/ && touch /opt/nvidia/l4t-packages/.nv-l4t-disable-boot-fw-update-in-preinstall diff --git a/contracts/sw.os+hw.device-type/ubuntu+jetson-agx-orin-devkit-64gb/distro-config.tpl b/contracts/sw.os+hw.device-type/ubuntu+jetson-agx-orin-devkit-64gb/distro-config.tpl new file mode 100644 index 00000000..625679e9 --- /dev/null +++ b/contracts/sw.os+hw.device-type/ubuntu+jetson-agx-orin-devkit-64gb/distro-config.tpl @@ -0,0 +1,4 @@ +RUN echo "deb https://repo.download.nvidia.com/jetson/common r36.3 main" >> /etc/apt/sources.list.d/nvidia.list \ + && echo "deb https://repo.download.nvidia.com/jetson/t234 r36.3 main" >> /etc/apt/sources.list.d/nvidia.list \ + && apt-key adv --fetch-key http://repo.download.nvidia.com/jetson/jetson-ota-public.asc \ + && mkdir -p /opt/nvidia/l4t-packages/ && touch /opt/nvidia/l4t-packages/.nv-l4t-disable-boot-fw-update-in-preinstall