[meta-xilinx] failure : SD to u-boot SPL to u-boot on zcu102-zynqmp

Jean-Francois Dagenais jeff.dagenais at gmail.com
Thu Mar 16 09:52:52 PDT 2017

Hi guys,

We now have our zcu102 board and I have been trying to boot SD on it using only
yocto (meta-xilinx).

These are my changes in the machine conf:

diff --git a/conf/machine/zcu102-zynqmp.conf b/conf/machine/zcu102-zynqmp.conf
index c55b536..c220c1b 100644
--- a/conf/machine/zcu102-zynqmp.conf
+++ b/conf/machine/zcu102-zynqmp.conf
@@ -9,14 +9,15 @@ require conf/machine/include/machine-xilinx-qemu.inc
 MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost mali qemu-system-xilinx"
-UBOOT_MACHINE = "xilinx_zynqmp_zcu102_revB_defconfig"
+UBOOT_MACHINE = "xilinx_zynqmp_zcu102_rev1.0_defconfig"
+SPL_BINARY = "spl/boot.bin"
 SERIAL_CONSOLE = "115200 ttyPS0"
 KERNEL_DEVICETREE = "xilinx/zynqmp-zcu102-revB.dtb"
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-xlnx"
-PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-xlnx"
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-xlnx-dev"
                arm-trusted-firmware \

I have copied boot.bin and u-boot.bin from the deploy/image dir to my SD card, but it was complaining about u-boot.img. So I found it in tmp/work/zcu102.../u-boot-xlnx-dev/.../build/u-boot.img and copied it to the SD as well.
This is the console output I am getting:

<debug_uart> Debug uart enabled

U-Boot SPL 2017.01 (Mar 16 2017 - 12:41:10)
EL Level:	EL3
Trying to boot from MMC1
reading u-boot.bin
reading atf-uboot.ub
spl_load_image_fat: error reading image atf-uboot.ub, err - -1
reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img

I re-compiled u-boot with DEBUG and this is the output I get:

I am running the current meta-xilinx/master
(58e67a3cc13018fd03b3404301960c48a5097c4a) and the rest of my yocto stack is
tracking the latest morty. u-boot-xlnx landed on 7bf8392f6b at the time of my

I will start digging some more, but since I have almost zero experience with
u-boot, I was hoping someone could help me a bit.

Thanks in advance!

More information about the meta-xilinx mailing list