The same Jetson board can run at full clock or at half, and your code never says which. Pick a power mode, add a fan, and watch ten minutes of heat decide your speed.
Learn how a Jetson module goes from a bare carrier board to a stable, measured system: pins, boot, power modes, cameras and the platforms you could pick instead.
Choose MAXN with no fan, press Replay ten minutes, and watch the clock fall around minute seven. Then turn the fan on. After that we build, piece by piece, the pinmux, the boot path, the power tables, the telemetry and the camera lanes that sit under that one curve.
You need a rough idea of what a Linux kernel and a device tree are. We explain the rest from zero. This is a model of the board, not a measurement of one.
Built from NVIDIA’s Jetson Linux Developer Guide (r36.4 for Orin, r38.2 for Thor), the JetPack 7.0 release post, the RidgeRun Jetson AGX Thor wiki, and vendor pages for NXP, TI, Qualcomm and Rockchip. Every device is a model written for this page. Sources are listed in the Field Guide (Chapter 7).
The four modes and their GPU clock caps (408, 612, 816 and 1,301 MHz) come from NVIDIA’s nvpmodel table for the AGX Orin 64GB; the software throttle point (99 °C) is NVIDIA’s too. The heat model is illustrative: a first-order lag with a 240 s time constant, an enclosure of 1.35 °C per watt without a fan and 0.55 with one, 30 °C air, and 15, 30, 50 and 62 W of draw at full load. Measure your own enclosure.
Chapter 0
See why a dead camera bus and a slow benchmark on a Jetson board both come from settings that live outside your code
A new carrier board arrives on your desk. You plug in a Jetson module, flash it, and Linux boots. Then two things go wrong. The camera on the new board does not appear: the bus scan shows an empty bus. And the neural network you benchmark runs at half the speed that NVIDIA’s own demo shows.
You open the code. Nothing in it is wrong. That is the lesson of this chapter. On a Jetson, two of the settings that matter most are not in your code at all. One lives in a spreadsheet. The other lives in a small table of power modes. Both fail silently.
A chip has far fewer pins than it has features. A system on a chip (SoC, a whole computer on one piece of silicon) may have hundreds of features that talk to the outside world: serial ports, camera buses, fan controls. It has fewer metal pads to connect them to. So each pad has a small switch inside it. The switch picks which feature owns the pad.
This switch is the pinmux (pin multiplexer). Think of a wall of power sockets where one socket can be a lamp, a heater or a charger, and a dial behind the wall decides which. The pad also has other settings: its voltage level, and whether it has a pull-up resistor (a weak link to the supply that keeps a line high when nobody drives it).
Two terms matter here. GPIO means general purpose input or output: the pad is a plain on or off wire. I2C is a two-wire bus where a controller talks to chips such as camera sensors, each at its own address. If a pad that should carry I2C is set to GPIO, the camera sensor never hears a word. The bus scan is empty. No error says why.
On many small boards you set the pinmux in the device tree, the text file that describes the hardware to the Linux kernel. On a Jetson you do not. NVIDIA supplies a spreadsheet for each family. For the AGX Orin it is jetson_agx_orin_pinmux_config_template.xlsm. You find it in the Jetson Download Center, you enable macros, and you must download the version that matches your module. You edit the cell for each pad. Then you click Generate DT File.
The macro writes three files: pinmux.dtsi, gpio.dtsi and padvoltage.dtsi. You copy pinmux.dtsi into bootloader/generic/BCT/ and gpio.dtsi into bootloader/. You point your flash configuration (the board.conf file) at them. Then you flash. These are NVIDIA’s documented steps for the Orin series (Jetson Linux r36.4).
Why does that order matter? Because of who reads the files. The first piece of NVIDIA firmware that runs on the main side of the chip is called MB1 (Microboot 1). NVIDIA’s boot guide says MB1 sets up the pinmux, the GPIO, the pad voltage and the firewalls, before Linux exists. Chapter 2 walks the whole boot path. For now, keep one rule: the pad is already set when the kernel starts. Editing a pinctrl node in the kernel tree does not move the switch for those pads.
There are exceptions. NVIDIA’s guide says I2C and one display aux channel (DP1_AUX) cannot be set in the spreadsheet, so they are configured in the device tree. It also shows a quick test: write a pad register at run time with busybox devmem, using the value from the technical reference manual. That is good for an experiment. It is not a fix, because the next flash does not carry it. The fix goes in the spreadsheet.
The camera needs the pad set to I2C. The chain runs left to right. Edit the kernel tree first and reboot: nothing changes. Then edit the spreadsheet, generate, flash and reboot.
A model of the flow in NVIDIA’s Orin bring-up guide (r36.4): spreadsheet, generated .dtsi files, flash, MB1 applies the pinmux. The pad and the camera are illustrative. Real pads have many more fields (pull, drive, voltage).
Now the worked example, one step at a time. The camera needs the pad on I2C. The template ships with the pad on GPIO.
pinmux.dtsi says I2C, but the table in flash is old.Four stages, and any one can be stale. A chain with four links and no error message is the real danger.
Now the slow benchmark. A Jetson module has several power modes, each a table of limits: how many CPU cores stay online, and the top clock of the CPU and GPU. The tool that picks one is nvpmodel. Your code cannot see it. The same program runs at 408 MHz on the GPU in the 15 W mode and 1,301 MHz in MAXN on the AGX Orin 64GB. That is a factor of 3.2 in top clock from one setting.
Three commands cover the whole story. sudo nvpmodel -q asks which mode is active. sudo jetson_clocks --show shows the clock settings now; without --show it pins the CPU, GPU and memory clocks at the maximum that the mode allows. tegrastats prints a line every second with the real clocks, temperatures and power. The rest of this lesson is these three commands made deep.
Look back at the hero. In MAXN with no fan, the clock holds for six and a half minutes and then falls. A short benchmark never sees the fall. A long deployment lives in it. Chapter 3 explains why, with NVIDIA’s own limits.
Chapter 1
Split a Jetson system into the module you buy and the carrier board you design, and see why each needs its own files
You want to put a Jetson in a robot. The robot has six cameras, a motor bus, a fan and a battery. No standard board has that exact set of connectors. So you cannot buy a board. You have to design one.
You do not design the hard part, though. NVIDIA sells the hard part as a small card. You design the board it plugs into. That split is the whole idea of this chapter, and it explains why a camera that works on the developer kit can be dead on yours.
A system on module (SoM) is a small circuit board that carries the SoC, its memory, and the power chip that feeds the SoC. It has a connector underneath with hundreds of contacts. It is not useful alone, like a car engine on a stand.
A carrier board is the board the module plugs into. It carries everything that touches the outside world: the connectors, the sockets, the power input, and the wiring to the cameras. Think of the module as a laptop’s brain, and the carrier as the rest of the machine around it.
NVIDIA’s developer kit is one module on one carrier that NVIDIA designed. The module can be on your own carrier instead. For the Jetson AGX Thor, RidgeRun’s wiki lists what sits on the module: a Blackwell GPU with 2,560 cores, a 14-core Arm Neoverse-V3AE CPU, and 128 GB of LPDDR5X memory with 273 GB/s of bandwidth. The 1 TB NVMe drive sits in an M.2 socket, so it belongs to the carrier side.
One fact in that wiki matters for cameras. It says the Thor SoC has CSI camera connections, but they are not exposed on the NVIDIA developer kit, and a custom carrier board is needed to use them. The developer kit shows a camera path through a different route, a Holoscan Sensor Bridge on a QSFP socket. Chapter 5 returns to this. Here, take the lesson: the carrier decides which of the chip’s abilities you can reach at all.
Each button is one part. Press it to move it between the module and the carrier. Then choose which carrier you built and which device tree you boot.
The split follows the AGX Thor module facts on the RidgeRun wiki and NVIDIA’s statement that MB1 programs the SoC power chip. Module designs differ in detail (what is on the module varies by product), so check the data sheet of your module. The four signals and the wiring differences are illustrative.
The module does not know what you wired to it. Take the camera. On your carrier, the camera’s I2C wires go to certain pads. Its reset line goes to a certain GPIO. Its power comes from a regulator you chose. On NVIDIA’s carrier those three choices were different, because the designers there chose differently.
Software learns these facts from files. Chapter 0 showed the pinmux files, which come from a spreadsheet that NVIDIA ties to your module version. The guide also tells you to download the right version for your SOM, and the flash configuration names a pinmux file after the module part (for example tegra234-mb1-bct-pinmux-p3701-0000.dtsi for the AGX Orin module). The device tree then describes the buses, the regulators and the sensors that sit on your carrier.
So a carrier needs three kinds of description: the pinmux (which pad does what), the GPIO and voltage tables, and the device tree entries for the parts on the board. The vendor files describe the vendor’s carrier. Boot them on yours and you get wrong answers that look like random hardware faults.
Symptom: the board boots, the network works, the camera is missing. Measurement: the bus scan shows nothing, and the kernel log shows the sensor driver failing to find its chip. Cause, in the simple case: the device tree you booted still points at the devkit’s I2C bus, reset line and power rail. Fix: copy the devkit files, then edit them to match your schematic, one signal at a time.
Use the device above to see it. With your carrier and the devkit tree, three of the four signals are wrong. The fan still works, because a plain fan wire is the same everywhere. This is why the fan works and the camera does not, and why it feels so confusing on the bench.
A last point on power. The module needs its supply rails to come up in the right order, and the power chip on the module does that work. NVIDIA says MB1 programs the power chip for the CPU rail. Your carrier supplies the input power and the rails for the parts you added. A camera on a rail that comes up late, or not at all, looks exactly like a pinmux fault. Check the rail with a voltmeter before you read a single line of driver code.
Chapter 2
Follow the first second of a Jetson, stage by stage, and see why a mismatched software release never boots
You press the power button on a Jetson. For about the first second, nothing you wrote runs. A chain of small programs wakes the chip, sets up the memory, locks the doors and finally finds Linux. If one link breaks, you see a black screen and no message.
To debug a black screen you need to know the chain. This chapter gives it, using NVIDIA’s Jetson Linux boot architecture pages. The boot chain lesson teaches the generic Arm version. Here we put the Jetson names on it.
At power-on, the main memory is not working yet. The chip must train it first, which is a delicate tuning of the signals between the chip and the memory. But the program that trains the memory is too big to fit in the tiny memory inside the chip. So a small program loads a bigger one, which loads a bigger one. Each stage sets up the ground for the next. This is a boot chain.
There is a second reason for stages: trust. Each stage checks the signature of the next before it runs it. If you trust the first stage, and each stage checks the next, you can trust the last. The first stage must be burned into the chip so nobody can change it.
NVIDIA’s page for the AGX Orin, Orin NX and Orin Nano names these stages:
Chapter 0 told you MB1 sets the pinmux. Now you see why: it is the stage that wakes the pads and the memory. By the time UEFI runs, the pads are already set.
The Jetson Thor page lists the same stages plus two security processors. HPSEROM is an instance of the platform security controller for a hardware-protected environment. NVIDIA says it hosts security-sensitive functions such as camera security. SBROM is another instance that serves as the secure enclave for Android Keystore. If you build a robot you may never touch them, but you will see them in the boot log.
Pick a platform and press Next stage to walk the chain. Below it, choose a module and a software release, then flash.
Stage names and duties are from NVIDIA’s Jetson Linux boot architecture pages (r36.4.4 for Orin, r38.2.1 for Thor). The generic row is the standard Arm chain (BL1, BL2, BL31, an optional secure OS, then U-Boot); the match to NVIDIA’s stages is loose, not one to one. The flash result is a model of the rule that each module needs the release built for it.
Two names cause trouble. Jetson Linux (once called L4T, Linux for Tegra) is NVIDIA’s board support package: the bootloaders, the kernel, the drivers and the root file system. JetPack is the bundle that adds the AI libraries on top. The Orin guide used in this lesson is Jetson Linux r36.4. The Thor guide is r38.
NVIDIA’s release post says JetPack 7.0 packages Jetson Linux 38.2 with Linux kernel 6.8 and an Ubuntu 24.04 root file system, and that it supports the Jetson AGX Thor developer kit and the T5000 module. So the release number is also a compatibility rule. A module needs the release built for its SoC, because the boot stages, the device tree and the drivers are all different.
That is the failure to expect. You flash the Thor with the Orin release, or the other way round. The flash tool uses the MB2 applet to detect the device type and then selects the matching files. If the files do not match, there is no boot, and often no message. Symptom: dead board after flashing. Measurement: a serial console on the debug UART shows no output, or stops at the first stage. Fix: check the release notes for the supported modules, and reflash with the matching release in recovery mode.
Chapter 3
Read NVIDIA’s mode tables and limits, then predict the minute at which a sealed box starts to slow down
Your robot passes every bench test. In the field, after seven minutes of heavy vision work, its frame rate drops by a fifth. Nothing crashed. No log line says why. The board only got hot.
This is the same curve as the hero at the top of the page. This chapter gives you the tables and the one equation behind it, so you can predict the drop before you build the box. The general story of heat on edge devices is in edge roofline and thermals; here we use the Jetson numbers.
A power mode is a row in a table that nvpmodel reads from /etc/nvpmodel.conf. The row says how many CPU cores stay online and how high the CPU, GPU and memory clocks may go. NVIDIA’s guide (r36.4) lists these for the AGX Orin 64GB:
| Mode | Online CPU cores | CPU max (MHz) | GPU max (MHz) |
|---|---|---|---|
| MaxN (ID 0) | 12 | 2,201.6 | 1,301 |
| 15 W (ID 1) | 4 | 1,113.6 | 408 |
| 30 W (ID 2, default) | 8 | 1,728 | 612 |
| 50 W (ID 3) | 12 | 1,497.6 | 816 |
Read the table carefully. The 50 W mode has a lower CPU clock than MaxN. And the default is 30 W, not the fastest. If you never run nvpmodel, you run at 612 MHz on the GPU, and the 1,301 MHz you saw in a demo is not yours.
The AGX Thor has two modes in the r38.2 guide: MAXN (ID 0) and 120 W (ID 1, the default). Both keep 14 CPU cores at 2,601 MHz. The GPU max is 1,575 MHz in MAXN and 1,386 MHz in the 120 W mode. NVIDIA calls MAXN experimental and says it is not a maximum-performance mode, because hardware throttling starts when module power goes above the TDP budget. The Orin guide gives the same warning.
TDP (thermal design power) is the power the module may draw for long periods. NVIDIA lists it per module: 15 W for the Orin Nano 8GB, 40 W for the AGX Orin 32GB, and 130 W for the Thor developer kit module. There is also an instantaneous limit above it (20 W, 45 W and 144 W respectively in the guides) for short bursts.
Two mechanisms act when you go over. Software throttling is in the kernel. As the temperature rises it lowers the clock caps through the standard cooling hooks. On the Orin series the first trip is 99.0 °C. Hardware throttling is in the BPMP firmware. It reacts to fast electrical and thermal events and cuts the clock by 50%, 75% or 87.5% (the guide calls these light, medium and heavy). The Orin hard-trip is 103.0 °C. After that come the shutdown points at 104.5 °C (software) and 105.0 °C (hardware). NVIDIA states that hardware throttling is not reported to the host operating system. Your code sees only a slower clock.
The fan is the first defence. NVIDIA says nvfancontrol raises fan speed so that the clock throttling starts at a higher temperature.
A sealed box warms like a bath that fills while it drains. The heat in is the power the module draws. The heat out depends on the box: how well it moves heat to the air. The die settles where the two match. Call that temperature the steady state. It is not reached at once. The die moves toward it with a time constant.
Now the worked example with the hero’s illustrative numbers: MAXN draws 62 W, the sealed box has R = 1.35 °C/W, the air is 30 °C, the die starts at 38 °C, and τ is 240 s.
t = 240 × ln(75.7 / 14.7) = 393 s (the hero’s throttle starts at 6:33)
Add a fan: R drops to 0.55, so T∞ = 30 + 0.55 × 62 = 64.1 °C. The die never nears 99 °C. Now try the 50 W mode without a fan: T∞ = 30 + 1.35 × 50 = 97.5 °C. That is only 1.5 °C under the trip, so a hot day tips it over. A mode can pass in your lab and fail in the sun.
Pick a module and a mode. The bars show each mode’s GPU clock cap. Drag the power demand and watch where it falls against the module’s TDP and instantaneous limit.
Mode tables are NVIDIA’s (Jetson Linux r36.4 for Orin, r38.2 for Thor). TDP and instantaneous limits are the guide’s module figures (Orin Nano 8GB 15 and 20 W; AGX Orin 32GB 40 and 45 W; Thor 130 and 144 W). The Nano’s MaxN needs the super flash configuration. The meter is a model; it does not know your workload.
sudo nvpmodel -m, run a steady GPU load for ten minutes inside your real enclosure, and log tegrastats to a file. Find the minute where the GPU clock first falls. Compare it with the equation above.Chapter 4
Read one line of tegrastats, and fix the four habits that make a Jetson benchmark untrustworthy
Two engineers benchmark the same model on the same board. One reports 21 ms per frame. The other reports 45 ms. Both are honest. Neither wrote down the power mode, the clock state or the temperature. So nobody can say which number is right.
A board that hides its state needs an instrument. On a Jetson that instrument is tegrastats. This chapter teaches you to read it, and then uses it to make a benchmark you can repeat.
tegrastats prints one line of text each second. You can change the pace with --interval in milliseconds (the default is 1000), send the output to a file with --logfile, print extra messages with --verbose, and stop every running copy with --stop. NVIDIA’s Tegrastats page describes the fields like this:
lfb part is the largest free block, which tells you about fragmentation.1%@102 means 1% load at 102 MHz. A core that is powered down shows off.MCPU@45C.Where do the power numbers come from? NVIDIA says the Orin modules integrate a three-channel INA3221 power monitor, whose data you can read from sysfs files. It is a small chip that measures the current and voltage on a supply wire. So the numbers are measured on the board, not guessed by software. For the Orin Nano and NX, NVIDIA names the total module channel VDD_IN, and its limits are set on that channel.
Rail names differ between modules and between releases. NVIDIA tells you to look up the names for your module in its power modelling documentation. So do not hard-code a rail name in a script. Read the line once on your board and write the names down.
Chapter 3 showed that the same code runs at 612 MHz or 1,301 MHz depending on a mode you did not choose. Chapter 3 also showed that a long run slows down when the box heats. Together they give four rules.
sudo nvpmodel -q and write the answer in the result. If it says the default 30 W mode, your GPU cap is 612 MHz on the AGX Orin 64GB.jetson_clocks sets the CPU, GPU and memory clocks to the static maximum of the current mode. Without it, a governor (a small program that moves the clock up and down with load) changes the clock during your run. NVIDIA’s guide also says that after you run it, you cannot change the mode until you reboot. Use --store and --restore to save and return the old settings.tegrastats --logfile running during the measurement. When a result looks odd, the log tells you the clock, the temperature and the power at that second.The device below shows one line of tegrastats and five runs of a toy benchmark. Toggle the habits and watch the spread of results. The toy network takes 20 ms at the MAXN clock on an idle, cool board. The numbers are illustrative; the effects have the sizes that Chapter 3 derived (1,301 against 612 MHz is a factor of 2.1).
Press a field in the line to see what it means. Then switch the four habits on and off, and read the five run times.
The tegrastats line is synthetic. Its field forms follow NVIDIA’s Tegrastats page (r36.4); names and rails vary by release and module. The five run times come from a toy model: 20 ms is the MAXN, pinned, warm value; the default 30 W mode multiplies it by 1301/612 = 2.1; an unpinned governor adds a start-up penalty that fades over the runs; a cold start makes early runs about 8% too fast.
Three more tools help when the cause is not a clock. The serial console is a text connection to the debug UART pins. It shows the boot log from the first stage on, so it is the only tool that works when the board does not boot. dmesg shows kernel messages after boot, including probe failures for the camera. And NVIDIA’s Nsight Systems can trace what the CPU and GPU do over time on the device, which tells you if the GPU waits for data. Use the cheap tool first. Most bring-up failures are visible in the serial log and in one tegrastats line.
tegrastats --interval 500 --logfile run.log in one terminal. In another, run your model in a loop for ten minutes. Plot the GPU clock and temperature columns from the log. Do it once at the default mode and once after nvpmodel and jetson_clocks. Keep both plots next to the latency numbers.Chapter 5
Count lanes before you buy sensors, and follow a frame from the wire to your program
Your robot needs six cameras. You pick a sensor you like, order six of them, and design the carrier. Then the sixth camera will not start. The driver says the mode is not supported. Nothing is broken. You ran out of wires.
This chapter is the lane arithmetic that would have told you in advance, and then the software path that turns the wire signal into a picture your code can use. The sensor side of this story is in sensor to CSI. Here we cover the Jetson side.
Camera sensors talk to the SoC over MIPI CSI-2, a standard serial link for cameras. The link is made of lanes. Each lane is a pair of wires that carries bits in one direction, from the camera to the SoC. One more pair carries a clock. A sensor uses 1, 2 or 4 lanes. More lanes means more bits per second.
The physical layer comes in two types. D-PHY uses a clock and the data lanes. C-PHY uses three-wire groups and no separate clock. NVIDIA’s Orin spec table lists D-PHY 2.1 at up to 40 Gbps over 16 lanes in its largest configuration, and up to 20 Gbps over 8 lanes in the smaller ones. Divide: 40 Gbps over 16 lanes is 2.5 Gbps per lane. The 20 Gbps over 8 lanes gives the same 2.5. That number is the lane speed we use below. (The table does not make clear which cell belongs to which module, so check the data sheet for yours. The same cell with 16 lanes also lists C-PHY at up to 164 Gbps and up to 6 cameras, or 16 through virtual channels.)
A sensor produces a stream of pixels. Each pixel is a number of bits. In RAW10, a pixel is 10 bits. The stream rate is the product of four things.
Worked: a 4K camera at 30 frames per second in RAW10. Pixels per frame: 3,840 × 2,160 = 8,294,400. Times 30 is 248.8 million pixels per second. Times 10 bits is 2.49 Gbps. With 20% overhead that is 2.99 Gbps. Divide by 2.5: 1.2 lanes. Round up to the next size a sensor uses: 2 lanes.
Now ask the first question again. Six 4K30 cameras need 6 × 2 = 12 lanes. On a 16-lane budget that fits. Six 4K60 cameras need 5.97 / 2.5 = 2.4 lanes each, so 3, and sensors come in sizes of 1, 2 or 4. That makes 4 lanes each, 24 lanes in all. The sixth camera does not fit. The driver’s message, “mode not supported”, hides this simple count.
Choose the lane budget, the camera mode and the number of cameras. Each camera takes the lanes the arithmetic asks for.
Lane speed 2.5 Gbps per lane comes from NVIDIA’s Orin specification table (40 Gbps over 16 lanes, 20 Gbps over 8). The 20% overhead is illustrative. Real sensors offer fixed modes; always check the sensor data sheet. This model ignores virtual channels, which let several streams share one link. A lane count for the Thor camera ports is not in the sources we opened, so check NVIDIA’s Thor data sheet.
Once the bits arrive, the SoC’s receiver puts a raw frame in memory. Raw means one number per pixel in a colour pattern called Bayer, not yet a picture. Then you choose a path. NVIDIA’s camera guide names three layers:
The sensor driver itself sits below, using the Linux media controller framework. NVIDIA’s example driver for the OV5693 sensor shows the shape. The JetPack 7.0 release post adds one fact: for Thor, CSI and GMSL cameras are supported through Argus, while CSI over Ethernet through the Holoscan Sensor Bridge is supported through the SIPL camera API.
One more idea matters for speed: zero copy. A 4K RAW10 frame is about 10 MB. Copying it between the camera engine, the ISP, the GPU and the encoder would waste bandwidth. NVIDIA’s multimedia stack passes buffers by handle (the API type is called NvBufSurface; we did not open its reference for this lesson, so check it for your release). The goal is that a frame is written once and read in place.
Failure mode, symptom first: a sensor mode is refused, or frames drop. Measurement: lanes needed against lanes wired, and the lane speed the sensor mode actually sets. Fix: pick a mode with a lower rate, wire more lanes, or drop a camera. Do the arithmetic before the schematic is final.
gst-launch-1.0 nvarguscamerasrc ! ... pipeline, then a v4l2-ctl raw capture of the same sensor. Note the format of each. Then compute the lanes for the mode with the equation above and compare with the sensor data sheet.Chapter 6
Compare vendor platforms on what decides a project, and see why a bigger TOPS number rarely picks the winner
A product manager sends you a table. Five chips, one column of numbers called TOPS. The biggest number is at the top. The manager asks, “Can we just pick that one?”
You cannot answer from the table. The number tells you how fast the chip can do a simple operation on paper. It does not tell you how long your model takes, how you load your model, or who fixes the bug at the third week. This chapter gives you the questions that do decide.
TOPS means tera operations per second: a million million simple operations each second, usually multiply-adds on small integers. A vendor multiplies the number of multiply units by the clock speed. The result is a ceiling, reached only if every unit is busy every cycle.
Three things lower it. First, utilization: real models keep a unit busy for only a part of the time, because data must arrive and results must leave. Second, precision: a figure for 8-bit integers does not apply to 16-bit floats. Third, support: if the vendor’s compiler does not map a layer to the accelerator, that layer runs on the CPU, slowly.
Look at the vendor headlines that we opened. NXP’s i.MX 8M Plus lists a 2.3 TOPS neural processing unit. TI’s TDA4VM lists a matrix multiply accelerator of up to 8 TOPS at 8 bits and 1.0 GHz. Rockchip lists the RK3588 with a triple core 6 TOPS NPU that supports INT4, INT8, INT16, FP16, BF16 and TF32. And TI’s own application note on the AM62A says full 2 TOPS needs a 0.85 V supply, and that its early starter kit reached 1.7 TOPS. One footnote moves the number by 15%.
Put the AGX Thor beside them: retail listings of the developer kit give up to 2,070 FP4 TFLOPS. That is a different unit (4-bit floating point) and a different scale. NVIDIA’s own figure was not opened for this lesson, so treat it as a listing. The point is not who is bigger. The point is that these numbers are not in the same unit.
Bars use a log scale, so each gridline is ten times the one before. Set the model cost, the frame rate and the utilization. A bar turns green when its headline covers what you need.
Headlines: i.MX 8M Plus 2.3 TOPS (NXP); TDA4VM up to 8 TOPS at 8 bits (TI); AM62A 2 TOPS at 0.85 V (TI application note SPRADB8); RK3588 6 TOPS (Rockchip); AGX Thor 2,070 FP4 TFLOPS (retail listings). Units differ, so a bar is a ceiling, not a race. The model cost and utilization are illustrative; 8 GOPs per frame is the order of a ResNet-50 class network.
Worked example. A model costs 8 billion operations per frame. You need 30 frames per second. That is 240 billion operations per second, or 0.24 TOPS of useful work. If the accelerator is busy a quarter of the time, you need a headline of 0.24 / 0.25 = 0.96 TOPS. Every chip in the chart clears that. So TOPS did not pick a winner. Something else will.
Look at four things, in this order.
Failure mode, symptom then measurement then fix. Symptom: you chose by TOPS, and the model runs at a third of the expected speed. Measurement: the compiler report lists which layers fell back to the CPU, and a profile shows the accelerator idle most of the time. Fix: change the model to use supported layers, or pick the platform whose toolchain supports them. Do this test with your model on an evaluation kit before you commit to a carrier board.
Chapter 7
Keep the numbers, the bring-up checklist, the power-mode planner as code, and the sources for a new carrier board
The whole lesson fits in one sentence. On a Jetson, the settings that decide whether your board works and how fast it runs live outside your code: the pinmux in a spreadsheet and the boot firmware, the release in the board support package, and the power mode and the heat in a table and a box. Check them in that order, and measure each one.
| Item | Value | Source |
|---|---|---|
| AGX Orin pinmux spreadsheet | jetson_agx_orin_pinmux_config_template.xlsm; Generate DT File writes pinmux.dtsi, gpio.dtsi, padvoltage.dtsi | Jetson Linux r36.4, AGX Orin bring-up |
| AGX Orin 64GB GPU caps | 15 W: 408; 30 W (default): 612; 50 W: 816; MaxN: 1,301 MHz | Jetson Linux r36.4, Platform Power and Performance |
| Orin throttle points | 99.0 °C software, 103.0 °C hardware; shutdown 104.5 and 105.0 °C | same |
| Hardware clock cuts | 50%, 75%, 87.5%; not reported to the OS | same |
| TDP and burst limits | Orin Nano 8GB 15 / 20 W; AGX Orin 32GB 40 / 45 W | same |
| AGX Thor modes | MAXN (ID 0, GPU 1,575 MHz); 120 W (ID 1, default, GPU 1,386 MHz); 14 cores at 2,601 MHz; TDP 130 W | Jetson Linux r38.2, Jetson Thor power |
| Thor thermal trips | software slowdown 109 °C, shutdown 114.5 °C (decoded from raw device tree values) | same |
| JetPack 7.0 | Jetson Linux 38.2, kernel 6.8, Ubuntu 24.04, CUDA 13; supports the Thor developer kit and T5000; includes a realtime kernel | NVIDIA JetPack 7.0 release post |
| Thor module | 2,560-core Blackwell GPU, 14-core Neoverse-V3AE, 128 GB LPDDR5X at 273 GB/s; 40 to 130 W; CSI not exposed on the developer kit | RidgeRun Thor wiki |
| CSI lane speed | 2.5 Gbps per lane (40 Gbps over 16 lanes; 20 Gbps over 8), derived | NVIDIA Orin specification table |
| Vendor NPU headlines | i.MX 8M Plus 2.3; AM62A 2 (at 0.85 V); RK3588 6; TDA4VM up to 8 TOPS | NXP, TI SPRADB8, Rockchip, TI |
| Thor developer kit price | $3,499 as listed in one review; resellers vary | HotHardware |
Not verified for this lesson: the number of CSI lanes on Thor; the kernel version and realtime options for JetPack 6 on Orin (check the release notes before you promise a jitter budget); the details of NvBufSurface; and how Qualcomm’s kernel tracks mainline. A draft claim that an Orin Nano drops from 2.0 to 1.4 GHz in 90 s did not match NVIDIA’s tables (the Orin Nano CPU tops out at 1.5 GHz), so the hero uses a labelled toy model instead.
Set how many watts your enclosure can shed for ever, and the GPU clock your job needs. The planner picks the fastest mode that fits. The code below is the same rule.
Budgets and caps are NVIDIA’s mode tables (r36.4, r38.2). MaxN has no budget in the tables, so the planner leaves it out unless you allow it, and then says you must measure. The Thor 120 W mode is the default; the guide does not list lower Thor modes, so none are shown.
python# Pick the fastest nvpmodel mode that the enclosure can hold for ever. # Tables: NVIDIA Jetson Linux r36.4 (AGX Orin 64GB) and r38.2 (AGX Thor). MODES = { "orin64": [("15W", 15, 408), ("30W", 30, 612), ("50W", 50, 816), ("MaxN", None, 1301)], "thor": [("120W", 120, 1386), ("MAXN", None, 1575)], } def plan(module, sustained_w, min_gpu_mhz, allow_maxn=False): best = None for name, watts, gpu in MODES[module]: if watts is None and not allow_maxn: continue # no budget in the table: measure it yourself if watts is not None and watts > sustained_w: continue # the box cannot shed that much heat if gpu >= min_gpu_mhz and (best is None or gpu > best[2]): best = (name, watts, gpu) return best # None: the box is too small or the job too big # Shell side, in the order of Chapter 4: # sudo nvpmodel -q # which mode now? # sudo nvpmodel -m 2 # set the mode by ID # sudo jetson_clocks --show # clocks now (jetson_clocks alone pins them to the mode's maximum) # tegrastats --interval 500 --logfile run.log
This lesson is the bring-up step of the Linux track. Read the boot chain in boot chain, the signing and update story in secure boot and OTA, and the kernel view in kernel internals for platform engineers. The camera arithmetic starts in sensor to CSI; the heat story in edge roofline and thermals. For real-time work see real-time Linux, robot real-time performance and sensor and actuator integration. For the first principles see embedded Linux and embedded systems intro.
The credit belongs to the authors of these guides and pages. Every device here is our own model, built from their numbers, and every toy number is labelled.
Now press Present or Teach and explain, from memory, why a camera bus can be dead while the driver is fine, and why a Jetson slows down at minute seven. Then go back to the replay at the top and find the fan setting that keeps it flat.