Hello, I am currently working on CSI driver development on Jetson Linux 36.3, and I need to modify the contents under nvidia-oot, recompile the Image and replace it. Although the image generation and replacement were successful, the modifications I made did not take effect, so I am seeking assistance.
System Details:
Release Version: R36 (release), REVISION: 3.0
Device: Jetson AGX Orin (32G)
Steps Taken:
Step 1: Modify sensor_common.c
I modified the extract_pixel_format function in nvidia-oot/include/drivers/media/platform/tegra/camera/sensor_common.c.
Step 2: Compile the Image
I used the nvbuild.sh script in the source directory to compile the image.
cd Linux_for_Tegra/source
./nvbuild.sh
During the compilation, it shows thatsensor_common.owas generated and output to kernel_out/nvidia_oot/drivers/media/platform/tegra/camera.
The generated Image is located in kernel_out/kernel/kernel-jammy-src/arch/arm64/boot/Image.
Here is the relevant log:
log.txt (1.1 MB)
Step 3: Replace the Image
I transferred the Image located at kernel_out/kernel/kernel-jammy-src/arch/arm64/boot/Image to Jetson AGX Orin, and replaced the existing /boot/Image file with it. The /boot/extlinux/extlinux.conf file explicitly points to the Linux /boot/Image, indicating the location of the Image.
Step 4: Reboot
I rebooted the system, reloaded the camera driver, but the changes I made in sensor_common.c were not reflected.
Question:
Did I make a mistake in any of the steps? I used the same steps on Jetson Linux 35.4.1 and the modified image worked as expected. However, I noticed that in Jetson Linux 36.3, the kernel directory structure has changed significantly. Is there any step I missed that caused the failure? I sincerely hope to get your guidance. Thank you.