[meta-xilinx] adding patch file for u-boot

Alan Levy alan.levy at plextek.com
Thu Sep 17 00:37:21 PDT 2015


This u-boot-spl-xlnx_2015.01.bbappend file works for me:


DESCRIPTION = "U-Boot-spl config changes"
LICENSE = "CLOSED"

FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot-spl-xlnx:"
SRC_URI += " \
		file://u-boot-spl-changes.patch \
		"


Alan

-----Original Message-----
From: Richard Cagley [mailto:rcagley at gmail.com] 
Sent: 16 September 2015 21:58
To: meta-xilinx at yoctoproject.org
Subject: [meta-xilinx] adding patch file for u-boot

i need to add a patch file for u-boot for a custom machine.

In meta-xilinx master branch u-boot-spl-xlnx_2015.01.bb includes u-boot-xlnx-2015.01.inc, which includes other patches, such as for the picozed.

If I just try to make a u-boot-spl-xlnx_2015.01.bbappend file bitbake fails

ERROR: Nothing PROVIDES 'virtual/zynq7-platform-init' (but /opt/oe/master/meta-xilinx/recipes-bsp/u-boot/u-boot-spl-xlnx_2015.01.bb
DEPENDS on or otherwise requires it)

I guess I need to append the include file with my own patch. But, I can't figure out how to append an include file or I guess alternatively pre-prepend the .bb file.

Does anyone have a recommendation for adding custom machines/patches to u-boot with meta-xilinx?


-- 
Plextek Limited, London Road, Great Chesterford, Essex, CB10 1NY, UK. Reg. No. 2305889, VAT Reg. No. GB 918 4425 15. Tel: +44 1799 533 200.


More information about the meta-xilinx mailing list