[meta-xilinx] pmu-firmware configure failure
Jean-Francois Dagenais
jeff.dagenais at gmail.com
Tue Jun 4 06:45:14 PDT 2019
Hi guys, (Xilinx embeddedsw repo people, read on below please.)
Figured it out. You were correct Luca. I made a simple bblayers/local.conf setup in an empty dir.
> On Jun 4, 2019, at 04:04, Luca Ceresoli <luca at lucaceresoli.net> wrote:
>
> Do you mean the "rel-v2019.1" branch of meta-xilinx? Or the
> "xilinx-v2019.1" tag of embeddedsw? Or the "release-2019.1" branch
> branch of embeddedsw?
I was not *EXACTLY* on meta-xilinx/rel-v2019.1, I had extra bits from meta-xilinx/master in my pmu-firmware_2019.1.bb (the xilfpga stuff in do_configure) which just fails. The xsecure_sha2_pmu.a error was a distraction... but an error non the less.
So Kalyani's 6aa787afce5ae454ce0a072fbf93e47e3960ada1 patch should have also removed the mention of xsecure_sha2_pmu.a. Also, copy_bsp.sh should have "set -e" at the top so it fails if the script fails one of its steps.
>
> In other words, can you describe the exact steps to have a setup that
> reproduces your problem? Or try from scratch by adding the needed layers
> and do a build without changes? I suspect there's something
> "non-standard" in your setup. Except for being non-multiconfig, my
> working setup is very basic.
>
>>> Does a non-multiconfig setup work?
>> Will try this tomorrow.
>>
>> In the mean time, I inspected copy_bsp.sh more carefully and it seems that commit 6aa787afce5ae454ce0a072fbf93e47e3960ada1 (and ae0d2a0989e3855d2044ab55dabc78ff35e38137 ??? ) removes lib/sw_services/xilsecure/src/xsecure_sha2_pmu.a so I am really wondering how this: https://github.com/Xilinx/embeddedsw/blob/86e2a1940f997f291ea5c1628f3c8a945133f100/lib/sw_apps/zynqmp_pmufw/misc/copy_bsp.sh#L93 would work for anyone!
>>
>> Luca, you say it works for you on 2019.1
>
> I had tried branch rel-v2019.1 of meta-xilinx, with whatever
> pmu-firmware commit it uses. I didn't look into the embeddedsw git repo.
>
>> have you tried with a really clean workdir for pmu-firmware (bitbake pmu-firmware -c cleanall)? (Just to be sure)
>
> Done that now. It keeps on building succeessfully.
Thanks for the assistance Luca! I am now moving on to the next issue(s)! ;)
More information about the meta-xilinx
mailing list