Page 2 of 2

Re: How precise is the timing?

Posted: Fri Jan 18, 2019 3:54 pm
by pavel
I don't know much about chrony. The only chrony command I use is

Code: Select all

chronyc sources
Normally, the configuration that I added to my SD card image works with the PPS signal without any additional modification. Here is a link to my configuration file:

https://github.com/pavel-demin/red-pita ... hrony.conf

Re: How precise is the timing?

Posted: Fri Jan 18, 2019 3:55 pm
by pavel
The command to make the changes permanent is

Code: Select all

lbu commit -d

Re: How precise is the timing?

Posted: Mon Jan 21, 2019 1:30 pm
by majtom
Dear Pavel,

Thank you very much for your help. It works now :)

However now I have a problem with storage, because the largest partition on the SD card (mmcblk0p1) is a read only file system. I cannot remount it or change the mtab file. Is there a way to make it writable, so I can use it.

Thank you in advance!

Maja

Re: How precise is the timing?

Posted: Mon Jan 21, 2019 1:36 pm
by pavel
The SD card can be remounted as rw. The command is

Code: Select all

mount -o rw,remount /media/mmcblk0p1
There are also two aliases defined in /root/.profile:

Code: Select all

alias rw='mount -o rw,remount /media/mmcblk0p1'

alias ro='mount -o ro,remount /media/mmcblk0p1'

Re: How precise is the timing?

Posted: Mon Jan 21, 2019 4:19 pm
by majtom
Thanks for the prompt answer, you have been a great help.

My last question (hopefully): Did you try to install the RP Api on the Alpine OS?
I already have a bunch of C scripts for controlling the RP, but they were all made in the standard OS. Would be nice if I could just move them to my new SD card and run them from there.

Do you know if there is a way to do that?

Re: How precise is the timing?

Posted: Mon Jan 21, 2019 5:24 pm
by pavel
I didn't try to run the RP API on the Alpine OS. However, I don't see why it wouldn't work.

If you have access to the source codes of the FPGA configuration and of the RP library, then it should be relatively easy to add the PPS connection to the FPGA configuration and rebuild the RP library.

Re: How precise is the timing?

Posted: Thu Jan 24, 2019 12:54 pm
by majtom
Dear Pavel,

I am running into a problem when I try to make a boot file. I am missing a bootgen binary for the 32bit system. The one from vivado SDK is for 64bit.

How did you manage to compile everything without that file? Or do you have it?