Closed dnpawate closed 7 years ago
I don't think a RPi supports hardware timestamping for gPTP, so it can't do AVB.
Hi,
Thanks for the reply, for gptp timestamping what could be other alternative so that RPI can be used.
Regards, Deepak
The i210 is a PCI-E peripheral. The Raspberry Pi does not support the PCI-E bus. The SoC does not even have an onboard ethernet interface of any kind; the one on the board is interfaced via USB.
I can't think of any reason to try to make a Raspberry Pi an AVB endpoint. It would require enough hardware external to the RPi that any cost savings from using a RPi vs. a SoC with a more appropriate peripheral set would be more than erased.
Pick up something based on an i.MX 7 instead, like this: https://www.wandboard.org/products/android-things/PICO-PI-IMX7/
While a Raspberry Pi probably can't/shouldn't be used as an AVB endpoint, it could be an AVB controller (running AVDECC software) which could have its uses. Certainly not the goal here, but I wanted to make a note of it for those who find this issue because of the "raspberry pi" keywords.
See:
To add a note regarding RPi (3) and PTP timestamping (wether rpis are suitable or not), seemingly software based timestamping should be possible once it's enabled in the kernel:
AVB requires 802.1AS support, not PTP. Timestamp accuracy has to be on the order of 50 nanoseconds for 802.1AS to work correctly. This is not possible with a software timestamping solution.
Summary: You can't do AVB on a Raspberry Pi 4 either.
In case anyone was wondering if the new integrated gigabit ethernet on the Rasberry Pi 4 supports 802.1AS/1588 hardware timestamping--the answer is that it does not appear to. The linux driver is bcmemac
, which indicates a fairly old Broadcom UniMAC IP core. It's possible there's a newer version of the core with MAC-level timestamping, but as there's no driver support in the kernel for it and no datasheet, any such silicon is essentially useless even if it exists. The PHY on the board doesn't list 1588 timestamping, although some related models do, so it's a pretty sure bet there's no PHY-level timestamping either.
The Raspberry Pi 4 actually has a single PCI-E lane, but it's in use for the USB 3.0 interface to which it's hardwired. So you still can't hook an i210 up to it either.
And what about the transit nodes (non end-points, non-talker, non-listener) do they require an Boundary clock or Transparent clock with H/w time-stamping will suffice?
On Mon, Aug 19, 2019 at 8:40 PM andrew-elder notifications@github.com wrote:
AVB requires 802.1AS support, not PTP. Timestamp accuracy has to be on the order of 50 nanoseconds for 802.1AS to work correctly. This is not possible with a software timestamping solution.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AVnu/OpenAvnu/issues/656?email_source=notifications&email_token=AEIYKMJZ2HGZPPSEICGKIYDQFKZU5A5CNFSM4DTGY3B2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4TIZTQ#issuecomment-522620110, or mute the thread https://github.com/notifications/unsubscribe-auth/AEIYKMN5ZA4OFHYG7CG42EDQFKZU5ANCNFSM4DTGY3BQ .
--
Best Regards, ~ Jagmeet Singh Hanspal ~
If you are talking about the network bridges, they have to support all the time sync, stream reservation, and traffic shaping protocols specified by the AVB standards (see 802.1AS instead of IEEE1588 for time sync; they are related but not exactly the same) if you want an AVB network. Nodes that don't participate in streaming can co-exist on the network and only have to support basic Ethernet.
I am not sure what that has to do with Raspberry Pi though?
It was a lateral question, not RP sorry. I should've probably asked in a separate thread.
On Tue, Aug 20, 2019 at 11:06 AM Levi Pearson notifications@github.com wrote:
If you are talking about the network bridges, they have to support all the time sync, stream reservation, and traffic shaping protocols specified by the AVB standards (see 802.1AS instead of IEEE1588 for time sync; they are related but not exactly the same) if you want an AVB network. Nodes that don't participate in streaming can co-exist on the network and only have to support basic Ethernet.
I am not sure what that has to do with Raspberry Pi though?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AVnu/OpenAvnu/issues/656?email_source=notifications&email_token=AEIYKMPAPK3EAUXMLMLELJDQFN7HXA5CNFSM4DTGY3B2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4VDTAI#issuecomment-522860929, or mute the thread https://github.com/notifications/unsubscribe-auth/AEIYKMKTH6KTPTN7RCKKPUDQFN7HXANCNFSM4DTGY3BQ .
--
Best Regards, ~ Jagmeet Singh Hanspal ~
Maybe just to mention here for reference, seemingly the Raspberry Pi Compute Module 4 has freed the occupied PCIe and also seemingly the ethernet phy has IEEE 1588v2 support (yes, not 802.1AS, but still interesting) using bcm54210
Didn't yet have a deeper look, but this makes the module somewhat interesting
Hi,
I'm looking to run the simple talker and listener using Raspberrypi Is this possible? Basic Idea (TALKER)RPi->I210----- with I210-->RPI(Listener)
Please provide your inputs, to make the setup using RPI