[meta-xilinx] [RFC 0/2] Platform Headers

Nathan Rossi nathan.rossi at xilinx.com
Mon Nov 17 19:45:36 PST 2014


These two patches add the ps7_init_gpl* platform headers as a recipe and
dependency of u-boot. I am looking for some feedback on these patches.

Instead of supplying the ps7_init_gpl.c/h files from the layer itself
use the files supplied by the fsbl repository for the zc702, zc706 and
zedboard. This allows for external sources to provide the files and
deploy them into the sysroot for u-boot or other recipes to use.

This patch set also resolves the issue where if the platform headers are
not avaliable u-boot will still build an invalid boot.bin file.
SPL_BINARY is now set from the machine.conf level and when set to
'boot.bin' enables building of u-boot-spl with the ps_init_gpl* files.
Which makes the build hard fail or not deploy invalid boot.bin files if
it is not possible to build a valid boot.bin.

Nathan Rossi (2):
  recipes-bsp/fsbl-platform-headers: Add recipe for ps7_init_gpl.[ch]
  u-boot-xlnx: Update recipe to use platform-headers from sysroot

 classes/zynq7-platform-headers.bbclass             |  4 ++
 conf/machine/zc702-zynq7.conf                      |  1 +
 conf/machine/zc706-zynq7.conf                      |  1 +
 conf/machine/zedboard-zynq7.conf                   |  1 +
 .../fsbl-platform-headers_2014.3.bb                | 51 ++++++++++++++++++++++
 recipes-bsp/u-boot/u-boot-xlnx.inc                 | 11 +++--
 .../u-boot-xlnx/zynq-Use-GPLed-files-for-SPL.patch | 38 ++++++++++++++++
 recipes-bsp/u-boot/u-boot-xlnx_2014.01.bb          |  5 ++-
 8 files changed, 107 insertions(+), 5 deletions(-)
 create mode 100644 classes/zynq7-platform-headers.bbclass
 create mode 100644 recipes-bsp/platform-headers/fsbl-platform-headers_2014.3.bb
 create mode 100644 recipes-bsp/u-boot/u-boot-xlnx/zynq-Use-GPLed-files-for-SPL.patch

-- 
2.1.1




More information about the meta-xilinx mailing list