Difference between revisions of "Jetson Orin Notes"

From Humanoid Robots Wiki
Jump to: navigation, search
Line 12: Line 12:
 
* Download "Sample Root Filesystem"  
 
* Download "Sample Root Filesystem"  
 
* Unpack (as root..) into rootfs directory inside of the BSP archive above.
 
* Unpack (as root..) into rootfs directory inside of the BSP archive above.
 +
* Run sudo ./tools/l4t_flash_prerequisites.sh
 
* Run <code>./apply_binaries.sh</code> from the BSP  
 
* Run <code>./apply_binaries.sh</code> 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.  
 
** 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?)
 
* 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)  
 
* Connect USB-C cable to the debug port ("front" USB-c)  
* Nvidia AGX device should appear in the <code>lsusb</code>
+
* Nvidia AGX device should appear in the <code>lsusb</code> under NVIDIA CORP. APX
* Run <code>./nvautoflash.sh</code>
+
* Run <code>./flash.sh </code> Different options for different usecases(https://docs.nvidia.com/jetson/archives/r36.3/DeveloperGuide/IN/QuickStart.html#in-quickstart)
 +
Jetson AGX Orin Developer Kit (eMMC):
 +
 
 +
$ sudo ./flash.sh jetson-agx-orin-devkit internal
 +
 
 +
 
 
* Watch for few minutes, typically it crashes early, then go for lunch.
 
* Watch for few minutes, typically it crashes early, then go for lunch.
  
 
[[Category: Firmware]]
 
[[Category: Firmware]]

Revision as of 22:23, 10 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 sudo ./tools/l4t_flash_prerequisites.sh
  • 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 under NVIDIA CORP. APX
  • Run ./flash.sh Different options for different usecases(https://docs.nvidia.com/jetson/archives/r36.3/DeveloperGuide/IN/QuickStart.html#in-quickstart)

Jetson AGX Orin Developer Kit (eMMC):

$ sudo ./flash.sh jetson-agx-orin-devkit internal


  • Watch for few minutes, typically it crashes early, then go for lunch.