Hi Luca, > -----Original Message----- > From: Luca Ceresoli [mailto:[email protected]] > Sent: Wednesday, December 12, 2018 8:31 AM > To: Manjukumar Harthikote Matha <[email protected]>; meta- > [email protected] > Subject: Re: [meta-xilinx] Thud release update > > Hi Manjukumar, > > On 29/11/18 18:07, Manjukumar Harthikote Matha wrote: > > Hi All, > > > > Thud release branch is under-testing as of now, we will start sending > > patches next > week and start merging to master: > > Please check the tree here: > > https://github.com/Xilinx/meta-xilinx/commits/master-next > > > > Major changes: > > meta-xilinx-standalone layer to support building toolchain for MB and pmu- > firmware > > Proposal was sent here: > > https://lists.yoctoproject.org/pipermail/meta-xilinx/2018-September/004051.html > > > > There are two ways to build pmu-firmware: One using multiconfig and other as > two separate distros > > > > 1) multiconfig way: > > - You need to add the dependency in the image file, for example in core- > image-minimal you will need > > do_image[mcdepends] = "multiconfig:zcu102:pmu:pmu- > firmware:do_deploy" > > > > > > - Add conf/multiconfig in the build directory and create pmu.conf and > zcu102.conf under conf/multiconfig > > pmu.conf consists of > > MACHINE="zynqmp-pmu" > > DISTRO="xilinx-standalone" > > GCCVERSION="7.%" > > TMPDIR="${TOPDIR}/pmutmp" > > > > zcu102.conf consists of > > MACHINE="zcu102-zynqmp" > > DISTRO="poky" > > - In local.conf multiconfig is enabled by: BBMULTICONFIG ?= > > "zcu102 > pmu" > > - bitbake multiconfig:zcu102:core-image-minimal > > > > This will build pmu-firmware in build/pmutmp and all the linux images in > > build/tmp > > [Disclaimer: I did not double-check everything I state below since it > takes hours for each test] > > I tried this setup and building u-boot-xlnx fails: > > $ bitbake multiconfig:zcu102:core-image-minimal > [...] > Cannot read > ../../../../../../pmutmp/deploy/images/zynqmp-pmu/pmu-firmware-zynqmp-pmu.bin > > This can be reproduced with the attached script. >
>From script it seems you are missing do_image[mcdepends] = >"multiconfig:zcu102:pmu:pmu-firmware:do_deploy" in your image file? I think you could also add in local.conf Thanks, Manju <...> -- _______________________________________________ meta-xilinx mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-xilinx
