[PATCH 5/5] arm/tms570: update bootstrap generated preinstall.am

2016-09-12 Thread pisa
From: Pavel Pisa --- c/src/lib/libbsp/arm/tms570/preinstall.am | 13 + 1 file changed, 13 insertions(+) diff --git a/c/src/lib/libbsp/arm/tms570/preinstall.am b/c/src/lib/libbsp/arm/tms570/preinstall.am index be8e42e..7d79184 100644 ---

[PATCH 4/5] arm/tms570: document BSP setup with included hardware initialization.

2016-09-12 Thread pisa
From: Pavel Pisa --- c/src/lib/libbsp/arm/tms570/README | 104 + 1 file changed, 82 insertions(+), 22 deletions(-) diff --git a/c/src/lib/libbsp/arm/tms570/README b/c/src/lib/libbsp/arm/tms570/README index f48744f..840ce68 100644 ---

[PATCH 3/5] arm/tms570: include TMS570_USE_HWINIT_STARTUP option to select bare metal startup and selftest.

2016-09-12 Thread pisa
From: Pavel Pisa --- c/src/lib/libbsp/arm/tms570/Makefile.am | 21 + c/src/lib/libbsp/arm/tms570/configure.ac | 4 2 files changed, 25 insertions(+) diff --git a/c/src/lib/libbsp/arm/tms570/Makefile.am b/c/src/lib/libbsp/arm/tms570/Makefile.am

[PATCH 2/5] arm/tms570: include hardware initialization and selftest based on Ti HalCoGen generated files.

2016-09-12 Thread pisa
From: Pavel Pisa The configuration is specific for TMS570LS3137 based HDK. But pins configuration can be easily changed in rtems/c/src/lib/libbsp/arm/tms570/hwinit/init_pinmux.c file. --- .../arm/tms570/hwinit/bspstarthooks-hwinit.c | 393 ++

[PATCH 1/5] arm/tms570: define base addresses of all TMS570LS3137 SPI interfaces.

2016-09-12 Thread pisa
From: Pavel Pisa Generated header file ti_herc/reg_spi.h contains complete registers and fields set for Ti MibSPI peripheral. Care has to be taken that only TMS570_SPI1, TMS570_SPI3 and TMS570_SPI5 are of this complete multibuffer type. TMS570_SPI2 and TMS570_SPI4 have

[PATCH 0/5] arm/tms570: include hardware initialization and selftests to run RTEMS directly from Flash without loader on TMS570LS3137 HDK.

2016-09-12 Thread pisa
From: Pavel Pisa The code introduces initialization algorithms bases on Ti HalCoGen generated files. The most of the code has been rewritten to use RTEMS much more complete header files. This allowed to replace most of the hardcoded hexadecimal values by appropriate fields

[PATCH v2] cpukit: New SPI framework implemented #2776

2016-09-12 Thread Alexander Krutwig
Linux Userspace API was taken as a template Test libtests/spi01 is included into testsuite --- cpukit/dev/Makefile.am | 10 + cpukit/dev/include/dev/spi/spi.h | 452 + cpukit/dev/include/linux/spi/spidev.h | 263 +

Re: [PATCH] cpukit: New SPI framework implemented #2776

2016-09-12 Thread Gedare Bloom
Good. We'll need some user-friendly (BSP developer) documentation eventually. On Mon, Sep 12, 2016 at 9:10 AM, Alexander Krutwig wrote: > Linux Userspace API was taken as a template > Test libtests/spi01 is included into testsuite > --- >

Re: libstdc++ support for m68k

2016-09-12 Thread Sebastian Huber
It seems that the libstdc++ configure script already detects that for RTEMS the generic atomic built-ins are available and doesn't select the CPU-specific header file. So, this stuff in libstdc++-v3/config/cpu/m68k/atomicity.h looks like dead code. On 09/09/16 21:54, Joel Sherrill wrote: I am

Re: Context Switching measurement RTEMS

2016-09-12 Thread Sebastian Huber
Hello Babacar, what is your definition of "context switching time"? To measure short time intervals with little overhead, you can use the rtems_counter_read() function (not supported on all BSPs). The tmcontext01 test measures the low-level context switch time. To get some samples for the