Changes

Jump to: navigation, search
Building the Linux kernel
INFO: Checking network and other services
</pre>
 
Then, create a project from the <code>zynq</code> template:
INFO: 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: when it shows up, just exit and save the configuration without changing anything.
[INFO] generating petalinux-user-image.bb
</pre>
[[File:Belk petalinux kernel1.png|thumb|center|600px|caption]]
[[File:belk_petalinux_kernel1.png|thumb|center|600px|caption]]
Your project tree should look like this at this point:
49 directories
</pre>
 
Clone the Linux kernel sources from DAVE's git repisitory in the :
...
</pre>
 
Replace the file <code>xilinx_zynq_defconfig</code> with a symbolic link to <code>bora_defconfig</code>:
lrwxrwxrwx 1 dvdk dvdk 14 set 21 14:30 xilinx_zynq_defconfig -> bora_defconfig
</pre>
 
Open the PetaLinux configuration menu and set up the kernel source
Configure the build system in order to use an external kernel(''Linux Components Selection'' item):<pre class="workstation-terminal"></pre>kernel directory[[File:Belk petalinux kernel2.png|thumb|center|600px|caption]]${TOPDIR}/../components/ext_sources/linux-xlnx
Set the path of the directory containing the BELK/BXELK Linux kernel tree (<code>${TOPDIR}/../components/ext_sources/linux-xlnx</code>):
Configure the build system in order to use a custom directory for device tree include files:
DTS include directory
Configure the build system in order to use a custom directory for device tree include files: enable the ''Auto Config Settings --> Specify a manual device tree include directory'' item and set the ''Manual device tree include directory'' to <code>${TOPDIR}/../components/ext_sources/linux-xlnx/arch/arm/boot/dts/include</code>:
[[File:Belk petalinux kernel4.png|thumb|center|600px|caption]]
Exit and save the configuration.
Add in the following lines to the file <code>project-spec/meta-user/conf/petalinuxbsp.conf</code>:
<pre class="workstation-terminal">
LINUX_VERSION_EXTENSION = "-belk-4.0.0"
4,650
edits

Navigation menu