1. 20 Jan, 2016 2 commits
  2. 27 Oct, 2015 1 commit
  3. 30 Jun, 2015 1 commit
    • Adam Wujek's avatar
      wrs_main: check for stack overflow and detect reset · da3da2d9
      Adam Wujek authored
      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's avatarAdam Wujek <adam.wujek@cern.ch>
      da3da2d9
  4. 18 Nov, 2014 3 commits
  5. 11 Feb, 2014 1 commit
    • Alessandro Rubini's avatar
      softpll-unify: add new files, from wr-switch-sw/rt · 16bc0c8a
      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's avatarAlessandro Rubini <rubini@gnudd.com>
      16bc0c8a
  6. 21 Nov, 2012 4 commits
  7. 01 Nov, 2012 3 commits
    • Alessandro Rubini's avatar
      arch/lm32/ram.ld: provide mprintf if missing · a502f9db
      Alessandro Rubini authored
      When we'll enable pp_printf, we'll need to resolve mprintf to
      it. Local files are fixed by #define in wrc.h, but ptp-noposix has
      explicit mprintf calls inside.  By using "PROVIDE" in the linker
      script, we resolve mprintf to pp_printf only if no native mprintf
      is part of the link stage. This has no effect if pp_printf is
      not selected.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      a502f9db
    • Alessandro Rubini's avatar
      arch/lm32/ram.ld: remove all cruft · f05f3757
      Alessandro Rubini authored
      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: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      f05f3757
    • Alessandro Rubini's avatar
      build: move libs from ldscript to LDFLAGS · 583ab278
      Alessandro Rubini authored
      Instead of picking libraries from the linker script, common practice
      is listing them in LDFLAGS. This simplifies review and modification.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      583ab278
  8. 05 Oct, 2012 1 commit
    • Alessandro Rubini's avatar
      Remove all spaces at end-of-line · 1d24ecfb
      Alessandro Rubini authored
      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.
      1d24ecfb
  9. 10 Jul, 2012 1 commit
  10. 13 Jun, 2012 1 commit
  11. 02 May, 2012 1 commit
  12. 30 Apr, 2012 1 commit
  13. 08 Apr, 2011 1 commit