Software for White Rabbit PTP Core:f04c03d1be4f45b08dcb5deed34c589d52413003 commitshttps://ohwr.org/project/wrpc-sw/commits/f04c03d1be4f45b08dcb5deed34c589d524130032012-11-01T21:30:05Zhttps://ohwr.org/project/wrpc-sw/commit/f04c03d1be4f45b08dcb5deed34c589d52413003warnings: trivial fix for wrc_ptp.c2012-11-01T21:30: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/21e79aed705d45784c3f8de792848175c7b4ef76warnings: final clean up of wrc_main.c2012-11-01T21:30:05ZAlessandro Rubinirubini@gnudd.com
When I add prototypes to headers, I ensure the source that
defines the function sees the header, to detect inconsistencies
(here, I add <wrc.h> to the includes).
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/c0b2a8ad8d73096658f9e587a15143f6e9a7be97warnings: kill all warnings in pps_gen.[ch]2012-11-01T21:30: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/1459a6d5b027ad3ee8c162c9815f1f4cdfe73764warnings: various things to clean wrc_main.c2012-11-01T21:30:04ZAlessandro Rubinirubini@gnudd.com
This adds all missing prototypes and removes unused variables.
It includes a generic <wrc.h> (which btw includes the printf
prototype, not in uart.h any more) and other needed 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/3e4ee3234811385e95ae52bce55023a160ad426awarnings: fix "static" in ep_pfilter2012-11-01T21:29:51ZAlessandro Rubinirubini@gnudd.com
There was a wrong "static" in a public header that triggered
my interest here. This fixes the warning and makes all functions
that are unused elsewhere really static. It also saves 50 bytes
in the final binary.
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/1134fab92f820ef8bd4eb419c53c3f07053e2ce2Makefile: force -Wall2012-11-01T21:23:24ZAlessandro 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/ff1ba05213235ab5e8b35a7c7d38b09bdf0b2a5ainclude: add __attribute__((format(printf))) to mprintf2012-11-01T21:23:24ZAlessandro 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/14a84cc75130014e88d172fea7e0b1cc8bccfe66Merge branch 'build-changes'2012-11-01T21:20:21ZAlessandro Rubinirubini@gnudd.comhttps://ohwr.org/project/wrpc-sw/commit/f05f37573869373fa6f45c3469644696f9b424d1arch/lm32/ram.ld: remove all cruft2012-11-01T21:19:22ZAlessandro Rubinirubini@gnudd.com
Remove all unneeded stuff from the linker script. Now the script only
includes what is actually used: it is easier to understand and change
(we'll add some local ELF sections), and it makes a better reference
for possible porting to a different architecture.
This commit also moves the default libraries from the linker script
itself to the LDFLAGS in Makefile, where they really belong.
CONFIG_DETERMINISTIC_BINARY confirms this makes no difference in
the generated binary (nor the ELF FWIW).
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/583ab278b580e6b84fab72e26d61d0d7dc654460build: move libs from ldscript to LDFLAGS2012-11-01T21:18:06ZAlessandro Rubinirubini@gnudd.com
Instead of picking libraries from the linker script, common practice
is listing them in LDFLAGS. This simplifies review and modification.
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/478e3105ba4c81e9ec84549a903f9181abd20b9fboards: removed unused .c files2012-11-01T21:18:06ZAlessandro 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/14d63beb347c3f49091400090fcaef8a91d61347build: use obj-y for all object files (Makefile and */*.mk)2012-11-01T21:18:06ZAlessandro Rubinirubini@gnudd.com
CONFIG_DETERMINISTIC_BINARY confirms this makes no difference in
the generated binary.
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/1627e3e7cdf9a939e0ee8107f9a7e65fa7e5af2abuild: use obj-y and CONFIG_PTP_NOPOSIX (now always "y")2012-11-01T21:18:06ZAlessandro Rubinirubini@gnudd.com
It also used cflags-y in the same way.
CONFIG_DETERMINISTIC_BINARY confirms this makes no difference in
the generated binary, but it opens to more configuration options.
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/b74ebbfe942880613e5665e09eb3891f3041c7a5Makefile: fetch submodules if needed at build time2012-11-01T21:18:06ZAlessandro 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/274131003c8f056419f1d3cff92161465c2ada8dMakefile: split a long rule using dependencies2012-11-01T21:17:41ZAlessandro Rubinirubini@gnudd.com
This also removes the run of $SIZE on all object files, as the
previous content of the screen is often more important for me.
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/922fbf87c654743ed7059a511523455535674e0bMerge branch 'doc-update'2012-11-01T21:10:34ZAlessandro Rubinirubini@gnudd.comhttps://ohwr.org/project/wrpc-sw/commit/52e8d4d1f487262da674adb260081c2268a453b5doc: trivial: aesthetics in source, no effect on output2012-10-17T07:31:53ZAlessandro Rubinirubini@gnudd.com
I prefer the comment separatos for sections to be different than those
for chapters (so I better see the structure while editing). It makes
no difference for others I'm sure.
Also, remove the info menus: they tend to rust in the source
while the good ones in the output are regenarated by ./fixinfo .
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/ad219f5300db87061561153c9faa3fa06089ae79doc: documented Kconfig use2012-10-17T07:28:55ZAlessandro 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/f8bc3bcb298dba48555ad6a4d3140fea48234813doc: fixed a few typos, layout and references to the release2012-10-17T07:16:33ZAlessandro Rubinirubini@gnudd.com
While compiling a noticed some overfull and underfull boxes, and
they are now fixed. Also, change the date and write that this is not
a release (while leaving references to the last release we had.
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/1d140afe3a3570d11a726fc267a19d0f237d04bfKconfig: add CONFIG_DETERMINISTIC_BINARY2012-10-16T10:39:03ZAlessandro 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/5d4ef29f36dfa56706d5bd57749969d1009d9c12revision: change revision generation, no effect on output2012-10-16T10:39:03ZAlessandro Rubinirubini@gnudd.com
This doesn't change the behavior of any command, but adds revision.c
as a real source file rather than something created by make using
"echo ... > revision.c". In any case, the file is recompiled
each time you call "make", so the date and time reflect the last
build.
However, this introduces CONFIG_DETERMINISTIC_BINARY (that nobody
sets at this point in time) to build a binary withouth __DATE__
and __TIME__ strings, so it is the same at every rebuild. See
next commit.
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/6c5c73584c6e29232b6f5158b6092cf9fdf7b65dtrivial: shell/cmd_sdb.c: removed unused extern declaration2012-10-16T10:39:03ZAlessandro 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/b711316c33bb871cca66c1d740ab782cc8733df3Merge branch 'kconfig'2012-10-16T10:38:38ZAlessandro Rubinirubini@gnudd.comhttps://ohwr.org/project/wrpc-sw/commit/70eb3ba62597117f43041fc1239f26cd1da79255kconfig: add a configs/ directory and use it2012-10-16T10:30:08ZAlessandro 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/3bb5f9dfbe02bd1585359836e04f10c5df71ae64Makefile: use .config and include/config/autoconf.h2012-10-16T10:30:08ZAlessandro Rubinirubini@gnudd.com
This has been verified to properly obey the new CONFIG_ETHERBONE
settin.
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/92a9048e334ad3936de373853902c03dc50f6dcaMakefile: link to the kconfig engine2012-10-16T10:30:08ZAlessandro 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/0fdfb13b0051d51bc81afe7f08945f856aa4dc68Kconfig: trivial option: CONFIG_ETHERBONE2012-10-16T10:30:08ZAlessandro 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/d923523a8aee738cab4194aa76216f12bb4fd0e0gitignore: added kconfig names2012-10-16T10:30:08ZAlessandro Rubinirubini@gnudd.com
Add the lines from the .gitignore found in bst-kconfig. As in the
previous commit, use bst-kconfig commit v2.6.34-4-g8168c0b
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/2c30cb4f1bcaca97e09fa9a0759d1ea2ad54d24ekconfig: trivially fix most 'kernel' words in messages2012-10-16T10:30:08ZAlessandro 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/7c788802193e1c87e69c1eb246962ffe8fe800ffkconfig: trivially write "WRPC" in place of "Linux Kernel"2012-10-16T10:30:08ZAlessandro 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/881e1ee462e0faf2389faf890e6f7dbc446ef20brename WITH_ETHERBONE to CONFIG_ETHERBONE, ready for Kconfig2012-10-16T10:30:08ZAlessandro 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/ab30804f7ab602947bef552e8fde1087507707f8kconfig: use 'Kconfig' as file name, not the bst-kconfig ones2012-10-16T10:30: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/5fda0c85e3d7e1c14facc42756ee737d1ba16955kconfig: use pathnames from Linux-2.6.342012-10-16T10:30:01ZAlessandro Rubinirubini@gnudd.com
This undoes some differences between the upstream 2.6.34 kconfig and
the bst-kconfig out-of-tree port. This basically adds back
include/config/ and include/generated/ .
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/89cdfcd573ad38b8f59a4e02e467a7290178655dadded kconfig infrastructure, the trivial way2012-10-16T10:30:01ZAlessandro Rubinirubini@gnudd.com
This comes from the "bst-kconfig" project, which lives at
<a href="git://git.informatik.uni-erlangen.de/vamos/bst-kconfig">git://git.informatik.uni-erlangen.de/vamos/bst-kconfig</a>
In particular, I copied from commit v2.6.34-4-g8168c0b which exported
to a standalone package the kconfig code from version 2.6.34 of the
kernel. This commit copies the files literally, but it renames
"Makefile" to "Makefile.kconfig", as our Makefile is already in place.
It can be said that it is a lazy choice and the code is old, but I
also evaluated other projects as a source of Kconfig code. In
particular, I studied busybox and buildroot; but the work needed to
extract the relevant code looks bigger. I also evaluated
kconfig-frontends, but it is not what we needed here (besides, it uses
automake and thus it's completely unmaintainable for me -- known
hackers say that autotools must die, and I share the idea).
If needed, we can replace this with a newer Kconfig setup later on.
At the time being, this is code base is more than enough for this
project.
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/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.