diff --git a/Modules/flexPTP b/Modules/flexPTP index e1c9e73..3046dd0 160000 --- a/Modules/flexPTP +++ b/Modules/flexPTP @@ -1 +1 @@ -Subproject commit e1c9e739a50c178f422ec3688233f824b7b1e9ca +Subproject commit 3046dd0e0f336e9cd7cf5b6556b106513b35c385 diff --git a/README.md b/README.md index f5eafb6..2d5a074 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # flexPTP Linux demo -![flexPTP CLI](BeagleBone.gif) +![flexPTP CLI](flexPTP_Linux.gif) ## What's this? @@ -76,6 +76,17 @@ ptp priority [ ] Print or set clock priority f > [!TIP] > The above hint can be listed by typing '?'. +## Tested systems + +The flexPTP Linux port has been tested on x86-based (64-bit generic PCs, Ubuntu 24.04, Ubuntu 24.10) and ARM-based (32-bit [BeagleBone Black Industrial](https://www.beagleboard.org/boards/beaglebone-black-industrial) SBC, Debian 12) Linux systems. + +All network interfaces supported by the kernel's PHC infrastructure can be used with flexPTP as well. The operation has been confirmed with the following Intel NICs: + +- Intel 82576 +- Intel I210 +- Intel I219-V +- Intel E810 + ## Under the hood The porting layer used in this project is very much different compared to a conventional port supporting a specific microcontroller. The [Network Stack Driver](https://epagris.github.io/flexPTP/porting.html#network-stack-driver) and the Hardware Port got unified into the single [nsd_linux.c](https://github.com/epagris/flexPTP/blob/master/src/flexptp/port/example_netstack_drivers/nsd_linux.c) source file. The port uses the Linux kernel's built-in PHC-adjustment functions and standard POSIX socket operations. Each major step is documented in the NSD source file. diff --git a/Src/cli/cli.h b/Src/cli/cli.h index 62214ad..3b507ba 100644 --- a/Src/cli/cli.h +++ b/Src/cli/cli.h @@ -1,6 +1,8 @@ #ifndef FLEXPTP_LINUX_CLI_H #define FLEXPTP_LINUX_CLI_H +/* A very simple, statically allocated CLI implementation transferred from microcontroller projects. */ + #include #include #include diff --git a/BeagleBone.gif b/flexPTP_Linux.gif similarity index 100% rename from BeagleBone.gif rename to flexPTP_Linux.gif