kernel_tegra234-p3737-0000+p3701-0005-nv.zip (40.9 KB)
extlinux.txt (1.4 KB)
kernel_and_linux_versions.txt (224 Bytes)
We are trying to synchromnize our jetson orin AGX developer kit using GPS and PPS signal. We successfully manage to read GPS from the serial port.
When it comes to pps, we have tried to make an overlay on physical pin number 24 which PZ.06 which is GPIO.484.
We have install nvidia jetpack 6 ver1.
To make this we follow these steps:
1- sudo apt-install pps-tools
2- sudo modprobe pps-gpio
3- make an overlay:
/dts-v1/;
/plugin/;
/ {
overlay-name = “PPS-Pin7”;
jetson-header-name = “Jetson 40pin Header”;
compatible = “nvidia,p3737-0000+p3701-0005”, “nvidia,tegra234”, “nvidia,tegra23x”;
fragment@0 {
target-path = "/";
__overlay__ {
pps_gpio {
compatible = "pps-gpio";
gpios = <&gpio 454 0>;
assert-falling-edge;
status = "okay";
};
};
};
};
Compile the over lay using:
dtc -O dtb -o pps-overlay.dtbo -@ pps-overlay.dts
Copy to root:
sudo cp pps-overlay.dtbo /boot
we run the following scripts:
sudo /opt/nvidia/jetson-io/config-by-hardware.py -l
our overlay appears there.
After that when we run the following script:
sudo /opt/nvidia/jetson-io/config-by-hardware.py -n “PPS Overlay”
reboot the system.
After following all the steps, the overlay appears in the extlinux.conf.
Under the /dev we only have /dev/pps0 which is ktimer and there is no /dev/pps1.
When we use sudo ppstest /dev/pps0 we can just see the pps source from ktimer, not GPIO physical pin number 7.
Attached please find the kernel, and extlinux.conf and Linux and kernel versions info.