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

Luca Ceresoli luca.ceresoli at bootlin.com
Tue Oct 18 07:04:42 UTC 2022


Hi Neal, Michal,

On Mon, 17 Oct 2022 14:15:16 +0000
"Frager, Neal" <neal.frager at amd.com> wrote:

> 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.

OK, I see. (@Michal) I compared the zcu102 and zcu106 binaries and they
are different, thus I wondered.

> 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.

Sure, knowing the process clarifies the reason for having different
places for firmwares that are equivalent.

> 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.

Sure it is.

Thank you both for the clarifications!

Reviewed-by: Luca Ceresoli <luca.ceresoli at bootlin.com>

-- 
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list