- Jul 26, 2015
-
-
Alessandro Rubini authored
This time I added -Wmissing-prototypes and fixed accordingly. Again, this used to be part of -Wall and I'm disgusted by it not being so any more. What does "all" mean, then? Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
I added -Wstrict-prototypes, that used to be included in -Wall settings but is not. Actually, I think it should be an error to not specify an argument list by now. If any, -traditional is there for old timers. Fortunately no bug was exposed by the missing prototypes. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Jul 24, 2015
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Jun 30, 2015
-
-
in ppsi: --update hal_shmem to version 7 --add tx and rx packet counters --add error counters for SNMP --increase ppsi shmem version to 6 Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Add checking stack overflow and detecting reset to wrs. Code common for wrpc and wrs is placed in system_checks.c and .h. Work is based on following commits in wrc_main.c: 1704a668 main: check for stack overflow 7836c39e Optionally detect reset and print a stack trace Additionally: --update Kconfig to have a possibility to select CHECK_RESET also for switch, not only for node as before --and _endram to ram-wrs.ld When "stack overflow" occurs then message is printed once every second. When reset occours then LM32 will print stack trace and reset once more. NOTE: I couldn't get spll to work after reset, for sure problem is in ad9516 init function, but not only there. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
--increase spll_stats structure version to 2 --add to spll_stats structure: - commit_id - build_date - build_time - start_cnt (to be used later for start counter) --move declaration of spll_stats structure from wrs_main.c to revision.c --pass git version and author at compile time to revision.c --create revision.h with build_* externs --update version reporting at cpu start --update version command --include section .stats in section .data for node Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
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>
-
pass of header cleanup from wrs Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Files needed to get rid of halexp_get_port_state. Done during process of moving HAL to shm in wrs. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Update include/hal_exports.h to latest version Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Jan 09, 2015
-
-
Grzegorz Daniluk authored
-
- Jan 08, 2015
-
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
- Jan 06, 2015
-
-
- copyright header to local conventions - fix a little white space Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Signed-off-by:
Theodor Stana <t.stana@cern.ch>
-
Signed-off-by:
Theodor Stana <t.stana@cern.ch>
-
wrc_main still in test-mode, currently doing a read of the first two sectors (in the purpose of testing flash-write in tools -- see next commit)
-
-
- Nov 18, 2014
-
-
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>
-
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>
-
Alessandro Rubini authored
eeprom_present() returned a value nobody used. Rename to eeprom_init() instead. Also, save the two parameters so that they are not needed in other functions (see later commits). Also, turn int8_t to int as function arguments (int is better for the CPU). This adds 20 bytes to the legacy case, and removes 4 to the sdb case. The legacy size is reduced by later commits. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Oct 08, 2014
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Oct 07, 2014
-
-
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.
-
-
- Sep 08, 2014
-
-
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:
Benoit Rat <benoit@sevensols.com>
-
- Aug 07, 2014
-
-
Grzegorz Daniluk authored
-
- Aug 05, 2014
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Feb 12, 2014
-
-
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
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:
Alessandro Rubini <rubini@gnudd.com>
-
- Feb 11, 2014
-
-
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
This fixes a missing symbol and another minor header issue. Needed to build for wr-switch. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
The commit is part of the effort in unifying softpll with wr-switch-sw, and later remove the duplicated code there. The files added by these commit are going to be built when configuring wrpc-sw to build wr-switch rt_cpu (which is, basically, the softpll code alone, with mini-rpc with the host and the basic glue code). The files are copied with the original name with two exceptions: wr-switch-sw::rt/main.c becomes wrpc-sw::wrs_main.c wr-switch-sw::rt/arch/lm32/ram.ld becomes wrpc-sw::arch/lm32/ram-wrs.ld The files are copied from commit FIXME of wr-switch-sw. This commit has no technical effect, as the files are not built for wrpc-sw. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-