aboutsummaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp
diff options
context:
space:
mode:
authorAlejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>2019-05-17 16:36:20 -0700
committerManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2019-08-16 18:42:29 -0700
commitaf4c8e4d2be3f34965d597849a2b90658119065d (patch)
treeec43b113d9e370f8f0ef1e331f3121efc64b982c /meta-xilinx-bsp
parent85e8c99629ed61826490a2b1dc7791b886435748 (diff)
downloadmeta-xilinx-af4c8e4d2be3f34965d597849a2b90658119065d.tar.gz
meta-xilinx-af4c8e4d2be3f34965d597849a2b90658119065d.tar.bz2
meta-xilinx-af4c8e4d2be3f34965d597849a2b90658119065d.zip
README.building: Update building instructions for multiconfig builds
Update building instructions for multiconfig builds Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp')
-rw-r--r--meta-xilinx-bsp/README.building.md43
1 files changed, 25 insertions, 18 deletions
diff --git a/meta-xilinx-bsp/README.building.md b/meta-xilinx-bsp/README.building.md
index b127db3..230037c 100644
--- a/meta-xilinx-bsp/README.building.md
+++ b/meta-xilinx-bsp/README.building.md
@@ -56,33 +56,40 @@ https://github.com/lucaceresoli/zynqmp-pmufw-builder/blob/master/0001-Load-XPm_C
Using multiconfig to build ZU+
------------------------------
-multiconfig dependency has to be added in image file or local.conf.
-For example in core-image-minimal you will need
-do_image[mcdepends] = "multiconfig:zcu102:pmu:pmu-firmware:do_deploy"
+In your local.conf multiconfig should be enabled by:
-Add conf/multiconfig in the build directory and create pmu.conf and zcu102.conf
+`BBMULTICONFIG ?= "pmu"`
-Add the following in pmu.conf:
- MACHINE="zynqmp-pmu"
- DISTRO="xilinx-standalone"
- GCCVERSION="7.%"
- TMPDIR="${TOPDIR}/pmutmp"
+Add a directory conf/multiconfig in the build directory and create pmu.conf inside it.
-Add the following in zcu102.conf:
- MACHINE="zcu102-zynqmp"
- DISTRO="poky"
+Add the following in pmu.conf:
-In local.conf multiconfig is enabled by: BBMULTICONFIG ?= "zcu102 pmu"
+ MACHINE="zynqmp-pmu"
+ DISTRO="xilinx-standalone"
+ TMPDIR="${TOPDIR}/pmutmp"
+
+Add the following in your local.conf
+
+ MACHINE="zcu102-zynqmp"
+ DISTRO="poky"
+
+A multiconfig dependency has to be added in the image recipe or local.conf.
+
+For example in core-image-minimal you would need:
+
+ do_image[mcdepends] = "multiconfig::pmu:pmu-firmware:do_deploy"
+
+This creates a multiconfig dependency between the task do_image from the default multiconfig '' (which has no name)
+to the task do_deploy() from the package pmu-firmware from the pmu multiconfig which was just created above.
+
+ $ bitbake core-image-minimal
+
+This will build both core-image-minimal and pmu-firmware.
-bitbake multiconfig:zcu102:core-image-minimal
More information about multiconfig:
https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#dev-building-images-for-multiple-targets-using-multiple-configurations
-Workaround:
-There is additional workaround required in u-boot-xlnx recipe. Add the below dependency
-do_compile[mcdepends] = "multiconfig:zcu102:pmu:pmu-firmware:do_deploy"
-
Additional Information
----------------------