Closed space55 closed 2 months ago
The file to enable this would be sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/commonconfig-6.6
or sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/arm64_defconfig-6.6
in the scripts
repo.
Before being able to merge such a change we need to keep an eye on the filesystem usage of the boot partition (The CI for the scripts
repo produces an image report artifact which reports size changes).
Hello, on my Orange PI, this is the size of the module - should be fine size-wise, but we need to cross check:
ls -liath /lib/modules/5.10.160-rockchip/kernel/drivers/pps/clients/pps-gpio.ko
284324 -rw-r--r-- 1 root root 13K Mar 21 15:57 /lib/modules/5.10.160-rockchip/kernel/drivers/pps/clients/pps-gpio.ko
Thanks, if it's just a module it won't be in the initrd and things are good.
Current situation
Currently,
CONFIG_PPS_CLIENT_GPIO
is not set, which causes PPS services to be unavailable.Impact
I am in progress with trying to make a GPS-disciplined network clock on a Raspberry Pi, using chronyd and gpsd. This requires a PPS device to be created in
/dev
, which gpsd can then use to synchronize with a serial device. I am unable to load the modulepps-gpio
which exists on Raspbian.Ideal future situation
Ideally, I would be able to create a
/dev/pps0
device that can be used by gpsd to control chrony & set the RTC accurately.Implementation options
The primary method I can think of is to change the kernel build config setting to set
CONFIG_PPS_CLIENT_GPIO=y
Additional information
System info:
If there are any questions, or anything I can do/test, please let me know!