- May 08, 2023
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <dev_public@wujek.eu>
-
- May 20, 2020
-
-
In the rx calib FSM, this is needed to over the case when the calibration is re-started (INIT state entered) during execution of the FSM (e.g. due to link unplugging, or timeout). In the tx calib FSM, in theory this is not needed, yet it seems clean and it might be needed in the future if some sort of reset is implemented.
-
- Apr 08, 2020
-
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
Load values from tx_phase_cal.conf file only if MD5 matches. Otherwise, generate new values.
-
- Mar 31, 2020
-
-
Maciej Lipinski authored
So far, only LDPC tx calibration was indicated by blinking link led, now the same behavior was added when LPDC rx calibration is ongoing.
-
Maciej Lipinski authored
Make sure that the status LED does go green before the LPDC tx calibration is finished.
-
- Jan 10, 2020
-
-
Grzegorz Daniluk authored
-
- Oct 22, 2019
-
-
Jean-Claude BAU authored
Disable the SFP TX before starting the TX calibration and enable it again when all ports are TX calibrated
-
- Oct 11, 2019
-
-
Jean-Claude BAU authored
-
Jean-Claude BAU authored
-
Jean-Claude BAU authored
- Export HAL generic fsm to libwr (based on Tom work) - HAL bug fixes and state machines changes This version of HAL works but need some improvements
-
Jean-Claude BAU authored
- HAL shared memory modified to hide and remove some dependencies not needed by PPSi - LPDC structures are now stored in HAL shared memory. They are then accessible by the share memory dump tool - Improve the initialization procedure
-
Jean-Claude BAU authored
_hal_port_tx_setup_state_wait_other_ports() was not returning a value.
-
The writing must be done by the first LPDC-supporting port after all the LPDC-supporting ports have been calibrated. Thus, this must be done in the new state HAL_PORT_TX_SETUP_STATE_WAIT_OTHER_PORTS and only the first port. Otherwise, we have problem when looping through all the supporting ports. In particular, the writing must be done for all LPDC-supporting ports, if we start looping on port N (by ++pointer), then we will not cover all ports, unless we loop up (++) and (--) down.
-
- point on all ports (with and without LPDC support) to the global LPDC structure, this is so that all ports can see whether the LPDC ports were all calibrated - add new state to tx_setup FSM in which ports wait for all the LPDC-supported ports to finish calibration All ports (with and without support) need to wait for LPDC calibartion to finish because otherwise one of them could become slave and change the timing_mode while LPDC requires the switch to be in free-running master mode
-
- use new version of mini-rpc (less overhead on RT communication polling) - adjust DMTD averaging interval (shorter for calibration -> speedup) - make sure the PLL works in freemaster mode before starting calibration - release control over ports to HAL only after all ports have finished the TX path calibration
-
-
-
-
As it is now, once the port with index=0 is calibrated, the _pll_state is never updated. Also, since the states are called recursively in case new state is entered, the _pll_state is not updated unless this is called on port with index=0. Trying to call it regardless of the port before implementing complicated mechanism to manage updates once per all ports under calibration.
-
- add timeout for tx calibration to overcome bugs in reading info from SoftPLL - change initial calibration tolerance - come changes in prints
-
-
- use the global LPDC structure to know whether the file is read/synched (instead of the hack that was used so far) - rename the variables/function name to be more self-explanatory
-
- for tx setup, we need to do some stuff for only one port and we need to do other stuff when all ports are calibrated, yet we need to know this global information when executing on a port. - Added structure to the hal_ports_t that is pointed to from each port that supports LPDC. This structure is then updated and checked. - use this stucture to do the following: * execute update of _pll_state only when hal_port_fsm_tx is executed on the first port that supports LPDC (it does not need to be port with index 0) * execute writing configuration file when all LPDC-supporting port has finished the tx_setup
-
If already exists, the file needs to be read once for all ports and the structures of the ports need to be updated. this is better done at the very begining for all ports rather then making a hack and executing it when port_index=0. Thus, move the thing to the initial global init.
-
-
-
Jean-Claude BAU authored
This is a implementation of the Low Phase Drift Calibration based on Tom's work (branch tom-v6-determinism-5.0.1) This commit has not been tested. It just compiles.
-
Jean-Claude BAU authored
New implementation of HAL using sub state machines. The objective is to facilitate the integration of the new feature "Low Phase Drift Calibration" which needs two new state machines. The HAL state machine is available by opening the hal.html file
-