Where to find driver source after Voyager SDK installation
After installing the Voyager SDK, the Metis driver source code lives in /usr/src/metis-<version>/driver/.
Confirm the installed driver
Use dkms status to see which driver version is built and installed:
dkms status
metis/1.2.2, 5.10.160, aarch64: installed
In this example, the Metis driver (version 1.2.2) is installed and compiled for kernel 5.10.160 on an ARM64 (aarch64) system.
List the source directory
ls /usr/src/metis-1.2.2/driver/
axl-pcie-reset.c conf dmabuf-triton-exporter.o dmabuf-triton-importer.o metis-dmabuf.h metis.o
axl-pcie-reset.ko dmabuf-triton-exporter.c dmabuf-triton-importer.c LICENSE metis.h metis-pcie-edma.h
axl-pcie-reset.mod dmabuf-triton-exporter.ko dmabuf-triton-importer.ko Makefile metis.ko metis-version.h
axl-pcie-reset.mod.c dmabuf-triton-exporter.mod dmabuf-triton-importer.mod metis-core.c metis.mod modules.order
axl-pcie-reset.mod.o dmabuf-triton-exporter.mod.c dmabuf-triton-importer.mod.c metis-core.o metis.mod.c Module.symvers
axl-pcie-reset.o dmabuf-triton-exporter.mod.o dmabuf-triton-importer.mod.o metis-dma-buf.c metis.mod.o
The directory contains:
- Source files (
.c,.h) — the driver code for PCIe operations, DMA buffer management, and device reset. - Compiled objects (
.ko,.o,.mod*) — built kernel modules, ready to load into the kernel. - Build artifacts — the Makefile, configuration files, and module metadata.