-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add a patch for PTP #103
Comments
on a Linux machine (or container), you should clone this repo https://github.com/RobertCNelson/ti-linux-kernel-dev/tree/ti-linux-xenomai-4.14.y and checkout the ti-linux-xenomai-4.14.y branch. Then you can use the According to this you need the following flags to be set in you config file:
The second one is already enabled on the config file I linked above. You can add the first line to that file and then run Not sure whether this achieves your result, but you can repeat the workflow above to change any flags you may need. Keep in mind that on the Pi3 there is an external USB-connected ethernet interface (which is what - I believe - the linked repo talks about), whereas the USB port on Bela uses the on-board USB phy with a Linux USB gadget driver to show up as a multi-function device on the host. This means that the By the way, if you run
so you already have that if it's relevant to your application. |
Thanks. My master board only has one eth port but it has two slaves. One slave only has eth while Bela board has the USB port. Let me follow your great instructions. But I have several questions.
|
So how would the USB port of Bela and the other two ethernet devices be on the same network, such that ptp synchronization can take place? Maybe what you need is an ethernet switch and have them all connected together via ethernet through the switch? |
I prefer not to add a switch to the compact system. I hope to use the PTP of SW by the USB and the PTP of HW by the ethernet on the master clock. |
Hi, I have one question to add a patch to the kernel.
I am inspired by this raspberrypi example. https://github.com/twteamware/raspberrypi-ptp
We can patch the kernel to enable SOF_TIMESTAMPING_TX_SOFTWARE.
How to enable the SOF_TIMESTAMPING_TX_SOFTWARE in the usb drivers?
I can find the smsc95xx.ko file. It should be able to make the patch and enable the PTP over the USB.
The text was updated successfully, but these errors were encountered: