How nvidia/python-jetson works
This repository provides two Jetson utilities: board control over a supported baseboard’s FTDI interface, and demultiplexing Tegra Combined UART output into per-stream pseudo-terminals. The control workflow discovers a compatible device, issues button, EEPROM, or power-rail operations, and communicates through FTDI/I²C mechanisms. The demux workflow opens and configures a UART, routes tagged output to stream PTYs, and forwards PTY input back to the UART. CLI scripts are documented but not excerpted, so their links to implementation modules are unverified.
Main entry points: ftdi.py Board controls · tcu.py TCU demux · jetson-control Control CLI · jetson-demux Demux CLI
Components 15
Board control
- Control CLI
bin/jetson-control - Device discovery
jetson/ftdi.py - Board controls
jetson/ftdi.py - Button control
jetson/ftdi.py - EEPROM operations
jetson/ftdi.py - Power rail status
jetson/ftdi.py
UART demux
- Demux CLI
bin/jetson-demux - TCU demux
jetson/tcu.py - Tagged streams
jetson/tcu.py
Hardware interfaces
- UART TTY
jetson/tcu.py - Stream PTYs
jetson/tcu.py - FTDI device
- TCU UART
Other components
- Operator or script
- Terminal client
Connections 17
- Operator or script → Control CLI: invokes
README.md - Control CLI → Device discovery: dispatches to
- Device discovery → FTDI device: discovers
- Control CLI → Board controls: dispatches commands
- Board controls → Button control: controls buttons
jetson/ftdi.py - Board controls → EEPROM operations: handles EEPROM
jetson/ftdi.py - Board controls → Power rail status: queries rails
jetson/ftdi.py - Board controls → FTDI device: communicates via
- Operator or script → Demux CLI: launches
README.md - Demux CLI → TCU demux: starts
- TCU demux → UART TTY: opens and configures
jetson/tcu.py - UART TTY → TCU UART: reads and writes
jetson/tcu.py - TCU demux → Tagged streams: creates
jetson/tcu.py - Tagged streams → Stream PTYs: opens PTY
jetson/tcu.py - TCU demux → Tagged streams: routes UART output
jetson/tcu.py - TCU demux → UART TTY: forwards PTY input
jetson/tcu.py - Terminal client → Stream PTYs: connects to
README.md