Hello Javi,

On Wed, Jan 20, 2021 at 7:25 AM <[email protected]> wrote:
> Hello Leon,
> I attached the logfile of failure that bitbake generated in case someone 
> might find out what is going on (unfortunately I could not). I could not find 
> the same error you had, these are the error messages in the logfile:
>
> 345 Cannot read 
> /media/jc/projects/poky/build/pmutmp/deploy/images/zynqmp-pmu/pmu-firmware-zynqmp-pmu.bin
>
The root cause error is hard to spot, but is on line 345, see above.

This is indeed the same error as I experienced. The build assumes the
file "pmu-firmware-zynqmp-pmu.bin" is already present in
"build/pmutmp/deploy/images/zynqmp-pmu/"

This is the PMU (power management unit) firmware. It runs on a
Microblaze processor.

As I understand it, there is work underway to build that PMU through a
secondary configuration (BitBake "multiconfig").
My source is page 10, 11, 12 of
https://elinux.org/images/1/16/RunX_ELCE_2020.pdf

That multiconfig breaks for me, as the Microblaze toolchain does not
build for me on the gatesgarth release (the multilib patch for GCC
does not apply). I have notified the maintainer off-list.

I think the way the PMU is built and then how the "configuration
object" is brought into the design has seen a few iterations, and
variants still. Luca Cerelosi has done nice work on a more ideal flow:
https://lucaceresoli.net/zynqmp-uboot-spl-pmufw-cfg-load/

and I think it would be nice if the out-of-Yocto (crossng?) build
steps he mentioned are solved in the multiconfig instead.

As I think most new developers run into these issues, would be great
if this workflow is a bit more clear.

For me it's still unclear what part of the steps are dependent on the
PL (Programmable Logic) design, I think the PMU configuration object
might be subject.

Regards,

Leon.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#4810): 
https://lists.yoctoproject.org/g/meta-xilinx/message/4810
Mute This Topic: https://lists.yoctoproject.org/mt/79922814/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to