Difference between revisions of "Jetson Orin Notes"

From Humanoid Robots Wiki
Jump to: navigation, search
Line 1: Line 1:
 
Notes on programming/interfacing with Jetson Orin hardware.
 
Notes on programming/interfacing with Jetson Orin hardware.
  
 +
=== Upgrading AGX to Jetson Linux 36.3 ===
  
# Upgrading AGX to Jetson Linux 36.3
+
==== BSP approach (avoids SDK Manager) ====
  
## BSP approach (avoids SDK Manager)
+
* Requires Ubuntu 22.04. Very unhappy to work on Gentoo.  
* Requires Ubuntu 22.04. Very unhappy to work on Gentoo.  
+
* Requires Intel/AMD 64bit CPU.
* Requires Intel/AMD 64bit CPU.  
+
* Download "Driver Package (BSP)" from [https://developer.nvidia.com/embedded/jetson-linux here]
 
+
* Unpack (as root, get used to doing most of this as root), preserving privileges
* Download "Driver Package (BSP)" from https://developer.nvidia.com/embedded/jetson-linux
+
** <code>tar xjpf ...</code>
* Unpack (as root, get used to doing most of this as root), preserving privileges
+
* Download "Sample Root Filesystem"  
  - `tar xjpf ...`
+
* Unpack (as root..) into rootfs directory inside of the BSP archive above.
* Download "Sample Root Filesystem"  
+
* Run <code>./apply_binaries.sh</code> from the BSP  
* Unpack (as root..) into rootfs directory inside of the BSP archive above.  
+
** Note: If apply_binaries (or frankly, anything, this is brittle) fails, remove and recreate rootfs - the OS might be left in an unbootable state.  
* Run './apply_binaries.sh' from the BSP  
+
* Reboot AGX into "Recovery Mode" - hold the recovery button and reset button, release simultaneously ((sic) reset first?)
  - Note: If apply_binaries (or frankly, anything, this is brittle) fails, remove and recreate rootfs - the OS might be left in an unbootable state.  
+
* Connect USB-C cable to the debug port ("front" USB-c)  
* Reboot AGX into "Recovery Mode" - hold the recovery button and reset button, release simultaneously ((sic) reset first?)
+
* Nvidia AGX device should appear in the <code>lsusb</code>
* Connect USB-C cable to the debug port ("front" USB-c)  
+
* Run <code>./nvautoflash.sh</code>
* Nvidia AGX device should appear in the `lsusb`
+
* Watch for few minutes, typically it crashes early, then go for lunch.
* Run './nvautoflash.sh'
 
* Watch for few minutes, typically it crashes early, then go for lunch.
 
  
 
[[Category: Firmware]]
 
[[Category: Firmware]]

Revision as of 04:29, 9 May 2024

Notes on programming/interfacing with Jetson Orin hardware.

Upgrading AGX to Jetson Linux 36.3

BSP approach (avoids SDK Manager)

  • Requires Ubuntu 22.04. Very unhappy to work on Gentoo.
  • Requires Intel/AMD 64bit CPU.
  • Download "Driver Package (BSP)" from here
  • Unpack (as root, get used to doing most of this as root), preserving privileges
    • tar xjpf ...
  • Download "Sample Root Filesystem"
  • Unpack (as root..) into rootfs directory inside of the BSP archive above.
  • Run ./apply_binaries.sh from the BSP
    • Note: If apply_binaries (or frankly, anything, this is brittle) fails, remove and recreate rootfs - the OS might be left in an unbootable state.
  • Reboot AGX into "Recovery Mode" - hold the recovery button and reset button, release simultaneously ((sic) reset first?)
  • Connect USB-C cable to the debug port ("front" USB-c)
  • Nvidia AGX device should appear in the lsusb
  • Run ./nvautoflash.sh
  • Watch for few minutes, typically it crashes early, then go for lunch.