Software for White Rabbit PTP Core:91c58a379d50bb011651aea29749bae9b01af016 commitshttps://ohwr.org/project/wrpc-sw/commits/91c58a379d50bb011651aea29749bae9b01af0162012-10-16T10:25:24Zhttps://ohwr.org/project/wrpc-sw/commit/91c58a379d50bb011651aea29749bae9b01af016bugfix in Makefile: fix a build bug introduced by "three fixes"2012-10-16T10:25:24ZAlessandro Rubinirubini@gnudd.com
Commit "<a href="/project/wrpc-sw/commit/5433fa2fa027c0d5a1c56c6dba6cbe7f272e5c3a" data-original="5433fa2" data-link="false" data-link-reference="false" data-project="10762" data-commit="5433fa2fa027c0d5a1c56c6dba6cbe7f272e5c3a" data-reference-type="commit" data-container="body" data-placement="bottom" title="Makefile: three fixes" class="gfm gfm-commit has-tooltip">5433fa2f</a> Makefile: three fixes" introduced a bug, so that a
fresh clone fails to compile because of a missing "board.h" file.
This makes all objects depends on the symlink, which in turn is
removed by "make clean", so you don't need to start from a fresh clone
to experience the complete build.
Signed-off-by: <span data-trailer="Signed-off-by:" data-user="9028"><a href="https://ohwr.org/rubini" title="rubini@gnudd.com"><img alt="Alessandro Rubini's avatar" src="https://secure.gravatar.com/avatar/18e4fb369cda4873020839db5911d1d1?s=32&d=identicon" class="avatar s16 avatar-inline" title="Alessandro Rubini"></a><a href="https://ohwr.org/rubini" title="rubini@gnudd.com">Alessandro Rubini</a> <<a href="mailto:rubini@gnudd.com" title="rubini@gnudd.com">rubini@gnudd.com</a>></span>
Conflicts:
Makefilehttps://ohwr.org/project/wrpc-sw/commit/66132ce408e6eeeb29d3381b5cfb842fb740bf5aMakefile: complete reshuffle to make it readable2012-10-05T21:21:10ZAlessandro Rubinirubini@gnudd.com
This fits in 80 columns and makes other space cleanups, but
there is no functional change.
We'll need to touch it seriously when adding Kconfig and ppsi as
an alternative to ptp-noposix, so I'd better have it readable before
changing the meat in there.
Signed-off-by: <span data-trailer="Signed-off-by:" data-user="9028"><a href="https://ohwr.org/rubini" title="rubini@gnudd.com"><img alt="Alessandro Rubini's avatar" src="https://secure.gravatar.com/avatar/18e4fb369cda4873020839db5911d1d1?s=32&d=identicon" class="avatar s16 avatar-inline" title="Alessandro Rubini"></a><a href="https://ohwr.org/rubini" title="rubini@gnudd.com">Alessandro Rubini</a> <<a href="mailto:rubini@gnudd.com" title="rubini@gnudd.com">rubini@gnudd.com</a>></span>
Conflicts:
Makefilehttps://ohwr.org/project/wrpc-sw/commit/5433fa2fa027c0d5a1c56c6dba6cbe7f272e5c3aMakefile: three fixes2012-10-05T21:21:04ZAlessandro Rubinirubini@gnudd.com
I'd better set CROSS_COMPILE in the environment than change my path,
so CROSS_COMPILE is conditionally assigned.
The revision is better "git describe --dirty" than "git rev-parse". The output
is a short beautiful string like "wrpc-v2.0-13-g<a href="/project/wrpc-sw/commit/09a736d5210d40219e8372701cc5bd7490f21575" data-original="09a736d" data-link="false" data-link-reference="false" data-project="10762" data-commit="09a736d5210d40219e8372701cc5bd7490f21575" data-reference-type="commit" data-container="body" data-placement="bottom" title="wrc_main: changing default mac to something that would let user know that something got wrong" class="gfm gfm-commit has-tooltip">09a736d5</a>"
with an optional "-dirty" trailer, to show we compiled a non-committed
change.
Finally, to execute commands we dont $(shell) at toplevel, but have
them in the build rule.
Signed-off-by: <span data-trailer="Signed-off-by:" data-user="9028"><a href="https://ohwr.org/rubini" title="rubini@gnudd.com"><img alt="Alessandro Rubini's avatar" src="https://secure.gravatar.com/avatar/18e4fb369cda4873020839db5911d1d1?s=32&d=identicon" class="avatar s16 avatar-inline" title="Alessandro Rubini"></a><a href="https://ohwr.org/rubini" title="rubini@gnudd.com">Alessandro Rubini</a> <<a href="mailto:rubini@gnudd.com" title="rubini@gnudd.com">rubini@gnudd.com</a>></span>https://ohwr.org/project/wrpc-sw/commit/4cb937abf80a6f0dab9aeda1ddb356256612305aMerge branch 'restyle' into proposed22012-10-05T21:20:38ZAlessandro Rubinirubini@gnudd.comhttps://ohwr.org/project/wrpc-sw/commit/e625cbd93e5806dc621eba4b05dfe0874520ce65Run ./scripts/Lindent on all .c and .h files2012-10-05T21:19:38ZAlessandro Rubinirubini@gnudd.com
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: <span data-trailer="Signed-off-by:" data-user="9028"><a href="https://ohwr.org/rubini" title="rubini@gnudd.com"><img alt="Alessandro Rubini's avatar" src="https://secure.gravatar.com/avatar/18e4fb369cda4873020839db5911d1d1?s=32&d=identicon" class="avatar s16 avatar-inline" title="Alessandro Rubini"></a><a href="https://ohwr.org/rubini" title="rubini@gnudd.com">Alessandro Rubini</a> <<a href="mailto:rubini@gnudd.com" title="rubini@gnudd.com">rubini@gnudd.com</a>></span>https://ohwr.org/project/wrpc-sw/commit/1d24ecfb7ffb8bfffb31253bade415efac6c7036Remove all spaces at end-of-line2012-10-05T21:09:48ZAlessandro Rubinirubini@gnudd.com
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.https://ohwr.org/project/wrpc-sw/commit/11c623d7c8ea00eeb08aff305ecfd72652917ba9doc: .gitignore trivial fix2012-10-03T08:01:17ZAlessandro Rubinirubini@gnudd.comhttps://ohwr.org/project/wrpc-sw/commit/c0d73fbc1df91c877c2bb16122f0f39050270be4scripts: checkpatch.pl and Lindent from linux-3.42012-10-03T07:59:51ZAlessandro Rubinirubini@gnudd.comhttps://ohwr.org/project/wrpc-sw/commit/a2721762098c97b93662e2b7dae4e7a8d0f2e6d1documentation updated2012-09-26T12:41:31ZGrzegorz Danilukgrzegorz.daniluk@cern.chhttps://ohwr.org/project/wrpc-sw/commit/09a736d5210d40219e8372701cc5bd7490f21575wrc_main: changing default mac to something that would let user know that som...2012-09-26T08:11:13ZGrzegorz Danilukgrzegorz.daniluk@cern.chhttps://ohwr.org/project/wrpc-sw/commit/18177c839bd31b68b7b9cf82ec18af57a8f031f6shell/cmd_time: second argument is nanoseconds, should not be divided by 82012-09-25T13:35:45ZGrzegorz Danilukgrzegorz.daniluk@cern.chhttps://ohwr.org/project/wrpc-sw/commit/d1075ac16311ea369399f8a20c5f13b00b32ea67minic: use only fid 0 for ptp packets, rest is for wr-nic2012-09-25T13:21:52ZGrzegorz Danilukgrzegorz.daniluk@cern.chhttps://ohwr.org/project/wrpc-sw/commit/978b79c250a9e0d5a9ccebdf8e968e0f75725efapps_gen,cmd_time: fix setting time with shell command2012-09-24T13:53:48ZGrzegorz Danilukgrzegorz.daniluk@cern.chhttps://ohwr.org/project/wrpc-sw/commit/f14462b05bbda985a49e3b8a41fcfa34c3e33a87Merge branch 'eb_pfilter_fix'2012-09-20T11:30:21ZGrzegorz Danilukgrzegorz.daniluk@cern.chhttps://ohwr.org/project/wrpc-sw/commit/d8be9e5bb80179ac246ab5f8061a51b00253c21edev/pps_gen.c: enable timing output (not only PPS) when synced2012-09-20T11:25:50ZTomasz Włostowskitomasz.wlostowski@cern.chSigned-off-by: <span data-trailer="Signed-off-by:" data-user="9300"><a href="https://ohwr.org/greg.d" title="grzegorz.daniluk@cern.ch"><img alt="Grzegorz Daniluk's avatar" src="https://secure.gravatar.com/avatar/50dbd6318323ed7f70cc74578bdeca81?s=32&d=identicon" class="avatar s16 avatar-inline" title="Grzegorz Daniluk"></a><a href="https://ohwr.org/greg.d" title="grzegorz.daniluk@cern.ch">Grzegorz Daniluk</a> <<a href="mailto:grzegorz.daniluk@cern.ch" title="grzegorz.daniluk@cern.ch">grzegorz.daniluk@cern.ch</a>></span>https://ohwr.org/project/wrpc-sw/commit/f7bd54f8fcefcdda0aebe9a33603b303e488f27bdev/ep_pfilter.c: don't snoop UDP/BOOTP/ARP when Etherbone support is disabled2012-09-13T08:32:58ZTomasz Włostowskitomasz.wlostowski@cern.chhttps://ohwr.org/project/wrpc-sw/commit/af10e6ff3a0ce4158f61903cde6bcd9a033c3086Finally added a proper SDB record for EB in hardware.2012-09-12T14:24:19ZWesley W. Terpstraw.terpstra@gsi.dehttps://ohwr.org/project/wrpc-sw/commit/14834a47a1d8bd7ac0c64c6cd1d5d734f2576b6eFix two latent bugs reading undefined register bits.2012-09-11T09:47:40ZWesley W. Terpstraw.terpstra@gsi.dehttps://ohwr.org/project/wrpc-sw/commit/cac1837bdd7fc48ea8ddd46e8884000b1ff2e6e8The PPS UTC high register is only 8 bits wide.2012-09-10T12:53:08ZWesley W. Terpstraw.terpstra@gsi.deThe high 24 bits are HDL don't care values.
Reading them into the timestamp caused locking issues under Altera.https://ohwr.org/project/wrpc-sw/commit/c42a23cd79d4a88efab67752a5930903c260d587Generate the tools needed to build initial ram files2012-08-30T08:21:39ZWesley W. Terpstraw.terpstra@gsi.dehttps://ohwr.org/project/wrpc-sw/commit/9f0345fbb9d46158a881da917ce99e0c6caa13ffupdate to use the latest ptp-noposix for bugfixes in dev/minic2012-08-28T15:03:54ZGrzegorz Danilukgrzegorz.daniluk@cern.chhttps://ohwr.org/project/wrpc-sw/commit/f30add70f8718383332e44d9f92fe2534ac4424adev/minic: bugfixes to prevent WRPC from hanging on ping flood2012-08-28T15:03:03ZGrzegorz Danilukgrzegorz.daniluk@cern.chhttps://ohwr.org/project/wrpc-sw/commit/8bca95be8caa082af8cd547c506159b06f717283code cleanup2012-08-12T15:04:13ZGrzegorz Danilukgrzegorz.daniluk@cern.chhttps://ohwr.org/project/wrpc-sw/commit/a450ecd45c382674f28d5f9cca70733b721783a3doc: update2012-08-11T11:13:38ZGrzegorz Danilukgrzegorz.daniluk@cern.chhttps://ohwr.org/project/wrpc-sw/commit/838c33dfc8a82825cab051e3c4b43660ee6c9599wrc_main: default calibration values for release bitstream2012-08-10T14:45:30ZGrzegorz Danilukgrzegorz.daniluk@cern.chhttps://ohwr.org/project/wrpc-sw/commit/7e0a0cd446b1c6c9f142130ebd1e1ed01547d526release documentation done2012-08-10T14:36:56ZGrzegorz Danilukgrzegorz.daniluk@cern.chhttps://ohwr.org/project/wrpc-sw/commit/9b878a6f65ff3820b5f35622a44881dfaac1d5f3doc added (writing in progress)2012-08-09T15:01:18ZGrzegorz Danilukgrzegorz.daniluk@cern.chhttps://ohwr.org/project/wrpc-sw/commit/7c55565b2e420a9fd0f9ada194431b48b45eb22eMakefile: by default turn-off the Etherbone support for the WRPC release2012-08-09T12:41:31ZGrzegorz Danilukgrzegorz.daniluk@cern.chhttps://ohwr.org/project/wrpc-sw/commit/bc6b72e051ad2c046a563f2ec3ab974531b36d33check FMC EEPROM presence before doing anything on it2012-08-03T14:55:45ZGrzegorz Danilukgrzegorz.daniluk@cern.chhttps://ohwr.org/project/wrpc-sw/commit/03dd3536842aa4ce072e982f7d9a7991aa04df3fshell: t2/t4 phase transition can be read from EEPROM or obtained from calibr...2012-08-03T09:39:19ZGrzegorz Danilukgrzegorz.daniluk@cern.chhttps://ohwr.org/project/wrpc-sw/commit/da9897e4f25d717feaf870295e537f408fff8afdshell: _measure_t24p_ renamed to _calibration_, missing header2012-08-03T09:09:39ZGrzegorz Danilukgrzegorz.daniluk@cern.chhttps://ohwr.org/project/wrpc-sw/commit/4a9a170d820cee0f66fd8c8e6dd0fcc63dbb8a01shell: _measure_t24p_ renamed to _calibration_2012-08-03T08:45:40ZGrzegorz Danilukgrzegorz.daniluk@cern.chhttps://ohwr.org/project/wrpc-sw/commit/375d1b40289ee7bc3ec3a1e931f92524689371cfwrc_main: default deltaRx corrected (did not took into account oscilloscope c...2012-08-02T16:16:11ZGrzegorz Danilukgrzegorz.daniluk@cern.chhttps://ohwr.org/project/wrpc-sw/commit/df2c65dc881b26c4e69be06221c84da73a885cf9dev/endpoint.c: use deltaTx and deltaRx taken from FMC EEPROM2012-08-01T16:30:24ZGrzegorz Danilukgrzegorz.daniluk@gmail.comhttps://ohwr.org/project/wrpc-sw/commit/6c58e263533ebf1d4959dc461e8a5f9ff9ccb439wrc_main: remove unused compilation flag2012-08-01T16:29:10ZGrzegorz Danilukgrzegorz.daniluk@gmail.comhttps://ohwr.org/project/wrpc-sw/commit/79f921c95a772af796c316e1fbf6beb06ca92abbwrc_main: updated default calibration parameters when SFP database is not in ...2012-08-01T16:27:52ZGrzegorz Danilukgrzegorz.daniluk@gmail.comhttps://ohwr.org/project/wrpc-sw/commit/09634e0012b10c67095686222f6d0e5716051ec3wrc_main: updated phase_transition for current bitstream of wrpc2012-08-01T16:11:08ZGrzegorz Danilukgrzegorz.daniluk@gmail.comhttps://ohwr.org/project/wrpc-sw/commit/d9b1c972de341eaebcec079797fb91ccc99c8b73softpll: moved defs header to include2012-07-26T14:38:46ZGrzegorz Danilukgrzegorz.daniluk@gmail.comhttps://ohwr.org/project/wrpc-sw/commit/08ff71ccf76110bc7c9df694bcf9d51f14489c76SoftPLL moved to ptp-noposix repo2012-07-26T12:58:07ZGrzegorz Danilukg.daniluk@elproma.com.plhttps://ohwr.org/project/wrpc-sw/commit/ca091b2f0fcfe1718be7a47e37e7cb669ceac85bcmd_time: without the uint32_t cast operator, mprintf gives always 0 for uint...2012-07-20T16:00:21ZGrzegorz Danilukgrzegorz.daniluk@gmail.com