Hello everyone,
After the activation of PPS in the kernel, I would like to link it to NTP.
Seems that there are some options in the kernel to activate that are not easily understandable (ex: CONFIG_NTP_PPS, CONFIG_NO_HZ, …) and could brick the device.
EDIT: the main question hidden behind the subject is “Can we customize the kernel as tickless in order to activate CONFIG_NTP_PPS for hard PPS support ?” on AGX Xavier
Please follow below steps to disable/enable macro’s in defconfig.
make ARCH=arm64 CROSS_COMPILE=<path_to_gcc>gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- DEFCONFIG_PATH=arch/arm64/configs tegra_defconfig
make menuconfig //disable the macro CONFIG_NO_HZ
make savedefconfig
cp defconfig defconfig_orig
Follow steps (1) to (3) again.
diff defconfig defconfig_orig
Do the change in ‘arch/arm64/configs/tegra_defconfig’ as per delta generated in above step.
First I need to go to timers options and switch to Periodic timer in order to activate PPS kernel consumer support (this is the option required for NTP/PPS)
Where is the corresponding option for CONFIG_NO_HZ ?