How precise is the timing?

Applications, development tools, FPGA, C, WEB
pavel
Posts: 540
Joined: Sat May 23, 2015 5:22 pm

Re: How precise is the timing?

Post by pavel » Fri Jan 18, 2019 3:54 pm

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

pavel
Posts: 540
Joined: Sat May 23, 2015 5:22 pm

Re: How precise is the timing?

Post by pavel » Fri Jan 18, 2019 3:55 pm

The command to make the changes permanent is

Code: Select all

lbu commit -d

majtom
Posts: 19
Joined: Thu Nov 08, 2018 10:29 am

Re: How precise is the timing?

Post by majtom » Mon Jan 21, 2019 1:30 pm

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

pavel
Posts: 540
Joined: Sat May 23, 2015 5:22 pm

Re: How precise is the timing?

Post by pavel » Mon Jan 21, 2019 1:36 pm

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'

majtom
Posts: 19
Joined: Thu Nov 08, 2018 10:29 am

Re: How precise is the timing?

Post by majtom » Mon Jan 21, 2019 4:19 pm

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?

pavel
Posts: 540
Joined: Sat May 23, 2015 5:22 pm

Re: How precise is the timing?

Post by pavel » Mon Jan 21, 2019 5:24 pm

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.

majtom
Posts: 19
Joined: Thu Nov 08, 2018 10:29 am

Re: How precise is the timing?

Post by majtom » Thu Jan 24, 2019 12:54 pm

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?

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 3 guests