BELK-TN-006: Using PetaLinux to Build BELK/BXELK Software Components

From DAVE Developer's Wiki
Revision as of 07:24, 21 September 2018 by U0001 (talk | contribs) (Introduction)

Jump to: navigation, search
Info Box
Bora5-small.jpg Applies to Bora
BORA Xpress.png Applies to BORA Xpress

History[edit | edit source]

Version Date Notes
1.0.0 September 2018 First public release

Introduction[edit | edit source]

As explained here, BELK/BXELK structure is not based on PetaLinux build system. Instead, BELK/BXELK make use of a standardized Yocto-based build system to build all the software components—U-Boot, Linux kernel, and root filesystem—that run on the Processing System (PS). This choice is more flexible and more modularized but it requires a little bit more knowledge of embedded Linux systems.

That being said, there are cases in which it can be convenient to build such components with PetaLinux build system, however. This technical note shows how to build the Linux kernel image released with BELK/BXELK with PetaLinux build system.

The procedure was tested with the following configuration.

Component Version
PetaLinux 2017.2
BELK/BXELK 4.0.0

Building the Linux kernel[edit | edit source]

petalinux-create --type project --template zynq --name bora1

petalinux-config --get-hw-description=/home/dvdk/devel/bora/bora-minimal/bora-minimal.sdk/

kernel directory

DTS include directory

Add in build/conf/plnxtool.conf LINUX_VERSION_EXTENSION = "-belk-4.0.0"