diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-09-09 21:57:03 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-09-09 21:57:26 +0300 |
commit | eb610d680c7f53762307304045b5828d38cffc60 (patch) | |
tree | 8803733bcd858fe2c222d163ce1cf587608ff88e /meta-xilinx/meta-xilinx-bsp/README.building.md | |
parent | f0578c1dfb63be4c5366e537b33caf10e96b3aa9 (diff) | |
download | openbmc-eb610d680c7f53762307304045b5828d38cffc60.tar.xz |
meta-xilinx: subtree update:68eacd5636..391c7054e8
Alejandro Enedino Hernandez Samaniego (2):
qemu-xilinx: split recipes for native (system, usermode) and target
README.building: Update building instructions for multiconfig builds
Manjukumar Matha (2):
machine-xilinx-default.inc: Deploy u-boot.elf for Versal devices
meta-xilinx-contrib: Fix drm patch for v4.19 kernel
Change-Id: I1bc00353e9fb0ce4035ef42aa100ab2162093608
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-xilinx/meta-xilinx-bsp/README.building.md')
-rw-r--r-- | meta-xilinx/meta-xilinx-bsp/README.building.md | 43 |
1 files changed, 25 insertions, 18 deletions
diff --git a/meta-xilinx/meta-xilinx-bsp/README.building.md b/meta-xilinx/meta-xilinx-bsp/README.building.md index b127db363..230037c17 100644 --- a/meta-xilinx/meta-xilinx-bsp/README.building.md +++ b/meta-xilinx/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 ---------------------- |