.tar.gz file. TI’s
GStreamer plugin is built on the board itself; that step is described in Installation.
1. Getting the Source Code
2. Setting Up the Build Environment
As in the SDK, every tool the build needs comes with a ready-made build environment. Your computer only needs Docker and Devbox.1
Installing the Requirements
The
setup.sh script installs Docker and Devbox.2
Activating the Devbox Shell
Devbox installs Distrobox and Task.
3
Entering the Build Environment
On its first run On the first entry,
task box builds the Docker image, then enters the Distrobox environment.⚠️ First time user password setup ⚠️ asks you to set a password for the environment.
Once you see the 🚀 distrobox:workdir> prompt, you are ready to build.- In the environment the repository is
/home/workdir; other directories of your computer are under/run/host. - The environment’s home directory is the repository’s
.distrobox/folder; the TI tools it downloads are kept there. task destroyremoves the environment and its Docker image.
3. Tasks
All commands below run inside the build environment (task box). task without arguments lists all tasks and
the current settings.
VARIABLE=value.
4. Building the Package
SENSORS variable to put only some sensors into the package.
You need to build the drivers of sensors whose driver is not in the kernel first
(Building Sensor Drivers): the package carries the built
drivers and leaves out a driver that was not built.
task build runs the validate, dcc and overlays tasks in that order. The outputs are under build/:
5. TI’s DCC Tools
The ISP tuning files are compiled from XML sources with TI’sdcc_gen_linux. On its first run, task dcc
downloads it from the pinned REL.IMAGING.11.00.00.00 tag of TI’s imaging repository and checks its SHA-256.
The tool is not added to the repository; it is kept in ~/.cache/camera-isp-sdk/dcc-tools/.
6. Building Sensor Drivers
A sensor whose driver is not in the T3 Gemstone kernel (IMX477 today) carries it insensors/<sensor>/driver/: the driver
sources and a Kbuild file. task drivers cross-builds the drivers of all such sensors, or of the sensors in
SENSORS, against a kernel build directory configured for the board’s kernel. Sensors whose driver is in the
kernel are skipped. Building the kernel is described in Kernel. A kernel directory outside the
repository shows up under /run/host in the environment.
.ko) are built next to their sources. task package puts them into the package, which installs
them under /lib/modules/<kernel>/updates/ on the board.
7. Tests and Checks
camera-isp-sdk validate catches, before the build, problems that would otherwise only show up on the board and
often without any error message:
- Image widths the capture DMA cannot take
- DCC files whose ID the ISP ignores
- An AE statistics grid outside the frame
- Tuning files made for another bit depth or Bayer order
- Link rates the D-PHY cannot carry

