jetson xavier nx kernel version 32.7.4, the printk printout was added to the driver GPI-tegra186.c. After the system started, the debugging information still could not be displayed using dmesg.
I don’ t know, but are you certain your content is actually loaded? Did you add this to a module, or did you add this to the main kernel? How did you install the module or kernel? What CONFIG_LOCALVERSION was used, and what is the output of “uname -r”?
gpio-tegra186.c is the original file in the kernel where I added debugging information to the init function. I found that dmesg did not output the information I want, it was OK before, I don’t know what changed to cause such a problem. The gpio-tegra186.c compiled file is loaded into the kernel
After the system is turned on, I use dmesg to check and find that I do not have the output I want. When compiling the kernel for the first time some time ago, you can see the output of your own Settings. Is this the kernel not loaded? Or what’s the reason?