Hello,
To solve the issues I am having with some cameras on Jetpack 5.1.3, I am trying Jetpack 5.1.5, as recommended in some posts here. I will probably make another post about this as 5.1.5 did not seem to fix these issues, but while deploying 5.1.5, I am having issues getting the display to work, which I did not have with 5.1.3 (my entire build process is identical, except for using the appropriate sources of course).
To guarantee the best configuration for the display, I have been flashing the default 5.1.5 tegra system with the precompile kernel images from the BSP sources and pulling the kernel config from /proc, ie. using nvidia-l4t-kernel’s config, adding my couple of config requirements (custom drivers for the cameras, multi-path TCP, etc… nothing display related). Then, I compile the kernel and the display drivers from the BSP against my kernel source and deploy these to my device. I can confirm that my display drivers (Nvidia.ko, Nvidia-modest.ko and Nvidia-drm.ko) are packaged with my kernel and Nvidia and Nvidia-modest do load upon boot, similar to the Tegra system. A difference that jumped out at me straight away is that Nvidia-modest is not being used by anything when running my kernel. To eliminate my device tree as the cause, I booted the Tegra kernel with my device tree, and I did get the display running with my dtb.
After compiling my kernel with the config extracted from /proc, I noticed that CONFIG_TEGRA_NVLINK=y disappeared from my .config. After searching for this, I only found it in the nvgpu overlay that ships with both the 5.1.3 and 5.1.5 kernel, so I assume this isn’t the cause, as I am not building this any differently between my 5.1.3 and 5.1.5 builds. I don’t explicitly build this overlay, I only call make twice, once for my kernel in the kernel root and once for the nvdisplay drivers as an out of tree modules build.
I am just a little stumped about what is missing to make the display work with my kernel. I have attached a tar with logs from the working (tegra default) and not working (my system) of the kernel config, dmesg during boot, device tree decompiled, and lsmod after boot. To remove rootfs issues, I can confirm that I can switch between a working and not-working display by switching between my kernel (+ modules) and the two packages nvidia-l4t-kernel and nvidia-l4t-display-kernel without changing the rootfs, ie. without reflashing.
Hopefully, there is enough information to go off of.
Cheers
debug_display.tar.gz (288.8 KB)