Live data from Hacker News

Open-sourcing a more precise time appliance

engineering.fb.com

181–188 of 188 posts

Re: Open-sourcing a more precise time appliance

#181

If you want the go under the nanosecond there is the White Rabbit [1][2] project. The CERN uses it to control the magnets in the loop of a particule accelator. It is also based on NTP, Ethernet and FPGA. [1]: http://www.ohwr.org/projects/white-rabbit [2]: https://en.wikipedia.org/wiki/White_Rabbit_Project

This was standardized as the L1 Sync feature of IEEE1588:2019, as described here: https://blog.meinbergglobal.com/2020/09/17/whats-new-in-ieee...

Re: Open-sourcing a more precise time appliance

#182

I cannot find any source files for the FPGA code in the repository (no .v .vhd .vhdl files and I can't see anything by looking around manually). The FPGA directory [1] contains some binaries and some documents relating to commercial code from a Swiss firm [2]. I've seen plenty of projects described as open source when the firmware is open source and the hardware is closed but this is the first time I've seen one wher…

Just give us a bit of time. We had to use some IPs that due to licensing limitations prohibited us to release the source and we were only allowed to release the bin files. We are replacing them to open source cores and we will have that part of the project available to you too. I hope you understand the situation of the project. I would love to see people adding more features to the FPGA part of it such as IRIG-B output and many other cool things that can be done. Please stay tuned.

Re: Open-sourcing a more precise time appliance

#183

I cannot find any source files for the FPGA code in the repository (no .v .vhd .vhdl files and I can't see anything by looking around manually). The FPGA directory [1] contains some binaries and some documents relating to commercial code from a Swiss firm [2]. I've seen plenty of projects described as open source when the firmware is open source and the hardware is closed but this is the first time I've seen one wher…

It's a particular module for the Xilinx Artix 7 XC7A100T, made by a Shanghai-based integrator. As an individual user, you could buy these on Aliexpress, from eBay resellers, or from Amazon resellers. Facebook presumably has an arrangement with the contract manufacturer that's not going to be possible for an individual developer ordering ones and twos to replicate. However, to modify the HDL, you'd need a $3,000 licen…

That is not true. First of all, the reason why we used the Alinx module (which you can buy of ebay as well as Amazon), was to make it easier for the community to manufacture and build. Our internal version of the time card does not include the module! The second piece about the XC7A100T, you do not need any license to do any development as the free version of vivado is more than enough to work with. Give us a bit of time and we will have a fully functional open HDL ready for you to add things. It is very easy to sit down and nag about a project. I want you to understand that I had only one goal in mind when I released this project to public and that was allowing others to have a head start to work on time related project. Of course, I work for Facebook and I try to help my company with new technologies as a researcher, but helping the community and releasing the source code (to whatever I had) is just a core value of how I love to support the community.

Re: Open-sourcing a more precise time appliance

#184

Earlier quoted context omitted.

That was my impression as well but now I’m puzzled about why. Since most smartphones have GPS builtin why not get time from GPS?

Mostly because 1) your phone is getting time from the tower anyways (they have to be closely sync'd) and 2) GPS doesn't always work very well -- especially indoors.

So every cell tower runs an NTP server?

Re: Open-sourcing a more precise time appliance

#185

Earlier quoted context omitted.

Please excuse the language “invented”. We simply meant “came up with a form factor” of having the MAC+GNSS present via PCIe bus as a POSIX clock similar to a NIC with hardware timestamping. We are humble to all the awesome products that are out there and we just wanted to present an open source version of a simplified approach to allow others to build on it.

Isn't this a Symmetricom card? Being open source is the killer feature here. There are a number of companies that make PCIe timing cards, but they are all proprietary and go out of support way too quickly.

Yes, with the difference on how to present the time to the system, just a PHC

Re: Open-sourcing a more precise time appliance

#186

Oh cool, an open source Symmetricom card. These timing cards are low volume products so they have a bad habit of going out of support after a few years and then the kernel level drivers don't get updated and there is hardly any community. Having open hardware that multiple vendors can support makes them easier to get added to the mainline kernel.

Thats exactly the point for this project. Also, I am hoping once we release the FPGA HDL files, the community will start adding more features like IRIG-B output, etc...

Re: Open-sourcing a more precise time appliance

#187
post #85

> Now, as long as printing the PCB and soldering tiny components does not sound scary, anyone can build their own Time Card for a fraction of the cost of a regular time appliance. Doesn't sound scary, but not a lot of research labs and data centers are going to want to build their expansion cards from parts, even given free access to instructions. I understand if there isn't enough of a market for this to make it a v…

From https://github.com/opencomputeproject/Time-Appliance-Project... > Where can I get one? > […] we are currently working with several suppliers and will have their contact info soon available to allow you to puchase an out-of-the-box ready Time Card.

I sent send you a prototype if you are willing to help with some bug hunting
Post reply on HN