[4407ee6] | 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 - variant prepared for stand-alone RTEMS application |
---|
| 15 | stored and running directly from flash. Not working yet. |
---|
| 16 | |
---|
| 17 | Tool-chain |
---|
| 18 | GCC 4.9.0 + Newlib 2.1.0 + Binutils 2.24 configuration: |
---|
| 19 | |
---|
| 20 | CFLAGS="-O2 -pipe" LDFLAGS=-s \ |
---|
| 21 | ../../../src/gcc-4.9/configure --target=arm-rtems4.11 --prefix=/usr \ |
---|
| 22 | --enable-languages=c,c++ \ |
---|
| 23 | --disable-libstdcxx-pch \ |
---|
| 24 | --with-gnu-ld \ |
---|
| 25 | --with-gnu-as \ |
---|
| 26 | --enable-threads \ |
---|
| 27 | --enable-target-optspace \ |
---|
| 28 | --with-system-zlib \ |
---|
| 29 | --verbose \ |
---|
| 30 | --disable-nls --without-included-gettext \ |
---|
| 31 | --disable-win32-registry \ |
---|
| 32 | --with-newlib \ |
---|
| 33 | --enable-plugin \ |
---|
| 34 | --enable-newlib-io-c99-formats \ |
---|
| 35 | --enable-version-specific-runtime-libs \ |
---|
| 36 | --enable-newlib-iconv \ |
---|
| 37 | --disable-lto \ |
---|
| 38 | |
---|
| 39 | Patches required for Cortex-R and big-endian ARM support are already |
---|
| 40 | accepted by the mainline. |
---|
| 41 | |
---|
| 42 | Execution |
---|
| 43 | |
---|
| 44 | Currently, a bootloader is not used. For test and debug purposes, TI's |
---|
| 45 | HalCoGen generated application is used to set up the board and then |
---|
| 46 | the RTEMS application image is loaded using OpenOCD to internal |
---|
| 47 | EEC SRAM or external DRAM. The following features are |
---|
| 48 | not implemented in the BSP: |
---|
| 49 | |
---|
| 50 | + Initial complex CPU and peripheral initialization |
---|
| 51 | + Cores Self-test |
---|
| 52 | |
---|
| 53 | Setup application code is available there: |
---|
| 54 | https://github.com/hornmich/tms570ls3137-hdk-sdram |
---|
| 55 | |
---|
| 56 | Howto setup TMDS570LS31HDK? |
---|
| 57 | |
---|
| 58 | o Unpack board. |
---|
| 59 | o Verify that demo application runs. |
---|
| 60 | o Upload bootloader specified above |
---|
| 61 | o write BSP application either to sdram or intram and jump to RTEMS start code |
---|
| 62 | |
---|
| 63 | Additional information about the board can be found at |
---|
| 64 | http://www.rtems.org/wiki/index.php/Tms570 |
---|
| 65 | |
---|
| 66 | Additional information about the CPU can be found at |
---|
| 67 | http://www.ti.com/product/tms570ls3137 |
---|