Hello community,

being new to zcu104 I am having some noob trouble booting core-image-minimal 
from SD using the meta-xilinx-tools and meta-petalinux layers (all on 
rel-v2020.1).



First, do I understand it correct, that there are two ways to boot:

1) Using u-boot SPL as described in meta-xilinx-bsp/README.building.md section 
"Using SPL flow" and meta-xilinx-bsp/README.booting.md. These README applies 
only if I build only meta-xilinx, correct?

2) Using the Xilinx FSBL as described Xilinx User Guide UG1283 (UG1283 "Bootgen 
User Guide"). Bootgen is applied by building meta-xilinx-tools and including 
the variables described in README.md, correct?



To build core-image-minimal using the Xilinx FSBL, I setup my build environment 
like:

1) repo init -u https://github.com/Xilinx/yocto-manifests.git -b rel-v2020.1

This bases the build/conf/ folder onto the conf samples from meta-petalinux.

2) Add the following lines to local.conf

MACHINE ?= "zcu104-zynqmp"

HDF_BASE = "file://"

HDF_PATH = "${TOPDIR}/../my-hardware-file.xsa"

IMAGE_INSTALL_append = " xilinx-bootbin"

Add all BIF_ variables from 
meta-xilinx-tools/recipes-bsp/bootbin/machine-xilinx-zynqmp.inc



After baking the image with "bitbake core-image-minimal", how do I boot? When I 
follow meta-xilinx-bsp/README.booting.md u-boot hangs in boot selection with 
"Wrong image format for "source" command". Alternatively, I cannot follow the 
booting instructions from UG1283 Chapter Appx A: Use Case: Booting Linux, as no 
image.ub file has been created by bitbake.



My Question: How do I boot this board using Xilinx FSBL? Where am I taking a 
wrong turn here? Can anyone recommend me some additional reading material on 
this issue?



Thank you all and regards,

Martin

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#4732): 
https://lists.yoctoproject.org/g/meta-xilinx/message/4732
Mute This Topic: https://lists.yoctoproject.org/mt/76101270/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to