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

Jean-Francois Dagenais jeff.dagenais at gmail.com
Tue May 23 11:37:43 PDT 2017


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?


> On May 18, 2017, at 12:02, Nathan Rossi <nathan at nathanrossi.com> wrote:
> 
> Enable the building of 'zynqmp-pmu' recipes, and setup the pmu-firmware
> to be built for the image.
> 
> Signed-off-by: Nathan Rossi <nathan at nathanrossi.com>
> ---
> conf/machine/include/zynqmp-pmu-config.inc | 5 +++++
> conf/machine/zcu102-zynqmp.conf            | 4 +++-
> 2 files changed, 8 insertions(+), 1 deletion(-)
> create mode 100644 conf/machine/include/zynqmp-pmu-config.inc
> 
> diff --git a/conf/machine/include/zynqmp-pmu-config.inc b/conf/machine/include/zynqmp-pmu-config.inc
> new file mode 100644
> index 0000000000..aa854cdcf6
> --- /dev/null
> +++ b/conf/machine/include/zynqmp-pmu-config.inc
> @@ -0,0 +1,5 @@
> +
> +# Enable the use of zynqmp-pmu specific recipe builds
> +BBCLASSEXTEND_append = " zynqmp-pmu"
> +PACKAGE_EXTRA_ARCHS_append = " microblazeel-v9.2-bs-cmp"
> +
> diff --git a/conf/machine/zcu102-zynqmp.conf b/conf/machine/zcu102-zynqmp.conf
> index 72758d4213..15fed4ff5d 100644
> --- a/conf/machine/zcu102-zynqmp.conf
> +++ b/conf/machine/zcu102-zynqmp.conf
> @@ -6,6 +6,7 @@ require conf/machine/include/tune-zynqmp.inc
> require conf/machine/include/machine-xilinx-default.inc
> require conf/machine/include/machine-xilinx-board.inc
> require conf/machine/include/machine-xilinx-qemu.inc
> +include conf/machine/include/zynqmp-pmu-config.inc
> 
> MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost mali"
> 
> @@ -24,9 +25,10 @@ PREFERRED_VERSION_linux-xlnx ?= "4.6-xilinx-v2016.4%"
> PREFERRED_VERSION_u-boot-xlnx ?= "v2016.07-xilinx-v2016.4%"
> PREFERRED_VERSION_arm-trusted-firmware ?= "1.2-xilinx-v2016.3%"
> 
> -EXTRA_IMAGEDEPENDS += "\
> +EXTRA_IMAGEDEPENDS += " \
> 		arm-trusted-firmware \
> 		qemu-devicetrees \
> +		zynqmp-pmu-pmu-firmware \
> 		"
> 
> # This machine has a QEMU model, runqemu setup:
> -- 
> 2.11.0
> 
> -- 
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx




More information about the meta-xilinx mailing list