Skip to content

Installed kernel modules are much larger than NV stock L4T #1212

Answered by madisongh
CHNtentes asked this question in Q&A
Discussion options

You must be logged in to vote

I hadn't noticed this before, but the problem is that starting with JetPack 5, NVIDIA changed the default kernel config to set CONFIG_MODULE_SIG and CONFIG_MODULE_SIG_ALL. The latter is causing kernel modules to get signed as part of the build process (specifically, during the do_install task), and so the normal debug info stripping that would happen during packaging gets skipped (because that would invalidate the signature).

There are a couple of ways this can be fixed. I'm leaning towards disabling CONFIG_MODULE_SIG_ALL in our builds by default. In the meantime, you could do this yourself via a bbappend by adding a config fragment to the SRC_URI that says # CONFIG_MODULE_SIG_ALL is not set

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@CHNtentes
Comment options

@madisongh
Comment options

@CHNtentes
Comment options

Answer selected by CHNtentes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants