Changes

Jump to: navigation, search
Example #2: RPMsg-based application
</pre>
* Reset the board to reboot with the new FSBL
* Add the following U-Boot environment variables (1) (2){{efn|Please note that, using the RPMsg mechanism, it's not required to set the <code>maxcpus=${nr_cpus}</code> variable.}}:
<pre>
setenv addcons 'setenv bootargs ${bootargs} console=${console},115200n8 cma=16M debug'
setenv fpga_file BELK/bora_design_wrapper.bin
</pre>
**:this a brief description of these variables***:<code>program_fpga</code>: Loads FPGA binary from TFTP and programs the bitstream ***:<code>load_freertos</code>: Loads freertos application binary from TFTP and writes application start address for core #2* Boot the system running the following command: <code>run net_nfs</code>
When booting, the Linux kernel will print out the following message to indicate it has been relocated to address 0x10000000:
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
</pre>
 
(1) <code>program_fpga</code>: Loads FPGA binary from TFTP and programs the bitstream
 
<code>load_freertos</code>: Loads freertos application binary from TFTP and writes application start address for core #2
 
(2) Please note that, using the RPMsg mechanism, it's not required to set the <code>maxcpus=${nr_cpus}</code> variable.
==Advanced debugging techniques for AMP Linux+FreeRTOS configuration==
4,650
edits

Navigation menu