Changes

Jump to: navigation, search
Building Example #2: RPMsg-based application
Once the build process is completed, the executable file in .elf format will be generated (we suggest to name it freertos). Creating the .bin file is <u>not required</u>.
* Project name: <code>RPMsg_freeRTOS</code>* Hardware Platform: <code>hw_platform_0</code>* Processor: <code>ps7_cortexa9_1</code>* OS Plaftorm: <code>freertos_zynq</code>* Language: <code>C</code>* Board Support Package: <code>Create New</code>* Type: <code>FreeRTOS Latency AMP</code>
To run this example, Linux kernel (1) must be rebuilt too (2). First of all copy the freertos executable file in .elf format (<code>freertos</code>) into the directory firmware of Linux kernel tree (3). Then configure the kernel using <code>bora_amp_defconfig</code> as configuration file and enter the following command line, that changes the default load address of kernel and launches the building of both the kernel image and the modules:
<pre>
(3) The name of the binary file copied into the firmware directory must be <code>freertos</code>.
 
===Linux Device Tree===
The Flattened Device Tree (FDT) is a data structure for describing the hardware in a system (for further information, please refer to http://elinux.org/Device_Tree). Both Example #1 and Example #2 requires some modifications to the standard Bora device tree (to initialiaze UART0 port and to properly initialize the RPMsg infrastructure, respectively). Please use the kernel branch <code>bora</code>, that already includes the aforementioned patches (for further details, please refer to the <code>arch/arm/boot/dts/bora.dts</code> file and commit descriptions on the Linux git repository). For detailed instructions on how to build the Linux kernel and the Device Tree, please refer to the [[Bora_Embedded_Linux_Kit_(BELK)#BELK_software_components|BELK Quick Start Guide]].
4,650
edits

Navigation menu