1 | Development Board: TMS570LS31x Hercules Development Kit from TI |
---|
2 | |
---|
3 | http://www.ti.com/tool/tmds570ls31hdk |
---|
4 | |
---|
5 | Drivers: |
---|
6 | |
---|
7 | o Console |
---|
8 | o Clock |
---|
9 | o Ethernet - work in progress |
---|
10 | |
---|
11 | BSP 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 | |
---|
20 | Tool-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 | |
---|
42 | Patches required for Cortex-R and big-endian ARM support are already |
---|
43 | accepted by the mainline. |
---|
44 | |
---|
45 | Execution |
---|
46 | |
---|
47 | Currently, a bootloader is not used. For test and debug purposes, TI's |
---|
48 | HalCoGen generated application is used to set up the board and then |
---|
49 | the RTEMS application image is loaded using OpenOCD to internal |
---|
50 | EEC SRAM or external DRAM. The following features are |
---|
51 | not implemented in the BSP: |
---|
52 | |
---|
53 | + Initial complex CPU and peripheral initialization |
---|
54 | + Cores Self-test |
---|
55 | |
---|
56 | Setup application code is available there: |
---|
57 | https://github.com/hornmich/tms570ls3137-hdk-sdram |
---|
58 | |
---|
59 | Howto 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 | |
---|
66 | Additional information about the board can be found at |
---|
67 | http://www.rtems.org/wiki/index.php/Tms570 |
---|
68 | |
---|
69 | Additional information about the CPU can be found at |
---|
70 | http://www.ti.com/product/tms570ls3137 |
---|