|
| 1 | +# 🛸 Initial Setup using SDK Manager |
| 2 | + |
| 3 | +{ width="256" align=right} |
| 4 | + |
| 5 | +!!! note |
| 6 | + This guide is to supplement the official [**Jetson Orin Nano Developer Kit Getting Started Guide**](https://developer.nvidia.com/embedded/learn/get-started-jetson-orin-nano-devkit). |
| 7 | + |
| 8 | +The NVIDIA® <span class="blobLightGreen4">Jetson Orin Nano™ Developer Kit</span> is a perfect kit to start your journey of local generative AI evaluation and development. |
| 9 | + |
| 10 | +This guide explains the **alternative method** for setting up Jetson Orin Nano Developer Kit by flashing both the latest firmware (QSPI image) and the latest JetPack all at once, using a host x86 PC. |
| 11 | + |
| 12 | +## Check your toolbox |
| 13 | + |
| 14 | +The following item is needed or highly desired for flashing your Jetson Orin Nano Developer Kit using your host PC. |
| 15 | + |
| 16 | +If you don't have them, check the [default microSD-only setup instruction](./initial_setup_jon.md) or you want to arrange them first then return to this guide once they are available. |
| 17 | + |
| 18 | +!!! warning "What not come in the box - What you need/want to prepare" |
| 19 | + |
| 20 | + ### Host PC |
| 21 | + |
| 22 | + - :material-checkbox-intermediate: x86 PC running **Ubuntu 22.04** or **Ubuntu 20.04** |
| 23 | + |
| 24 | + >  |
| 25 | + > Source: :octicons-link-external-16: [NVIDIA SDK Manager :material-chevron-double-right: Host Operating System Compatibility Matrix](https://developer.nvidia.com/sdk-manager#host_os_comp_matrix) |
| 26 | + |
| 27 | + ### Storage |
| 28 | + |
| 29 | + Either of the following. |
| 30 | + |
| 31 | + - :material-checkbox-blank-outline: microSD card (64GB or bigger) |
| 32 | + - :material-checkbox-blank-outline: NVMe SSD (Recommended for better performance) |
| 33 | + |
| 34 | + <img src="images/microsd_64gb.png" style="max-width:120px;"> <img src="images/ssd_nvme_1tb.png" style="max-width:540px;"> |
| 35 | + |
| 36 | + ### Flashing supply |
| 37 | + |
| 38 | + - :material-checkbox-blank-outline: USB cable (USB-C plug for Jetson Orin Nano Developer Kit side, other end depends on your PC) |
| 39 | + - :material-checkbox-blank-outline: jumper pin (or metal paper clip) |
| 40 | + |
| 41 | + ### Mean to access terminal |
| 42 | + |
| 43 | + You need either of the following set: |
| 44 | + |
| 45 | + - :material-checkbox-blank-outline: DisplayPort cable, DisplayPort capable monitor and a USB keyboard |
| 46 | + - :material-checkbox-blank-outline: DisplayPort to HDMI cable and HDMI capable monitor (or TV) and a USB keyboard |
| 47 | + - :material-checkbox-blank-outline: [USB to TTL Serial cable :octicons-link-external-16:](https://www.adafruit.com/product/954) (Advanced) |
| 48 | + |
| 49 | +!!! danger "" |
| 50 | + |
| 51 | + ## 🚀 Default method : microSD card only setup method |
| 52 | + |
| 53 | + In case you **do NOT** have an x86 PC running Ubuntu 22.04 or 20.04, you can fall back to the default "microSD card only" setup method that does not require any host PC. |
| 54 | + |
| 55 | + The decision process can look like this. |
| 56 | + |
| 57 | + ```mermaid |
| 58 | + flowchart LR |
| 59 | + A(start) --> B{Want to ditch microSD<br>and only use NVMe SSD?} |
| 60 | + B --[YES] --> S[🛸 SDK Manager method] |
| 61 | + B --[No] --> C{Have x86 PC running<br> Ubuntu 22.04/20.04?} |
| 62 | + C --[YES] --> S |
| 63 | + C --[No] --> U[🚀 microSD-only method] |
| 64 | + |
| 65 | + style S stroke-width:3px, fill:#f3e9f2,stroke:#b544c4 |
| 66 | + style U stroke-width:3px, fill:#d2e9e5,stroke:#0e7a71 |
| 67 | + ``` |
| 68 | + |
| 69 | + Click the button below to jump to the default setup page. |
| 70 | + |
| 71 | + [🚀 microSD-only method](./initial_setup_jon.md){ .md-button .md-button--darkgreen } |
| 72 | + |
| 73 | + Otherwise, continue reading on this page for the SDK Manager method. |
| 74 | + |
| 75 | + |
| 76 | +## Overall flow (SDK Manager method) |
| 77 | + |
| 78 | +!!! info "Jetson Orin Nano Initial Setup Flowchart (microSD-only method)" |
| 79 | + |
| 80 | + ```mermaid |
| 81 | + flowchart |
| 82 | + A(start) --> B[0️⃣ Install SDK Manager] |
| 83 | + B --> C[1️⃣ Connect Target Hardware] |
| 84 | + C --> D[2️⃣ Select Software Components to Install] |
| 85 | + D --> E[3️⃣ Download on Host PC] |
| 86 | + E --> F[4️⃣ Flash] |
| 87 | + F --> G[5️⃣ Boot and initial setup] |
| 88 | + G --> P(👍 Start developing on JetPack 6.x) |
| 89 | + ``` |
| 90 | + |
| 91 | + |
| 92 | +## 0️⃣ Install SDK Manager |
| 93 | + |
| 94 | +!!! info "Reference" |
| 95 | + |
| 96 | + :octicons-link-external-16: [NVIDIA SDK Manager Documentation](https://docs.nvidia.com/sdk-manager/){:target="_blank"} : <br> :material-chevron-double-right: **Download and Install** :material-chevron-double-right: [Download and Run SDK Manager](https://docs.nvidia.com/sdk-manager/download-run-sdkm/index.html){:target="_blank"} |
| 97 | + |
| 98 | +On your Ubuntu 22.04 / 20.04 PC, open a terminal and execute the following command. |
| 99 | + |
| 100 | +Select the tab that matches your Ubuntu version. |
| 101 | + |
| 102 | +=== ":simple-ubuntu: Ubuntu 22.04" |
| 103 | + |
| 104 | + ```bash |
| 105 | + wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb |
| 106 | + sudo dpkg -i cuda-keyring_1.1-1_all.deb |
| 107 | + sudo apt-get update |
| 108 | + sudo apt-get -y install sdkmanager |
| 109 | + ``` |
| 110 | + |
| 111 | +=== ":simple-ubuntu: Ubuntu 20.04" |
| 112 | + |
| 113 | + ```bash |
| 114 | + wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.1-1_all.deb |
| 115 | + sudo dpkg -i cuda-keyring_1.1-1_all.deb |
| 116 | + sudo apt-get update |
| 117 | + sudo apt-get -y install sdkmanager |
| 118 | + ``` |
| 119 | + |
| 120 | +Then launch SDK Manager with the following command. |
| 121 | + |
| 122 | +```bash |
| 123 | +sdkmanager |
| 124 | +``` |
| 125 | + |
| 126 | +??? note "First time using SDK Manager" |
| 127 | + |
| 128 | + When using SDK Manager for the first time, log in with your NVIDIA Developer credentials. |
| 129 | + |
| 130 | + Remember to tick the checkbox for "**Stay logged in**" and click "**LOGIN**" button. |
| 131 | + |
| 132 | + { width="480" } |
| 133 | + |
| 134 | + A browser window opens. Input your email address that is registered as NVIDIA Developer. |
| 135 | + |
| 136 | + { width="480" } |
| 137 | + |
| 138 | + Two factor authentication prompt may pop up. |
| 139 | + |
| 140 | + { width="480" } |
| 141 | + |
| 142 | + Once authenticated, the browser windows opens back the SDK Manager app window. |
| 143 | + |
| 144 | + { width="480" } |
| 145 | + |
| 146 | + SDK Manager continues to log you in. |
| 147 | + |
| 148 | + { width="480" } |
| 149 | + |
| 150 | +SDK Manager launched and the login completed. |
| 151 | + |
| 152 | + |
| 153 | + |
| 154 | +## 1️⃣ Connect the Target Hardware |
| 155 | + |
| 156 | +Once SDK Manager is launched, connect your Jetson developer kit to your Ubuntu PC and power it on in Forced Recovery mode. |
| 157 | + |
| 158 | +1. Connect your Jetson Orin Nano Developer Kit to your PC with a USB cable.<br>Note that the USB cable goes into the USB-C port of the carrier board of the developer kit. |
| 159 | + |
| 160 | +2. While shorting `pin 9` and `pin 10` of `J14` header located below the Jetson module using a jumper pin, insert the DC power supply plug into the DC jack of the carrier board to power it on. |
| 161 | + |
| 162 | + { width="640" } |
| 163 | + |
| 164 | + You can use a paper clip like a photo below as well. |
| 165 | + |
| 166 | + { width="640" } |
| 167 | + |
| 168 | +3. Select "**Jetson Orin Nano \[8GB developer kit version\]**" and hit "**OK**" |
| 169 | + |
| 170 | + { width="480" } |
| 171 | + |
| 172 | +4. Uncheck "**Host Machine**" and it should now look like this |
| 173 | + |
| 174 | +  |
| 175 | + |
| 176 | +5. Click "**Continue**" button to proceed to the next step. |
| 177 | + |
| 178 | +## 2️⃣ Select Software Components to Install] |
| 179 | + |
| 180 | +1. Leave the only "**Jetson Linux**" component checked, and uncheck everything. |
| 181 | + |
| 182 | +  |
| 183 | + |
| 184 | +2. Remember to also check "**I accept the terms and conditions of the license agreements**". |
| 185 | + |
| 186 | +3. Click "**Continue**" button to proceed to the next step. |
| 187 | + |
| 188 | +4. It will prompt for the `sudo` command password. |
| 189 | + |
| 190 | + { width="480" } |
| 191 | + |
| 192 | +## 3️⃣ Download on Host PC |
| 193 | + |
| 194 | +1. It will start downloading the "BSP" package and "RootFS" package. |
| 195 | + |
| 196 | +  |
| 197 | + |
| 198 | +2. Once downloads are complete, it will untar the package and start generating the images to flash in the background. |
| 199 | + |
| 200 | +  |
| 201 | + |
| 202 | +3. Once images are ready, SDK it will open the prompt for flashing. |
| 203 | + |
| 204 | +  |
| 205 | + |
| 206 | +## 4️⃣ Flash |
| 207 | + |
| 208 | +1. On the flashing prompt, select "**Runtime**" for "OEM Configuration". |
| 209 | + |
| 210 | + { width="480" } |
| 211 | + |
| 212 | +2. On the flashing prompt, select "**NVMe**" if you want to flash Jetson Linux (BSP) to NVMe SSD. |
| 213 | + |
| 214 | + { width="480" } |
| 215 | + |
| 216 | +3. Click "Flash" and the prompt popup will change like this. |
| 217 | + |
| 218 | + { width="480" } |
| 219 | + |
| 220 | +4. Flash progress. |
| 221 | + |
| 222 | + === "Details" |
| 223 | + |
| 224 | +  |
| 225 | + |
| 226 | + === "Terminals" |
| 227 | + |
| 228 | +  |
| 229 | + |
| 230 | +5. Flash successfully completes. |
| 231 | + |
| 232 | + === "Details" |
| 233 | + |
| 234 | +  |
| 235 | + |
| 236 | + === "Terminals" |
| 237 | + |
| 238 | +  |
| 239 | + |
| 240 | +## 5️⃣ Boot and Initial Setup |
| 241 | + |
| 242 | +1. If still plugged, remove the jumper from header (that was used to put it in Forced Recovery mode) |
| 243 | + |
| 244 | +2. Connect the DisplayPort cable or adapter and USB keyboard and mouse to Jetson Orin Nano Developer Kit, or hook up the USB to TTL Serial cable. |
| 245 | + |
| 246 | +3. Unplug the power supply and put back in to power cycle. |
| 247 | + |
| 248 | +4. Jetson should now boot into the Jetson Linux (BSP) of your selected JetPack version from the storage of your choice. |
| 249 | + |
| 250 | +5. Complete the initial software setup (`oem-config`) |
| 251 | + |
| 252 | +### Switch to MAXN mode |
| 253 | + |
| 254 | +Note that the default power mode is **15W**. <br> |
| 255 | +To switch to the new power mode and unlock the increased performance, follow below steps: |
| 256 | + |
| 257 | +1. Click on the current power mode (**15W**) by clicking the NVIDIA icon on the right side of the Ubuntu desktop’s top bar. |
| 258 | +2. Select **Power mode** from the menu. |
| 259 | +3. Choose **MAXN** to enable maximum performance. |
| 260 | + |
| 261 | + |
| 262 | + |
| 263 | +🎊 **Congratulations!** <br> |
| 264 | +Your Jetson Orin Nano Developer Kit is set up with JetPack 6.x image and you are ready to develop on JetPack 6.x. |
| 265 | + |
| 266 | +## Next step |
| 267 | + |
| 268 | +Check [this page](./tips_ssd-docker.md) for "SSD" and/or "Docker" set up. |
0 commit comments