Skip to content
Snippets Groups Projects
  1. Jan 06, 2015
  2. Nov 18, 2014
  3. Oct 07, 2014
    • Pietro Fezzardi's avatar
      new return type for get_persistent_mac and set_persistent_mac · f4bf6ab7
      Pietro Fezzardi authored and Alessandro Rubini's avatar Alessandro Rubini committed
      Some declaration was int8_t, some int32_t and some didn't match
      the function definition. Now everything returns just int.
      Anyway the functions return only 0 or -1, so there are no problems
      returning int. Moreover in this way the resulting assembler is
      smaller for every target architecture (even if here we always
      build for lm32)
      
      This reduces the binary by 30 bytes.
      f4bf6ab7
  4. Oct 03, 2014
  5. Sep 08, 2014
  6. Aug 18, 2014
  7. Aug 05, 2014
  8. Feb 12, 2014
  9. Feb 11, 2014
  10. Feb 06, 2014
    • Miguel Jimenez Lopez's avatar
      dev/ep_pfilter: Updated filter rules for wr-nic (with etherbone) project. · 8accf456
      Miguel Jimenez Lopez authored and Grzegorz Daniluk's avatar Grzegorz Daniluk committed
      	- Added the NIC_PFILTER configuration option in Kconfig to decide which filter rules will be used.
      	- Updated the dev/ep_pfilter.c file by using the CONFIG_NIC_PFILTER macro. This is done because packet filter does
      	not work correctly if we write all rules in the CONFIG_ETHERBONE section.
      	- We do not use the DROP instruction because all other packets go to NIC core.
      
      Notes:
      
      	- The filter rules to the wr-nic do not have the DROP instruction because all traffic
      	does not go to the LM32/Etherbone is re-direct to the NIC by default.
      
      	- The NIC_PFILTER configuration option depends on ETHERBONE one.
      
      	- Magic number of Etherbone packets is not checked due to the number of rules. (The packet filter is not able to classify correctly)
      8accf456
  11. Jan 17, 2014
    • Miguel Jimenez Lopez's avatar
      dev/ep_pfilter: Updated filter rules for wr-nic repository. · a5d3db16
      Miguel Jimenez Lopez authored and Grzegorz Daniluk's avatar Grzegorz Daniluk committed
      - Added CONFIG_WRNIC in Kconfig to decide which filter rules will be use.
      - Updated ep_pfilter using CONFIG_WRNIC.
      - We do not use drop because all other packet goes to NIC core.
      
      Note: filter rules to wr-nic do not have DROP instruction because all traffic
      does not go to LM32/Etherbone is re-direct to NIC by default.
      a5d3db16
  12. Dec 17, 2013
  13. Dec 02, 2013
  14. Nov 14, 2013
  15. Nov 12, 2013
  16. Nov 07, 2013
    • Grzegorz Daniluk's avatar
      [t24_fix]: rxts_calibrator: fix generating second sample of rising edge from falling edge · db364492
      Grzegorz Daniluk authored
      Previous one was not working when:
      * tR and tF were both inside (0; 4000) and tR < tF
      * tR and tF were both inside (4000; 8000) and tF < tR
      
      in those cases it was calculating ttrans around falling edge instead of rising
      edge. This commit fixes it.
      db364492
    • Wesley W. Terpstra's avatar
      rxts_calibrator: fix incorrect t24p phase resulting in rare track failures · 94245412
      Wesley W. Terpstra authored and Grzegorz Daniluk's avatar Grzegorz Daniluk committed
      t24p calibration finds the rising&falling edges in
      dev/rxts_calibrator.c:rxts_calibration_update.  It then computes the
      "transition" as (falling+rising)/2.  That is, ttrans points 25% past the
      dangerous transition.  Now that value arrives in one of the three copies of
      ptpd_netif_linearize_rx_timestamp (depending on build).  In this method
      ttrans has +-1/4 period added to it to compute trip_lo and trip_hi.  The
      intent as described by the comment (and common sense) is to avoid the rising
      edge when the phase is within +-1/4 period.  Unfortunately, this code
      assumes that ttrans IS the rising edge, when in fact it is the rising
      edge+25%. Thus, the code ACTUALLY tests phase within 0-50%.
      94245412
  17. Oct 29, 2013
  18. Oct 25, 2013
  19. Oct 17, 2013
  20. Oct 11, 2013