Software for White Rabbit PTP Core:bf199e49b8f157966f548dc95740018c99a4162d commitshttps://ohwr.org/project/wrpc-sw/commits/bf199e49b8f157966f548dc95740018c99a4162d2014-11-18T07:39:30Zhttps://ohwr.org/project/wrpc-sw/commit/bf199e49b8f157966f548dc95740018c99a4162dwrs: fixed structure to export softpll stats2014-11-18T07:39:30ZGrzegorz Danilukgrzegorz.daniluk@cern.chhttps://ohwr.org/project/wrpc-sw/commit/36a79864c849272f6c1d2bdabcef01f79b033a12ram size for wrs is 64k2014-11-18T07:39:30ZAlessandro Rubinirubini@gnudd.comSigned-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/4ae0edda8d042fc17c7a6426a22562eb63dfef67wrc.h: offer is_wr_{switch,node} as integers2014-11-18T07:39:30ZAlessandro Rubinirubini@gnudd.comSigned-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/f235dfbcb20f3cfad4678ff1fdb3af46f2274615ldscript and crt0.S: remove useless _gp2014-11-18T07:39:30ZAlessandro Rubinirubini@gnudd.com
The global pointer is used by some special assembly instructions
that we are not using (i.e., the compiler is not generating them
for us, because we don't use PIC or other "strange" stuff.
So, we'd better remove an assignement in the linker script that makes
little sense (it must be a typo of some kind, in the dark ages of this
code base).
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/c0288cc0a5bf6be27dce4f05ce99fd11e9664bc2softpll: fix int/uint 32/64 compilation warnings2014-11-17T15:02:06ZGrzegorz Danilukgrzegorz.daniluk@cern.chhttps://ohwr.org/project/wrpc-sw/commit/fc63d9cf5fda70fa5424e89ebd1c073195a4beacMerge branch 'switch-v4.1' into pmaster2014-11-17T09:18:47ZGrzegorz Danilukgrzegorz.daniluk@cern.ch
Conflicts:
softpll/softpll_ng.chttps://ohwr.org/project/wrpc-sw/commit/1a08dc04e07d2df7058ad01695631096efaa1b3eppsi update2014-11-17T09:17:16ZGrzegorz Danilukgrzegorz.daniluk@cern.chhttps://ohwr.org/project/wrpc-sw/commit/1c061f05778de9af7044d6fcb91c869cdf311508Merge branch 'no-no-posix'2014-10-09T08:03:35ZAlessandro Rubinirubini@gnudd.com
We finally agreed to not use ptp-noposix any more. This allows simplifying
the main loop and library functions, in the future.https://ohwr.org/project/wrpc-sw/commit/7c745d5a90782f13fd1a4974cfc9abbd4e2f9020removed ptp-noposix submodule2014-10-08T12:02:33ZAlessandro Rubinirubini@gnudd.comSigned-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/84ebc48ca90b69ea59f6a01de2fc038617402e28general: remove references to ptp-noposix2014-10-08T12:01:10ZAlessandro Rubinirubini@gnudd.comSigned-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/35e279ee48d06b6c30e0e6ef28e2631b8a3a4b95softpll_ng.c: replace "/ 2" with ">> 1"2014-10-07T16:48:38ZPietro Fezzardipietrofezzardi@gmail.com
The previous version was compiled into a 64bit division
by gcc. in this way it uses no division, but a bitshift.
This reduces the compiled file by 4 bytes.https://ohwr.org/project/wrpc-sw/commit/f4bf6ab73f47fa03ba65d94cd408030c74243e23new return type for get_persistent_mac and set_persistent_mac2014-10-07T16:48:28ZPietro Fezzardipietrofezzardi@gmail.com
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.https://ohwr.org/project/wrpc-sw/commit/2d17de26b96e6add37b51c7193cfd25e8b5d7166Makefile: fix expansion of CONFIG_RAMSIZE2014-10-07T16:47:22ZPietro Fezzardipietrofezzardi@gmail.com
This adds 2.3kB to the GSI configuration, beause it enable ptpdump.
Earlier it was always forces off, due to wrong comparison of ram size.https://ohwr.org/project/wrpc-sw/commit/50470ca2057bc2f6adc6f7051710000a71f30110trivial: remove trailing whitespace2014-10-07T16:47:18ZPietro Fezzardipietrofezzardi@gmail.comhttps://ohwr.org/project/wrpc-sw/commit/17be8765b7b894db64a877a72e37e3e5041b3fb6inttypes.h: fix sign in typedef of uint64_t2014-10-07T16:47:10ZPietro Fezzardipietrofezzardi@gmail.comhttps://ohwr.org/project/wrpc-sw/commit/740be374c35cc6cfacbb3b07e3828913ecd8cc18wrs: disable 10MHz output (CLK1) until PLL is resync with WR.2014-10-03T08:54:12ZBenoit Ratbenoit@sevensols.comhttps://ohwr.org/project/wrpc-sw/commit/20cfb1c0e903975fd13f4708359db0b4fc30ff0cwrs: update ad9516 to be compatible with SCB v3.3 and v3.42014-09-08T16:39:35ZEmilio Marínemilio@sevensols.com
By default the scb_ver is "33" but it can be modified at runtime in order
to load the config for SCB v3.4 (i.e, load-lm32 rt_cpu.elf scb_ver=34)
Signed-off-by: <span data-trailer="Signed-off-by:" data-user="9296"><a href="https://ohwr.org/benoit" title="benoit@sevensols.com"><img alt="Benoit Rat's avatar" src="https://secure.gravatar.com/avatar/a6236f64b5410f81ae5a879a284c7626?s=32&d=identicon" class="avatar s16 avatar-inline" title="Benoit Rat"></a><a href="https://ohwr.org/benoit" title="benoit@sevensols.com">Benoit Rat</a> <<a href="mailto:benoit@sevensols.com" title="benoit@sevensols.com">benoit@sevensols.com</a>></span>https://ohwr.org/project/wrpc-sw/commit/c6b68c61f9e81b10243b20e8b47071a526c9cd86rxts_calibrator: clean up2014-08-18T09:15:03ZAlessandro Rubinirubini@gnudd.com
This cleans a little the calibrator code: we'll write to eeprom only
when the measured value is different from the previous one.
With this commit, code is also slightly smaller (28 bytes).
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/d447f0968daa7524aa961733743e09b3c5e319e4ppsi: get new release, and fix Makefile accordingly2014-08-18T09:15:03ZAlessandro Rubinirubini@gnudd.com
This includes ppsi-v2014.07.
The new ppsi master is Kconfig-based, so our makefile must
make "wrpc_defconfig" in ppsi before building it.
Additionally, the link steps changed to the better in there, so we
don't link the "strange" $(PPSI)/proto-standard/libstd.a any more.
We may consider whether a local .config for ppsi should be
provided by this package instead of relying on its own choices;
not a big deal, though, as we maintain them at the same time.
Please note that any existent ppsi/.config is preserved, to allow
local tests. This should not have any impact on normal users.
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/2d4f4ca706142e0c97f047836de90ec151db1f59Kconfig: display proper version number2014-08-18T09:15:03ZPietro Fezzardipietrofezzardi@gmail.com
KERNELVERSION variable from Linux was still used.
It was not initialized so the displayed version in the headers
of make gconfig and make menuconfig was missingor wrong.
It just said (null) or KERNELVERSION.
KERNELVERSION has been changed to VERSION all over the kconfig
scripts. Makefile.kconfig exports this variable so it can be
used by config scripts with getenv().
Now it prints the ppsi version with the present commit, like
diplayed from
git describe --always --dirtyhttps://ohwr.org/project/wrpc-sw/commit/48c8033c2e65ee3349bfb7510a8ea90bafb360d7Merge branch 'proposed_master'2014-08-18T09:14:20ZGrzegorz Danilukgrzegorz.daniluk@cern.chhttps://ohwr.org/project/wrpc-sw/commit/6194dc7c02142fc63c73534419dc185337d9396espll: don't touch MPLL when in free-running mode2014-08-18T08:24:12ZGrzegorz Danilukgrzegorz.daniluk@cern.chhttps://ohwr.org/project/wrpc-sw/commit/146c14113003f30290f7aa2616b1593544b73198softpll: fix compilation warnings2014-08-07T09:17:25ZGrzegorz Danilukgrzegorz.daniluk@cern.chhttps://ohwr.org/project/wrpc-sw/commit/29b5155a63bb4ac3c097783c1bc0de41cc02fb14softpll_ng: fix division, using __div64_322014-08-05T15:20:30ZAlessandro Rubinirubini@gnudd.comSigned-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/5a09064d108e7590772282e10ff96df08dc10737wrc.h: add prototype for __div64_322014-08-05T15:20:05ZAlessandro Rubinirubini@gnudd.comSigned-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/a9966510b1657760e23374cc5b0a30b303460fcaMerge remote-tracking branch 'ohwr/switch-v4.0' into rubi-printf2014-08-05T15:11:02ZAlessandro Rubinirubini@gnudd.comhttps://ohwr.org/project/wrpc-sw/commit/6cd04b91d585704a92448a823b1b1260bd4d6b58Makefile: pick div64.o and always avoid libgcc divisions2014-08-05T15:10:04ZAlessandro Rubinirubini@gnudd.comSigned-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/dd4410d4a589f8574c9da3d3125ecb826495ba4bpp_printf: use new upstream master e17d8742014-08-05T14:59:37ZAlessandro Rubinirubini@gnudd.com
This picks the following commits (most recent on top):
e17d874 README: update for the new code base
d391e62 added 64-bit example/test
670b5e8 Makefile: support 64-bit option; add div64.c
c2384cd vsprintf-full: offer 64-bit printing as an option
220b19e vsprintf-full: simplify a little
526daa6 vsprintf-full: remove unsed code for %p printing
1a28825 vsprintf-full: prevent a warning when a pointer is 16 bits
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/7437861032894ef401fbc0ceb7bbca58c3bfa03fsoftpll: use TRACE_DEV instead of TRACE to compile for both wrs and wrpc2014-08-05T14:29:56ZGrzegorz Danilukgrzegorz.daniluk@cern.chhttps://ohwr.org/project/wrpc-sw/commit/e52af7f544ac1db54ad7ac2dad8745a371cb2f4eVCO characterization command, fix code duplication2014-08-05T14:22:28ZGrzegorz Danilukgrzegorz.daniluk@cern.chhttps://ohwr.org/project/wrpc-sw/commit/6ffd84cd8d8b0e1238c53eee4dfc182df5c9e8ddshell: added VCO characterization command (pll checkvco)2014-08-05T14:22:23ZTomasz Włostowskitomasz.wlostowski@cern.chhttps://ohwr.org/project/wrpc-sw/commit/f0953590c8a76705f0eaf0d739f2c4fb403d649csoftpll: rewritten external channel, we don't use bang-bang phase detector an...2014-08-05T14:20:58ZTomasz Włostowskitomasz.wlostowski@cern.chhttps://ohwr.org/project/wrpc-sw/commit/1850ac3a916a79d191add160925be9869c7d373bconfig: update gsi defconfig2014-03-14T13:37:19ZWesley W. Terpstraw.terpstra@gsi.dehttps://ohwr.org/project/wrpc-sw/commit/328185fc8c805aee550a38fd8ad048db9a68b877eb-w1-write: support multiple 1wire controllers on a target SoC2014-03-14T13:16:39ZWesley W. Terpstraw.terpstra@gsi.dehttps://ohwr.org/project/wrpc-sw/commit/245d3efb566fdd80dacd7fa4f0cbea9ce9eb0520tools/trivial-init: a small footprint, delay-free WRPC firmware for VHDL/Veri...2014-03-07T08:52:47ZTomasz Włostowskitomasz.wlostowski@cern.chtools/trivial-init: a small footprint, delay-free WRPC firmware for VHDL/Verilog simulations (initial commit)
https://ohwr.org/project/wrpc-sw/commit/9b6b9b9843ba092892e0230db52ddf237a8ce9bftimer: fix overflow related bugs using time_after()2014-02-12T13:05:01ZAlessandro Rubinirubini@gnudd.comSigned-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/9f94bb86b709c33138347f7318089c92e20ed071timer: define time_before() etc2014-02-12T13:04:16ZAlessandro Rubinirubini@gnudd.comSigned-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/ab36ee070162fb1ab4cf1f51b9cb753e07852523timer: use timer_delay_ms where it's milliseconds2014-02-12T11:53:44ZAlessandro Rubinirubini@gnudd.com
This also removes an unsed function, that I found because it used
timer_delay().
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/9216288ceebe8f16a005d4a3759a853bab76873ctimer: define timer_delay_ms(), header minor cleanup2014-02-12T11:47:14ZAlessandro Rubinirubini@gnudd.comSigned-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/6f9c296b37008fa656f2ab77be85c7f2bd51868etimer: fix prototpyes2014-02-12T11:22:58ZAlessandro Rubinirubini@gnudd.com
We don't want "timer_delay(howlong)" because people won't know the
unit while looking at the header.
Also, this removes an unused prototype and adds void when void is due
in timer code.
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>