Friendly Neighborhood Geeks Community Wiki

Artificial Superintelligence

Jetson

The NVIDIA Jetson Orin™ Nano Super Developer Kit is a compact, powerful computer that redefines generative AI for small edge devices. It provides an affordable and accessible platform for developers, students, and makers, backed by NVIDIA AI software and a broad AI ecosystem. Purchase it from our partners, or upgrade your existing Jetson Orin Nano™ Developer Kit with the latest software.

System On Module (SOM)

Feature Jetson Orin Nano Super Jetson Orin NX
RAM 4gb, 8gb 8gb, 16gb
AI Performance 67 TOPS 157 TOPS
GPU Cores Ampere (1024 CUDA Cores, 32 Tensor Cores) Ampere (1024 CUDA Cores, 32 Tensor Cores)
CPU Cores 6-core ARM Cortex-A78AE 8-core ARM Cortex-A78AE
Memory Bandwidth 102 GB/s 102 GB/s - 204 GB/s
Max Power Limit 25W (MAXN_SUPER Mode) Up to 40w
Target Cost ~$250 (Dev Kit-8gb) ~$800+ (Module)

Carrier Boards

Manufacter Model IO Price
nvidia_nano_orion_super_carrier_board.png Nvidia Jetson 2x USB 2.0, 2x USB 3.0, 1x DP, 1Gb LAN, 1x USB-C, 40 GPIO, 2x CSI, 1x NVME M-key, $199
a603_carrier_board.png Seeed Studio A603 2x USB 3.0, 1x HDMI, 1Gb LAN, 1x USB-Micro, 1x USB flex, 1x CSI, 1x NVME M-Key, 1x PCIe B-Key $150-200

Nvidia SDK Manager
APX driver installer missing
Nano short jumper (force recover & ground) Pin 3 & 4 A603
Plug in ethernet required during SDK flash
powershell(admin) usbipd list
DONT USE 'usbipd attach --wsl --busid <YOUR_BUS_ID> --auto-attach'
powershell(admin) 'usbipd attach --wsl --hardware-id 0955:7322 --auto-attach' Leave terminal open
SDK Manager (STEP 3) usb detect, username, password, uncheck haloscan(data streaming)/deep (vision learning) > flash

{10.5%}
once it starts asking for IP4 failure the device should be up and running power down and remove jumper

{HDMI and USB Keyboard}
enable ssh > settings, system, users, enable auto login & SETTINGS, system, secure shell, enable >> sudo apt update > sudo apt install openssh-server -y & sudo systemctl enable --now ssh > sudo ssh-keygen -A

NX 8c 16gb

NX - Power Config

Understanding the Orin NX Power Profile Layout

Check your current power mode:

sudo nvpmodel -q

Change your current power mode:

sudo nvpmodel -m 1

Under newer JetPack environments configured for full 40W operation, your specific layout maps out like this:

Mode ID Mode Name Power Budget (TDP) CPU Cores Online Max CPU Freq
0 MAXN 25W (Uncapped regular) 8 Cores Max
1 MODE_30W 30 Watts 8 Cores Scaled
2 MODE_15W 15 Watts 4 Cores Scaled
3 MODE_10W 10 Watts 4 Cores Scaled
4 MAXN_SUPER 40 Watts 8 Cores Absolute Max

Maximizing 40W Stability on the A603 Board

Because you are running the A603 carrier board, remember a few specific software configurations needed to lock in that peak 40W throughput:

  1. Lock the Maximum Clocks: Even if nvpmodel allocates a 40W headroom, the OS dynamically downclocks your system to save power unless you tell it otherwise. Lock the clocks at their maximum 40W limits by running:
sudo jetson_clocks
  1. Override Fan Control: Running at 40W forces the Orin NX to heat up quickly. If it hits internal temperature thresholds, it will auto-throttle your power draw down to ~32W to protect itself. Make sure your fan is pushing full air by turning off the quiet profile:
sudo jetson_clocks --fan

You can view exactly what frequencies are assigned to your Mode 4 setup by viewing the direct config map:

cat /etc/nvpmodel.conf

Raspberry Pi HQ camera IMX477

Ridgerun-Source

Compatibility with NVIDIA®Jetson™ Platforms

The Raspberry Pi HQ camera module requires a hardware modification in order to work with Jetson Platforms. Jetson Platforms provide 1.8V for reset GPIO in the camera interface, but the camera module requires 3.3V.

To fix this issue a resistor labeled as R8 must be removed from the camera module. If you decide to apply this fix it is under your own risk. RidgeRun is not responsible for any damage caused to your board. The following picture shows the location of the R8 in the module.
500px-r8toberemoved.png

Ollama

Ollama ® is an open-source framework for easily running large language models (LLMs) on your own local machine, offering privacy-focused, cloud-free AI development, customization, and deployment for tasks like local chatbot development or data processing. It simplifies the process of downloading, managing, and interacting with various open-source LLMs, similar to Docker for applications, and supports features like GPU acceleration and model customization.

curl -fsSL https://ollama.com/install.sh | sh


****** WARNING *******


~
Unsupported JetPack version detected.
GPU may not be supported.

Disregard for 7.2.X new cuda core instructions
have been added to latest ollama, warn nag still
shows during install
https://forums.developer.nvidia.com/t/jetpack-7-2-gpu-acceleration-issue/372521
~

sudo nano /etc/systemd/system/ollama.service


Service
Environment="OLLAMA_HOST=0.0.0.0"

'''sh
sudo systemctl status ollama
sudo systemctl daemon-reload
sudo systemctl restart ollama
sudo systemctl stop ollama
sudo systemctl start ollama
'''

** OPTIONALY TO SURVIVE UPDATES **
sudo mkdir /etc/systemd/system/ollama.service.d
sudo chmod +w /etc/systemd/system/ollama.service.d
cd /etc/systemd/system/ollama.service.d
sudo nano override.conf

Service
Environment="OLLAMA_HOST=0.0.0.0"

!!! MODELS !!!
(Quantized versions (4-bit) reduce VRAM usage to fit on the Nano. Use --quant Q4_K_M or similar when downloading/running)
{Variants}
= instruct a 7b instruction-tuned variant for natural language-to-code chat and instruction following
= code a 7b pretrained variant that specializes in code completion and generation from code prefixes and/or suffixes
= 2b a state of the art 2B pretrained variant that provides up to 2x faster code completion

ollama pull <model:tag>
ollama run <model:tag>
ollama rm <model:tag>
ollama ls

Coding

  1. qwen2.5-coder:0.5b-instruct-q4_K_M375MB | qwen2.5-coder:1.5b-base-q4_K_M986MB | qwen2.5-coder:3b-instruct1.9GB | qwen2.5-coder:3b-base-q4_K_M1.9GB
  2. codellama:instruct3.8GB | codellama:7b3.8GB | codellama:7b-code-q4_K_S3.9GB
  3. deepseek-coder:instruct776MB | deepseek-coder:6.7b-instruct3.8GB
  4. codegemma:2b1.6GB | codegemma:2b-code-q4_K_S1.6GB | codegemma:2b-code-q4_K_M1.6GB

Thinking

  1. deepseek-r1:1.5b1.1GB | deepseek-r1:8b5.2GB
  2. qwen3:1.7b1.4GB | qwen3:4b2.5GB | qwen3:8b5.2GB

Lightweight

FYI https://forums.developer.nvidia.com/t/blog-boot-from-nvme-without-using-sdkmanager-or-external-ubuntu-pc-a-solution-that-works/252757

DOWNLOADS https://developer.nvidia.com/embedded/jetpack/downloads

SOURCE https://github.com/cranky-cyborg/Jetson-Flash-Manager

!! PREAMBLE
TIME: Requires 45 mins
HARDWARE: Jetson Nano NX (Super) & carrier board, SD card, M.2 SSD
SOFTWARE: sd-blob.img | jetsoninstaller-xxxx.iso

!! INSTRUCTIONS (SD to M.2)

PREPARE M.2

- df -h # display any connected storage (/dev/nvmeXXX) { OPTIONS } lsblk | fdsik -l
- sudo su # switch to root
# CREATE FIRST PARTITION
- fdisk /dev/nvmeXXX
  > n (new partition) > 1 (primary) > default start > default end (+20G) > remove drive sig Y > w (write partition table)
mkfs.ext4 /dev/nvme0n1p1 # change partition(1) type to ext4

PREPARE SD

  1. Burn sd-blob.img to sd card
  2. insert sd card and boot jetson device

copy sd-blob.img ~/jetson-files

cd ~
git clone https://github.com/cranky-cyborg/Jetson-Flash-Manager

mkdir ~/Jetson-Flash-Manager
cd ~/Jetson-Flash-Manager
./flashmgr.sh

UI:
Download SD-Card image: No #in folder already
Select what drive you want to flash: /dev/nvme0n1p1
Do you want to install DeepStream 6.2: No #Yes for video recog
Do you wish to install NVIDIA-JetPack (latest): Yes
Do you wish to increase ZRAM from 2gb to 14GB: Yes
Do you wish to remove sudo from asking passwd: No
Do you wish to fix Docker permission issue: Yes
Confirmation pop-up > OK

  1. Shutdown -f now | User shutdown
  2. Remove sd card and power on
  3. Install-Jetpack.desktop icon > right click Allow Launching
  4. Double-click to start installing Jetpack and *Deepstream (sudo password needed)

curl -fsSL https://ollama.com/install.sh | sh

sudo nano /etc/systemd/system/ollama.service

Service
Environment="OLLAMA_HOST=0.0.0.0"
sudo systemctl status ollama
sudo systemctl daemon-reload
sudo systemctl restart ollama
sudo systemctl stop ollama
sudo systemctl start ollama

** OPTIONALY TO SURVIVE UPDATES **
sudo mkdir /etc/systemd/system/ollama.service.d
sudo chmod +w /etc/systemd/system/ollama.service.d
cd /etc/systemd/system/ollama.service.d
sudo nano override.conf

Service
Environment="OLLAMA_HOST=0.0.0.0"

!!! MODELS !!!
(Quantized versions (4-bit) reduce VRAM usage to fit on the Nano. Use --quant Q4_K_M or similar when downloading/running)
{Variants}
= instruct a 7b instruction-tuned variant for natural language-to-code chat and instruction following
= code a 7b pretrained variant that specializes in code completion and generation from code prefixes and/or suffixes
= 2b a state of the art 2B pretrained variant that provides up to 2x faster code completion

ollama pull <model:tag>
ollama run <model:tag>
ollama rm <model:tag>
ollama ls

Coding Thinking Lightweight
Rank Model Size Rank Model Size Rank Model Size
1 qwen2.5-coder:0.5b-instruct-q4_K_M

qwen2.5-coder:1.5b-base-q4_K_M

qwen2.5-coder:3b-instruct

qwen2.5-coder:3b-base-q4_K_M
375MB

986MB

1.9GB

1.9GB
1 deepseek-r1:1.5b

deepseek-r1:8b
1.1GB

5.2GB
1 embeddinggemma:300m

embeddinggemma:300m-qat-q4_0
622MB

239MB
2 codellama:instruct

codellama:7b

codellama:7b-code-q4_K_S
3.8GB

3.8GB

3.9GB
3 deepseek-coder:instruct

deepseek-coder:6.7b-instruct
776MB

3.8GB
3 qwen3:1.7b

qwen3:4b

qwen3:8b
1.4GB

2.5GB

5.2GB
6 codegemma:2b

codegemma:2b-code-q4_K_S

codegemma:2b-code-q4_K_M
1.6GB

1.6GB

1.6GB

Large Language Models - LLMs

A large language model (LLM) is a language model trained with self-supervised machine learning on a vast amount of text, designed for natural language processing tasks, especially language generation.

Trouble Shooting

ALPINE LINUX SHELL IN A BOX MISSING After spinning up an Alpine Linux LXC you may find the traditional way of installing Shell-In-Box and that is because Alpine does not provide it in the core apt repository.

One-off install straight from edge/testing (keeps your system on stable)

apk add shellinabox \
  --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing
rc-update add shellinaboxd default
rc-service shellinaboxd start
# use prox/putty to add user
adduser {USERNAME}