Jeff Geerling
Jeff Geerling
First attempt, just yolo the driver into existence: ``` $ git clone https://github.com/opencomputeproject/Time-Appliance-Project.git $ cd Time-Appliance-Project/Time-Card/DRV/ $ sudo apt-get install raspberrypi-kernel-headers # needed for source build $ ./remake make: Entering...
Option 2: Recompile 5.12+ kernel with PTP support... we'll see if I can get that working? From menuconfig on 5.14 kernel: ``` Symbol: PTP_1588_CLOCK_OCP [=n] │ │ Type : tristate...
@philhartung - Ah, thanks for that hint, seems like this could be annoying with Debian as I believe Bullseye even ships with 5.10 — will have to use a different...
Looks like the driver is working. Now checking out device tree: ``` $ ls /dev | grep ^p ... ptp0 pts ```
Another thing I'd like to investigate relates to the Pi issue linked in the OP—basically, getting hardware timestamping working on `eth0`. Right now it's not: ``` $ ethtool -T eth0...
Using `ptp4l` and `phc2sys` via `sudo apt-get install -y linuxptp`: ``` pi@cm4:~ $ sudo systemctl start ptp4l pi@cm4:~ $ sudo systemctl status ptp4l ● ptp4l.service - Precision Time Protocol (PTP)...
Going to have to pause for the day! Just linking to one quick resource I was reading through for my future reference: [Precision Time Protocol on Linux ~ Introduction to...
> One option to get the Time Card working with IEEE1588-2008 before a driver is ready is to switch to software timestamping in the ptp4l config. Software timestamping is quite...
Posted a patch for the Debian compile issue in the Time Card repo: https://github.com/opencomputeproject/Time-Appliance-Project/pull/25 Edit: merged!
New video posted today: https://www.youtube.com/watch?v=tU0xC1ynaT8 And to @ddrown - my first goal was getting the card functioning on the Pi; I haven't yet had a chance to set it up...