I want to know how to build the kernel driver which i need?
I’m developing a camera driver, I spend a lot of time to build all the module. So, I looking for is there any method to build a specific driver.
Thanks.
hello leo857366,
please see-also Kernel Customization.
assume you’re working with JP-6 release version. (i.e. Jetpack-6.0 GA)
you may follow below steps to rebuild our OOT drivers. and, it shall only 1st time for building all the modules.
for instance,
sudo mkdir -p /usr/src/nvidia-jetson-1.0
cd /usr/src/nvidia-jetson-1.0
sudo tar xf /tmp/kernel_oot_modules_src.tbz2
sudo tar xf /tmp/nvidia_kernel_display_driver_source.tbz2
sudo chown -R ${USER}:${USER} /usr/src/nvidia-jetson-1.0
export KERNEL_HEADERS="/usr/src/linux-headers-5.15.122-tegra-ubuntu22.04_aarch64/3rdparty/canonical/linux-jammy/kernel-source"
make ARCH=arm64 -j8 clean
make ARCH=arm64 -j8 modules
sudo make ARCH=arm64 -j8 modules_install
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.