Jetson NX kernel 4.9 kernel compilation shows "Path is not clean" after modifying tegra_defconfig

I have added a new driver for the IMX568 and want to compile it into the kernel. Currently, I’m facing an issue:

No matter if I add the IMX568 driver in tegra_defconfig or menuconfig, the kernel compilation always fails with the following error message (as shown in the screenshot). Even after executing make mrproper and recompiling, the error persists. If I do not modify the configuration, the compilation passes without issues. Why is this happening? Are there any changes I might have missed?


hello 914039686,

Orin NX it should not based-on kernel-4.9, may I double check which platform you’re working with?
BTW, please see-also developer gudie, Kernel Customization.

I am using Xavier NX with JetPack 32.4.3. The kernel version 4.9 is quite old. Meanwhile, I have referred to the provided kernel compilation instructions.

hello 914039686,

let me move this topic to Xavier NX category.


it looks like some prerequisites utility has missed. may I know what’s your ubuntu version.
please gather the complete building messages as single text file, and sharing it here for reference.
besides, JP-4.4 (l4t-r32.4.3) is quite old. if that’s possible, please try moving forward to the latest release version for verification.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.