Orin 系统能否集成PPS信号的接收?

orin 系统接收gps模块的PPS信号,必须要定制内核吗?系统是否能集成这个功能?
我们现在需要PPS信号,每次orin的版本升级后,我们都需要重新定制内核,这样比较费时。

------------------ translate by baidu-----------------------
Is it necessary to customize the kernel for the orin system to receive PPS signals from the GPS module? Can the system integrate this function?

We now need PPS signals, and after each version upgrade of orin, we need to customize the kernel again, which is more time-consuming.

我们现在需要PPS信号,每次orin的版本升级后,我们都需要重新定制内核,这样比较费时。

Hi,

It depends on what kind of kernel patch you added. If this is something common and also from upstream, then we can integrate. If it is not, then you may need to add it by yourself everytime.


這問題基本上取決你加的patch是什麼, 如果這個patch是upstream linux kernel也有的, 那麼我們就有機會幫你merge進去我們的code base.

但如果這東西是只有特定usecase (比方說只適用你的底板), 那可能就得你每版都自己加上patch重build.

感谢您的回复。我们没有自己的底板。是用nvidia的开发版。内核是按照下面的步骤修改的,相当于使用一个gpio作为接收端,如果能加code base,就太好了。

1.修改参数,arch/arm64/configs/tegra_defconfig,
CONFIG_PPS=y
CONFIG_PPS_DEBUG=y
CONFIG_PPS_CLIENT_KTIMER=y
CONFIG_PPS_CLIENT_LDISC=y
CONFIG_PPS_CLIENT_GPIO=y

2.hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3701-0000-p3737-0000.dts
在最下面增加如下项:
//serial@31d0000 {
// status = “okay”;
//};
pps {
compatible = “pps-gpio”;
gpios = <&tegra_main_gpio TEGRA234_MAIN_GPIO(Q, 6) GPIO_ACTIVE_LOW>;
status = “okay”;
};
//};

./nvbuild.sh -o $PWD/kernel_out

4.替换
$JETPACK/kernel/Image
$JETPACK/kernel/dtb

请问orin模组的pps out需要怎么配置和测试呢