- Jan 21, 2016
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Jan 20, 2016
-
-
Alessandro Rubini authored
We removed the pool of sockets, to only keep a list of pointers. The caller provides the socket (and the buffer). This saves from 440 to 1570 bytes in the binary (more in the ones with no CONFIG_IP, beause sockets are not used. Now we can move to a caller-defined queue size, when I find the time and willingness. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
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
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
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
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
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
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This removes TRACE_DEV(), turning it into pll_verbose() and wrc_verbose(). The functions are enabled and disabled by kconfig, with defaults matching the previous behaviour. So nothing changes, but the binary is smaller because the previous wrc_debug_printf() was silent because of a run-time conditional (though hardwired false at build time). The condional is now at build time. We save around 2k, between strings and calling code, in all wrc builds (nothing is saved in wrs, which is verbose by default, nor in devel_build_test_defconfig where all verbose options are on)). Signed-off-by:
Alessandro Rubini <rubini@gnudd.com> devel_build_test_defconfig: enable all verbose options Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
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
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
* library files can be built even if not used (this gets us more build-time testing, as for example I usually build with no IP support). * Some ifdefs are not needed, use HAS_IP instead. This adds a few bytes to some configurations (not all, can't tell why), but I find it acceptable. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Actually, Etherbone is in gateware, and this option only enables Internet Protocol in the software. This fixes a long-standing misunderstanding. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Oct 30, 2015
-
-
Alessandro Rubini authored
This commit fixes all copyright notes, using "git blame" as a reference. For simple files I just added a 2-lines boilerplate about being WR and GPL. Some parts I left untouched: trivial-init and related files (unclear to me what this is, and pf-microcode.h is magic binary pfilter values). tools/lm32-etheruart: I don't know what this is and who the author is libsdbfs: this comes from another repo and I'd better not change it sfp_lib.h and hal_shmem.h: I lost track about the origin of this, among the several packages. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Oct 27, 2015
-
-
Alessandro Rubini authored
We have not been using mprintf for ages now, and it's better for the code to explicitly call pp_printf, so people is aware of it. We might "#define printf pp_printf", but currently we'd better not. Maybe when we turn this into a real operating system, next millennium... Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Oct 13, 2015
-
-
- Sep 07, 2015
-
-
Grzegorz Daniluk authored
Based on Peter's work for km2net CLB board.
-
- Sep 01, 2015
-
-
Alessandro Rubini authored
The function ptpd_netif_create_socket() still receives two arguments, because it is being called by ppsi, and I'd better not change the API in small steps in there. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com> y
-
- Jul 26, 2015
-
-
Alessandro Rubini authored
The function wrpc_get_port_state() still receives two arguments, because it is being called by ppsi, and I'd better not change the API in small steps in there. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
The function are not there: * ptpd_netif_poll() it never existed * ptpd_netif_select() nobody called it, and it only returned 0 * ptpd_netif_locking_enable() * ptpd_netif_locking_disable() * ptpd_netif_locking_poll() * ptpd_netif_adjust_counters() * ptpd_netif_adjust_phase() * ptpd_netif_adjust_in_progress() * ptpd_netif_enable_timing_output() * ptpd_netif_enable_phase_tracking() * ptpd_netif_read_calibration_data() they were part of ptp-noposix-wrappers.c, removed in January 2015. The features are now part of the wr_ops in ppsi. * ptpd_netif_get_ifName() same (ptp-noposix-wrappers.c), it returned a constant name, and ppsi does it differently because based on arch-wrs/arch-wrpc * ptpd_netif_calibrating_enable() * ptpd_netif_calibrating_disable() * ptpd_netif_extsrc_detection() same, but in addition they were already doing nothing when removed * ptpd_netif_calibrating_poll() * ptpd_netif_calibration_pattern_enable() * ptpd_netif_calibration_pattern_disable() same, but they wer not actually used since calibration was gone Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
I added -Wstrict-prototypes, that used to be included in -Wall settings but is not. Actually, I think it should be an error to not specify an argument list by now. If any, -traditional is there for old timers. Fortunately no bug was exposed by the missing prototypes. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Jul 24, 2015
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Jun 30, 2015
-
-
ppsi for wrs requres locks in shmem when shmem is changing. Since servo is shared between wrs and wrpc fixes had to be implemented. Since there is no shmem in wrpc, dummy function for locking had to be added. As a side effect include/libwr/shmem.h was added. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Done as a part of work to move hal to shm in wrs. Done in this commit: --use wrpc_get_port_state instead of halexp_get_port_state --make wrpc_get_port_state fill hal_port_state structure in the way how HAL fills shmem. --update lib/net.c to use struct hal_port_state instead of hexp_port_state_t --update monitor/monitor_ppsi.c to use struct hal_port_state instead of hexp_port_state_t --update ppsi to get needed changes Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
It is not used anymore. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Feb 12, 2014
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Feb 11, 2014
-
-
Alessandro Rubini authored
This fixes the makefile to build either wrc.bin or rt_cpu.bin, using the obj-y convention. At this point Kconfig can't select rt_cpu.bin, and nothing changes in the ouput binary, in all configurations. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Dec 16, 2013
-
-
[t24-fix]: rewritten RX timestamp linearization (phase + counter merging) algorithm to be easier to understand. For more info, check the note in the Documents section of the wrpc-sw project on ohwr.org.
-
- Nov 07, 2013
-
-
Grzegorz Daniluk authored
-
After subtraction of transition value from linearized phase, the phase value was renormalized to 0...clock_period-1, but not the other counters. This resulted in very rare 8ns jumps.
-
The phase was used backwards. Somehow this cancelled out the systematic error introduced by the actual bug (wrong phase offset). When both bugs are fixed the code seems to work every time.
-
- Nov 01, 2013
-
-
Grzegorz Daniluk authored
-
- Oct 01, 2013
-
-
Grzegorz Daniluk authored
-
- May 09, 2013
-
-
- Apr 26, 2013
-
-