I’m using JetPack 5.1.3 with the Orin NX. I flashed my “Orin NX” on the Nano devkit using the default kernel and device tree blob (DTB). The command I used is:
With this setup, HDMI works fine. However, after compiling and copying the kernel, DTB, and modules, and then flashing the board with the same command, the HDMI no longer displays anything.
We have seen that in the past and it is due to issues with the kernel modules, most comonly due to a missmatch between the kernel name and the kodules directory.
You could double check by trying to access the board via ssh or uart.
Please let us know how it goes.
Also, dont hesitate to reach out if you need further assistance.
Hello proventusnova
Thanks for your reply,
I don’t understand why there’s a mismatch. I haven’t made any changes to the sources; I just compiled the kernel. After replacing the compiled image with the original one, the problem was resolved. However, I want to modify the image further by adding another driver to it.
“The HDMI connection is not working properly.”
What @proventusnova told here is common things in kernel.
If you build the kernel (even without modifying anything) and only update the kernel image but not kernel modules, then it has chance the original kernel modules cannot get loaded because it does not use same machine (or some version check failed) as your new kernel to build out.
@WayneWWW is right. It is just common to see changes in the kernel name when you build.
This usually happens due to a version management feature that ads extra information on the kernel name when you build the Image.
You can verify this by running uname -a before and after updating the kernel.
In order to try to get this fixed you can check if this is actually the issue.
And look for the difference in the kernel name.
Then, you can check your tegra_defconfig file to see if the LOCALVERSION environment variable is being set to something similar to the difference in the kernel name.
Another way to ensure you don’t face this issue is to double check that your compiled kernel name matches the name of the modules directory you have in the board. If not, you can compile the kernel modules and copy them into the board.
Hope this helps.
If you still have questions, please do not hesitate to reach out.
Thanks for your reply.
I compiled the nvidia_kernel_display_driver_source and copied the .ko file to /Linux_for_Tegra/rootfs/usr/lib/modules/$(uname -r)/extra/opensrc-disp/, then flashed the Orin NX. After that, I ran sudo depmod -a.
“The HDMI is working correctly.”