Live data from Hacker News

Open-sourcing a more precise time appliance

engineering.fb.com

121–130 of 188 posts

Re: Open-sourcing a more precise time appliance

#121
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.

Re: Open-sourcing a more precise time appliance

#122

> While building our Time Appliance, we also invented a Time Card, a PCIe card that can turn any commodity server into a time appliance. Invented? These cards have been around. e.g. Meinberg makes a variety of expansion cards which use various time keeping sources such as WWVB, IRIG-B, GNSS, etc.

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.

Re: Open-sourcing a more precise time appliance

#123

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…

I have no problem with this project either and find it interesting, but I agree with you completely that it looks like someone took a hobby-level experiment with a corporate budget to the prototype stage then realized it had near zero practical application so, "Open source!"

Re: Open-sourcing a more precise time appliance

#124

Man, tough crowd here. And someone who's been following precise timekeeping tech for 25 years now.. this is really cool! I think it's great some smart engineers have built a new reasonably compact and low cost very precise bit of timekeeping hardware. Thank you for sharing it open source!

I am torn. I absolutely love the technical blog post and the effort that went into open sourcing everything needed to build these devices, but, you know, Facebook. Compliments and respect to the engineers involved for really well done engineering.

Once it is open source, does it really matter what the origin is?

Re: Open-sourcing a more precise time appliance

#125

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…

I would bet it's just a simple oversight. It happens. Did you file an issue so they're aware of the problem?

Re: Open-sourcing a more precise time appliance

#126
post #66

Earlier quoted context omitted.

Nice project, I've been working on something similar, but with an Arduino (Adafruit ESP32), an Adafruit GPS featherwing and a RTC. I originally started with a Linux-based solution like yours but no matter what I did I couldn't get the accuracy below about 5ms and my goal is sub-ms (verified with an oscilloscope.)

Yeah, I think you're on the right track. I like less and less having a Linux box to maintain, and there is less control over the timing of internal operations compared to a microcontroller, of course. On the other hand, Chrony is really, really good, and it would be a lot of code and debugging to write something that good from scratch. With the Beaglebone, it's theoretically possible to drive the oscillator from a ca…

That's a useful feature of the BeagleBone. When I originally built my clock with a Raspberry Pi I used a GPS with a PPS line and hooked that into one of the Pi's GPIO lines. I could get the Pi's clock synced to the GPS very accurately (easily sub-ms) with that (using chrony), but the problem became then updating the display (similar to your setup, a 7-segment MAX7219-driven display). I started looking into writing a kernel module to update the display when the PPS-driven interrupt happened. I think, from reading the kernel documentation, there may even be some support for firing off events when the PPS occurs, but I realized it might be "easier" at that point to move to an arduino-ish solution.

I agree that I wouldn't likely notice a ~20ms jitter on the display, but I'm kinda of having fun figuring out how to make it as accurate as possible.

Re: Open-sourcing a more precise time appliance

#127
post #57
post #50

Earlier quoted context omitted.

Oh no if you click it Facebook might find out! The horror

what do you stand to gain by belittling someone's (absolutely sane) privacy considerations regarding facebook?

I don't gain anything, I dunno, just out here on these internets
Post reply on HN