Hi,
I am working on AGX Orin with Jetpack R36.4.0. I tried to enable dynamic debug by “make ARCH=arm64 menuconfig” in the folder kernel/kernel-jammy-src. After the modification, I confirm that in the file kernel/kernel-jammy-src/.config, I can find:
CONFIG_DYNAMIC_DEBUG=y
CONFIG_DYNAMIC_DEBUG_CORE=y
But after rebuilding the kernel, the file .config is changed back to the original one and the config “CONFIG_DYNAMIC_DEBUG” is not set.
Could you please let me know how to enable dynamic debug on R36.4.0?
Thanks!
Hi, thank for your quick response!
I don’t find CONFIG_DYNAMIC_DEBUG in the two following files:
arch/arm64/configs/defconfig
arch/arm64/configs/tegra_prod_defconfig
But I notice that the config “CONFIG_DYNAMIC_DEBUG=y” is included in the file defconfig_debug.config.
Shall I add “CONFIG_DYNAMIC_DEBUG=y” to arch/arm64/configs/defconfig or arch/arm64/configs/tegra_prod_defconfig?
Thanks!
Thanks for your answer!
The modification in defconfig works. I notice that the file .config in the folder “kernel/kernel-jammy-src” is updated automatically after building. The configuration “CONFIG_DYNAMIC_DEBUG=y” is inserted.
But the modification in tegra_prod_defconfig doesn’t help. Could you please explain the difference between tegra_prod_defconfig and defconfig?
What is the purpose of the file defconfig_debug.config?
Hi,
Would suggest update both tegra_prod_defconfig and defconfig if you would to enable/disable certain configs. There may be potential issues if there is mismatch.