Changes

Jump to: navigation, search
Building the Linux kernel
== Building the Linux kernel ==
First of all, set up the PetaLinux environment has to be set up.:
<pre class="workstation-terminal">
dvdk@osboxes:~/devel/bora/prj$ source /opt/petalinux/settings.sh
PetaLinux environment set to '/opt/petalinux'
INFO: Checking free disk space
INFO: Checking installed tools
INFO: Checking installed development libraries
INFO: Checking network and other services
</pre>
Then, create a project from the <code>zynq</code> template:
<pre class="workstation-terminal">
dvdk@osboxes:~/devel/bora/prj$ petalinux-create --type project --template zynq --name bora_1INFO: Create project: bora_1INFO: New project successfully created in /home/dvdk/devel/bora/prj/bora_1
</pre>
Import the hardware specification file (.hdf) generated by your Vivado project. This step will open automatically the text-based configuration menu of PetaLinux build system:just exit and save the configuration without changing enything.
<pre class="workstation-terminal">
petalinux-config --get-hw-description=/home/dvdk/devel/bora/bora-minimal/bora-minimal.sdk/
4,650
edits

Navigation menu