- 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
-
-
- Apr 03, 2013
-
-
Alessandro Rubini authored
This adds a real usleep implementation. The init function calculates the "loops per jiffy" variable, by watching the timer ticks before interrupts are enabled by spll_init(). This init takes 40ms. Then, the udelay runs the same loop used in calculating lpj, and is thus correct (it will be slower because we have interrupts running at run time, but this is not a problem). Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This is a copy of ptp-noposix/libposix/freestanding-wrapper.c, moved into this project because it actually is only used here. The Makefile now builds this one. This move is needed in order to remove this faulty usleep and provide a better one, while keeping the other fake functions called by ptp-noposix code. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Mar 18, 2013
-
-
mprintf is of uncertain copyright status, and that's why we added pp_printf (actually, that's why I picked pp_printf fro ptp-proposal and made it a standalone thing). Now that everyone involved confirms pp_printf is well tested, let's remove mprintf. We still accept mprintf in the callers, because the name is used by our ptp-noposix submodule, and I'm sure people has it in their fingers and it will appear again. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Mar 07, 2013
-
-
Wesley W. Terpstra authored
-
Wesley W. Terpstra authored
-
Wesley W. Terpstra authored
-
- Feb 20, 2013
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Signed-off-by:
Aurelio Colosimo <aurelio@aureliocolosimo.it>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Feb 19, 2013
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Feb 14, 2013
-
-
This two files where just copied from ptp-noposix script/Lindent was run on them. ptpd_netif.h has not been removed from ptp-noposix, because hosted compilation needs it. Signed-off-by:
Aurelio Colosimo <aurelio@aureliocolosimo.it> Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Feb 12, 2013
-
-
Signed-off-by:
Aurelio Colosimo <aurelio@aureliocolosimo.it>
-
- Nov 23, 2012
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Nov 21, 2012
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Nov 01, 2012
-
-
Alessandro Rubini authored
This adds copyright notes to all non-trivial source files, unless they where already there (i.e. dev/endpoint.c alone). I found authorship using the following script, run on commit "a2721762 documentation updated" (i.e, before automatic reindentation and other trivial stuff by me): git grep -l . | grep -v sockitowm/ | \ while read F; do echo "##### $F" git blame -w $F | \ sed -e 's/^[^ ]* .//' -e 's/-[0-9][0-9]-[0-9][0-9] .*$//' | \ sort | uniq -c | sort -rn done Then I augmented each file with this boilerplate: /* * This work is part of the White Rabbit project * * Copyright (C) 2011 CERN (www.cern.ch) * Copyright (C) 2011,2012 CERN (www.cern.ch) * Copyright (C) 2012 CERN (www.cern.ch) * Copyright (C) 2011 GSI (www.gsi.de) * Copyright (C) 2011,2012 GSI (www.gsi.de) * Copyright (C) 2012 GSI (www.gsi.de) * Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch> * Author: Grzegorz Daniluk <grzegorz.daniluk@cern.ch> * Author: Wesley W. Terpstra <w.terpstra@gsi.de> * * Released according to the GNU GPL, version 2 or any later version. */ Then I removed all the lines that didn't apply. Sometimes I reordered the authors to reflect who is the main author. 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
CONFIG_DETERMINISTIC_BINARY confirms this makes no difference in the generated binary. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Oct 16, 2012
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Oct 05, 2012
-
-
Alessandro Rubini authored
This is massive: 4k lines changed (but only 840 if you ignore space-only changes). In this case "git blame -w" won't always find the right patch, and it may fall on this patch -- because those 800 lines changed in content too. This has been done with find . -name '*.[ch]' | xargs -n 1 ./scripts/Lindent Statistics: all changes and ignoring blank space: morgana% git diff --stat HEAD~1 | tail -1 77 files changed, 3774 insertions(+), 3709 deletions(-) morgana% git diff -w --stat HEAD~1 | tail -1 61 files changed, 894 insertions(+), 829 deletions(-) However, after this step I hand-fixed some very ugly long expressions (leaving them long: no content change at all is there). Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
If you find this patch with "git blame" please use "git blame -w" to have all white-space ignored while associating lines to commits. This commit has no practical effect but cleanup. I made it with sed like this: git grep -l '[ \t]$' | xargs sed -i 's/[ \t]*$//' However, I had to manually restore doc/wrpc_mon.png after the fact. Similarly, I restored the include/hw/*regs.h files, as they are (most likely) auto-generated.
-
- Jul 12, 2012
-
-
Wesley W. Terpstra authored
As part of the fix, make the IP address private to the ipv4.c
-
- Jul 11, 2012
-
-
Grzegorz Daniluk authored
-
- Jul 09, 2012
-
-
Wesley W. Terpstra authored
-
- Jul 05, 2012
-
-
Wesley W. Terpstra authored
Update Etherbone config space with correct IP address.
-
Wesley W. Terpstra authored
-
Wesley W. Terpstra authored
wrc_main starts bootp whenever link goes up Rever Arria2 sys clock to 125MHz -- we had packet loss at 62.5MHz Added IP training support to the shell Have the shell reset the packet filter when the MAC is changed
-