[meta-xilinx] U-boot build problem upgrading from Krogoth to Morty

Toby Gomersall toby.gomersall at smartacoustics.co.uk
Wed Jul 26 07:01:58 PDT 2017


Hi,

I'm trying to build Yocto for a redpitaya board but since upgrading the
system to Morty, the build fails. The build fails when compiling
u-boot-xlnx.

Before upgrading I was successfully building for redpitaya by patching
/arch/arm/mach-zynq/Kconfig:

diff --git a/arch/arm/mach-zynq/Kconfig b/arch/arm/mach-zynq/Kconfig
index 339e464..d525ae7 100644
--- a/arch/arm/mach-zynq/Kconfig
+++ b/arch/arm/mach-zynq/Kconfig
@@ -21,6 +21,10 @@ config TARGET_ZYNQ_MICROZED
 config TARGET_ZYNQ_PICOZED
 	bool "Zynq PicoZed"

+config TARGET_ZYNQ_RED_PITAYA
+	bool "Red Pitaya Board"
+    select ZYNQ_CUSTOM_INIT
+
 config TARGET_ZYNQ_ZC702
 	bool "Zynq ZC702 Board"

@@ -61,6 +65,7 @@ config SYS_CONFIG_NAME
 	default "zynq_zed" if TARGET_ZYNQ_ZED
 	default "zynq_microzed" if TARGET_ZYNQ_MICROZED
 	default "zynq_picozed" if TARGET_ZYNQ_PICOZED
+    default "zynq_red_pitaya" if TARGET_ZYNQ_RED_PITAYA
 	default "zynq_zc70x" if TARGET_ZYNQ_ZC702 || TARGET_ZYNQ_ZC706
 	default "zynq_zc770" if TARGET_ZYNQ_ZC770
 	default "zynq_zybo" if TARGET_ZYNQ_ZYBO

I copied this strategy from the picozed patch in
/meta-xilinx/recipes-bsp/u-boot. With the upgrade to u-boot-xlnx 2016.3
this method no longer works.

Does anyone know how to build for a custom board with Morty?

Thanks,
Toby

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20170726/6a29df29/attachment.pgp>


More information about the meta-xilinx mailing list