- 02 Nov, 2014 2 commits
-
-
Maciej Lipinski authored
-
Maciej Lipinski authored
-
- 15 Oct, 2014 1 commit
-
-
Maciej Lipinski authored
-
- 14 Oct, 2014 1 commit
-
-
Maciej Lipinski authored
-
- 13 Oct, 2014 1 commit
-
-
Maciej Lipinski authored
-
- 02 Oct, 2014 4 commits
-
-
Maciej Lipinski authored
-
Maciej Lipinski authored
-
Maciej Lipinski authored
-
Maciej Lipinski authored
bugfix in the servo (not related to switchover) - the missed_inter variable was never reseted (only at init)
-
- 01 Oct, 2014 2 commits
-
-
Maciej Lipinski authored
-
Maciej Lipinski authored
-
- 21 Sep, 2014 1 commit
-
-
Maciej Lipinski authored
-
- 19 Sep, 2014 2 commits
-
-
Maciej Lipinski authored
-
Maciej Lipinski authored
-
- 16 Sep, 2014 1 commit
-
-
Maciej Lipinski authored
-
- 12 Sep, 2014 3 commits
-
-
Maciej Lipinski authored
-
Maciej Lipinski authored
-
Maciej Lipinski authored
-
- 10 Sep, 2014 2 commits
-
-
Maciej Lipinski authored
-
Maciej Lipinski authored
added new port role (backup port) and ppi struct member to define slave priority, this goes to hall via changed minipc
-
- 02 Aug, 2014 1 commit
-
-
Alessandro Rubini authored
This picks the following commits (most recent on top): e17d874 README: update for the new code base d391e62 added 64-bit example/test 670b5e8 Makefile: support 64-bit option; add div64.c c2384cd vsprintf-full: offer 64-bit printing as an option 220b19e vsprintf-full: simplify a little 526daa6 vsprintf-full: remove unsed code for %p printing 1a28825 vsprintf-full: prevent a warning when a pointer is 16 bits We are using 64-bit prints currently, but wrpc-sw does. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 21 Jul, 2014 9 commits
-
-
Alessandro Rubini authored
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Remove duplicated messages, and misleading ones (ofm is not averaged any more, only mpd is averaged). This changes the log format, and may upset users with old grep lines saved somewhere. Like me. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Also, prepare for drop support (i.e., no message for the special error code) Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This adds frame dropping as a fault-injection mechanism. It activates it for arch-unix in the same commit, because I tested it. Not documented yet. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Also, prepare for drop support (i.e., no message for the special error code) Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
For some reason (I don't rememeber why), RX timestamps are retrieved from the socket, while TX timestamps are with tops->get. Thus, there was no utc/tai correction on receive stamps (i.e. T2). This affects us when we are driven by a WR switch, that properly differentiates between UTC and TAI. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 18 Jul, 2014 3 commits
-
-
Pietro Fezzardi authored
There is no need to remove outliers and to make a running average on ofm. Indeed we know that ofm = t2 - t1 -mpd. We are already removing outliers and averaging on mpd. So, if after mpd has been "cleaned", ofm still shows outliers or irregularities they are for sure due to t1 and t2. So they are errors coming from the clocks and they have not to be ignored. Instead they must be corrected ASAP, and to do that the software must be able to see them instantly. So no running avg nor outlier removal has to be performed on ofm values.
-
Pietro Fezzardi authored
The integral accumulator of the PI servo is now a 64bit integer. The stored values are bit shifted by 10, so we have a finer granularity on the control. With the previous implementation the integral part stopped working when ofm was under the value of OPTS(ppi)->ai. This problem has been solved with this changes. I had to use __div64_32() from lib/div64.c, because dividing for a long long is not allowed in arch-wrpc (it takes too much RAM).
-
Pietro Fezzardi authored
diagnostics: For testing purposes we can't just read the ofm value printed out by the slave, because that's only the offset perceived by the slave and can be wrong. We need instead to print out the offset obtained subtracting the real time of the master from the real time of the slave. To print out the ofm we use the "ext" flag of pp_diag. The ofm is printed only when the slave gets a DelayResp message from the master. A new tool to strip ofm out of simulator log is provided config: now the max number of simulated ptp iterations can be configured. previously one could set the number of seconds to simulate. this is not possible anymore.
-
- 09 Jul, 2014 1 commit
-
-
Pietro Fezzardi authored
the cur_ppi_n field in ppg was not reset properly at the beginning of the parsing function, causing the CHECK_PPI macro to fail
-
- 26 Mar, 2014 6 commits
-
-
Alessandro Rubini authored
Commit 84df8890 changed the build order, avoiding libraries. Back then I fogot to apply the same change to time-wrpc, and didn't notice because ./MAKEALL worked fine. We never linkerd the final ppsi.elf for WRPC since then. Now I'm updating the ppsi submodule in the wrpc-sw repository, and this must be fixed to avoid the missing symbols in the final link. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Pietro Fezzardi authored
KERNELVERSION variable from Linux was still used. It was not initialized so the displayed version in the headers of make gconfig and make menuconfig was missingor wrong. It just said (null) or KERNELVERSION. KERNELVERSION has been changed to VERSION all over the kconfig scripts. Makefile.kconfig exports this variable so it can be used by config scripts with getenv(). Now it prints the ppsi version with the present commit, like diplayed from git describe --always --dirty
-
Pietro Fezzardi authored
-
Alessandro Rubini authored
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
10 seconds is not interesting, because by default such a big offset is fixed by a jump in time. With 0.9 we get no jump and a more "interesting" path towards zero. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-