Commit 6fea025f authored by Alessandro Rubini's avatar Alessandro Rubini

PTPWR_INFO: removed as obsolete, remains in history

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent d0923675
Author : Maciej Lipinski
email : maciej.lipinski@cern.ch
info : implementatin of White Rabbit extension
version : wrptpd.v2: compliant with second release of White Rabbit Specification (wrspec.v2)
updated : 2/07/2011
1)compilation flags:
- DPTPD_NO_DAEMON - original PTPd flag, for WR not tested yet without this
- DPTPD_TRACE_MASK - see trace.h for different masks available, it enables to specify type of
debugging messages printed on the screen
- DNETIF_VERBOSE - enable debugging for ptpd_netif
- DMACIEK_HACKs - hack to make up for things that are not yet implemented in HW (i.e. switchover)
2) most important running options
- Hands-free-auto ptpd - detect number of interfaces, their configuration, if more then one port,
run as boundary clock
./ptpd -A
- Master-Only - ordinary clock which is supposed to be locked to external source
./ptpd -M
- Primary source
./ptpd -P - boundary clock which is supposed to be locked to external source
- No parameters is equal to ./ptpd -A
./ptpd
4)Files:
PTPWRd
|-- arith.c --------------------- no WR changes
|-- bmc.c ----------------------- WR changed: a lot of WR here:
|
|-- build_p.sh ------------------ WR only:this builds PTPWR for standard PC
|-- build_t.sh ------------------ WR only:this builds PTPWR for the target and standard PC
| (just for convenience, I always need both :)
|-- clean.sh -------------------- ML: I used it for cleaning before commiting, I use Kate
| and it produces tmp files ~
|-- constants.h ----------------- WR changed: constants and enums used in WR are here
|-- datatypes.h ----------------- WR changed: here we have defined PtpClock, so all the WRPTP
| variables that are added to it + FixedDelta typedef
|-- dep
| |-- constants_dep.h --------- WR changed: no significant WR-related changes here
| |-- datatypes_dep.h --------- WR changed: here is NetPath typedef defined, and all the types
| | used in the daemon
| |-- msg.c ------------------- WR changed: White Rabbit management facilities + announce suffix +
| | other method of flipping bits (original one did not work for
| | 32 bits, aligment problems)
| |-- net.c ------------------- WR changed: Absolutelly, thoroughly changed by White Rabbit to
| | adapt to ptpd_netif interface
| |-- ptpd_dep.h -------------- WR changed: some custiom WR DBG facilities are defined here +
| | definitions of functions in /dep folder
| |-- ptpd_netif
| | |-- ptpd_netif.h -------- WR only: does what header should
| | |-- ptpd_netif_mch.c ---- WR only: network interface implemented here + interface to
| | HAL (calibration, locking) + HW timestamps
| |-- PTPWR_INFO
| |-- servo.c ----------------- WR changed: to be implemetned !!!!!!!!!
| |-- startup.c --------------- WR changed: defined new startup parametrs, implementation of multi-port
| | [allocate/free memory for many ports, done here in ptpdStartup()/ptpShutDown()]
| |-- sys.c ------------------- WR changed: here adjtimex() is commented not to mess around with the clock,
| we do it differently
| `-- timer.c ----------------- WR changed: Here WR implements interrupt-less timing (in original ptp daemon irq was used)
|-- display.c ------------------- not used in WR
|-- Doxyfile
|-- Makefile
|-- protocol.c ------------------ WR changed: WR does here a lot:
| 1) modifies UNCALIBRATED state
| 2) adds HW timestamping
| 3) messge issue/handle WR management (see handleManagement() and issueWRManagement())
| 4) implement multi-port
|-- ptpd.8
|-- ptpd.c ---------------------- WR changed: here we set some default WR params and decide if we want single- or multi-port mode
|-- ptpd.h ---------------------- no significant WR-related changes here
|-- TODO ------------------------ :)
|-- wr_protocol.c --------------- WR only: WR FSMs, HW timestamping, and other WR magic is implemented
`-- wr_protocol.h --------------- WR only: just definitions of WR functions
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment