[Buildroot] [PATCH v1 1/2] configs/zynqmp_zcu102_defconfig: fix pmufw sw reset

Frager, Neal neal.frager at amd.com
Mon Oct 17 14:15:16 UTC 2022


Hi Luca,

> Why are these binaries board-specific? I thought this used to be only
> needed for the "community workflow" before U-Boot SPL was able to load
> a pmufw cfg object.

Good question!  I had a feeling you would ask this.

In the case of the zcu102, zcu104 and zcu106, the pmufw binary is not board specific.  The same pmufw binary will work on all 3 boards and even custom hardware, if a developer wants to use it unchanged.

But since the pmu reset gpios are customisable among other things, the kria kv260 actually uses a different pmufw configuration.  And developers may wish to modify the pmufw for their target as well.

Since the Xilinx firmware repository is created using the petalinux prebuilt images for each target hardware, we chose to have a pmufw.elf in each board directory to match what comes from the petalinux builds.

That said, since the Xilinx repository has a pmufw.elf in each individual board directory, I thought it would be cleaner for buildroot to use the pmufw.elf for each specific target.  Even if the zcu102 and zcu106 pmufw.elf binaries are really interchangeable.

What do you think?

Best regards,
Neal Frager
AMD




More information about the buildroot mailing list