When insmod a kernel module in Jetson AGX Xavier industrial BSP 35.6.2, I get the following kernwl message:
$ sudo insmod xxx.ko param1="PAR1" "dyndbg=\"DYNDBGSTR\""
[ 99.620917] xxx: module verification failed: signature and/or required key missing - tainting kernel
This used to work in BSP 32.7.1
Apparently, UEFI is working as if secure boot is enabled… what key and procedure should I used to sign my modules?
By the way, this might be unrelated, but I also see that pr_debug does not work anymore in any functions marked as __init, while it does in __exit and normal functions… I guess that my modules should keep the module init in memory if I want to see debugging traces… that was not so in BSP 32.7.1