PSU initialization code on zynqmp platforms

Michal Simek michal.simek at amd.com
Tue Dec 6 11:50:41 CET 2022


Hi,

On 12/6/22 02:01, Graeme Smecher wrote:
> Hi Michal,
> 
> (Well, that's embarassing. Sending again with a useful subject.)
> 
> I'm bringing up u-boot on a custom zynqmp platform. For the PSU initialization, 
> I can start with the psu_init_gpl.[ch] files embedded in the .xsa generated by 
> Vivado. However, these are pretty flawed [1, 2].
> 
> What is your workflow for generating and maintaining the in-tree psu_init_gpl 
> files you maintain? Are these files cleaned up and maintained by hand?
> 
> If your workflow is functional, I will happily emulate it instead - even if it 
> means straying from Vivado's configuration GUI.

I am just copy psu init files from xsa and copy it somewhere and then run
./tools/zynqmp_psu_init_minimize.sh to minimize it. And then commit and small 
manual cleanups to resolved issues reported by checkpatch.

Thanks,
Michal


More information about the U-Boot mailing list