Table of Contents
1Document Revision History................................. 5
2Introduction........................................................... 6
2.1 Multi-Core........................................................................................ 6
2.2 Additional Documentation............................................................. 6
2.3 Conventions.................................................................................... 6
3Hardware Related.................................................. 7
3.1 Prerequisites................................................................................... 7
3.2 UART Interfaces on COM Carrier board version 1 ...................... 7
3.2.1 Applications for Freescale Sabre Board........................................ 8
3.3 UART interfaces on COM Carrier board version 2 ...................... 8
3.4 Terminal application ...................................................................... 9
4Download and Start an Application................... 10
4.1 Update boot partition with needed files ..................................... 10
4.2 Change the device tree file.......................................................... 11
4.3 Run from QSPI.............................................................................. 11
4.4 Run from TCM............................................................................... 11
4.5 Run from OCRAM......................................................................... 12
4.6 Run from DDR RAM ..................................................................... 13
5Remote communication applications (RPMsg) 14
5.1 Ping-pong application.................................................................. 14
6FreeRTOS ............................................................ 15
6.1 Installation .................................................................................... 15
6.1.1 File Structure............................................................................... 15
6.2 Board Support Package (BSP).................................................... 15
6.2.1 UART........................................................................................... 15
6.3 Build with ARM DS-5.................................................................... 16
6.3.1 BSP files...................................................................................... 18
6.4 Debug using DS-5 ........................................................................ 18
6.4.1 Setup the hardware..................................................................... 18
6.4.2 Import TCM version of “hello world” ............................................ 19
6.4.3 Create a new Debug configuration.............................................. 19
6.5 Build with ARM GCC.................................................................... 22
6.5.1 Install ARM GCC......................................................................... 22
6.5.2 Install MinGW.............................................................................. 22
6.5.3 Install CMake............................................................................... 25
6.5.4 Build Application.......................................................................... 26
6.6 Build with Eclipse and ARM GCC ............................................... 26
6.6.1 Install “GNU ARM Eclipse” plugins.............................................. 27