source: rtems/c/src/lib/libbsp/arm/tms570/README @ 98b6874

5
Last change on this file since 98b6874 was 38404cb, checked in by Premysl Houdek <kom541000@…>, on 11/12/15 at 22:11:32

bsp/tms570: separate Flash variants to one which boots directly and one for boot loader.

The default tms570ls3137_hdk variant is for building RTEMS
application image starting directly from start of Flash.

Variant tms570ls3137_hdk_with_loader skips 256kB at start
of Flash to allow use with application loader.

Signed-off-by: Pavel Pisa <pisa@…>

  • Property mode set to 100644
File size: 2.4 KB
Line 
1Development Board: TMS570LS31x Hercules Development Kit from TI
2
3http://www.ti.com/tool/tmds570ls31hdk
4
5Drivers:
6
7        o Console
8        o Clock
9  o Ethernet - work in progress
10
11BSP variants:
12  tms570ls3137_hdk_intram - place code and data into internal SRAM
13  tms570ls3137_hdk_sdram - place code into external SDRAM and data to SRAM
14  tms570ls3137_hdk_with_loader - reserve 256kB at Flash start for loader
15                                 and place RTEMS application from address
16                                 0x00040000
17  tms570ls3137_hdk - variant prepared for stand-alone RTEMS application
18                      stored and running directly from flash. Not working yet.
19
20Tool-chain
21  GCC 4.9.0 + Newlib 2.1.0 + Binutils 2.24 configuration:
22
23  CFLAGS="-O2 -pipe" LDFLAGS=-s \
24  ../../../src/gcc-4.9/configure --target=arm-rtems4.11 --prefix=/usr \
25               --enable-languages=c,c++ \
26               --disable-libstdcxx-pch \
27               --with-gnu-ld \
28               --with-gnu-as \
29               --enable-threads \
30               --enable-target-optspace \
31               --with-system-zlib \
32               --verbose \
33               --disable-nls --without-included-gettext \
34               --disable-win32-registry \
35               --with-newlib \
36               --enable-plugin \
37               --enable-newlib-io-c99-formats \
38               --enable-version-specific-runtime-libs \
39               --enable-newlib-iconv \
40               --disable-lto \
41
42Patches required for Cortex-R and big-endian ARM support are already
43accepted by the mainline.
44
45Execution
46
47Currently, a bootloader is not used. For test and debug purposes, TI's
48HalCoGen generated application is used to set up the board and then
49the RTEMS application image is loaded using OpenOCD to internal
50EEC SRAM or external DRAM. The following features are
51not implemented in the BSP:
52
53 + Initial complex CPU and peripheral initialization
54 + Cores Self-test
55
56Setup application code is available there:
57          https://github.com/hornmich/tms570ls3137-hdk-sdram
58
59Howto setup TMDS570LS31HDK?
60
61        o Unpack board.
62        o Verify that demo application runs.
63  o Upload bootloader specified above
64  o write BSP application either to sdram or intram and jump to RTEMS start code
65
66Additional information about the board can be found at
67  http://www.rtems.org/wiki/index.php/Tms570
68
69Additional information about the CPU can be found at
70  http://www.ti.com/product/tms570ls3137
Note: See TracBrowser for help on using the repository browser.