- 12 Jul, 2012 6 commits
-
-
Aurelio Colosimo authored
ppi->is_from_cur_par was badly checked in a if condition
-
Aurelio Colosimo authored
No changes in src; only comments, code alignment and white spaces cleanup. Doxygen style comments were removed, since their usage is not uniform in the code.
-
Aurelio Colosimo authored
-
Aurelio Colosimo authored
This patch introduces the state machine for white rabbit. It is intended as a flat state machine, so that the application state is univocally determined by its ppsi->state variable. Internally, each state function saves the Port Dataset, keeping the double level of states: portState for general state, and wrPortState as White Rabbit FSM. This permits to be logically coherent with the specification document (which defines an internal WR state machine) and to have a simplified approach in the source code.
-
Aurelio Colosimo authored
-
Aurelio Colosimo authored
-
- 11 Jul, 2012 4 commits
-
-
Aurelio Colosimo authored
-
Aurelio Colosimo authored
-
Aurelio Colosimo authored
-
Aurelio Colosimo authored
-
- 10 Jul, 2012 8 commits
-
-
Aurelio Colosimo authored
-
Aurelio Colosimo authored
-
Aurelio Colosimo authored
-
Aurelio Colosimo authored
This commit simply copies everything from proto-standard to proto-ext-whiterabbit. Actually, this is not an extension yet, since it is quite hard to separate what is "modified" from what is "extended". So we will have a separate directory for white rabbit, develop it as a separate and independent plugin, and, a the end, split what is an extension of proto-standard. Notice that, with the current commit, whiterabbit is set as default in the Makefile, so that you do not need to make PROTO_EXT=whiterabbit, but simply make. In order to compile proto-standard, just set empty PROTO_EXT: make PROTO_EXT=
-
Aurelio Colosimo authored
Included all arch-spec related sources, even if they are not used now.
-
Aurelio Colosimo authored
-
Aurelio Colosimo authored
-
Aurelio Colosimo authored
By decreasing default AI parameter, a faster time synchronization is achieved.
-
- 09 Jul, 2012 9 commits
-
-
Aurelio Colosimo authored
-
Aurelio Colosimo authored
I'm not pretty sure about this patch, but, according to my tests, the value to be used inside adjust_nsec is the number of nseconds itself, not the number of cycles.
-
Aurelio Colosimo authored
-
Aurelio Colosimo authored
-
Aurelio Colosimo authored
-
Aurelio Colosimo authored
There was a bug in ptpd-2.1, fixed in ptpd-2.2. This patch solves the bug in ppsi.
-
Aurelio Colosimo authored
-
Aurelio Colosimo authored
-
Aurelio Colosimo authored
-
- 06 Jul, 2012 13 commits
-
-
Aurelio Colosimo authored
-
Aurelio Colosimo authored
-
Aurelio Colosimo authored
Actually, no bugs in functionality, but diagnostic log was confusing.
-
Aurelio Colosimo authored
Very similar to commit 04a4e74c. In the ptpd-2.1.0 implementation, the sync_time was read when it was read back (and then a follow up was sent), because of the multicast sending on udp. This is not acceptable if we are in ethernet mode.
-
Aurelio Colosimo authored
-
Aurelio Colosimo authored
implemented a new function pps_gen_set, which makes use of PPSG_CR_CNT_SET in CR register for UTC timestamp setting
-
Aurelio Colosimo authored
-
Aurelio Colosimo authored
-
Aurelio Colosimo authored
Timestamp handling was not used while sending (ptpd made use of multicast come back packets by checking is_from_self, see commit 04a4e74c)
-
Aurelio Colosimo authored
buf_in and buf_out need to be aligned, in order not to have bug in msg_pack and msg_unpack functions. This issue should be better fixed than what done with the present patch.
-
Aurelio Colosimo authored
end-to-end mode is currently the default working mode. We do not need pdelayreq - pdelayresp mechanism.
-
Aurelio Colosimo authored
spec_time function, which gives a monotonic 1-second interval count, is better to be used than spec_gen_time, since timers must be working even if timestamp is compromised by a temporary bad regulation. This solution must be implemented in arch-gnu-linux too, by using RAW_MONOTONIC timestamps.
-
Aurelio Colosimo authored
-