Changes

Jump to: navigation, search
Example #1: HelloWorld application
</pre>
* Reset the board to reboot with the new FSBL
* Add the following U-Boot environment variables{{efn|*<pre>program_fpga</pre>: Loads FPGA binary from TFTP and programs the bitstream*<pre>load_freertos</pre>: Loads freertos application binary from TFTP and writes application start address for core #2 *<pre>mem=${kernel_memory}</pre>: sets maximum kernel memory (1008M = 1024M - 16M)*<pre>maxcpus=${nr_cpus}</pre>: sets maximum Linux cores to 1.}}:
<pre>
setenv addcons 'setenv bootargs ${bootargs} console=${console},115200n8 cma=16M debug maxcpus=${nr_cpus}'
setenv fpga_file BELK/bora_design_wrapper.bin
</pre>
**:this is 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
***<code>mem=${kernel_memory}</code>: sets maximum kernel memory (1008M = 1024M - 16M)
***<code>maxcpus=${nr_cpus}</code>: sets maximum Linux cores to 1
 
Last step consists of booting the system by running the following command:
<pre>
4,650
edits

Navigation menu