[meta-xilinx] [PATCH 0/7] Setup IMAGE_BOOT_FILES automatically

Manjukumar Harthikote Matha MANJUKUM at xilinx.com
Wed Dec 19 17:02:04 PST 2018


Hi Nathan/Franz,

> -----Original Message-----
> From: Nathan Rossi [mailto:nathan at nathanrossi.com]
> Sent: Wednesday, January 31, 2018 8:20 AM
> To: meta-xilinx at yoctoproject.org
> Cc: Nathan Rossi <nathan at nathanrossi.com>; Franz Forstmayr
> <f.forstmayr at gmail.com>; Manjukumar Harthikote Matha
> <MANJUKUM at xilinx.com>
> Subject: [PATCH 0/7] Setup IMAGE_BOOT_FILES automatically
> 
> This series changes how the IMAGE_BOOT_FILES variable is set as well as how the
> values in it are used by various parts of the meta-xilinx-bsp layer. The
> IMAGE_BOOT_FILES value is now default populated in machine-xilinx-default.inc to
> cover all machines in the meta-xilinx-bsp layer.
> 
> The files populated in this variable now include all device-trees built by device-
> tree.bb (if used) as well as all KERNEL_DEVICETREES defined by the machine.conf. In
> order to get this working some changes were needed to have u-boot-zynq-uenv
> capable of picking up the file names.
> 
> In order to achieve the automatic selection of device trees without collecting all dtb
> files from the deploy directory (e.g.  undesired duplicates of kernel built device
> trees), the device-tree recipe is changed such that it deploys it's dtbs into a
> 'devicetree' subdirectory.
> 
> The default value of QB_DTB is also changed as it is now only populated from
> IMAGE_BOOT_FILES.
> 
> Additionally this series removes machine-xilinx-board.inc, this is due to it being
> reduced to a single EXTRA_IMAGEDEPENDS value.
> 
> Franz Forstmayr (1):
>   get_dtb_list function which formats the dtb files properly before
>     adding to IMAGE_BOOT_FILES
> 
> Nathan Rossi (6):
>   machine-xilinx-default.inc: Default IMAGE_BOOT_FILES using function
>   device-tree.bb: Deploy the device tree blobs into subdirectory
>   machine-xilinx-default.inc: Add dtb files for IMAGE_BOOT_FILES
>   machine-xilinx-qemu.inc: Remove KERNEL_DEVICETREE parsing
>   u-boot-zynq-uenv.bb: Handle IMAGE_BOOT_FILES wildcard patterns
>   machine-xilinx-board.inc: Remove include
> 
>  meta-xilinx-bsp/classes/image-wic-utils.bbclass    | 51 ++++++++++++++++++++
>  .../conf/machine/include/machine-xilinx-board.inc  |  6 ---
>  .../machine/include/machine-xilinx-default.inc     | 28 +++++++++++
>  .../conf/machine/include/machine-xilinx-qemu.inc   |  6 +--
>  .../conf/machine/kc705-microblazeel.conf           |  6 ++-
>  meta-xilinx-bsp/conf/machine/microzed-zynq7.conf   |  3 +-
>  meta-xilinx-bsp/conf/machine/picozed-zynq7.conf    |  3 +-
>  meta-xilinx-bsp/conf/machine/qemu-zynq7.conf       |  1 -
>  meta-xilinx-bsp/conf/machine/zc702-zynq7.conf      |  7 ++-
>  meta-xilinx-bsp/conf/machine/zc706-zynq7.conf      |  3 +-
>  meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf    |  7 ++-
>  meta-xilinx-bsp/conf/machine/zedboard-zynq7.conf   |  7 ++-
>  .../conf/machine/zybo-linux-bd-zynq7.conf          |  3 +-
>  meta-xilinx-bsp/conf/machine/zybo-zynq7.conf       |  3 +-
>  .../recipes-bsp/device-tree/device-tree.bb         |  2 +-
>  .../recipes-bsp/u-boot/u-boot-zynq-uenv.bb         | 55 ++++++++--------------
>  16 files changed, 125 insertions(+), 66 deletions(-)  create mode 100644 meta-xilinx-
> bsp/classes/image-wic-utils.bbclass
>  delete mode 100644 meta-xilinx-bsp/conf/machine/include/machine-xilinx-
> board.inc
> 


This series is staged in master-next with additional changes and will be applied

Thanks,
Manju


More information about the meta-xilinx mailing list