[meta-xilinx] adding patch file for u-boot
Nathan Rossi
nathan at nathanrossi.com
Thu Sep 17 08:07:58 PDT 2015
On Fri, Sep 18, 2015 at 12:42 AM, Richard Cagley <rcagley at gmail.com> wrote:
> On Thu, Sep 17, 2015 at 12:37 AM, Alan Levy <alan.levy at plextek.com> wrote:
>> DESCRIPTION = "U-Boot-spl config changes"
>> LICENSE = "CLOSED"
>>
>> FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot-spl-xlnx:"
>> SRC_URI += " \
>> file://u-boot-spl-changes.patch \
>> "
> Alan,
> What is the difference between u-boot-xlnx_2015.01 and u-boot-spl-xlnx_2015.01?
>
> What branch are you on? I'm on master
>
> I made some minor tweaks to match your formatting, but still getting
> the error below. I guess my bbappend file must be ok and something
> else must be wrong. Do you have anything else related to u-boot
> besides I'm assuming UBOOT_MACHINE set in your machine config file?
>
> 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)
> ERROR: platform-init PROVIDES virtual/zynq7-platform-init but was
> skipped: incompatible with machine trenz-zynq7 (not in
> COMPATIBLE_MACHINE)
> ERROR: fsbl-platform-init PROVIDES virtual/zynq7-platform-init but was
> skipped: incompatible with machine trenz-zynq7 (not in
> COMPATIBLE_MACHINE)
> ERROR: Required build target 'u-boot-spl-xlnx' has no buildable providers.
> Missing or unbuildable dependency chain was: ['u-boot-spl-xlnx',
> 'virtual/zynq7-platform-init']
>
> thanks for the help
Ok, so to clear some confusion 'u-boot-spl-xlnx' is intended to build
just u-boot-spl sourcing the "ps7_init.c/h" from a separate recipe (so
dependencies work and prevent users from creating useless non-working
u-boot-spl binaries). e.g. fsbl-platform-init.bb which provides the
ps7_init.c/h for zc702, zc706, etc. or platform-init.bb which is an
example for how you can provide ps7_init.c/h from your layer
(bbappending this recipe is ok to).
Depending on what you are trying to do you will need to provide a
ps7_init.c/h for your machine 'trenz-zynq7' in order to build
u-boot-spl-xlnx. If you are not after u-boot-spl for your platform
(e.g. you are using FSBL) then you can ignore the u-boot-spl-xlnx
recipe and apply any patches for 'u-boot' to the 'u-boot-xlnx' recipe
only. Otherwise apply your patches to both recipes.
Regards,
Nathan
More information about the meta-xilinx
mailing list