Is there a way that we can precompile our camera driver, transfer it to a populated Linux_for_Tegra dir and then flash our jetsons without the modules install steps?
$ export INSTALL_MOD_PATH=<install-path>/Linux_for_Tegra/rootfs/
$ sudo -E make modules_install
When transferring the module to Linux_for_Tegra/rootfs/usr/lib/modules/, it does not get flashed to the device.
hello arne.robberechts,
I assume you’re going to update the kernel module without re-flashing, right?
you may copy the compiled module to your target, and overwrite it.
for instance, /usr/lib/modules/5.15.148-tegra/updates/drivers/media/i2c/nv_imx185.ko
and.. the changes should applied after system restart.
Hi JerryChang,
Thank you for the quick reply.
Ideally we would have no post-flash install step.
For the device trees this works by simply copying the modified .dtb and new ddtbo files to Linux_for_Tegra/rootfs/boot and Linux_for_Tegra/kernel/dtb/. After flashing the Jetson then boots with the new device tree.