However, after rebuilding the kernel from the default sources, I noticed that the DTB and boot/image files are different from the default images provided by the SDK Manager tool.
Is there a specific configuration or step that I need to follow to ensure the kernel is built correctly for the Jetson Orin Nano board, so it matches the default configuration provided by NVIDIA?
I mean the size of the boot/image and Device Tree Blob (DTB) files are different in the manual rebuild kernel and Nvidia default image.
My goal is to keep the default Nvidia image and only append new camera drivers to avoid regression, could you tell me do I really need to rebuild the whole boot/image and Device Tree Blob (DTB) or if there is some other solution?
I think the size may not be the issue since you may have different customization in kernel and dtb. Is there any issue after you updating your kernel image/dtb?
I would suggest you can use overlay-dtb instead of modifying and rebuild kernel image.
If you want to add custom kernel driver, you can either loading it as loadable kernel module or rebuilding the kernel image.
One issue I’ve encountered is that after using the kernel from the sources, the display port no longer works correctly; it freezes on the bootloader screen, although the rest of the system functions properly.
The overlay-dtb approach seems very promising. Do you have any guidance or instructions on how to correctly implement it on the Jetson Orin Nano r36.2? I found some basic steps but I’m not sure if I’m missing something important:
Create a Device Tree Overlay Source (DTS) file.
Compile the Device Tree Overlay:
dtc -I dts -O dtb -o my-overlay.dtbo my-overlay.dts
Load the Overlay on your Jetson Orin by adding this line to extlinux.conf:
FDTOVERLAY /boot/.dtbo
However, how is the dtbo linked with the main dtb? I mean, where is the callback from the main dtb to the overlay? Do I need to make some specific registration to ensure that the overlay will be correctly utilized?
I’m confused about how to correctly load a Device Tree Blob Overlay (DTBO) in the latest version, r36.2. Could you please confirm if the following configuration for extlinux.conf is the correct way to do it?
After starting the mentioned configuration, I haven’t noticed any differences and I don’t see any additional information (for example, in the dmesg output) related to the new DTBO. How can I verify that the DTBO was correctly loaded?