Building Images
Note that the ost-microzed machine requires the meta-ost-xilinx layer that is part of meta-ost. Note: Building for this machine requires Yocto scarthgap version!
Follow the Setup and Building guide to set up the build environment. Fetch board and processor specific repositories:
meta-arm, github.com/Freescale/meta-freescale.git, branch scarthgap
meta-xilinx, git://git.yoctoproject.org/meta-xilinx, branch scarthgap
meta-xilinx-tools, https://github.com/Xilinx/meta-xilinx-tools.git, branch scarthgap
meta-ost-real, https://gitlab.ost.ch/tech/inf/public/yocto/meta-ost-real.git, branch scarthgap
Next, add the layers to bblayers.conf
BBLAYERS ?= " \
/home/ubuntu/yocto/poky/meta \
/home/ubuntu/yocto/poky/meta-poky \
/home/ubuntu/yocto/poky/meta-yocto-bsp \
\
/home/graf/yocto/scarthgap/meta-arm/meta-arm \
/home/graf/yocto/scarthgap/meta-arm/meta-arm-toolchain \
/home/graf/yocto/scarthgap/meta-xilinx/meta-xilinx-core \
/home/graf/yocto/scarthgap/meta-xilinx/meta-xilinx-bsp \
/home/graf/yocto/scarthgap/meta-xilinx/meta-xilinx-vendor \
/home/graf/yocto/scarthgap/meta-xilinx/meta-xilinx-standalone \
/home/graf/yocto/scarthgap/meta-xilinx-tools \
/home/graf/yocto/scarthgap/meta-ost/meta-ost \
/home/graf/yocto/scarthgap/meta-ost/meta-ost-xilinx \
/home/graf/yocto/scarthgap/meta-ost-real \
"
and change the machine definition in local.conf
MACHINE = "ost-microzed"
The ost-microzed machine provides support for building Zynq7000 images with a flink bitstream, currently centered around use in the REAL project.
The PL is configured using the flink2 configuration/bitstream.
Known Issues
RT kernel
Xilinx themselves don't provide an RT kernel and as such there seems to be no official support for it. While our fork with the RT patches applied mostly works, actually enabling full preemption breaks the ethernet functionality (specifically receving packets, sending seems ok) [Tracking Issue].