> -----Original Message----- > From: [email protected] [mailto:meta-xilinx- > [email protected]] On Behalf Of Niko Mauno > Sent: Friday, May 25, 2018 2:58 AM > To: [email protected] > Subject: [meta-xilinx] [PATCH] u-boot-spl-zynq-init.inc: Fix parallellism > issue > > A race issue can be induced by do_zynq_platform_init() being fired > before do_unpack(), resulting in > > | DEBUG: Executing shell function do_zynq_platform_init > | cp: cannot create regular file '.../git/board/xilinx/zynq/': No such file > or > directory > | WARNING: exit code 1 from a shell command. > > Mitigate issue by adding dependency to completion of do_unpack task > for custom do_zynq_platform_init task. Also update comment on previous > line to match the actions on next. > > Signed-off-by: Niko Mauno <[email protected]> > --- > meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-spl-zynq-init.inc | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-spl-zynq-init.inc > b/meta- > xilinx-bsp/recipes-bsp/u-boot/u-boot-spl-zynq-init.inc > index 50eae1f..9cf09ff 100644 > --- a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-spl-zynq-init.inc > +++ b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-spl-zynq-init.inc > @@ -47,8 +47,8 @@ python () { > if (currentconfig not in hasconfigs) or > (d.getVar("FORCE_PLATFORM_INIT") == > "1"): > # force the dependency on a recipe that provides the platform > init files > d.appendVar("DEPENDS", " virtual/xilinx-platform-init") > - # setup task to modify platform init after unpack and before > configure > - bb.build.addtask("do_zynq_platform_init", "do_configure", > "do_prepare_recipe_sysroot", d) > + # setup task to modify platform init after unpack and > prepare_recipe_sysroot, and before configure > + bb.build.addtask("do_zynq_platform_init", "do_configure", > "do_unpack > do_prepare_recipe_sysroot", d) > > if "boot.bin" not in d.getVar("SPL_BINARY"): > # not deploying the boot.bin, just building SPL > --
Applied Thanks, Manju -- _______________________________________________ meta-xilinx mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-xilinx
