Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem running PTP on latest linux ( #1

Open
ievenbach opened this issue Jul 25, 2024 · 0 comments
Open

Problem running PTP on latest linux ( #1

ievenbach opened this issue Jul 25, 2024 · 0 comments

Comments

@ievenbach
Copy link

Hello,
I have a board based on Sparx5i chip, and am running in "standalone" mode - that is without MESA.
I use latest BSP (bsp-6.6-2024 branch).

I am trying to run ptp4l on it. It succeeds, if I run it once, with single port.
But if I restart it, or try to run with multiple ports, I see an error:

root@medusa:~# ptp4l -2 -i eth0 -m
ptp4l[2719.892]: selected /dev/ptp0 as PTP clock
ptp4l[2719.940]: driver rejected most general HWTSTAMP filter
ptp4l[2719.940]: ioctl SIOCSHWTSTAMP failed: Cannot allocate memory
ptp4l[2719.972]: port 1 (eth0): INITIALIZING to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED)

I tracked it down to sparx5_ptp_add_trap() - it fails in call to sparx5_add_ptp_key so far, but didn't go
much further.
Is there a quick fix by any chance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant