[meta-xilinx] [PATCH 5/5] zcu102-zynqmp: Enable building of PMU recipes and build pmu firmware

Alistair Francis alistair23 at gmail.com
Wed May 24 09:31:38 PDT 2017

On Wed, May 24, 2017 at 8:40 AM, Nathan Rossi <nathan at nathanrossi.com> wrote:
> On 24 May 2017 at 04:37, Jean-Francois Dagenais <jeff.dagenais at gmail.com> wrote:
>> Hi Nathan,
>> Good job on this series. It looks good, I will try it out soon. Although my
>> initial testing with PMUFW 0.3 (built by Xilinx SDK) failed quickly because in
>> PmApiApprovalCheck(), it calls PmConfigObjectIsLoaded which returns false. At
>> that point, all PM messages other than PM_GET_API_VERSION, PM_GET_CHIPID and
>> PM_SET_CONFIGURATION are blocked, which means u-boot fails to get the boot mode
>> and setting the SD tap delays (it's using the PM_MMIO_READ/WRITE messages).
>> We are currently in the process of upgrading to 2017.1 across the board and have
>> not seen anything resembling this config object yet.
>> Any clue?
> Sorry not sure, I've only tested with QEMU which does not appear to
> need the configuration? or at least it boots without it. I have not
> looked at SD with QEMU though, and U-Boot throws card voltage select
> errors and fails to probe it :|.

QEMU helps fake some of the PMU FW stuff for you, which is probably
why it works for you.

I think you get that config from the HDF, but I'm not sure.


> The only information i've found for this config object is some tcl and
> template files in the embeddedsw repo.
> https://github.com/Xilinx/embeddedsw/blob/master/lib/sw_services/xilpm/data/cfg_gen.tcl
> https://github.com/Xilinx/embeddedsw/blob/master/lib/sw_services/xilpm/data/cfg_data.tpl
> Which look like a code file generated from HDF data which is likely
> embedded into FSBL. Looking at the ZCU102 PetaLinux BSP reveals as
> much.
> xilinx-zcu102-2017.1/components/plnx_workspace/fsbl_bsp/psu_cortexa53_0/libsrc/xilpm_v2_1/src/pm_cfg_obj.c
> Regards,
> Nathan
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx

More information about the meta-xilinx mailing list