- Sep 24, 2013
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This is needed to build sdb-lib for the target, in case you rely on the default value for CROSS_COMPILE instead of using the environment variable. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Jul 26, 2013
-
-
Grzegorz Daniluk authored
-
- May 23, 2013
-
-
Alessandro Rubini authored
We don't want to call the real printf, which brings in the whole of newlib, but it sometimes happen. So let's diagnose the problem immediately rather than letting users wonder what is wrong with the size. Similarly, if building under ppsi, ensure we are not calling libgcc division functions: any 64-bit division my be done with __div64_32 offered by ppsi/lib (copied from the kernel). Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- May 14, 2013
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- May 09, 2013
-
-
Alessandro Rubini authored
With this commit, when you select both the hardware and software uart, ppsi diagnostics (controlled by the "verbose" command) got to the software uart, not to the hardware one. In this way you can run the shell in a clean tty. Unfortunately, frame dumps still reach the hardware uart, if frame verbosity is greater than 1. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- May 08, 2013
-
-
Alessandro Rubini authored
We need to link ppsi/proto-standard/libstd.a explicitly, but we also need a rule to generate it, or parallel compilation fails saying it has no rule. The makefile depended on build order (my fault), as building ppsi/ppsi.o, with its rule), also built libstd.a BTW, this removes ppsi/arch-wrpc/libarch.a from the dependencies, because it is already linked in making ppsi/ppsi.o (otoh the need for an explicit mention of libstd.a can't easily be solved in ppsi itself, so it remains here). Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
In recent ppsi code, proto-ext-whiterabbit is not replicating proto-standard any more, but rather it offers hooks for the additional code it needs. Thus, we need to link the library for standard PTP as well, to pick some of the states for the WR state machine. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This source file is now part of ppsi itself, so it is removed from wrpc-sw. The move helps improving cleaning up and maintaing ppsi without committing to the supermodule each time something internal changes. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- May 06, 2013
-
-
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>
-
- May 03, 2013
-
-
Split a rule into two rules, to make make happy. In previous versions of make it was acceptable to list one or more explicit targets followed by one or more pattern targets in the same rule and it worked "as expected". However, this was not documented as acceptable and if you listed any explicit targets AFTER the pattern targets, the entire rule would be mis-parsed. This release removes this ability completely: make will generate an error message if you mix explicit and pattern targets in the same rule. You must split these rules into two rules: one for the pattern and one for the explicit targets. The Linux kernel source has already been modified in this way (in newer kernels).
-
- Apr 03, 2013
-
-
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 28, 2013
-
-
Alessandro Rubini authored
This command can return the .config file to the user. It can be useful to trace what is actually running, as addition to the "ver" command. It is optional because it costs .5kB of binary size. Example: wrc# config Current WRPC-SW configuration: CONFIG_RAMSIZE=90112 # CONFIG_PTP_NOPOSIX is not set CONFIG_PPSI=y # CONFIG_CHECK_RESET is not set CONFIG_PPSI_VERBOSITY=0 CONFIG_PPSI_RUNTIME_VERBOSITY=y CONFIG_STACKSIZE=2048 CONFIG_PP_PRINTF=y # CONFIG_PRINTF_FULL is not set CONFIG_PRINTF_XINT=y # CONFIG_PRINTF_MINI is not set # CONFIG_PRINTF_NONE is not set CONFIG_PRINT_BUFSIZE=128 CONFIG_ETHERBONE=y # CONFIG_DETERMINISTIC_BINARY is not set CONFIG_CMD_CONFIG=y (This configuration amounts to a binary size of 86252 bytes, at this commit). Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This commit makes no effect, but it prepares for the following one. In general, using an intermediate platform-agnostic linker script when making wrc.o is not bad, so let's do it here. The main reason why we need it is to force the "KEEP" command for the ".cmd" ELF section, introduced by the next commit. The alternative to this would be chaning the main linker script, which is worse in my opinion. If we add initcalls or similar stuff later, this bigobj.lds is the place to do it. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Mar 22, 2013
-
-
Tomasz Wlostowski authored
-
- Mar 19, 2013
-
-
Tomasz Wlostowski authored
New procedure that does not require PTP traffic, is much faster and doesn't kill the stack. Requires recent endpoint version (wr-cores commit: 4713a98a). Todo: modify locking functions in libptpnetif to automatically perform the calibration whenever PTP enters slave mode.
-
- Mar 18, 2013
-
-
The ppsi subproject now builds pp_printf by default, so the Makefile here passes ~CONFIG_NO_PRINTF=y". Also, assign_TimeInternal() is not there any more because it is just an assignment. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Mar 05, 2013
-
-
Wesley W. Terpstra authored
-
- Feb 20, 2013
-
-
Signed-off-by:
Aurelio Colosimo <aurelio@aureliocolosimo.it>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
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>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
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>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Feb 12, 2013
-
-
Signed-off-by:
Aurelio Colosimo <aurelio@aureliocolosimo.it>
-
- Dec 03, 2012
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Nov 22, 2012
-
-
Alessandro Rubini authored
The rule for "git submodule update" was wrong, so the command was always performed. This is a pain if you are using commits in the submodule that are not yet committed in the supermodule. This always happens during development. I'm sorry for the inconvienence, and I thank Aurelio for noting this. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Nov 21, 2012
-
-
Alessandro Rubini authored
Pretty often it happens that during trials we pick wrong external functions (e.g., "printf") and the final link claims horribly about dozens of undefined symbols. By having an intermediate wrc.o we can easily check which are the symbols we really leave undefined for libc and libgcc to fill, before they resolve them by asking for something else. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This renames ram.ld to ram.ld.S, adding a preprocessing rule. The commit has no techcnical effect: it is only preparation for the next one. 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
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-