All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v6 1/2] configs/zynqmp_zcu106: bump ATF/U-Boot/Linux to Xilinx 2022
@ 2022-02-11 14:44 Neal Frager
  2022-02-11 14:44 ` [Buildroot] [PATCH v6 2/2] add configs/zynqmp_zcu102_defconfig Neal Frager
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Neal Frager @ 2022-02-11 14:44 UTC (permalink / raw)
  To: buildroot; +Cc: luca, Neal Frager, giulio.benetti, michal.simek

This patch:
- bumps ATF to Xilinx v2.6: mainline v2.6 requires patch to build
- bumps U-Boot to Xilinx 2022.01: important drivers not in mainline
- bumps Linux to Xilinx 5.15: important drivers not in mainline
- deletes board/zynqmp/patches directory: patches already in mainline
- modifies board/zynqmp/genimage.cfg: U-Boot 2022.01 uses u-boot.itb format
- adds extlinux.conf to vfat bootfs
- modifies U-Boot to unified xilinx_zynqmp_virt_defconfig (supports all boards)
- adds support for SPL pm_cfg_obj.c loading to PMU firmware
- enables support for host machines without OpenSSL required by U-Boot and Linux

Signed-off-by: Neal Frager <neal.frager@xilinx.com>
Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Tested-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
[Giulio: only build tested]

---
V1->V2:
* fixed general build issues
* added extlinux.conf for run-time boot issue
V2->V3:
* enabled support for host machines without OpenSSL required by U-Boot and Linux
* moved readme.txt update to zynqmp_zcu102_defconfig patch 2/2
V3->V4:
* cleaned up commit log messages
* added version history
V4->V5:
* switched to sha1 urls to make ATF, U-Boot and Linux builds reproducible
* generated board specific pm_cfg_obj.c files with vitis 2021.2
V5->V6:
* fixed build issue with pm_cfg_obj.c files
---
---
 board/zynqmp/extlinux.conf                    |   5 +
 board/zynqmp/genimage.cfg                     |   6 +-
 ...-fix-Remove-GGC-ignore-Warray-bounds.patch |  68 ---
 ...64-zynqmp-zcu106-fix-SPL-MMC-booting.patch |  52 --
 ...2-arm64-zynqmp-Enable-booting-to-ATF.patch | 114 ----
 ...ept-an-absolute-path-for-PMUFW_INIT_.patch |  68 ---
 ...ynqmp-pass-the-PS-init-file-as-a-kco.patch | 175 ------
 board/zynqmp/post-build.sh                    |   8 +
 board/zynqmp/post-image.sh                    |   4 +-
 board/zynqmp/zcu106/pm_cfg_obj.c              | 562 ++++++++++++++++++
 configs/zynqmp_zcu106_defconfig               |  23 +-
 11 files changed, 596 insertions(+), 489 deletions(-)
 create mode 100644 board/zynqmp/extlinux.conf
 delete mode 100644 board/zynqmp/patches/arm-trusted-firmware/0001-Coverity-fix-Remove-GGC-ignore-Warray-bounds.patch
 delete mode 100644 board/zynqmp/patches/uboot/0001-arm64-zynqmp-zcu106-fix-SPL-MMC-booting.patch
 delete mode 100644 board/zynqmp/patches/uboot/0002-arm64-zynqmp-Enable-booting-to-ATF.patch
 delete mode 100644 board/zynqmp/patches/uboot/0003-arm64-zynqmp-accept-an-absolute-path-for-PMUFW_INIT_.patch
 delete mode 100644 board/zynqmp/patches/uboot/0004-arm-arm64-zynq-zynqmp-pass-the-PS-init-file-as-a-kco.patch
 create mode 100755 board/zynqmp/post-build.sh
 create mode 100644 board/zynqmp/zcu106/pm_cfg_obj.c

diff --git a/board/zynqmp/extlinux.conf b/board/zynqmp/extlinux.conf
new file mode 100644
index 0000000000..ae3ec8614a
--- /dev/null
+++ b/board/zynqmp/extlinux.conf
@@ -0,0 +1,5 @@
+label linux
+  kernel /Image
+  devicetree /system.dtb
+  append console=ttyPS0,115200 root=/dev/mmcblk0p2 rw rootwait
+
diff --git a/board/zynqmp/genimage.cfg b/board/zynqmp/genimage.cfg
index ed202f4550..20d8352c08 100644
--- a/board/zynqmp/genimage.cfg
+++ b/board/zynqmp/genimage.cfg
@@ -2,11 +2,13 @@ image boot.vfat {
 	vfat {
 		files = {
 			"boot.bin",
-			"u-boot.bin",
-			"atf-uboot.ub",
+			"u-boot.itb",
 			"system.dtb",
 			"Image"
 		}
+		file extlinux/extlinux.conf {
+			image = extlinux.conf
+		}
 	}
 
 	size = 32M
diff --git a/board/zynqmp/patches/arm-trusted-firmware/0001-Coverity-fix-Remove-GGC-ignore-Warray-bounds.patch b/board/zynqmp/patches/arm-trusted-firmware/0001-Coverity-fix-Remove-GGC-ignore-Warray-bounds.patch
deleted file mode 100644
index 0c1a9ba2a4..0000000000
--- a/board/zynqmp/patches/arm-trusted-firmware/0001-Coverity-fix-Remove-GGC-ignore-Warray-bounds.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-From da003e6ada7d0217fe99dc7c649a731f8ebd3c34 Mon Sep 17 00:00:00 2001
-From: Deepika Bhavnani <deepika.bhavnani@arm.com>
-Date: Thu, 15 Aug 2019 00:56:46 +0300
-Subject: [PATCH] Coverity fix: Remove GGC ignore -Warray-bounds
-
-GCC diagnostics were added to ignore array boundaries, instead
-of ignoring GCC warning current code will check for array boundaries
-and perform and array update only for valid elements.
-
-Resolves: `CID 246574` `CID 246710` `CID 246651`
-
-Signed-off-by: Deepika Bhavnani <deepika.bhavnani@arm.com>
-Change-Id: I7530ecf7a1707351c6ee87e90cc3d33574088f57
-
-Backported from: 41af05154abe136938bcfb5f26c969933784bbef
-[Adapted to apply on 1.5]
-
----
- lib/psci/psci_common.c | 20 ++++++++++----------
- 1 file changed, 10 insertions(+), 10 deletions(-)
-
-diff --git a/lib/psci/psci_common.c b/lib/psci/psci_common.c
-index 2220a745cd6e..6282d992a2f0 100644
---- a/lib/psci/psci_common.c
-+++ b/lib/psci/psci_common.c
-@@ -188,21 +188,17 @@ static unsigned int get_power_on_target_pwrlvl(void)
- /******************************************************************************
-  * Helper function to update the requested local power state array. This array
-  * does not store the requested state for the CPU power level. Hence an
-- * assertion is added to prevent us from accessing the wrong index.
-+ * assertion is added to prevent us from accessing the CPU power level.
-  *****************************************************************************/
- static void psci_set_req_local_pwr_state(unsigned int pwrlvl,
- 					 unsigned int cpu_idx,
- 					 plat_local_state_t req_pwr_state)
- {
--	/*
--	 * This should never happen, we have this here to avoid
--	 * "array subscript is above array bounds" errors in GCC.
--	 */
- 	assert(pwrlvl > PSCI_CPU_PWR_LVL);
--#pragma GCC diagnostic push
--#pragma GCC diagnostic ignored "-Warray-bounds"
--	psci_req_local_pwr_states[pwrlvl - 1][cpu_idx] = req_pwr_state;
--#pragma GCC diagnostic pop
-+	if ((pwrlvl > PSCI_CPU_PWR_LVL) && (pwrlvl <= PLAT_MAX_PWR_LVL) &&
-+			(cpu_idx < PLATFORM_CORE_COUNT)) {
-+		psci_req_local_pwr_states[pwrlvl - 1U][cpu_idx] = req_pwr_state;
-+	}
- }
- 
- /******************************************************************************
-@@ -228,7 +224,11 @@ static plat_local_state_t *psci_get_req_local_pwr_states(unsigned int pwrlvl,
- {
- 	assert(pwrlvl > PSCI_CPU_PWR_LVL);
- 
--	return &psci_req_local_pwr_states[pwrlvl - 1][cpu_idx];
-+	if ((pwrlvl > PSCI_CPU_PWR_LVL) && (pwrlvl <= PLAT_MAX_PWR_LVL) &&
-+			(cpu_idx < PLATFORM_CORE_COUNT)) {
-+		return &psci_req_local_pwr_states[pwrlvl - 1U][cpu_idx];
-+	} else
-+		return NULL;
- }
- 
- /*
--- 
-2.34.0
-
diff --git a/board/zynqmp/patches/uboot/0001-arm64-zynqmp-zcu106-fix-SPL-MMC-booting.patch b/board/zynqmp/patches/uboot/0001-arm64-zynqmp-zcu106-fix-SPL-MMC-booting.patch
deleted file mode 100644
index 4d85e1bb12..0000000000
--- a/board/zynqmp/patches/uboot/0001-arm64-zynqmp-zcu106-fix-SPL-MMC-booting.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From e5d72ed8339eb05285448aad3c89d21e4d18fd29 Mon Sep 17 00:00:00 2001
-From: Luca Ceresoli <luca@lucaceresoli.net>
-Date: Mon, 26 Feb 2018 09:40:34 +0100
-Subject: [PATCH] arm64: zynqmp: zcu106: fix SPL MMC booting
-
-The U-Boot SPL generated with the current zcu106 defconfig cannot boot
-from MMC:
-
-  [...]
-  U-Boot SPL 2018.01 (Feb 21 2018 - 17:47:14)
-  EL Level:  EL3
-  Trying to boot from MMC1
-  sdhci_transfer_data: Error detected in status(0x408020)!
-  spl_load_image_fat_os: error reading image u-boot.bin, err - -2
-  spl_load_image_fat: error reading image u-boot.img, err - -6
-  SPL: failed to boot from all boot devices
-  ### ERROR ### Please RESET the board ###
-
-Fix by lowering the rpll value. The new value for the RPLL_CTRL
-register comes from the current psu_init_gpl.c from the HDF file at
-https://github.com/xilinx/hdf-examples/tree/01ad8ea5fd1989abf4ea5a072d019a16cb2bc546/zcu106-zynqmp
-(generated by Vivado v2017.4).
-
-RPLL and sdio1_ref clocks before and after this change:
-
- - Old values: RPLL 1.36 GHz, sdio1_ref 272 MHz
- - New values: RPLL 1.16 GHz, sdio1_ref 233 MHz
-
-Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
-Cc: Michal Simek <michal.simek@xilinx.com>
-Upstream-status: accepted upstream in a different form
----
-
- board/xilinx/zynqmp/zynqmp-zcu106-revA/psu_init_gpl.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/board/xilinx/zynqmp/zynqmp-zcu106-revA/psu_init_gpl.c b/board/xilinx/zynqmp/zynqmp-zcu106-revA/psu_init_gpl.c
-index 4d18abe000ca..e6fa477e53e7 100644
---- a/board/xilinx/zynqmp/zynqmp-zcu106-revA/psu_init_gpl.c
-+++ b/board/xilinx/zynqmp/zynqmp-zcu106-revA/psu_init_gpl.c
-@@ -10,7 +10,7 @@
- static unsigned long psu_pll_init_data(void)
- {
- 	psu_mask_write(0xFF5E0034, 0xFE7FEDEFU, 0x7E4E2C62U);
--	psu_mask_write(0xFF5E0030, 0x00717F00U, 0x00013C00U);
-+	psu_mask_write(0xFF5E0030, 0x00717F00U, 0x00014600U);
- 	psu_mask_write(0xFF5E0030, 0x00000008U, 0x00000008U);
- 	psu_mask_write(0xFF5E0030, 0x00000001U, 0x00000001U);
- 	psu_mask_write(0xFF5E0030, 0x00000001U, 0x00000000U);
--- 
-2.7.4
-
diff --git a/board/zynqmp/patches/uboot/0002-arm64-zynqmp-Enable-booting-to-ATF.patch b/board/zynqmp/patches/uboot/0002-arm64-zynqmp-Enable-booting-to-ATF.patch
deleted file mode 100644
index 487fff6812..0000000000
--- a/board/zynqmp/patches/uboot/0002-arm64-zynqmp-Enable-booting-to-ATF.patch
+++ /dev/null
@@ -1,114 +0,0 @@
-From 5e3cac50cc981e01d9072241035a8d4162560c71 Mon Sep 17 00:00:00 2001
-From: Luca Ceresoli <luca@lucaceresoli.net>
-Date: Mon, 12 Mar 2018 17:18:38 +0100
-Subject: [PATCH] arm64: zynqmp: Enable booting to ATF
-
-U-Boot is now able to boot to ARM Trusted Firmware (ATF). The boot
-flow is SPL(EL3) loads ATF and full u-boot and jump to ATF(EL3) which
-pass control to full u-boot(EL2). This has been tested on zcu106, so
-enable it in this defconfig.
-
-To generate an image that triggers this booting flow, you need to pass
-'-O arm-trusted-firmware' to mkimage.
-
-Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
-Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-Backported from upstream: http://git.denx.de/?p=u-boot.git;a=commit;h=5e3cac50cc981e01d9072241035a8d4162560c71
----
-
- configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 1 +
- configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 1 +
- configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig | 1 +
- configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig | 1 +
- configs/xilinx_zynqmp_zcu102_rev1_0_defconfig    | 1 +
- configs/xilinx_zynqmp_zcu102_revA_defconfig      | 1 +
- configs/xilinx_zynqmp_zcu102_revB_defconfig      | 1 +
- 7 files changed, 7 insertions(+)
-
-diff --git a/configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig b/configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig
-index c5bfa2b12638..488c72258b0e 100644
---- a/configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig
-+++ b/configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig
-@@ -19,6 +19,7 @@ CONFIG_BOARD_EARLY_INIT_R=y
- CONFIG_SPL_OS_BOOT=y
- CONFIG_SPL_RAM_SUPPORT=y
- CONFIG_SPL_RAM_DEVICE=y
-+CONFIG_SPL_ATF=y
- CONFIG_SYS_PROMPT="ZynqMP> "
- CONFIG_FASTBOOT=y
- CONFIG_FASTBOOT_FLASH=y
-diff --git a/configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig b/configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig
-index f86dce403a42..5d501eec0edd 100644
---- a/configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig
-+++ b/configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig
-@@ -20,6 +20,7 @@ CONFIG_BOARD_EARLY_INIT_R=y
- CONFIG_SPL_OS_BOOT=y
- CONFIG_SPL_RAM_SUPPORT=y
- CONFIG_SPL_RAM_DEVICE=y
-+CONFIG_SPL_ATF=y
- CONFIG_SYS_PROMPT="ZynqMP> "
- CONFIG_FASTBOOT=y
- CONFIG_FASTBOOT_FLASH=y
-diff --git a/configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig b/configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig
-index 6e947cf56827..6f7eaebd7676 100644
---- a/configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig
-+++ b/configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig
-@@ -16,6 +16,7 @@ CONFIG_BOARD_EARLY_INIT_R=y
- CONFIG_SPL_OS_BOOT=y
- CONFIG_SPL_RAM_SUPPORT=y
- CONFIG_SPL_RAM_DEVICE=y
-+CONFIG_SPL_ATF=y
- CONFIG_SYS_PROMPT="ZynqMP> "
- CONFIG_CMD_MEMTEST=y
- CONFIG_SYS_ALT_MEMTEST=y
-diff --git a/configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig b/configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig
-index 1c934858c61c..7a3806cba4b5 100644
---- a/configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig
-+++ b/configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig
-@@ -17,6 +17,7 @@ CONFIG_BOARD_EARLY_INIT_R=y
- CONFIG_SPL_OS_BOOT=y
- CONFIG_SPL_RAM_SUPPORT=y
- CONFIG_SPL_RAM_DEVICE=y
-+CONFIG_SPL_ATF=y
- CONFIG_SYS_PROMPT="ZynqMP> "
- CONFIG_CMD_MEMTEST=y
- CONFIG_SYS_ALT_MEMTEST=y
-diff --git a/configs/xilinx_zynqmp_zcu102_rev1_0_defconfig b/configs/xilinx_zynqmp_zcu102_rev1_0_defconfig
-index e13c7c56f310..e4408f182ca0 100644
---- a/configs/xilinx_zynqmp_zcu102_rev1_0_defconfig
-+++ b/configs/xilinx_zynqmp_zcu102_rev1_0_defconfig
-@@ -19,6 +19,7 @@ CONFIG_BOARD_EARLY_INIT_R=y
- CONFIG_SPL_OS_BOOT=y
- CONFIG_SPL_RAM_SUPPORT=y
- CONFIG_SPL_RAM_DEVICE=y
-+CONFIG_SPL_ATF=y
- CONFIG_SYS_PROMPT="ZynqMP> "
- CONFIG_FASTBOOT=y
- CONFIG_FASTBOOT_FLASH=y
-diff --git a/configs/xilinx_zynqmp_zcu102_revA_defconfig b/configs/xilinx_zynqmp_zcu102_revA_defconfig
-index 5b2cd495ee85..b52f6789fd4b 100644
---- a/configs/xilinx_zynqmp_zcu102_revA_defconfig
-+++ b/configs/xilinx_zynqmp_zcu102_revA_defconfig
-@@ -19,6 +19,7 @@ CONFIG_BOARD_EARLY_INIT_R=y
- CONFIG_SPL_OS_BOOT=y
- CONFIG_SPL_RAM_SUPPORT=y
- CONFIG_SPL_RAM_DEVICE=y
-+CONFIG_SPL_ATF=y
- CONFIG_SYS_PROMPT="ZynqMP> "
- CONFIG_FASTBOOT=y
- CONFIG_FASTBOOT_FLASH=y
-diff --git a/configs/xilinx_zynqmp_zcu102_revB_defconfig b/configs/xilinx_zynqmp_zcu102_revB_defconfig
-index e6530fbfe7ff..80592554f682 100644
---- a/configs/xilinx_zynqmp_zcu102_revB_defconfig
-+++ b/configs/xilinx_zynqmp_zcu102_revB_defconfig
-@@ -19,6 +19,7 @@ CONFIG_BOARD_EARLY_INIT_R=y
- CONFIG_SPL_OS_BOOT=y
- CONFIG_SPL_RAM_SUPPORT=y
- CONFIG_SPL_RAM_DEVICE=y
-+CONFIG_SPL_ATF=y
- CONFIG_SYS_PROMPT="ZynqMP> "
- CONFIG_FASTBOOT=y
- CONFIG_FASTBOOT_FLASH=y
--- 
-2.7.4
-
diff --git a/board/zynqmp/patches/uboot/0003-arm64-zynqmp-accept-an-absolute-path-for-PMUFW_INIT_.patch b/board/zynqmp/patches/uboot/0003-arm64-zynqmp-accept-an-absolute-path-for-PMUFW_INIT_.patch
deleted file mode 100644
index 95ab7b3b75..0000000000
--- a/board/zynqmp/patches/uboot/0003-arm64-zynqmp-accept-an-absolute-path-for-PMUFW_INIT_.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-From c7df098a71e05dc81cee818747759e8060b59626 Mon Sep 17 00:00:00 2001
-From: Luca Ceresoli <luca@lucaceresoli.net>
-Date: Mon, 4 Jun 2018 12:21:01 +0200
-Subject: [PATCH] arm64: zynqmp: accept an absolute path for PMUFW_INIT_FILE
-
-The value of PMUFW_INIT_FILE is prefixed with "$(srctree)/", thus
-forcing it to be a relative path inside the U-Boot source tree. Since
-the PMUFW is a binary file generated outside of U-Boot, the PMUFW
-binary must be copied inside the U-Boot source tree before the
-build.
-
-This generates a few problems:
-
- * if the source tree is shared among different out-of-tree builds,
-   they will pollute (and potentially corrupt) each other
- * the source tree cannot be read-only
- * any buildsystem must add a command to copy the PMUFW binary
- * putting an externally-generated binary in the source tree is ugly
-   as hell
-
-Avoid these problems by accepting an absolute path for
-PMUFW_INIT_FILE. This would be as simple as removing the "$(srctree)/"
-prefix, but in order to keep backward compatibility we rather use the
-shell and readlink to get the absolute path even when starting from a
-relative path.
-
-Since 'readlink -f' produces an empty string if the file does not
-exist, we also add a check to ensure the file configured in
-PMUFW_INIT_FILE exists. Otherwise the build would exit successfully,
-but produce a boot.bin without PMUFW as if PMUFW_INIT_FILE were empty.
-
-Tested in the 12 possible combinations of:
- - PMUFW_INIT_FILE empty, relative, absolute, non-existing
- - building in-tree, in subdir, in other directory
-
-Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
-Cc: Michal Simek <michal.simek@xilinx.com>
-Cc: Simon Glass <sjg@chromium.org>
-Cc: Emmanuel Vadot <manu@bidouilliste.com>
-Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-Backported from upstream: https://git.denx.de/?p=u-boot.git;a=commit;h=c7df098a71e05dc81cee818747759e8060b59626
----
- scripts/Makefile.spl | 8 +++++++-
- 1 file changed, 7 insertions(+), 1 deletion(-)
-
-diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl
-index ef018b5b4056..252f13826d4c 100644
---- a/scripts/Makefile.spl
-+++ b/scripts/Makefile.spl
-@@ -167,8 +167,14 @@ ifdef CONFIG_ARCH_ZYNQ
- MKIMAGEFLAGS_boot.bin = -T zynqimage -R $(srctree)/$(CONFIG_BOOT_INIT_FILE)
- endif
- ifdef CONFIG_ARCH_ZYNQMP
-+ifneq ($(CONFIG_PMUFW_INIT_FILE),"")
-+spl/boot.bin: zynqmp-check-pmufw
-+zynqmp-check-pmufw: FORCE
-+	( cd $(srctree) && test -r $(CONFIG_PMUFW_INIT_FILE) ) \
-+		|| ( echo "Cannot read $(CONFIG_PMUFW_INIT_FILE)" && false )
-+endif
- MKIMAGEFLAGS_boot.bin = -T zynqmpimage -R $(srctree)/$(CONFIG_BOOT_INIT_FILE) \
--	-n $(srctree)/$(CONFIG_PMUFW_INIT_FILE)
-+	-n "$(shell cd $(srctree); readlink -f $(CONFIG_PMUFW_INIT_FILE))"
- endif
- 
- spl/boot.bin: $(obj)/u-boot-spl.bin FORCE
--- 
-2.7.4
-
diff --git a/board/zynqmp/patches/uboot/0004-arm-arm64-zynq-zynqmp-pass-the-PS-init-file-as-a-kco.patch b/board/zynqmp/patches/uboot/0004-arm-arm64-zynq-zynqmp-pass-the-PS-init-file-as-a-kco.patch
deleted file mode 100644
index b32e162780..0000000000
--- a/board/zynqmp/patches/uboot/0004-arm-arm64-zynq-zynqmp-pass-the-PS-init-file-as-a-kco.patch
+++ /dev/null
@@ -1,175 +0,0 @@
-From 4c9d54ab5a41d65000c8d249b6fb1b76056f1812 Mon Sep 17 00:00:00 2001
-From: Luca Ceresoli <luca@lucaceresoli.net>
-Date: Wed, 20 Jun 2018 12:11:50 +0200
-Subject: [PATCH] arm/arm64: zynq/zynqmp: pass the PS init file as a kconfig
- variable
-
-U-Boot needs to link ps7_init_gpl.c on Zynq or psu_init_gpl.c on
-ZynqMP (PS init for short). The current logic to locate this file for
-both platforms is:
-
- 1. if a board-specific file exists in
-    board/xilinx/zynq[mp]/$(CONFIG_DEFAULT_DEVICE_TREE)/ps?_init_gpl.c
-    then use it
- 2. otherwise use board/xilinx/zynq/ps?_init_gpl.c
-
-In the latter case the file does not exist in the U-Boot sources and
-must be copied in the source tree from the outside before starting the
-build. This is typical when it is generated from Xilinx tools while
-developing a custom hardware. However making sure that a
-board-specific file is _not_ found (and used) requires some trickery
-such as removing or overwriting all PS init files (e.g.: the current
-meta-xilinx yocto layer [0]).
-
-This generates a few problems:
-
- * if the source tree is shared among different out-of-tree builds,
-   they will pollute (and potentially corrupt) each other
- * the source tree cannot be read-only
- * any buildsystem must add a command to copy the PS init file binary
- * overwriting or deleting files in the source tree is ugly as hell
-
-Simplify usage by allowing to pass the path to the desired PS init
-file in kconfig variable XILINX_PS_INIT_FILE. It can be an absolute
-path or relative to $(srctree). If the variable is set, the
-user-specified file will always be used without being copied
-around. If the the variable is left empty, for backward compatibility
-fall back to the old behaviour.
-
-Since the issue is the same for Zynq and ZynqMP, add one kconfig
-variable in a common place and use it for both.
-
-Also use the new kconfig help text to document all the ways to give
-U-Boot the PS init file.
-
-Build-tested with all combinations of:
- - platform: zynq or zynqmp
- - PS init file: from XILINX_PS_INIT_FILE (absolute, relative path,
-   non-existing), in-tree board-specific, in board/xilinx/zynq[mp]/
- - building in-tree, in subdir, in other directory
-
-[0] https://github.com/Xilinx/meta-xilinx/blob/b2f74cc7fe5c4881589d5e440a17cb51fc66a7ab/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-spl-zynq-init.inc#L9
-
-Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
-Cc: Albert Aribaud <albert.u.boot@aribaud.net>
-Cc: Michal Simek <michal.simek@xilinx.com>
-Cc: Nathan Rossi <nathan@nathanrossi.com>
-Backported from upstream: https://git.denx.de/?p=u-boot.git;a=commit;h=6da4f67ad09cd8b311d77b2b04e557b7ef65b56c
----
- arch/arm/Kconfig             |  1 +
- board/xilinx/Kconfig         | 41 +++++++++++++++++++++++++++++++++++++++++
- board/xilinx/zynq/Makefile   | 10 +++++++++-
- board/xilinx/zynqmp/Makefile | 10 +++++++++-
- 4 files changed, 60 insertions(+), 2 deletions(-)
- create mode 100644 board/xilinx/Kconfig
-
-diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
-index 22234cde2ab6..e04979d0ef7e 100644
---- a/arch/arm/Kconfig
-+++ b/arch/arm/Kconfig
-@@ -1293,4 +1293,5 @@ source "board/technologic/ts4600/Kconfig"
- source "board/vscom/baltos/Kconfig"
- source "board/woodburn/Kconfig"
- source "board/work-microwave/work_92105/Kconfig"
-+source "board/xilinx/Kconfig"
- source "board/zipitz2/Kconfig"
-
- source "arch/arm/Kconfig.debug"
-diff --git a/board/xilinx/Kconfig b/board/xilinx/Kconfig
-new file mode 100644
-index 000000000000..aa3fa061edef
---- /dev/null
-+++ b/board/xilinx/Kconfig
-@@ -0,0 +1,41 @@
-+# Copyright (c) 2018, Luca Ceresoli <luca@lucaceresoli.net>
-+#
-+# SPDX-License-Identifier: GPL-2.0
-+
-+if ARCH_ZYNQ || ARCH_ZYNQMP
-+
-+config XILINX_PS_INIT_FILE
-+	string "Zynq/ZynqMP PS init file(s) location"
-+	help
-+	  On Zynq and ZynqMP U-Boot SPL (or U-Boot proper if
-+	  ZYNQMP_PSU_INIT_ENABLED is set) is responsible for some
-+	  basic initializations, such as enabling peripherals and
-+	  configuring pinmuxes. The PS init file (called
-+	  psu_init_gpl.c on ZynqMP, ps7_init_gpl.c for Zynq-7000)
-+	  contains the code for such initializations.
-+
-+	  U-Boot contains PS init files for some boards, but each of
-+	  them describes only one specific configuration. Users of a
-+	  different board, or needing a different configuration, can
-+	  generate custom files using the Xilinx development tools.
-+
-+	  There are three ways to give a PS init file to U-Boot:
-+
-+	  1. Set this variable to the path, either relative to the
-+	     source tree or absolute, where the psu_init_gpl.c or
-+	     ps7_init_gpl.c file is located. U-Boot will build this
-+	     file.
-+
-+	  2. If you leave an empty string here, U-Boot will use
-+	     board/xilinx/zynq/$(CONFIG_DEFAULT_DEVICE_TREE)/ps7_init_gpl.c
-+	     for Zynq-7000, or
-+	     board/xilinx/zynqmp/$(CONFIG_DEFAULT_DEVICE_TREE)/psu_init_gpl.c
-+	     for ZynqMP.
-+
-+	  3. If the above file does not exist, U-Boot will use
-+	     board/xilinx/zynq/ps7_init_gpl.c for Zynq-7000, or
-+	     board/xilinx/zynqmp/psu_init_gpl.c for ZynqMP. This file
-+	     is not provided by U-Boot, you have to copy it there
-+	     before the build.
-+
-+endif
-diff --git a/board/xilinx/zynq/Makefile b/board/xilinx/zynq/Makefile
-index 5a76a26720cd..03ad5f0532ee 100644
---- a/board/xilinx/zynq/Makefile
-+++ b/board/xilinx/zynq/Makefile
-@@ -5,10 +5,18 @@
- 
- obj-y	:= board.o
- 
--hw-platform-y :=$(shell echo $(CONFIG_DEFAULT_DEVICE_TREE))
-+ifneq ($(CONFIG_XILINX_PS_INIT_FILE),"")
-+PS_INIT_FILE := $(shell cd $(srctree); readlink -f $(CONFIG_XILINX_PS_INIT_FILE))
-+init-objs := ps_init_gpl.o
-+spl/board/xilinx/zynq/ps_init_gpl.o board/xilinx/zynq/ps_init_gpl.o: $(PS_INIT_FILE)
-+	$(CC) $(c_flags) -I $(srctree)/$(src) -c -o $@ $^
-+endif
- 
-+ifeq ($(init-objs),)
-+hw-platform-y :=$(shell echo $(CONFIG_DEFAULT_DEVICE_TREE))
- init-objs := $(if $(wildcard $(srctree)/$(src)/$(hw-platform-y)/ps7_init_gpl.c),\
- 	$(hw-platform-y)/ps7_init_gpl.o)
-+endif
- 
- ifeq ($(init-objs),)
- ifneq ($(wildcard $(srctree)/$(src)/ps7_init_gpl.c),)
-diff --git a/board/xilinx/zynqmp/Makefile b/board/xilinx/zynqmp/Makefile
-index 05ccd25dcef3..960b81fc5853 100644
---- a/board/xilinx/zynqmp/Makefile
-+++ b/board/xilinx/zynqmp/Makefile
-@@ -5,10 +5,18 @@
- 
- obj-y	:= zynqmp.o
- 
--hw-platform-y :=$(shell echo $(CONFIG_DEFAULT_DEVICE_TREE))
-+ifneq ($(CONFIG_XILINX_PS_INIT_FILE),"")
-+PS_INIT_FILE := $(shell cd $(srctree); readlink -f $(CONFIG_XILINX_PS_INIT_FILE))
-+init-objs := ps_init_gpl.o
-+spl/board/xilinx/zynqmp/ps_init_gpl.o board/xilinx/zynqmp/ps_init_gpl.o: $(PS_INIT_FILE)
-+	$(CC) $(c_flags) -I $(srctree)/$(src) -c -o $@ $^
-+endif
- 
-+ifeq ($(init-objs),)
-+hw-platform-y :=$(shell echo $(CONFIG_DEFAULT_DEVICE_TREE))
- init-objs := $(if $(wildcard $(srctree)/$(src)/$(hw-platform-y)/psu_init_gpl.c),\
- 	$(hw-platform-y)/psu_init_gpl.o)
-+endif
- 
- ifeq ($(init-objs),)
- ifneq ($(wildcard $(srctree)/$(src)/psu_init_gpl.c),)
--- 
-2.7.4
-
diff --git a/board/zynqmp/post-build.sh b/board/zynqmp/post-build.sh
new file mode 100755
index 0000000000..9fd8bbf2c8
--- /dev/null
+++ b/board/zynqmp/post-build.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# genimage will need to find the extlinux.conf
+# in the binaries directory
+
+BOARD_DIR="$(dirname $0)"
+
+install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux.conf
diff --git a/board/zynqmp/post-image.sh b/board/zynqmp/post-image.sh
index b2b99fed01..ed6dbe188c 100755
--- a/board/zynqmp/post-image.sh
+++ b/board/zynqmp/post-image.sh
@@ -10,4 +10,6 @@ FIRST_DT=$(sed -nr \
 
 [ -z "${FIRST_DT}" ] || ln -fs ${FIRST_DT}.dtb ${BINARIES_DIR}/system.dtb
 
-support/scripts/genimage.sh -c board/zynqmp/genimage.cfg
+BOARD_DIR="$(dirname $0)"
+
+support/scripts/genimage.sh -c $BOARD_DIR/genimage.cfg
diff --git a/board/zynqmp/zcu106/pm_cfg_obj.c b/board/zynqmp/zcu106/pm_cfg_obj.c
new file mode 100644
index 0000000000..6d15d510e9
--- /dev/null
+++ b/board/zynqmp/zcu106/pm_cfg_obj.c
@@ -0,0 +1,562 @@
+/******************************************************************************
+* Copyright (c) 2017 - 2021 Xilinx, Inc.  All rights reserved.
+* SPDX-License-Identifier: MIT
+******************************************************************************/
+
+#include "xil_types.h"
+#include "pm_defs.h"
+
+#define PM_CONFIG_MASTER_SECTION_ID	0x101U
+#define PM_CONFIG_SLAVE_SECTION_ID	0x102U
+#define PM_CONFIG_PREALLOC_SECTION_ID	0x103U
+#define PM_CONFIG_POWER_SECTION_ID	0x104U
+#define PM_CONFIG_RESET_SECTION_ID	0x105U
+#define PM_CONFIG_SHUTDOWN_SECTION_ID	0x106U
+#define PM_CONFIG_SET_CONFIG_SECTION_ID	0x107U
+#define PM_CONFIG_GPO_SECTION_ID	0x108U
+
+#define PM_SLAVE_FLAG_IS_SHAREABLE	0x1U
+#define PM_MASTER_USING_SLAVE_MASK	0x2U
+
+#define PM_CONFIG_GPO1_MIO_PIN_34_MAP	(1U << 10U)
+#define PM_CONFIG_GPO1_MIO_PIN_35_MAP	(1U << 11U)
+#define PM_CONFIG_GPO1_MIO_PIN_36_MAP	(1U << 12U)
+#define PM_CONFIG_GPO1_MIO_PIN_37_MAP	(1U << 13U)
+
+#define PM_CONFIG_GPO1_BIT_2_MASK	(1U << 2U)
+#define PM_CONFIG_GPO1_BIT_3_MASK	(1U << 3U)
+#define PM_CONFIG_GPO1_BIT_4_MASK	(1U << 4U)
+#define PM_CONFIG_GPO1_BIT_5_MASK	(1U << 5U)
+
+#define SUSPEND_TIMEOUT	0xFFFFFFFFU
+
+#define PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK    0x00000001
+#define PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK    0x00000100
+#define PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK    0x00000200
+
+
+
+#if defined (__ICCARM__)
+#pragma language=save
+#pragma language=extended
+#endif
+#if defined (__GNUC__)
+    const u32 XPm_ConfigObject[] __attribute__((used, section(".sys_cfg_data"))) =
+#elif defined (__ICCARM__)
+#pragma location = ".sys_cfg_data"
+__root const u32 XPm_ConfigObject[] =
+#endif
+{
+	/**********************************************************************/
+	/* HEADER */
+	2,	/* Number of remaining words in the header */
+	8,	/* Number of sections included in config object */
+	1U,	/* Type of config object as base */
+	/**********************************************************************/
+	/* MASTER SECTION */
+	PM_CONFIG_MASTER_SECTION_ID, /* Master SectionID */
+	3U, /* No. of Masters*/
+
+	NODE_APU, /* Master Node ID */
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, /* IPI Mask of this master */
+	SUSPEND_TIMEOUT, /* Suspend timeout */
+	PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Suspend permissions */
+	PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Wake permissions */
+
+	NODE_RPU_0, /* Master Node ID */
+	PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask of this master */
+	SUSPEND_TIMEOUT, /* Suspend timeout */
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Suspend permissions */
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Wake permissions */
+
+	NODE_RPU_1, /* Master Node ID */
+	PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask of this master */
+	SUSPEND_TIMEOUT, /* Suspend timeout */
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* Suspend permissions */
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* Wake permissions */
+
+
+	/**********************************************************************/
+	/* SLAVE SECTION */
+
+
+	PM_CONFIG_SLAVE_SECTION_ID,	/* Section ID */
+	49,				/* Number of slaves */
+
+	NODE_OCM_BANK_0,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_OCM_BANK_1,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_OCM_BANK_2,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_OCM_BANK_3,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_TCM_0_A,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */
+
+	NODE_TCM_0_B,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */
+
+	NODE_TCM_1_A,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_TCM_1_B,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_L2,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_GPU_PP_0,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_GPU_PP_1,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_USB_0,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_USB_1,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	0U, /* IPI Mask */
+
+	NODE_TTC_0,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_TTC_1,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_TTC_2,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_TTC_3,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_SATA,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_ETH_0,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	0U, /* IPI Mask */
+
+	NODE_ETH_1,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	0U, /* IPI Mask */
+
+	NODE_ETH_2,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	0U, /* IPI Mask */
+
+	NODE_ETH_3,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_UART_0,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_UART_1,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_SPI_0,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	0U, /* IPI Mask */
+
+	NODE_SPI_1,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	0U, /* IPI Mask */
+
+	NODE_I2C_0,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_I2C_1,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_SD_0,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	0U, /* IPI Mask */
+
+	NODE_SD_1,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_DP,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_GDMA,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_ADMA,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_NAND,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	0U, /* IPI Mask */
+
+	NODE_QSPI,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_GPIO,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_CAN_0,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	0U, /* IPI Mask */
+
+	NODE_CAN_1,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_EXTERN,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_DDR,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_IPI_APU,
+	0U,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, /* IPI Mask */
+
+	NODE_IPI_RPU_0,
+	0U,
+	PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */
+
+	NODE_IPI_RPU_1,
+	0U,
+	PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_GPU,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_PCIE,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	0U, /* IPI Mask */
+
+	NODE_PCAP,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	0U, /* IPI Mask */
+
+	NODE_RTC,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_VCU,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_PL,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+
+	/**********************************************************************/
+	/* PREALLOC SECTION */
+
+	PM_CONFIG_PREALLOC_SECTION_ID, /* Preallaoc SectionID */
+	3U, /* No. of Masters*/
+
+/* Prealloc for psu_cortexa53_0 */
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK,
+	12,
+	NODE_DDR,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_L2,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_OCM_BANK_0,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_OCM_BANK_1,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_OCM_BANK_2,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_OCM_BANK_3,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_I2C_0,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_I2C_1,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_SD_1,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_QSPI,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_PL,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_IPI_APU,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+
+	/* Prealloc for psu_cortexr5_0 */
+	PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK,
+	3,
+	NODE_TCM_0_A,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_TCM_0_B,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_IPI_RPU_0,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+
+	/* Prealloc for psu_cortexr5_1 */
+	PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	3,
+	NODE_TCM_1_A,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_TCM_1_B,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_IPI_RPU_1,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+
+	
+	/**********************************************************************/
+	/* POWER SECTION */
+
+	PM_CONFIG_POWER_SECTION_ID, /* Power Section ID */
+	4U, /* Number of power nodes */
+
+	NODE_APU, /* Power node ID */
+	PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */
+
+	NODE_RPU, /* Power node ID */
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */
+
+	NODE_FPD, /* Power node ID */
+	PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */
+
+	NODE_PLD, /* Power node ID */
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */
+
+
+	/**********************************************************************/
+	/* RESET SECTION */
+
+	PM_CONFIG_RESET_SECTION_ID, /* Reset Section ID */
+	120U, /* Number of resets */
+
+	XILPM_RESET_PCIE_CFG, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_PCIE_BRIDGE, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_PCIE_CTRL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_DP, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_SWDT_CRF, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_AFI_FM5, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_AFI_FM4, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_AFI_FM3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_AFI_FM2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_AFI_FM1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_AFI_FM0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GDMA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPU_PP1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPU_PP0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPU, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_SATA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_ACPU3_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_ACPU2_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_ACPU1_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_ACPU0_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_APU_L2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_ACPU3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_ACPU2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_ACPU1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_ACPU0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_DDR, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_APM_FPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_SOFT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GEM0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GEM1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GEM2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GEM3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_QSPI, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_UART0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_UART1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_SPI0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_SPI1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_SDIO0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_SDIO1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_CAN0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_CAN1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_I2C0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_I2C1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_TTC0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_TTC1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_TTC2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_TTC3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_SWDT_CRL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_NAND, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_ADMA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPIO, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_IOU_CC, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_TIMESTAMP, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_RPU_R50, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_RPU_R51, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_RPU_AMBA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_OCM, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_RPU_PGE, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_USB0_CORERESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_USB1_CORERESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_USB0_HIBERRESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_USB1_HIBERRESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_USB0_APB, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_USB1_APB, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_IPI, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_APM_LPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_RTC, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_SYSMON, 0,
+	XILPM_RESET_AFI_FM6, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_LPD_SWDT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_FPD, PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK,
+	XILPM_RESET_RPU_DBG1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_RPU_DBG0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_DBG_LPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_DBG_FPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_APLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_DPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_VPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_IOPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_RPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_4, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_5, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_6, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_7, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_8, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_9, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_10, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_11, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_12, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_13, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_14, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_15, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_16, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_17, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_18, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_19, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_20, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_21, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_22, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_23, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_24, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_25, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_26, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_27, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_28, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_29, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_30, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_31, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_RPU_LS, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_PS_ONLY, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_PL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPIO5_EMIO_92, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPIO5_EMIO_93, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPIO5_EMIO_94, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPIO5_EMIO_95, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+
+	/**********************************************************************/
+	/* SET CONFIG SECTION */
+	PM_CONFIG_SET_CONFIG_SECTION_ID,		/* Set Config Section ID */
+	0U, /* Permissions to load base config object */
+	0U, /* Permissions to load overlay config object */
+
+	/**********************************************************************/
+	/* SHUTDOWN SECTION */
+
+	PM_CONFIG_SHUTDOWN_SECTION_ID, /* Shutdown Section ID */
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* System Shutdown/Restart Permission */
+
+	/**********************************************************************/
+	/* GPO SECTION */
+	PM_CONFIG_GPO_SECTION_ID,		/* GPO Section ID */
+	PM_CONFIG_GPO1_MIO_PIN_34_MAP |
+	PM_CONFIG_GPO1_MIO_PIN_35_MAP |
+	PM_CONFIG_GPO1_MIO_PIN_36_MAP |
+	PM_CONFIG_GPO1_MIO_PIN_37_MAP |
+	0,					/* State of GPO pins */
+};
+#if defined (__ICCARM__)
+#pragma language=restore
+#endif
+
diff --git a/configs/zynqmp_zcu106_defconfig b/configs/zynqmp_zcu106_defconfig
index bee7c1daf7..4910252f78 100644
--- a/configs/zynqmp_zcu106_defconfig
+++ b/configs/zynqmp_zcu106_defconfig
@@ -1,34 +1,39 @@
 BR2_aarch64=y
-BR2_GLOBAL_PATCH_DIR="board/zynqmp/patches/"
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y
+BR2_ROOTFS_POST_BUILD_SCRIPT="board/zynqmp/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynqmp/post-image.sh"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_GIT=y
 BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://github.com/Xilinx/linux-xlnx.git"
-BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xilinx-v2017.4"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="966124532656bc95d781abf57531e4cd4f962237"
 BR2_LINUX_KERNEL_DEFCONFIG="xilinx_zynqmp"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="xilinx/zynqmp-zcu106-revA"
+BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
 BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y
-BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/ARM-software/arm-trusted-firmware.git"
-BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="v1.5"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/Xilinx/arm-trusted-firmware.git"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="e678d5ddc475f34dea8f5004fb6ebde118621784"
 BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="zynqmp"
 BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31_UBOOT=y
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_GIT=y
-BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://github.com/xilinx/u-boot-xlnx.git"
-BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="228801a215909365ae1dcdd799034195ad7264f7"
-BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_zynqmp_zcu106_revA"
+BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://github.com/Xilinx/u-boot-xlnx.git"
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="667001319cbe511ce6353195fb4910ae5cb041ce"
+BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_zynqmp_virt"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
 BR2_TARGET_UBOOT_SPL=y
 BR2_TARGET_UBOOT_SPL_NAME="spl/boot.bin"
 BR2_TARGET_UBOOT_ZYNQMP=y
-BR2_TARGET_UBOOT_ZYNQMP_PMUFW="https://github.com/lucaceresoli/zynqmp-pmufw-binaries/raw/53fdb7b6c92860ceb0ec5fd14deee302f4a84269/bin/pmufw-zcu106-default-v2017.4.bin"
+BR2_TARGET_UBOOT_ZYNQMP_PMUFW="https://github.com/lucaceresoli/zynqmp-pmufw-binaries/raw/v2021.2/bin/pmufw-v2021.2.bin"
+BR2_TARGET_UBOOT_ZYNQMP_PM_CFG="board/zynqmp/zcu106/pm_cfg_obj.c"
+BR2_TARGET_UBOOT_FORMAT_ITB=y
+BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y
 BR2_PACKAGE_HOST_DOSFSTOOLS=y
 BR2_PACKAGE_HOST_GENIMAGE=y
 BR2_PACKAGE_HOST_MTOOLS=y
-- 
2.17.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [Buildroot] [PATCH v6 2/2] add configs/zynqmp_zcu102_defconfig
  2022-02-11 14:44 [Buildroot] [PATCH v6 1/2] configs/zynqmp_zcu106: bump ATF/U-Boot/Linux to Xilinx 2022 Neal Frager
@ 2022-02-11 14:44 ` Neal Frager
  2022-02-12 13:43   ` Peter Korsgaard
  2022-02-12 13:13 ` [Buildroot] [PATCH v6 1/2] configs/zynqmp_zcu106: bump ATF/U-Boot/Linux to Xilinx 2022 Luca Ceresoli
  2022-02-12 13:42 ` Peter Korsgaard
  2 siblings, 1 reply; 17+ messages in thread
From: Neal Frager @ 2022-02-11 14:44 UTC (permalink / raw)
  To: buildroot; +Cc: luca, Neal Frager, giulio.benetti, michal.simek

This patch:
- adds support for Xilinx ZCU102 evaluation board
- ZCU102 features can be found here:
https://www.xilinx.com/products/boards-and-kits/zcu102.html

Signed-off-by: Neal Frager <neal.frager@xilinx.com>
Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Tested-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
[Giulio: only build tested]

---
V1->V2:
* fixed general build issues
* added extlinux.conf for run-time boot issue
V2->V3:
* enabled support for host machines without OpenSSL required by U-Boot and Linux
* moved readme.txt update to zynqmp_zcu102_defconfig patch 2/2
V3->V4:
* cleaned up commit log messages
* added version history
V4->V5:
* switched to sha1 urls to make ATF, U-Boot and Linux builds reproducible
* generated board specific pm_cfg_obj.c files with vitis 2021.2
V5->V6:
* fixed build issue with pm_cfg_obj.c files
---
---
 board/zynqmp/readme.txt          |  23 +-
 board/zynqmp/zcu102/pm_cfg_obj.c | 563 +++++++++++++++++++++++++++++++
 configs/zynqmp_zcu102_defconfig  |  39 +++
 3 files changed, 618 insertions(+), 7 deletions(-)
 create mode 100644 board/zynqmp/zcu102/pm_cfg_obj.c
 create mode 100644 configs/zynqmp_zcu102_defconfig

diff --git a/board/zynqmp/readme.txt b/board/zynqmp/readme.txt
index da37f4ccc9..0dc1793e03 100644
--- a/board/zynqmp/readme.txt
+++ b/board/zynqmp/readme.txt
@@ -1,10 +1,19 @@
-********************************
-Xilinx ZCU106 board - ZynqMP SoC
-********************************
+******************************************
+Xilinx ZCU102 / ZCU106 boards - ZynqMP SoC
+******************************************
+
+This document describes the Buildroot support for the ZCU102 and ZCU106
+boards by Xilinx, based on the Zynq UltraScale+ MPSoC (aka ZynqMP). 
+It has been tested with the ZCU102 and ZCU106 production boards.
+
+Evaluation board features can be found here with the links below.
+
+ZCU102:
+https://www.xilinx.com/products/boards-and-kits/zcu102.html
+
+ZCU106:
+https://www.xilinx.com/products/boards-and-kits/zcu106.html
 
-This document describes the Buildroot support for the ZCU106 board by
-Xilinx, based on the Zynq UltraScale+ MPSoC (aka ZynqMP). It has been
-tested with the EK-U1-ZCU106-ES2 pre-production board.
 
 How to build it
 ===============
@@ -32,7 +41,7 @@ After building, you should get a tree like this:
     +-- rootfs.ext4 -> rootfs.ext2
     +-- sdcard.img
     +-- system.dtb -> zynqmp-zcu106-revA.dtb
-    +-- u-boot.bin
+    +-- u-boot.itb
     `-- zynqmp-zcu106-revA.dtb
 
 How to write the SD card
diff --git a/board/zynqmp/zcu102/pm_cfg_obj.c b/board/zynqmp/zcu102/pm_cfg_obj.c
new file mode 100644
index 0000000000..68557c4cb4
--- /dev/null
+++ b/board/zynqmp/zcu102/pm_cfg_obj.c
@@ -0,0 +1,563 @@
+/******************************************************************************
+* Copyright (c) 2017 - 2021 Xilinx, Inc.  All rights reserved.
+* SPDX-License-Identifier: MIT
+******************************************************************************/
+
+#include "xil_types.h"
+#include "pm_defs.h"
+
+#define PM_CONFIG_MASTER_SECTION_ID	0x101U
+#define PM_CONFIG_SLAVE_SECTION_ID	0x102U
+#define PM_CONFIG_PREALLOC_SECTION_ID	0x103U
+#define PM_CONFIG_POWER_SECTION_ID	0x104U
+#define PM_CONFIG_RESET_SECTION_ID	0x105U
+#define PM_CONFIG_SHUTDOWN_SECTION_ID	0x106U
+#define PM_CONFIG_SET_CONFIG_SECTION_ID	0x107U
+#define PM_CONFIG_GPO_SECTION_ID	0x108U
+
+#define PM_SLAVE_FLAG_IS_SHAREABLE	0x1U
+#define PM_MASTER_USING_SLAVE_MASK	0x2U
+
+#define PM_CONFIG_GPO1_MIO_PIN_34_MAP	(1U << 10U)
+#define PM_CONFIG_GPO1_MIO_PIN_35_MAP	(1U << 11U)
+#define PM_CONFIG_GPO1_MIO_PIN_36_MAP	(1U << 12U)
+#define PM_CONFIG_GPO1_MIO_PIN_37_MAP	(1U << 13U)
+
+#define PM_CONFIG_GPO1_BIT_2_MASK	(1U << 2U)
+#define PM_CONFIG_GPO1_BIT_3_MASK	(1U << 3U)
+#define PM_CONFIG_GPO1_BIT_4_MASK	(1U << 4U)
+#define PM_CONFIG_GPO1_BIT_5_MASK	(1U << 5U)
+
+#define SUSPEND_TIMEOUT	0xFFFFFFFFU
+
+#define PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK    0x00000001
+#define PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK    0x00000100
+#define PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK    0x00000200
+
+
+
+#if defined (__ICCARM__)
+#pragma language=save
+#pragma language=extended
+#endif
+#if defined (__GNUC__)
+    const u32 XPm_ConfigObject[] __attribute__((used, section(".sys_cfg_data"))) =
+#elif defined (__ICCARM__)
+#pragma location = ".sys_cfg_data"
+__root const u32 XPm_ConfigObject[] =
+#endif
+{
+	/**********************************************************************/
+	/* HEADER */
+	2,	/* Number of remaining words in the header */
+	8,	/* Number of sections included in config object */
+	1U,	/* Type of config object as base */
+	/**********************************************************************/
+	/* MASTER SECTION */
+	PM_CONFIG_MASTER_SECTION_ID, /* Master SectionID */
+	3U, /* No. of Masters*/
+
+	NODE_APU, /* Master Node ID */
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, /* IPI Mask of this master */
+	SUSPEND_TIMEOUT, /* Suspend timeout */
+	PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Suspend permissions */
+	PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Wake permissions */
+
+	NODE_RPU_0, /* Master Node ID */
+	PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask of this master */
+	SUSPEND_TIMEOUT, /* Suspend timeout */
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Suspend permissions */
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Wake permissions */
+
+	NODE_RPU_1, /* Master Node ID */
+	PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask of this master */
+	SUSPEND_TIMEOUT, /* Suspend timeout */
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* Suspend permissions */
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* Wake permissions */
+
+
+	/**********************************************************************/
+	/* SLAVE SECTION */
+
+
+	PM_CONFIG_SLAVE_SECTION_ID,	/* Section ID */
+	49,				/* Number of slaves */
+
+	NODE_OCM_BANK_0,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_OCM_BANK_1,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_OCM_BANK_2,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_OCM_BANK_3,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_TCM_0_A,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */
+
+	NODE_TCM_0_B,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */
+
+	NODE_TCM_1_A,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_TCM_1_B,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_L2,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_GPU_PP_0,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_GPU_PP_1,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_USB_0,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_USB_1,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	0U, /* IPI Mask */
+
+	NODE_TTC_0,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_TTC_1,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_TTC_2,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_TTC_3,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_SATA,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_ETH_0,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	0U, /* IPI Mask */
+
+	NODE_ETH_1,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	0U, /* IPI Mask */
+
+	NODE_ETH_2,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	0U, /* IPI Mask */
+
+	NODE_ETH_3,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_UART_0,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_UART_1,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_SPI_0,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	0U, /* IPI Mask */
+
+	NODE_SPI_1,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	0U, /* IPI Mask */
+
+	NODE_I2C_0,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_I2C_1,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_SD_0,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	0U, /* IPI Mask */
+
+	NODE_SD_1,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_DP,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_GDMA,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_ADMA,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_NAND,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	0U, /* IPI Mask */
+
+	NODE_QSPI,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_GPIO,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_CAN_0,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	0U, /* IPI Mask */
+
+	NODE_CAN_1,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_EXTERN,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_DDR,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_IPI_APU,
+	0U,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, /* IPI Mask */
+
+	NODE_IPI_RPU_0,
+	0U,
+	PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */
+
+	NODE_IPI_RPU_1,
+	0U,
+	PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_GPU,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_PCIE,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_PCAP,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	0U, /* IPI Mask */
+
+	NODE_RTC,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+	NODE_VCU,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	0U, /* IPI Mask */
+
+	NODE_PL,
+	PM_SLAVE_FLAG_IS_SHAREABLE,
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */
+
+
+	/**********************************************************************/
+	/* PREALLOC SECTION */
+
+	PM_CONFIG_PREALLOC_SECTION_ID, /* Preallaoc SectionID */
+	3U, /* No. of Masters*/
+
+/* Prealloc for psu_cortexa53_0 */
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK,
+	12,
+	NODE_DDR,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_L2,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_OCM_BANK_0,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_OCM_BANK_1,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_OCM_BANK_2,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_OCM_BANK_3,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_I2C_0,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_I2C_1,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_SD_1,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_QSPI,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_PL,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_IPI_APU,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+
+	/* Prealloc for psu_cortexr5_0 */
+	PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK,
+	3,
+	NODE_TCM_0_A,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_TCM_0_B,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_IPI_RPU_0,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+
+	/* Prealloc for psu_cortexr5_1 */
+	PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	3,
+	NODE_TCM_1_A,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_TCM_1_B,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+	NODE_IPI_RPU_1,
+	PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */
+	PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */
+
+
+	
+	/**********************************************************************/
+	/* POWER SECTION */
+
+	PM_CONFIG_POWER_SECTION_ID, /* Power Section ID */
+	4U, /* Number of power nodes */
+
+	NODE_APU, /* Power node ID */
+	PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */
+
+	NODE_RPU, /* Power node ID */
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */
+
+	NODE_FPD, /* Power node ID */
+	PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */
+
+	NODE_PLD, /* Power node ID */
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */
+
+
+	/**********************************************************************/
+	/* RESET SECTION */
+
+	PM_CONFIG_RESET_SECTION_ID, /* Reset Section ID */
+	120U, /* Number of resets */
+
+	XILPM_RESET_PCIE_CFG, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_PCIE_BRIDGE, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_PCIE_CTRL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_DP, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_SWDT_CRF, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_AFI_FM5, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_AFI_FM4, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_AFI_FM3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_AFI_FM2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_AFI_FM1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_AFI_FM0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GDMA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPU_PP1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPU_PP0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPU, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_SATA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_ACPU3_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_ACPU2_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_ACPU1_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_ACPU0_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_APU_L2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_ACPU3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_ACPU2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_ACPU1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_ACPU0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_DDR, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_APM_FPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_SOFT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GEM0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GEM1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GEM2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GEM3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_QSPI, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_UART0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_UART1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_SPI0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_SPI1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_SDIO0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_SDIO1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_CAN0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_CAN1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_I2C0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_I2C1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_TTC0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_TTC1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_TTC2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_TTC3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_SWDT_CRL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_NAND, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_ADMA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPIO, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_IOU_CC, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_TIMESTAMP, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_RPU_R50, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_RPU_R51, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_RPU_AMBA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_OCM, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_RPU_PGE, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_USB0_CORERESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_USB1_CORERESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_USB0_HIBERRESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_USB1_HIBERRESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_USB0_APB, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_USB1_APB, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_IPI, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_APM_LPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_RTC, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_SYSMON, 0,
+	XILPM_RESET_AFI_FM6, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_LPD_SWDT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_FPD, PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK,
+	XILPM_RESET_RPU_DBG1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_RPU_DBG0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_DBG_LPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_DBG_FPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_APLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_DPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_VPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_IOPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_RPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_4, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_5, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_6, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_7, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_8, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_9, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_10, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_11, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_12, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_13, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_14, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_15, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_16, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_17, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_18, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_19, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_20, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_21, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_22, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_23, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_24, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_25, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_26, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_27, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_28, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_29, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_30, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPO3_PL_31, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_RPU_LS, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_PS_ONLY, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_PL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPIO5_EMIO_92, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPIO5_EMIO_93, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPIO5_EMIO_94, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+	XILPM_RESET_GPIO5_EMIO_95, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK,
+
+	/**********************************************************************/
+	/* SET CONFIG SECTION */
+	PM_CONFIG_SET_CONFIG_SECTION_ID,		/* Set Config Section ID */
+	0U, /* Permissions to load base config object */
+	0U, /* Permissions to load overlay config object */
+
+	/**********************************************************************/
+	/* SHUTDOWN SECTION */
+
+	PM_CONFIG_SHUTDOWN_SECTION_ID, /* Shutdown Section ID */
+	PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* System Shutdown/Restart Permission */
+
+	/**********************************************************************/
+	/* GPO SECTION */
+	PM_CONFIG_GPO_SECTION_ID,		/* GPO Section ID */
+	PM_CONFIG_GPO1_BIT_2_MASK |
+	PM_CONFIG_GPO1_MIO_PIN_34_MAP |
+	PM_CONFIG_GPO1_MIO_PIN_35_MAP |
+	PM_CONFIG_GPO1_MIO_PIN_36_MAP |
+	PM_CONFIG_GPO1_MIO_PIN_37_MAP |
+	0,					/* State of GPO pins */
+};
+#if defined (__ICCARM__)
+#pragma language=restore
+#endif
+
diff --git a/configs/zynqmp_zcu102_defconfig b/configs/zynqmp_zcu102_defconfig
new file mode 100644
index 0000000000..6e9e50ca77
--- /dev/null
+++ b/configs/zynqmp_zcu102_defconfig
@@ -0,0 +1,39 @@
+BR2_aarch64=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y
+BR2_ROOTFS_POST_BUILD_SCRIPT="board/zynqmp/post-build.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynqmp/post-image.sh"
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://github.com/Xilinx/linux-xlnx.git"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="966124532656bc95d781abf57531e4cd4f962237"
+BR2_LINUX_KERNEL_DEFCONFIG="xilinx_zynqmp"
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="xilinx/zynqmp-zcu102-rev1.0"
+BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+# BR2_TARGET_ROOTFS_TAR is not set
+BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/Xilinx/arm-trusted-firmware.git"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="e678d5ddc475f34dea8f5004fb6ebde118621784"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="zynqmp"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31_UBOOT=y
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
+BR2_TARGET_UBOOT_CUSTOM_GIT=y
+BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://github.com/Xilinx/u-boot-xlnx.git"
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="667001319cbe511ce6353195fb4910ae5cb041ce"
+BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_zynqmp_virt"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
+BR2_TARGET_UBOOT_SPL=y
+BR2_TARGET_UBOOT_SPL_NAME="spl/boot.bin"
+BR2_TARGET_UBOOT_ZYNQMP=y
+BR2_TARGET_UBOOT_ZYNQMP_PMUFW="https://github.com/lucaceresoli/zynqmp-pmufw-binaries/raw/v2021.2/bin/pmufw-v2021.2.bin"
+BR2_TARGET_UBOOT_ZYNQMP_PM_CFG="board/zynqmp/zcu102/pm_cfg_obj.c"
+BR2_TARGET_UBOOT_FORMAT_ITB=y
+BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y
+BR2_PACKAGE_HOST_DOSFSTOOLS=y
+BR2_PACKAGE_HOST_GENIMAGE=y
+BR2_PACKAGE_HOST_MTOOLS=y
-- 
2.17.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* Re: [Buildroot] [PATCH v6 1/2] configs/zynqmp_zcu106: bump ATF/U-Boot/Linux to Xilinx 2022
  2022-02-11 14:44 [Buildroot] [PATCH v6 1/2] configs/zynqmp_zcu106: bump ATF/U-Boot/Linux to Xilinx 2022 Neal Frager
  2022-02-11 14:44 ` [Buildroot] [PATCH v6 2/2] add configs/zynqmp_zcu102_defconfig Neal Frager
@ 2022-02-12 13:13 ` Luca Ceresoli
  2022-02-12 13:18   ` Neal Frager
  2022-02-12 13:45   ` Peter Korsgaard
  2022-02-12 13:42 ` Peter Korsgaard
  2 siblings, 2 replies; 17+ messages in thread
From: Luca Ceresoli @ 2022-02-12 13:13 UTC (permalink / raw)
  To: Neal Frager, buildroot; +Cc: giulio.benetti, michal.simek

Hi Neal,

On 11/02/22 15:44, Neal Frager wrote:
[...]
> diff --git a/board/zynqmp/zcu106/pm_cfg_obj.c b/board/zynqmp/zcu106/pm_cfg_obj.c
> new file mode 100644
> index 0000000000..6d15d510e9
> --- /dev/null
> +++ b/board/zynqmp/zcu106/pm_cfg_obj.c
> @@ -0,0 +1,562 @@
> +/******************************************************************************
> +* Copyright (c) 2017 - 2021 Xilinx, Inc.  All rights reserved.
> +* SPDX-License-Identifier: MIT
> +******************************************************************************/
> +
> +#include "xil_types.h"
> +#include "pm_defs.h"
> +
> +#define PM_CONFIG_MASTER_SECTION_ID	0x101U
> +#define PM_CONFIG_SLAVE_SECTION_ID	0x102U
> +#define PM_CONFIG_PREALLOC_SECTION_ID	0x103U
> +#define PM_CONFIG_POWER_SECTION_ID	0x104U
> +#define PM_CONFIG_RESET_SECTION_ID	0x105U
> +#define PM_CONFIG_SHUTDOWN_SECTION_ID	0x106U
> +#define PM_CONFIG_SET_CONFIG_SECTION_ID	0x107U
> +#define PM_CONFIG_GPO_SECTION_ID	0x108U
> +
> +#define PM_SLAVE_FLAG_IS_SHAREABLE	0x1U
> +#define PM_MASTER_USING_SLAVE_MASK	0x2U
> +
> +#define PM_CONFIG_GPO1_MIO_PIN_34_MAP	(1U << 10U)
> +#define PM_CONFIG_GPO1_MIO_PIN_35_MAP	(1U << 11U)
> +#define PM_CONFIG_GPO1_MIO_PIN_36_MAP	(1U << 12U)
> +#define PM_CONFIG_GPO1_MIO_PIN_37_MAP	(1U << 13U)
> +
> +#define PM_CONFIG_GPO1_BIT_2_MASK	(1U << 2U)
> +#define PM_CONFIG_GPO1_BIT_3_MASK	(1U << 3U)
> +#define PM_CONFIG_GPO1_BIT_4_MASK	(1U << 4U)
> +#define PM_CONFIG_GPO1_BIT_5_MASK	(1U << 5U)
> +
> +#define SUSPEND_TIMEOUT	0xFFFFFFFFU
> +
> +#define PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK    0x00000001
> +#define PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK    0x00000100
> +#define PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK    0x00000200
> +
> +
> +
> +#if defined (__ICCARM__)
> +#pragma language=save
> +#pragma language=extended
> +#endif
> +#if defined (__GNUC__)
> +    const u32 XPm_ConfigObject[] __attribute__((used, section(".sys_cfg_data"))) =
> +#elif defined (__ICCARM__)
> +#pragma location = ".sys_cfg_data"
> +__root const u32 XPm_ConfigObject[] =
> +#endif
> +{
> +	/**********************************************************************/
> +	/* HEADER */
> +	2,	/* Number of remaining words in the header */
> +	8,	/* Number of sections included in config object */
> +	1U,	/* Type of config object as base */

Here's where you have manually replaced "PM_CONFIG_OBJECT_TYPE_BASE" ->
"1U", right? Well, it should be well noted in the commit message. This
file is supposed to be generated by Vitis and used untouched, any manual
edits whould be documented.

Or, even better, use the U-Boot patch I sent (see other e-mail I just
wrote) and use an unmodified pm_cfg_obj.c

-- 
Luca
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Buildroot] [PATCH v6 1/2] configs/zynqmp_zcu106: bump ATF/U-Boot/Linux to Xilinx 2022
  2022-02-12 13:13 ` [Buildroot] [PATCH v6 1/2] configs/zynqmp_zcu106: bump ATF/U-Boot/Linux to Xilinx 2022 Luca Ceresoli
@ 2022-02-12 13:18   ` Neal Frager
  2022-02-12 13:45   ` Peter Korsgaard
  1 sibling, 0 replies; 17+ messages in thread
From: Neal Frager @ 2022-02-12 13:18 UTC (permalink / raw)
  To: Luca Ceresoli; +Cc: giulio.benetti, Michal Simek, buildroot

Hi Luca,

> 
> Here's where you have manually replaced "PM_CONFIG_OBJECT_TYPE_BASE" ->
> "1U", right? Well, it should be well noted in the commit message. This
> file is supposed to be generated by Vitis and used untouched, any manual
> edits whould be documented.
> 
> Or, even better, use the U-Boot patch I sent (see other e-mail I just
> wrote) and use an unmodified pm_cfg_obj.c
> 
> --
> Luca

Yes, exactly.  I just deleted the define and replaced the one line where it was used with the 1U value.

Unfortunately, I am on vacation this week, which is why I wanted to get the v6 patch in so quickly.

I leave it up to Giulio and Peter if this patch can be accepted as is, or if we need to wait until I return in order to submit a new version of the patch.

It would be really great if we can get this included in time for the 2022 long term support version of buildroot.

Thanks for everyone’s support!

Best regards,
Neal Frager
Xilinx

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Buildroot] [PATCH v6 1/2] configs/zynqmp_zcu106: bump ATF/U-Boot/Linux to Xilinx 2022
  2022-02-11 14:44 [Buildroot] [PATCH v6 1/2] configs/zynqmp_zcu106: bump ATF/U-Boot/Linux to Xilinx 2022 Neal Frager
  2022-02-11 14:44 ` [Buildroot] [PATCH v6 2/2] add configs/zynqmp_zcu102_defconfig Neal Frager
  2022-02-12 13:13 ` [Buildroot] [PATCH v6 1/2] configs/zynqmp_zcu106: bump ATF/U-Boot/Linux to Xilinx 2022 Luca Ceresoli
@ 2022-02-12 13:42 ` Peter Korsgaard
  2022-02-23 10:04   ` Peter Korsgaard
  2 siblings, 1 reply; 17+ messages in thread
From: Peter Korsgaard @ 2022-02-12 13:42 UTC (permalink / raw)
  To: Neal Frager; +Cc: luca, giulio.benetti, michal.simek, buildroot

>>>>> "Neal" == Neal Frager <neal.frager@xilinx.com> writes:

 > This patch:
 > - bumps ATF to Xilinx v2.6: mainline v2.6 requires patch to build
 > - bumps U-Boot to Xilinx 2022.01: important drivers not in mainline
 > - bumps Linux to Xilinx 5.15: important drivers not in mainline
 > - deletes board/zynqmp/patches directory: patches already in mainline
 > - modifies board/zynqmp/genimage.cfg: U-Boot 2022.01 uses u-boot.itb format
 > - adds extlinux.conf to vfat bootfs
 > - modifies U-Boot to unified xilinx_zynqmp_virt_defconfig (supports all boards)
 > - adds support for SPL pm_cfg_obj.c loading to PMU firmware
 > - enables support for host machines without OpenSSL required by U-Boot and Linux

 > Signed-off-by: Neal Frager <neal.frager@xilinx.com>
 > Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
 > Tested-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
 > [Giulio: only build tested]

 > +++ b/configs/zynqmp_zcu106_defconfig
 > @@ -1,34 +1,39 @@
 >  BR2_aarch64=y
 > -BR2_GLOBAL_PATCH_DIR="board/zynqmp/patches/"
 > -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
 > +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y
 > +BR2_ROOTFS_POST_BUILD_SCRIPT="board/zynqmp/post-build.sh"
 >  BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynqmp/post-image.sh"
 >  BR2_LINUX_KERNEL=y
 >  BR2_LINUX_KERNEL_CUSTOM_GIT=y
 >  BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://github.com/Xilinx/linux-xlnx.git"
 > -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xilinx-v2017.4"
 > +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="966124532656bc95d781abf57531e4cd4f962237"

The git hashes do not make it directly clear what version this is, so I
changed it to use the output of describe --abbrev=40 <commit> which adds
a prefix like v5.15-930-g in front, directly making it clear that this
is based on upstream 5.15 with 930 patches on top.

I've done it for ATF and U-Boot as well and committed, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Buildroot] [PATCH v6 2/2] add configs/zynqmp_zcu102_defconfig
  2022-02-11 14:44 ` [Buildroot] [PATCH v6 2/2] add configs/zynqmp_zcu102_defconfig Neal Frager
@ 2022-02-12 13:43   ` Peter Korsgaard
  0 siblings, 0 replies; 17+ messages in thread
From: Peter Korsgaard @ 2022-02-12 13:43 UTC (permalink / raw)
  To: Neal Frager; +Cc: luca, giulio.benetti, michal.simek, buildroot

>>>>> "Neal" == Neal Frager <neal.frager@xilinx.com> writes:

 > This patch:
 > - adds support for Xilinx ZCU102 evaluation board
 > - ZCU102 features can be found here:
 > https://www.xilinx.com/products/boards-and-kits/zcu102.html

 > Signed-off-by: Neal Frager <neal.frager@xilinx.com>
 > Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
 > Tested-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
 > [Giulio: only build tested]

 > ---
 V1-> V2:
 > * fixed general build issues
 > * added extlinux.conf for run-time boot issue
 V2-> V3:
 > * enabled support for host machines without OpenSSL required by U-Boot and Linux
 > * moved readme.txt update to zynqmp_zcu102_defconfig patch 2/2
 V3-> V4:
 > * cleaned up commit log messages
 > * added version history
 V4-> V5:
 > * switched to sha1 urls to make ATF, U-Boot and Linux builds reproducible
 > * generated board specific pm_cfg_obj.c files with vitis 2021.2
 V5-> V6:
 > * fixed build issue with pm_cfg_obj.c files
 > ---
 > ---
 >  board/zynqmp/readme.txt          |  23 +-
 >  board/zynqmp/zcu102/pm_cfg_obj.c | 563 +++++++++++++++++++++++++++++++
 >  configs/zynqmp_zcu102_defconfig  |  39 +++
 >  3 files changed, 618 insertions(+), 7 deletions(-)
 >  create mode 100644 board/zynqmp/zcu102/pm_cfg_obj.c
 >  create mode 100644 configs/zynqmp_zcu102_defconfig

You forgot to add an entry to the DEVELOPERS file for it, so I've done
that, changed the git hashes with the git describe output like I
explained for zcu106 and committed, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Buildroot] [PATCH v6 1/2] configs/zynqmp_zcu106: bump ATF/U-Boot/Linux to Xilinx 2022
  2022-02-12 13:13 ` [Buildroot] [PATCH v6 1/2] configs/zynqmp_zcu106: bump ATF/U-Boot/Linux to Xilinx 2022 Luca Ceresoli
  2022-02-12 13:18   ` Neal Frager
@ 2022-02-12 13:45   ` Peter Korsgaard
  2022-02-12 14:47     ` Neal Frager
  2022-02-23 10:05     ` Peter Korsgaard
  1 sibling, 2 replies; 17+ messages in thread
From: Peter Korsgaard @ 2022-02-12 13:45 UTC (permalink / raw)
  To: Luca Ceresoli; +Cc: Neal Frager, giulio.benetti, michal.simek, buildroot

>>>>> "Luca" == Luca Ceresoli <luca@lucaceresoli.net> writes:

Hi,

 >> +#endif
 >> +{
 >> +	/**********************************************************************/
 >> +	/* HEADER */
 >> +	2,	/* Number of remaining words in the header */
 >> +	8,	/* Number of sections included in config object */
 >> +	1U,	/* Type of config object as base */

 > Here's where you have manually replaced "PM_CONFIG_OBJECT_TYPE_BASE" ->
 > "1U", right? Well, it should be well noted in the commit message. This
 > file is supposed to be generated by Vitis and used untouched, any manual
 > edits whould be documented.

 > Or, even better, use the U-Boot patch I sent (see other e-mail I just
 > wrote) and use an unmodified pm_cfg_obj.c

Ups, I applied the series before seeing this comment. Lets handle it as
a followup patch for zcu102/106.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Buildroot] [PATCH v6 1/2] configs/zynqmp_zcu106: bump ATF/U-Boot/Linux to Xilinx 2022
  2022-02-12 13:45   ` Peter Korsgaard
@ 2022-02-12 14:47     ` Neal Frager
  2022-02-23 10:05     ` Peter Korsgaard
  1 sibling, 0 replies; 17+ messages in thread
From: Neal Frager @ 2022-02-12 14:47 UTC (permalink / raw)
  To: Peter Korsgaard; +Cc: Luca Ceresoli, giulio.benetti, Michal Simek, buildroot

Hi Peter,

> 
> Ups, I applied the series before seeing this comment. Lets handle it as
> a followup patch for zcu102/106.
> 
> --
> Bye, Peter Korsgaard

Yes, I agree.  I will make another patch to cover this when I return from my vacation the week of February 21st.  

Thank you for applying this patch set and for all your support!

Thank you to Giulio and Luca as well!

Best regards,
Neal Frager
Xilinx
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Buildroot] [PATCH v6 1/2] configs/zynqmp_zcu106: bump ATF/U-Boot/Linux to Xilinx 2022
  2022-02-12 13:42 ` Peter Korsgaard
@ 2022-02-23 10:04   ` Peter Korsgaard
  2022-02-23 11:02     ` Neal Frager
  2022-02-23 11:07     ` Neal Frager
  0 siblings, 2 replies; 17+ messages in thread
From: Peter Korsgaard @ 2022-02-23 10:04 UTC (permalink / raw)
  To: Neal Frager; +Cc: luca, giulio.benetti, michal.simek, buildroot

Hi,

>>>>> "Neal" == Neal Frager <neal.frager@xilinx.com> writes:
 >> This patch:
 >> - bumps ATF to Xilinx v2.6: mainline v2.6 requires patch to build
 >> - bumps U-Boot to Xilinx 2022.01: important drivers not in mainline
 >> - bumps Linux to Xilinx 5.15: important drivers not in mainline
 >> - deletes board/zynqmp/patches directory: patches already in mainline
 >> - modifies board/zynqmp/genimage.cfg: U-Boot 2022.01 uses u-boot.itb format
 >> - adds extlinux.conf to vfat bootfs
 >> - modifies U-Boot to unified xilinx_zynqmp_virt_defconfig (supports all boards)
 >> - adds support for SPL pm_cfg_obj.c loading to PMU firmware
 >> - enables support for host machines without OpenSSL required by U-Boot and Linux

 >> Signed-off-by: Neal Frager <neal.frager@xilinx.com>
 >> Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
 >> Tested-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
 >> [Giulio: only build tested]

 >> +++ b/configs/zynqmp_zcu106_defconfig
 >> @@ -1,34 +1,39 @@
 >> BR2_aarch64=y
 >> -BR2_GLOBAL_PATCH_DIR="board/zynqmp/patches/"
 >> -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
 >> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y
 >> +BR2_ROOTFS_POST_BUILD_SCRIPT="board/zynqmp/post-build.sh"
 >> BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynqmp/post-image.sh"
 >> BR2_LINUX_KERNEL=y
 >> BR2_LINUX_KERNEL_CUSTOM_GIT=y
 >> BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://github.com/Xilinx/linux-xlnx.git"
 >> -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xilinx-v2017.4"
 >> +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="966124532656bc95d781abf57531e4cd4f962237"

 > The git hashes do not make it directly clear what version this is, so I
 > changed it to use the output of describe --abbrev=40 <commit> which adds
 > a prefix like v5.15-930-g in front, directly making it clear that this
 > is based on upstream 5.15 with 930 patches on top.

 > I've done it for ATF and U-Boot as well and committed, thanks.

Hmm, did you test this on a zcu106 board?

I just got access to a zcu106 rev 1.0 board and gave it a try here, and
see nothing on either of the serial ports.

Looking at the u-boot configuration I see that
xilinx_zynqmp_virt_defconfig sets:

CONFIG_DEFAULT_DEVICE_TREE="zynqmp-zcu100-revC"

Which seems to have a different uart and pinmuxing setup. Changing that
to zynqmp-zcu106-revA it does boot (but complains here and there).

This is the first time I use a zcu106, so maybe I am missing something,
but I don't understand how it can work for you with the zcu100 DTB?

Are the kernel BUG splashes expected? Boot log:


U-Boot SPL 2022.01 (Feb 23 2022 - 10:35:14 +0100)
PMUFW:  v1.1
Loading new PMUFW cfg obj (2032 bytes)
Silicon version:        3
EL Level:       EL3
Chip ID:        zu7e
Multiboot:      0
Trying to boot from MMC2
spl: could not initialize mmc. error: -19
Trying to boot from MMC1
spl_load_image_fat_os: error reading image u-boot.bin, err - -2
NOTICE:  BL31: v2.6(release):2022.02-rc2-4-g1a0d90d8ab
NOTICE:  BL31: Built : 10:05:33, Feb 23 2022


U-Boot 2022.01 (Feb 23 2022 - 10:06:21 +0100)

CPU:   ZynqMP
Silicon: v3
Model: ZynqMP ZCU106 RevA
Board: Xilinx ZynqMP
DRAM:  4 GiB
PMUFW:  v1.1
Xilinx I2C Legacy format at nvmem0:
 Board name:    zcu106
 Board rev:     1.0
 Board SN:      921730071832-88916
EL Level:       EL2
Chip ID:        zu7e
NAND:  0 MiB
MMC:   mmc@ff170000: 0
Loading Environment from FAT... *** Error - No Valid Environment Area found
*** Warning - bad env area, using default environment

In:    serial
Out:   serial
Err:   serial
Bootmode: LVL_SHFT_SD_MODE1
Reset reason:   EXTERNAL
Net:
ZYNQ GEM: ff0e0000, mdio bus ff0e0000, phyaddr 12, interface rgmii-id
zynq_gem ethernet@ff0e0000: Failed to read eth PHY id, err: -2

Warning: ethernet@ff0e0000 (eth0) using random MAC address - 8a:9d:6d:13:b4:42
eth0: ethernet@ff0e0000
scanning bus for devices...
SATA link 0 timeout.
SATA link 1 timeout.
AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
flags: 64bit ncq pm clo only pmp fbss pio slum part ccc apst
starting USB...
Bus usb@fe200000: Register 2000440 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus usb@fe200000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
1:      linux
Retrieving file: /Image
append: console=ttyPS0,115200 root=/dev/mmcblk0p2 rw rootwait
Retrieving file: /system.dtb
## Flattened Device Tree blob at 40000000
   Booting using the fdt blob at 0x40000000
   Loading Device Tree to 000000007bdf4000, end 000000007be00998 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.0 (peko@dell) (aarch64-buildroot-linux-uclibc-gcc.br_real (Buildroot 2022.02-rc2-4-g1a0d90d8ab) 10.3.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP Wed Feb 23 10:07:13 CET 2022
[    0.000000] Machine model: ZynqMP ZCU106 RevA
[    0.000000] efi: UEFI not found.
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000000000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000087fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000]   node   0: [mem 0x0000000800000000-0x000000087fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000087fffffff]
[    0.000000] cma: Reserved 256 MiB at 0x000000006bc00000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 18 pages/cpu s33048 r8192 d32488 u73728
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1034240
[    0.000000] Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 rw rootwait
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x000000007c000000-0x0000000080000000] (64MB)
[    0.000000] Memory: 3772724K/4194304K available (13632K kernel code, 908K rwdata, 3872K rodata, 1984K init, 307K bss, 159436K reserved, 262144K cma-reserved)
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x470/0x6f8 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 100.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x171024e7e0, max_idle_ns: 440795205315 ns
[    0.000000] sched_clock: 56 bits at 100MHz, resolution 10ns, wraps every 4398046511100ns
[    0.000288] Console: colour dummy device 80x25
[    0.000321] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=400000)
[    0.000332] pid_max: default: 32768 minimum: 301
[    0.000438] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.000457] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.001273] rcu: Hierarchical SRCU implementation.
[    0.001528] EFI services will not be available.
[    0.001653] smp: Bringing up secondary CPUs ...
[    0.001990] Detected VIPT I-cache on CPU1
[    0.002027] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.002403] Detected VIPT I-cache on CPU2
[    0.002427] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.002769] Detected VIPT I-cache on CPU3
[    0.002792] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.002835] smp: Brought up 1 node, 4 CPUs
[    0.002852] SMP: Total of 4 processors activated.
[    0.002857] CPU features: detected: 32-bit EL0 Support
[    0.002862] CPU features: detected: CRC32 instructions
[    0.002902] CPU: All CPU(s) started at EL2
[    0.002918] alternatives: patching kernel code
[    0.003960] devtmpfs: initialized
[    0.009544] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.009562] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.017810] pinctrl core: initialized pinctrl subsystem
[    0.018441] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.019418] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.019518] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.019556] audit: initializing netlink subsys (disabled)
[    0.019631] audit: type=2000 audit(0.016:1): state=initialized audit_enabled=0 res=1
[    0.019926] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.020003] ASID allocator initialised with 65536 entries
[    0.037264] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.037277] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.037284] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.037290] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    1.101889] DRBG: Continuing without Jitter RNG
[    1.204745] raid6: neonx8   gen()  2143 MB/s
[    1.272796] raid6: neonx8   xor()  1594 MB/s
[    1.340859] raid6: neonx4   gen()  2184 MB/s
[    1.408910] raid6: neonx4   xor()  1577 MB/s
[    1.476970] raid6: neonx2   gen()  2069 MB/s
[    1.545023] raid6: neonx2   xor()  1453 MB/s
[    1.613092] raid6: neonx1   gen()  1802 MB/s
[    1.681135] raid6: neonx1   xor()  1240 MB/s
[    1.749185] raid6: int64x8  gen()  1471 MB/s
[    1.817242] raid6: int64x8  xor()   785 MB/s
[    1.885301] raid6: int64x4  gen()  1582 MB/s
[    1.953353] raid6: int64x4  xor()   841 MB/s
[    2.021426] raid6: int64x2  gen()  1397 MB/s
[    2.089481] raid6: int64x2  xor()   750 MB/s
[    2.157554] raid6: int64x1  gen()  1187 MB/s
[    2.225592] raid6: int64x1  xor()   596 MB/s
[    2.225598] raid6: using algorithm neonx4 gen() 2184 MB/s
[    2.225603] raid6: .... xor() 1577 MB/s, rmw enabled
[    2.225608] raid6: using neon recovery algorithm
[    2.225975] iommu: Default domain type: Translated
[    2.225982] iommu: DMA domain TLB invalidation policy: strict mode
[    2.226202] SCSI subsystem initialized
[    2.226349] usbcore: registered new interface driver usbfs
[    2.226377] usbcore: registered new interface driver hub
[    2.226400] usbcore: registered new device driver usb
[    2.226454] mc: Linux media interface: v0.10
[    2.226473] videodev: Linux video capture interface: v2.00
[    2.226509] pps_core: LinuxPPS API ver. 1 registered
[    2.226514] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.226526] PTP clock support registered
[    2.226553] EDAC MC: Ver: 3.0.0
[    2.226836] zynqmp-ipi-mbox mailbox@ff990400: Registered ZynqMP IPI mbox with TX/RX channels.
[    2.227024] FPGA manager framework
[    2.227145] Advanced Linux Sound Architecture Driver Initialized.
[    2.227429] Bluetooth: Core ver 2.22
[    2.227453] NET: Registered PF_BLUETOOTH protocol family
[    2.227459] Bluetooth: HCI device and connection manager initialized
[    2.227467] Bluetooth: HCI socket layer initialized
[    2.227474] Bluetooth: L2CAP socket layer initialized
[    2.227485] Bluetooth: SCO socket layer initialized
[    2.227775] clocksource: Switched to clocksource arch_sys_counter
[    2.227873] VFS: Disk quotas dquot_6.6.0
[    2.227912] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    2.231825] NET: Registered PF_INET protocol family
[    2.231947] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    2.233469] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    2.233516] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    2.233722] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    2.234105] TCP: Hash tables configured (established 32768 bind 32768)
[    2.234173] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    2.234250] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    2.234400] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    2.234694] RPC: Registered named UNIX socket transport module.
[    2.234702] RPC: Registered udp transport module.
[    2.234706] RPC: Registered tcp transport module.
[    2.234710] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.235296] PCI: CLS 0 bytes, default 64
[    2.235581] armv8-pmu pmu: hw perfevents: no interrupt-affinity property, guessing.
[    2.235746] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    2.236515] Initialise system trusted keyrings
[    2.236595] workingset: timestamp_bits=62 max_order=20 bucket_order=0
[    2.237148] NFS: Registering the id_resolver key type
[    2.237162] Key type id_resolver registered
[    2.237167] Key type id_legacy registered
[    2.237184] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.237190] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    2.237207] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    2.273154] NET: Registered PF_ALG protocol family
[    2.273167] xor: measuring software checksum speed
[    2.277216]    8regs           :  2438 MB/sec
[    2.280739]    32regs          :  2800 MB/sec
[    2.285008]    arm64_neon      :  2309 MB/sec
[    2.285014] xor: using function: 32regs (2800 MB/sec)
[    2.285021] Key type asymmetric registered
[    2.285026] Asymmetric key parser 'x509' registered
[    2.285062] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    2.285069] io scheduler mq-deadline registered
[    2.285075] io scheduler kyber registered
[    2.309548] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    2.312677] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    2.316619] brd: module loaded
[    2.319780] loop: module loaded
[    2.320496] mtdoops: mtd device (mtddev=name/number) must be supplied
[    2.321724] libphy: Fixed MDIO Bus: probed
[    2.322824] tun: Universal TUN/TAP device driver, 1.6
[    2.322904] CAN device driver interface
[    2.323561] usbcore: registered new interface driver asix
[    2.323600] usbcore: registered new interface driver ax88179_178a
[    2.323625] usbcore: registered new interface driver cdc_ether
[    2.323647] usbcore: registered new interface driver net1080
[    2.323669] usbcore: registered new interface driver cdc_subset
[    2.323692] usbcore: registered new interface driver zaurus
[    2.323724] usbcore: registered new interface driver cdc_ncm
[    2.324408] usbcore: registered new interface driver uas
[    2.324440] usbcore: registered new interface driver usb-storage
[    2.325070] rtc_zynqmp ffa60000.rtc: registered as rtc0
[    2.325087] rtc_zynqmp ffa60000.rtc: setting system clock to 2021-01-18T20:15:26 UTC (1611000926)
[    2.325153] i2c_dev: i2c /dev entries driver
[    2.326567] usbcore: registered new interface driver uvcvideo
[    2.327362] Bluetooth: HCI UART driver ver 2.3
[    2.327370] Bluetooth: HCI UART protocol H4 registered
[    2.327376] Bluetooth: HCI UART protocol BCSP registered
[    2.327394] Bluetooth: HCI UART protocol LL registered
[    2.327400] Bluetooth: HCI UART protocol ATH3K registered
[    2.327416] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    2.327453] Bluetooth: HCI UART protocol Intel registered
[    2.327470] Bluetooth: HCI UART protocol QCA registered
[    2.327499] usbcore: registered new interface driver bcm203x
[    2.327525] usbcore: registered new interface driver bpa10x
[    2.327550] usbcore: registered new interface driver bfusb
[    2.327576] usbcore: registered new interface driver btusb
[    2.327616] usbcore: registered new interface driver ath3k
[    2.327688] EDAC MC: ECC not enabled
[    2.327829] EDAC DEVICE0: Giving out device to module edac controller cache_err: DEV edac (POLLED)
[    2.327977] EDAC DEVICE1: Giving out device to module zynqmp-ocm-edac controller zynqmp_ocm: DEV ff960000.memory-controller (INTERRUPT)
[    2.328309] sdhci: Secure Digital Host Controller Interface driver
[    2.328315] sdhci: Copyright(c) Pierre Ossman
[    2.328319] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.328645] ledtrig-cpu: registered to indicate activity on CPUs
[    2.328735] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    2.328772] zynqmp_firmware_probe Platform Management API v1.1
[    2.328780] zynqmp_firmware_probe Trustzone version v1.0
[    2.358985] securefw securefw: securefw probed
[    2.359229] alg: No test for xilinx-zynqmp-aes (zynqmp-aes)
[    2.359249] zynqmp_aes firmware:zynqmp-firmware:zynqmp-aes: AES Successfully Registered
[    2.359423] alg: No test for xilinx-keccak-384 (zynqmp-keccak-384)
[    2.359595] alg: No test for xilinx-zynqmp-rsa (zynqmp-rsa)
[    2.359737] usbcore: registered new interface driver usbhid
[    2.359744] usbhid: USB HID core driver
[    2.361013] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[    2.361338] usbcore: registered new interface driver snd-usb-audio
[    2.362114] pktgen: Packet Generator for packet performance testing. Version: 2.75
[    2.362489] Initializing XFRM netlink socket
[    2.362565] NET: Registered PF_INET6 protocol family
[    2.363069] Segment Routing with IPv6
[    2.363087] In-situ OAM (IOAM) with IPv6
[    2.363138] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.363447] NET: Registered PF_PACKET protocol family
[    2.363462] NET: Registered PF_KEY protocol family
[    2.363482] can: controller area network core
[    2.363508] NET: Registered PF_CAN protocol family
[    2.363514] can: raw protocol
[    2.363520] can: broadcast manager protocol
[    2.363527] can: netlink gateway - max_hops=1
[    2.363619] Bluetooth: RFCOMM TTY layer initialized
[    2.363632] Bluetooth: RFCOMM socket layer initialized
[    2.363647] Bluetooth: RFCOMM ver 1.11
[    2.363656] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.363662] Bluetooth: BNEP filters: protocol multicast
[    2.363669] Bluetooth: BNEP socket layer initialized
[    2.363674] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.363681] Bluetooth: HIDP socket layer initialized
[    2.363819] 9pnet: Installing 9P2000 support
[    2.363839] Key type dns_resolver registered
[    2.363942] registered taskstats version 1
[    2.363948] Loading compiled-in X.509 certificates
[    2.364918] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
[    2.373064] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 42, base_baud = 6249999) is a xuartps
[    3.672506] printk: console [ttyPS0] enabled
[    3.677493] ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 43, base_baud = 6249999) is a xuartps
[    3.686810] of-fpga-region fpga-full: FPGA Region probed
[    3.693554] xilinx-zynqmp-dma fd500000.dma-controller: ZynqMP DMA driver Probe success
[    3.701632] xilinx-zynqmp-dma fd510000.dma-controller: ZynqMP DMA driver Probe success
[    3.709702] xilinx-zynqmp-dma fd520000.dma-controller: ZynqMP DMA driver Probe success
[    3.717776] xilinx-zynqmp-dma fd530000.dma-controller: ZynqMP DMA driver Probe success
[    3.725847] xilinx-zynqmp-dma fd540000.dma-controller: ZynqMP DMA driver Probe success
[    3.733921] xilinx-zynqmp-dma fd550000.dma-controller: ZynqMP DMA driver Probe success
[    3.741994] xilinx-zynqmp-dma fd560000.dma-controller: ZynqMP DMA driver Probe success
[    3.750063] xilinx-zynqmp-dma fd570000.dma-controller: ZynqMP DMA driver Probe success
[    3.758379] xilinx-zynqmp-dpdma fd4c0000.dma-controller: Xilinx DPDMA engine is probed
[    3.767022] spi-nor spi0.0: found mt25qu512a, expected m25p80
[    3.773292] spi-nor spi0.0: mt25qu512a (131072 Kbytes)
[    3.778451] 4 fixed-partitions partitions found on MTD device spi0.0
[    3.784796] Creating 4 MTD partitions on "spi0.0":
[    3.789581] 0x000000000000-0x000000100000 : "qspi-fsbl-uboot"
[    3.796118] 0x000000100000-0x000000600000 : "qspi-linux"
[    3.802113] 0x000000600000-0x000000620000 : "qspi-device-tree"
[    3.808615] 0x000000620000-0x000000c00000 : "qspi-rootfs"
[    3.817419] macb ff0e0000.ethernet: Not enabling partial store and forward
[    3.824936] libphy: MACB_mii_bus: probed
[    3.829496] macb ff0e0000.ethernet eth0: Cadence GEM rev 0x50070106 at 0xff0e0000 irq 30 (8a:9d:6d:13:b4:42)
[    3.839620] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
[    3.846207] xilinx-axipmon fd0b0000.perf-monitor: Probed Xilinx APM
[    3.852698] xilinx-axipmon fd490000.perf-monitor: Probed Xilinx APM
[    3.859192] xilinx-axipmon ffa10000.perf-monitor: Probed Xilinx APM
[    3.866522] pca953x 0-0020: supply vcc not found, using dummy regulator
[    3.873218] pca953x 0-0020: using no AI
[    3.877724] pca953x 0-0021: supply vcc not found, using dummy regulator
[    3.884395] pca953x 0-0021: using no AI
[    3.897104] i2c i2c-0: Added multiplexed i2c bus 2
[    3.908338] i2c i2c-0: Added multiplexed i2c bus 3
[    3.924679] random: fast init done
[    3.966097] i2c i2c-0: Added multiplexed i2c bus 4
[    3.970999] i2c i2c-0: Added multiplexed i2c bus 5
[    3.975789] pca954x 0-0075: registered 4 multiplexed busses for I2C mux pca9544
[    3.983147] cdns-i2c ff020000.i2c: 400 kHz mmio ff020000 irq 32
[    3.990509] at24 6-0054: supply vcc not found, using dummy regulator
[    3.997388] at24 6-0054: 1024 byte 24c08 EEPROM, writable, 1 bytes/write
[    4.004128] i2c i2c-1: Added multiplexed i2c bus 6
[    4.009450] si5341 7-0036: no regulator set, defaulting vdd_sel to 2.5V for out
[    4.016760] si5341 7-0036: no regulator set, defaulting vdd_sel to 2.5V for out
[    4.024061] si5341 7-0036: no regulator set, defaulting vdd_sel to 2.5V for out
[    4.031362] si5341 7-0036: no regulator set, defaulting vdd_sel to 2.5V for out
[    4.038661] si5341 7-0036: no regulator set, defaulting vdd_sel to 2.5V for out
[    4.045961] si5341 7-0036: no regulator set, defaulting vdd_sel to 2.5V for out
[    4.054383] si5341 7-0036: Chip: 5341 Grade: 1 Rev: 1
[    4.093288] i2c i2c-1: Added multiplexed i2c bus 7
[    4.100897] si570 8-005d: registered, current frequency 300000000 Hz
[    4.107281] i2c i2c-1: Added multiplexed i2c bus 8
[    4.127003] si570 9-005d: registered, current frequency 148500000 Hz
[    4.133390] i2c i2c-1: Added multiplexed i2c bus 9
[    4.138387] si5324 10-0069: si5328 probed
[    4.204331] si5324 10-0069: si5328 probe successful
[    4.209248] i2c i2c-1: Added multiplexed i2c bus 10
[    4.215324] i2c i2c-1: Added multiplexed i2c bus 11
[    4.220315] i2c i2c-1: Added multiplexed i2c bus 12
[    4.225302] i2c i2c-1: Added multiplexed i2c bus 13
[    4.230182] pca954x 1-0074: registered 8 multiplexed busses for I2C switch pca9548
[    4.238109] i2c i2c-1: Added multiplexed i2c bus 14
[    4.243110] i2c i2c-1: Added multiplexed i2c bus 15
[    4.248106] i2c i2c-1: Added multiplexed i2c bus 16
[    4.253107] i2c i2c-1: Added multiplexed i2c bus 17
[    4.258115] i2c i2c-1: Added multiplexed i2c bus 18
[    4.263114] i2c i2c-1: Added multiplexed i2c bus 19
[    4.268112] i2c i2c-1: Added multiplexed i2c bus 20
[    4.273124] i2c i2c-1: Added multiplexed i2c bus 21
[    4.278000] pca954x 1-0075: registered 8 multiplexed busses for I2C switch pca9548
[    4.285597] cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 33
[    4.295393] cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer with timeout 60s
[    4.304764] zynqmp-display fd4a0000.display: vtc bridge property not present
[    4.313211] ------------[ cut here ]------------
[    4.317834] More than allowed devices are using the vpll_int, which is forbidden
[    4.325263] WARNING: CPU: 0 PID: 7 at drivers/clk/zynqmp/pll.c:200 zynqmp_pll_set_rate+0x198/0x200
[    4.334227] Modules linked in:
[    4.337274] CPU: 0 PID: 7 Comm: kworker/u8:0 Not tainted 5.15.0 #1
[    4.343444] Hardware name: ZynqMP ZCU106 RevA (DT)
[    4.348229] Workqueue: events_unbound deferred_probe_work_func
[    4.354061] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    4.361012] pc : zynqmp_pll_set_rate+0x198/0x200
[    4.365622] lr : zynqmp_pll_set_rate+0x198/0x200
[    4.370231] sp : ffffffc0114f3660
[    4.373538] x29: ffffffc0114f3660 x28: ffffff887f7f6458 x27: ffffff88003ec410
[    4.380673] x26: 000000000000b61b x25: ffffff88014e4880 x24: 0000000000000060
[    4.387808] x23: 0000000001fca055 x22: ffffff88014e4880 x21: ffffff88014e4900
[    4.394943] x20: 000000000169cfa1 x19: 0000000059682ef1 x18: 0000000000000030
[    4.402078] x17: 6962726f66207369 x16: 206863696877202c x15: 746e695f6c6c7076
[    4.409212] x14: 2065687420676e69 x13: 6e6564646962726f x12: ffffffc01133b230
[    4.416348] x11: 0000000000000136 x10: 6c6c707620656874 x9 : 00000000fffff7ff
[    4.423483] x8 : ffffffc011367230 x7 : 000000000000bfe8 x6 : 80000000fffff800
[    4.430617] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000
[    4.437744] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffff880009ad80
[    4.444879] Call trace:
[    4.447319]  zynqmp_pll_set_rate+0x198/0x200
[    4.451580]  clk_change_rate+0x148/0x2c0
[    4.455495]  clk_core_set_rate_nolock+0x154/0x240
[    4.460190]  clk_set_rate+0x38/0x150
[    4.463758]  xilinx_dp_codec_probe+0xac/0x1c0
[    4.468107]  platform_probe+0x68/0xe0
[    4.471761]  really_probe.part.0+0x9c/0x310
[    4.475936]  __driver_probe_device+0x98/0x150
[    4.480285]  driver_probe_device+0x44/0x120
[    4.484460]  __device_attach_driver+0xb4/0x120
[    4.488895]  bus_for_each_drv+0x78/0xd0
[    4.492723]  __device_attach+0xdc/0x190
[    4.496551]  device_initial_probe+0x14/0x20
[    4.500726]  bus_probe_device+0x9c/0xb0
[    4.504554]  device_add+0x36c/0x860
[    4.508034]  of_device_add+0x58/0x70
[    4.511602]  of_platform_device_create_pdata+0xc0/0x100
[    4.516819]  of_platform_bus_create+0x178/0x390
[    4.521341]  of_platform_populate+0x58/0xf0
[    4.525516]  zynqmp_dpsub_probe+0xe8/0x170
[    4.529604]  platform_probe+0x68/0xe0
[    4.533259]  really_probe.part.0+0x9c/0x310
[    4.537434]  __driver_probe_device+0x98/0x150
[    4.541782]  driver_probe_device+0x44/0x120
[    4.545957]  __device_attach_driver+0xb4/0x120
[    4.550393]  bus_for_each_drv+0x78/0xd0
[    4.554221]  __device_attach+0xdc/0x190
[    4.558049]  device_initial_probe+0x14/0x20
[    4.562224]  bus_probe_device+0x9c/0xb0
[    4.566052]  deferred_probe_work_func+0x88/0xc0
[    4.570574]  process_one_work+0x1d4/0x390
[    4.574585]  worker_thread+0x298/0x4e0
[    4.578325]  kthread+0x120/0x130
[    4.581545]  ret_from_fork+0x10/0x20
[    4.585113] ---[ end trace 59c0d1ba4e758fd6 ]---
[    4.591486] ------------[ cut here ]------------
[    4.596107] More than allowed devices are using the vpll_int, which is forbidden
[    4.603220] mmc0: SDHCI controller on ff170000.mmc [ff170000.mmc] using ADMA 64-bit
[    4.603529] WARNING: CPU: 0 PID: 7 at drivers/clk/zynqmp/pll.c:200 zynqmp_pll_set_rate+0x198/0x200
[    4.620067] Modules linked in:
[    4.623115] CPU: 0 PID: 7 Comm: kworker/u8:0 Tainted: G        W         5.15.0 #1
[    4.630674] Hardware name: ZynqMP ZCU106 RevA (DT)
[    4.635458] Workqueue: events_unbound deferred_probe_work_func
[    4.641282] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    4.648234] pc : zynqmp_pll_set_rate+0x198/0x200
[    4.652843] lr : zynqmp_pll_set_rate+0x198/0x200
[    4.657452] sp : ffffffc0114f3660
[    4.660759] x29: ffffffc0114f3660 x28: ffffff887f7f6458 x27: ffffff88003ec410
[    4.667894] x26: 0000000000000fc2 x25: ffffff88014e4880 x24: 0000000000000060
[    4.675029] x23: 0000000001fca055 x22: ffffff88014e4880 x21: ffffff88014e4900
[    4.682164] x20: 00000000001f4ed6 x19: 000000005b64cf46 x18: 0000000000000030
[    4.689299] x17: 6962726f66207369 x16: 206863696877202c x15: 746e695f6c6c7076
[    4.696434] x14: 2065687420676e69 x13: 6e6564646962726f x12: 6620736920686369
[    4.703569] x11: 6877202c746e695f x10: 6c6c707620656874 x9 : 7375206572612073
[    4.710704] x8 : 6563697665642064 x7 : 205d373031363935 x6 : 352e34202020205b
[    4.717839] x5 : ffffffc01140b1a7 x4 : 0000000000000000 x3 : 0000000000000000
[    4.724974] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffff880009ad80
[    4.732109] Call trace:
[    4.734548]  zynqmp_pll_set_rate+0x198/0x200
[    4.738810]  clk_change_rate+0x148/0x2c0
[    4.742724]  clk_core_set_rate_nolock+0x154/0x240
[    4.747421]  clk_set_rate+0x38/0x150
[    4.750988]  xilinx_dp_codec_probe+0xac/0x1c0
[    4.755337]  platform_probe+0x68/0xe0
[    4.758991]  really_probe.part.0+0x9c/0x310
[    4.763166]  __driver_probe_device+0x98/0x150
[    4.767515]  driver_probe_device+0x44/0x120
[    4.771690]  __device_attach_driver+0xb4/0x120
[    4.776125]  bus_for_each_drv+0x78/0xd0
[    4.779953]  __device_attach+0xdc/0x190
[    4.783781]  device_initial_probe+0x14/0x20
[    4.787956]  bus_probe_device+0x9c/0xb0
[    4.791784]  device_add+0x36c/0x860
[    4.795265]  of_device_add+0x58/0x70
[    4.798832]  of_platform_device_create_pdata+0xc0/0x100
[    4.804049]  of_platform_bus_create+0x178/0x390
[    4.808571]  of_platform_populate+0x58/0xf0
[    4.812746]  zynqmp_dpsub_probe+0xe8/0x170
[    4.816834]  platform_probe+0x68/0xe0
[    4.820488]  really_probe.part.0+0x9c/0x310
[    4.824664]  __driver_probe_device+0x98/0x150
[    4.829012]  driver_probe_device+0x44/0x120
[    4.833187]  __device_attach_driver+0xb4/0x120
[    4.837623]  bus_for_each_drv+0x78/0xd0
[    4.841451]  __device_attach+0xdc/0x190
[    4.845279]  device_initial_probe+0x14/0x20
[    4.849454]  bus_probe_device+0x9c/0xb0
[    4.853281]  deferred_probe_work_func+0x88/0xc0
[    4.857804]  process_one_work+0x1d4/0x390
[    4.861805]  worker_thread+0x298/0x4e0
[    4.865547]  kthread+0x120/0x130
[    4.868766]  ret_from_fork+0x10/0x20
[    4.872334] ---[ end trace 59c0d1ba4e758fd7 ]---
[    4.877097] zynqmp_clk_divider_set_rate() set divider failed for dp_audio_ref_div1, ret = -22
[    4.885950] xilinx-dp-snd-codec fd4a0000.display:zynqmp_dp_snd_codec0: Failed to get required clock freq
[    4.895486] xilinx-dp-snd-codec: probe of fd4a0000.display:zynqmp_dp_snd_codec0 failed with error -22
[    4.904966] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm0: Xilinx DisplayPort Sound PCM probed
[    4.913026] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm1: Xilinx DisplayPort Sound PCM probed
[    4.921168] OF: graph: no port node found in /axi/display@fd4a0000
[    4.927790] xlnx-drm xlnx-drm.0: bound fd4a0000.display (ops 0xffffffc010e27fa0)
[    4.935422] [drm] Initialized xlnx 1.0.0 20130509 for fd4a0000.display on minor 0
[    4.942943] zynqmp-display fd4a0000.display: ZynqMP DisplayPort Subsystem driver probed
[    4.951187] ahci-ceva fd0c0000.ahci: supply ahci not found, using dummy regulator
[    4.958754] ahci-ceva fd0c0000.ahci: supply phy not found, using dummy regulator
[    4.966228] ahci-ceva fd0c0000.ahci: supply target not found, using dummy regulator
[    4.973784] mmc0: new high speed SDHC card at address aaaa
[    4.974229] ahci-ceva fd0c0000.ahci: AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    4.979720] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
[    4.988316] ahci-ceva fd0c0000.ahci: flags: 64bit ncq sntf pm clo only pmp fbs pio slum part ccc sds apst
[    4.997985]  mmcblk0: p1 p2
[    5.006099] scsi host0: ahci-ceva
[    5.009746] scsi host1: ahci-ceva
[    5.013170] ata1: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x100 irq 40
[    5.021098] ata2: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x180 irq 40
[    5.052537] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    5.058041] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[    5.065816] xhci-hcd xhci-hcd.1.auto: hcc params 0x0238f625 hci version 0x100 quirks 0x0000000002010810
[    5.075249] xhci-hcd xhci-hcd.1.auto: irq 47, io mem 0xfe200000
[    5.081274] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    5.086764] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[    5.094430] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    5.101065] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    5.109340] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.116570] usb usb1: Product: xHCI Host Controller
[    5.121456] usb usb1: Manufacturer: Linux 5.15.0 xhci-hcd
[    5.126864] usb usb1: SerialNumber: xhci-hcd.1.auto
[    5.132072] hub 1-0:1.0: USB hub found
[    5.135849] hub 1-0:1.0: 1 port detected
[    5.140065] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[    5.148336] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.155565] usb usb2: Product: xHCI Host Controller
[    5.160445] usb usb2: Manufacturer: Linux 5.15.0 xhci-hcd
[    5.165848] usb usb2: SerialNumber: xhci-hcd.1.auto
[    5.170997] hub 2-0:1.0: USB hub found
[    5.174764] hub 2-0:1.0: 1 port detected
[    5.181995] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    5.189088] of_cfs_init
[    5.191542] of_cfs_init: OK
[    5.194474] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    5.329319] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    5.336076] zynqmp_pll_disable() clock disable failed for dpll_int, ret = -13
[    5.344450] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    5.346219] ata1: SATA link down (SStatus 0 SControl 330)
[    5.353079] cfg80211: failed to load regulatory.db
[    5.358514] ata2: SATA link down (SStatus 0 SControl 330)
[    5.360288] ALSA device list:
[    5.360292]   No soundcards found.
[    5.401013] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[    5.410785] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    5.421140] devtmpfs: mounted
[    5.424643] Freeing unused kernel memory: 1984K
[    5.429281] Run /sbin/init as init process
[    5.501582] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null). Quota mode: none.
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Initializing random number generator: OK
Saving random seed: [    5.564409] random: dd: uninitialized urandom read (512 bytes read)
OK
Starting network: OK

Welcome to Buildroot
buildroot login:

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Buildroot] [PATCH v6 1/2] configs/zynqmp_zcu106: bump ATF/U-Boot/Linux to Xilinx 2022
  2022-02-12 13:45   ` Peter Korsgaard
  2022-02-12 14:47     ` Neal Frager
@ 2022-02-23 10:05     ` Peter Korsgaard
  2022-02-23 12:55       ` Neal Frager
  1 sibling, 1 reply; 17+ messages in thread
From: Peter Korsgaard @ 2022-02-23 10:05 UTC (permalink / raw)
  To: Luca Ceresoli; +Cc: Neal Frager, giulio.benetti, michal.simek, buildroot

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

 >>> +#endif
 >>> +{
 >>> +	/**********************************************************************/
 >>> +	/* HEADER */
 >>> +	2,	/* Number of remaining words in the header */
 >>> +	8,	/* Number of sections included in config object */
 >>> +	1U,	/* Type of config object as base */

 >> Here's where you have manually replaced "PM_CONFIG_OBJECT_TYPE_BASE" ->
 >> "1U", right? Well, it should be well noted in the commit message. This
 >> file is supposed to be generated by Vitis and used untouched, any manual
 >> edits whould be documented.

 >> Or, even better, use the U-Boot patch I sent (see other e-mail I just
 >> wrote) and use an unmodified pm_cfg_obj.c

 > Ups, I applied the series before seeing this comment. Lets handle it as
 > a followup patch for zcu102/106.

Neal, will you send a followup patch for this?

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Buildroot] [PATCH v6 1/2] configs/zynqmp_zcu106: bump ATF/U-Boot/Linux to Xilinx 2022
  2022-02-23 10:04   ` Peter Korsgaard
@ 2022-02-23 11:02     ` Neal Frager
  2022-02-23 11:11       ` Peter Korsgaard
  2022-02-23 11:18       ` Peter Korsgaard
  2022-02-23 11:07     ` Neal Frager
  1 sibling, 2 replies; 17+ messages in thread
From: Neal Frager @ 2022-02-23 11:02 UTC (permalink / raw)
  To: Peter Korsgaard; +Cc: luca, giulio.benetti, Michal Simek, buildroot

Hi Peter,

> Hmm, did you test this on a zcu106 board?

> I just got access to a zcu106 rev 1.0 board and gave it a try here, and see nothing on either of the serial ports.

> Looking at the u-boot configuration I see that xilinx_zynqmp_virt_defconfig sets:

> CONFIG_DEFAULT_DEVICE_TREE="zynqmp-zcu100-revC"

> Which seems to have a different uart and pinmuxing setup. Changing that to zynqmp-zcu106-revA it does boot (but complains here and there).

> This is the first time I use a zcu106, so maybe I am missing something, but I don't understand how it can work for you with the zcu100 DTB?

Thank you for catching this.  I will take care of getting this corrected with a follow up patch.

The way zynqmp_virt_defconfig works is described on our wiki page below:
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841973/Build+U-Boot

The reason why this was working for me is because I had the DEVICE_TREE environment variable set when building.

make distclean
make xilinx_zynqmp_virt_defconfig
export DEVICE_TREE="zynqmp-zcu106-revA"
make

What is the proper way for setting an environment variable with buildroot?  Should I add this as a pre-build script in each defconfig?

Best regards,
Neal Frager
Xilinx

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Buildroot] [PATCH v6 1/2] configs/zynqmp_zcu106: bump ATF/U-Boot/Linux to Xilinx 2022
  2022-02-23 10:04   ` Peter Korsgaard
  2022-02-23 11:02     ` Neal Frager
@ 2022-02-23 11:07     ` Neal Frager
  1 sibling, 0 replies; 17+ messages in thread
From: Neal Frager @ 2022-02-23 11:07 UTC (permalink / raw)
  To: Peter Korsgaard, Michal Simek; +Cc: luca, giulio.benetti, buildroot

Hi Michal,

Could you respond to Peter's concern about the error messages that are printed during the boot log?  
Is there something we can do to avoid seeing these error messages?  

Below is an example boot log for the zcu106:

U-Boot SPL 2022.01 (Feb 23 2022 - 10:35:14 +0100)
PMUFW:  v1.1
Loading new PMUFW cfg obj (2032 bytes)
Silicon version:        3
EL Level:       EL3
Chip ID:        zu7e
Multiboot:      0
Trying to boot from MMC2
spl: could not initialize mmc. error: -19 Trying to boot from MMC1
spl_load_image_fat_os: error reading image u-boot.bin, err - -2
NOTICE:  BL31: v2.6(release):2022.02-rc2-4-g1a0d90d8ab
NOTICE:  BL31: Built : 10:05:33, Feb 23 2022


U-Boot 2022.01 (Feb 23 2022 - 10:06:21 +0100)

CPU:   ZynqMP
Silicon: v3
Model: ZynqMP ZCU106 RevA
Board: Xilinx ZynqMP
DRAM:  4 GiB
PMUFW:  v1.1
Xilinx I2C Legacy format at nvmem0:
 Board name:    zcu106
 Board rev:     1.0
 Board SN:      921730071832-88916
EL Level:       EL2
Chip ID:        zu7e
NAND:  0 MiB
MMC:   mmc@ff170000: 0
Loading Environment from FAT... *** Error - No Valid Environment Area found
*** Warning - bad env area, using default environment

In:    serial
Out:   serial
Err:   serial
Bootmode: LVL_SHFT_SD_MODE1
Reset reason:   EXTERNAL
Net:
ZYNQ GEM: ff0e0000, mdio bus ff0e0000, phyaddr 12, interface rgmii-id zynq_gem ethernet@ff0e0000: Failed to read eth PHY id, err: -2

Warning: ethernet@ff0e0000 (eth0) using random MAC address - 8a:9d:6d:13:b4:42
eth0: ethernet@ff0e0000
scanning bus for devices...
SATA link 0 timeout.
SATA link 1 timeout.
AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
flags: 64bit ncq pm clo only pmp fbss pio slum part ccc apst starting USB...
Bus usb@fe200000: Register 2000440 NbrPorts 2 Starting the controller USB XHCI 1.00 scanning bus usb@fe200000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found Hit any key to stop autoboot:  0 switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
1:      linux
Retrieving file: /Image
append: console=ttyPS0,115200 root=/dev/mmcblk0p2 rw rootwait Retrieving file: /system.dtb ## Flattened Device Tree blob at 40000000
   Booting using the fdt blob at 0x40000000
   Loading Device Tree to 000000007bdf4000, end 000000007be00998 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.0 (peko@dell) (aarch64-buildroot-linux-uclibc-gcc.br_real (Buildroot 2022.02-rc2-4-g1a0d90d8ab) 10.3.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP Wed Feb 23 10:07:13 CET 2022
[    0.000000] Machine model: ZynqMP ZCU106 RevA
[    0.000000] efi: UEFI not found.
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000000000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000087fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000]   node   0: [mem 0x0000000800000000-0x000000087fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000087fffffff]
[    0.000000] cma: Reserved 256 MiB at 0x000000006bc00000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 18 pages/cpu s33048 r8192 d32488 u73728
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1034240
[    0.000000] Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 rw rootwait
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x000000007c000000-0x0000000080000000] (64MB)
[    0.000000] Memory: 3772724K/4194304K available (13632K kernel code, 908K rwdata, 3872K rodata, 1984K init, 307K bss, 159436K reserved, 262144K cma-reserved)
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x470/0x6f8 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 100.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x171024e7e0, max_idle_ns: 440795205315 ns
[    0.000000] sched_clock: 56 bits at 100MHz, resolution 10ns, wraps every 4398046511100ns
[    0.000288] Console: colour dummy device 80x25
[    0.000321] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=400000)
[    0.000332] pid_max: default: 32768 minimum: 301
[    0.000438] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.000457] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.001273] rcu: Hierarchical SRCU implementation.
[    0.001528] EFI services will not be available.
[    0.001653] smp: Bringing up secondary CPUs ...
[    0.001990] Detected VIPT I-cache on CPU1
[    0.002027] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.002403] Detected VIPT I-cache on CPU2
[    0.002427] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.002769] Detected VIPT I-cache on CPU3
[    0.002792] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.002835] smp: Brought up 1 node, 4 CPUs
[    0.002852] SMP: Total of 4 processors activated.
[    0.002857] CPU features: detected: 32-bit EL0 Support
[    0.002862] CPU features: detected: CRC32 instructions
[    0.002902] CPU: All CPU(s) started at EL2
[    0.002918] alternatives: patching kernel code
[    0.003960] devtmpfs: initialized
[    0.009544] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.009562] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.017810] pinctrl core: initialized pinctrl subsystem
[    0.018441] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.019418] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.019518] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.019556] audit: initializing netlink subsys (disabled)
[    0.019631] audit: type=2000 audit(0.016:1): state=initialized audit_enabled=0 res=1
[    0.019926] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.020003] ASID allocator initialised with 65536 entries
[    0.037264] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.037277] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.037284] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.037290] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    1.101889] DRBG: Continuing without Jitter RNG
[    1.204745] raid6: neonx8   gen()  2143 MB/s
[    1.272796] raid6: neonx8   xor()  1594 MB/s
[    1.340859] raid6: neonx4   gen()  2184 MB/s
[    1.408910] raid6: neonx4   xor()  1577 MB/s
[    1.476970] raid6: neonx2   gen()  2069 MB/s
[    1.545023] raid6: neonx2   xor()  1453 MB/s
[    1.613092] raid6: neonx1   gen()  1802 MB/s
[    1.681135] raid6: neonx1   xor()  1240 MB/s
[    1.749185] raid6: int64x8  gen()  1471 MB/s
[    1.817242] raid6: int64x8  xor()   785 MB/s
[    1.885301] raid6: int64x4  gen()  1582 MB/s
[    1.953353] raid6: int64x4  xor()   841 MB/s
[    2.021426] raid6: int64x2  gen()  1397 MB/s
[    2.089481] raid6: int64x2  xor()   750 MB/s
[    2.157554] raid6: int64x1  gen()  1187 MB/s
[    2.225592] raid6: int64x1  xor()   596 MB/s
[    2.225598] raid6: using algorithm neonx4 gen() 2184 MB/s
[    2.225603] raid6: .... xor() 1577 MB/s, rmw enabled
[    2.225608] raid6: using neon recovery algorithm
[    2.225975] iommu: Default domain type: Translated
[    2.225982] iommu: DMA domain TLB invalidation policy: strict mode
[    2.226202] SCSI subsystem initialized
[    2.226349] usbcore: registered new interface driver usbfs
[    2.226377] usbcore: registered new interface driver hub
[    2.226400] usbcore: registered new device driver usb
[    2.226454] mc: Linux media interface: v0.10
[    2.226473] videodev: Linux video capture interface: v2.00
[    2.226509] pps_core: LinuxPPS API ver. 1 registered
[    2.226514] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.226526] PTP clock support registered
[    2.226553] EDAC MC: Ver: 3.0.0
[    2.226836] zynqmp-ipi-mbox mailbox@ff990400: Registered ZynqMP IPI mbox with TX/RX channels.
[    2.227024] FPGA manager framework
[    2.227145] Advanced Linux Sound Architecture Driver Initialized.
[    2.227429] Bluetooth: Core ver 2.22
[    2.227453] NET: Registered PF_BLUETOOTH protocol family
[    2.227459] Bluetooth: HCI device and connection manager initialized
[    2.227467] Bluetooth: HCI socket layer initialized
[    2.227474] Bluetooth: L2CAP socket layer initialized
[    2.227485] Bluetooth: SCO socket layer initialized
[    2.227775] clocksource: Switched to clocksource arch_sys_counter
[    2.227873] VFS: Disk quotas dquot_6.6.0
[    2.227912] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    2.231825] NET: Registered PF_INET protocol family
[    2.231947] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    2.233469] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    2.233516] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    2.233722] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    2.234105] TCP: Hash tables configured (established 32768 bind 32768)
[    2.234173] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    2.234250] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    2.234400] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    2.234694] RPC: Registered named UNIX socket transport module.
[    2.234702] RPC: Registered udp transport module.
[    2.234706] RPC: Registered tcp transport module.
[    2.234710] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.235296] PCI: CLS 0 bytes, default 64
[    2.235581] armv8-pmu pmu: hw perfevents: no interrupt-affinity property, guessing.
[    2.235746] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    2.236515] Initialise system trusted keyrings
[    2.236595] workingset: timestamp_bits=62 max_order=20 bucket_order=0
[    2.237148] NFS: Registering the id_resolver key type
[    2.237162] Key type id_resolver registered
[    2.237167] Key type id_legacy registered
[    2.237184] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.237190] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    2.237207] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    2.273154] NET: Registered PF_ALG protocol family
[    2.273167] xor: measuring software checksum speed
[    2.277216]    8regs           :  2438 MB/sec
[    2.280739]    32regs          :  2800 MB/sec
[    2.285008]    arm64_neon      :  2309 MB/sec
[    2.285014] xor: using function: 32regs (2800 MB/sec)
[    2.285021] Key type asymmetric registered
[    2.285026] Asymmetric key parser 'x509' registered
[    2.285062] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    2.285069] io scheduler mq-deadline registered
[    2.285075] io scheduler kyber registered
[    2.309548] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    2.312677] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    2.316619] brd: module loaded
[    2.319780] loop: module loaded
[    2.320496] mtdoops: mtd device (mtddev=name/number) must be supplied
[    2.321724] libphy: Fixed MDIO Bus: probed
[    2.322824] tun: Universal TUN/TAP device driver, 1.6
[    2.322904] CAN device driver interface
[    2.323561] usbcore: registered new interface driver asix
[    2.323600] usbcore: registered new interface driver ax88179_178a
[    2.323625] usbcore: registered new interface driver cdc_ether
[    2.323647] usbcore: registered new interface driver net1080
[    2.323669] usbcore: registered new interface driver cdc_subset
[    2.323692] usbcore: registered new interface driver zaurus
[    2.323724] usbcore: registered new interface driver cdc_ncm
[    2.324408] usbcore: registered new interface driver uas
[    2.324440] usbcore: registered new interface driver usb-storage
[    2.325070] rtc_zynqmp ffa60000.rtc: registered as rtc0
[    2.325087] rtc_zynqmp ffa60000.rtc: setting system clock to 2021-01-18T20:15:26 UTC (1611000926)
[    2.325153] i2c_dev: i2c /dev entries driver
[    2.326567] usbcore: registered new interface driver uvcvideo
[    2.327362] Bluetooth: HCI UART driver ver 2.3
[    2.327370] Bluetooth: HCI UART protocol H4 registered
[    2.327376] Bluetooth: HCI UART protocol BCSP registered
[    2.327394] Bluetooth: HCI UART protocol LL registered
[    2.327400] Bluetooth: HCI UART protocol ATH3K registered
[    2.327416] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    2.327453] Bluetooth: HCI UART protocol Intel registered
[    2.327470] Bluetooth: HCI UART protocol QCA registered
[    2.327499] usbcore: registered new interface driver bcm203x
[    2.327525] usbcore: registered new interface driver bpa10x
[    2.327550] usbcore: registered new interface driver bfusb
[    2.327576] usbcore: registered new interface driver btusb
[    2.327616] usbcore: registered new interface driver ath3k
[    2.327688] EDAC MC: ECC not enabled
[    2.327829] EDAC DEVICE0: Giving out device to module edac controller cache_err: DEV edac (POLLED)
[    2.327977] EDAC DEVICE1: Giving out device to module zynqmp-ocm-edac controller zynqmp_ocm: DEV ff960000.memory-controller (INTERRUPT)
[    2.328309] sdhci: Secure Digital Host Controller Interface driver
[    2.328315] sdhci: Copyright(c) Pierre Ossman
[    2.328319] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.328645] ledtrig-cpu: registered to indicate activity on CPUs
[    2.328735] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    2.328772] zynqmp_firmware_probe Platform Management API v1.1
[    2.328780] zynqmp_firmware_probe Trustzone version v1.0
[    2.358985] securefw securefw: securefw probed
[    2.359229] alg: No test for xilinx-zynqmp-aes (zynqmp-aes)
[    2.359249] zynqmp_aes firmware:zynqmp-firmware:zynqmp-aes: AES Successfully Registered
[    2.359423] alg: No test for xilinx-keccak-384 (zynqmp-keccak-384)
[    2.359595] alg: No test for xilinx-zynqmp-rsa (zynqmp-rsa)
[    2.359737] usbcore: registered new interface driver usbhid
[    2.359744] usbhid: USB HID core driver
[    2.361013] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[    2.361338] usbcore: registered new interface driver snd-usb-audio
[    2.362114] pktgen: Packet Generator for packet performance testing. Version: 2.75
[    2.362489] Initializing XFRM netlink socket
[    2.362565] NET: Registered PF_INET6 protocol family
[    2.363069] Segment Routing with IPv6
[    2.363087] In-situ OAM (IOAM) with IPv6
[    2.363138] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.363447] NET: Registered PF_PACKET protocol family
[    2.363462] NET: Registered PF_KEY protocol family
[    2.363482] can: controller area network core
[    2.363508] NET: Registered PF_CAN protocol family
[    2.363514] can: raw protocol
[    2.363520] can: broadcast manager protocol
[    2.363527] can: netlink gateway - max_hops=1
[    2.363619] Bluetooth: RFCOMM TTY layer initialized
[    2.363632] Bluetooth: RFCOMM socket layer initialized
[    2.363647] Bluetooth: RFCOMM ver 1.11
[    2.363656] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.363662] Bluetooth: BNEP filters: protocol multicast
[    2.363669] Bluetooth: BNEP socket layer initialized
[    2.363674] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.363681] Bluetooth: HIDP socket layer initialized
[    2.363819] 9pnet: Installing 9P2000 support
[    2.363839] Key type dns_resolver registered
[    2.363942] registered taskstats version 1
[    2.363948] Loading compiled-in X.509 certificates
[    2.364918] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
[    2.373064] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 42, base_baud = 6249999) is a xuartps
[    3.672506] printk: console [ttyPS0] enabled
[    3.677493] ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 43, base_baud = 6249999) is a xuartps
[    3.686810] of-fpga-region fpga-full: FPGA Region probed
[    3.693554] xilinx-zynqmp-dma fd500000.dma-controller: ZynqMP DMA driver Probe success
[    3.701632] xilinx-zynqmp-dma fd510000.dma-controller: ZynqMP DMA driver Probe success
[    3.709702] xilinx-zynqmp-dma fd520000.dma-controller: ZynqMP DMA driver Probe success
[    3.717776] xilinx-zynqmp-dma fd530000.dma-controller: ZynqMP DMA driver Probe success
[    3.725847] xilinx-zynqmp-dma fd540000.dma-controller: ZynqMP DMA driver Probe success
[    3.733921] xilinx-zynqmp-dma fd550000.dma-controller: ZynqMP DMA driver Probe success
[    3.741994] xilinx-zynqmp-dma fd560000.dma-controller: ZynqMP DMA driver Probe success
[    3.750063] xilinx-zynqmp-dma fd570000.dma-controller: ZynqMP DMA driver Probe success
[    3.758379] xilinx-zynqmp-dpdma fd4c0000.dma-controller: Xilinx DPDMA engine is probed
[    3.767022] spi-nor spi0.0: found mt25qu512a, expected m25p80
[    3.773292] spi-nor spi0.0: mt25qu512a (131072 Kbytes)
[    3.778451] 4 fixed-partitions partitions found on MTD device spi0.0
[    3.784796] Creating 4 MTD partitions on "spi0.0":
[    3.789581] 0x000000000000-0x000000100000 : "qspi-fsbl-uboot"
[    3.796118] 0x000000100000-0x000000600000 : "qspi-linux"
[    3.802113] 0x000000600000-0x000000620000 : "qspi-device-tree"
[    3.808615] 0x000000620000-0x000000c00000 : "qspi-rootfs"
[    3.817419] macb ff0e0000.ethernet: Not enabling partial store and forward
[    3.824936] libphy: MACB_mii_bus: probed
[    3.829496] macb ff0e0000.ethernet eth0: Cadence GEM rev 0x50070106 at 0xff0e0000 irq 30 (8a:9d:6d:13:b4:42)
[    3.839620] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
[    3.846207] xilinx-axipmon fd0b0000.perf-monitor: Probed Xilinx APM
[    3.852698] xilinx-axipmon fd490000.perf-monitor: Probed Xilinx APM
[    3.859192] xilinx-axipmon ffa10000.perf-monitor: Probed Xilinx APM
[    3.866522] pca953x 0-0020: supply vcc not found, using dummy regulator
[    3.873218] pca953x 0-0020: using no AI
[    3.877724] pca953x 0-0021: supply vcc not found, using dummy regulator
[    3.884395] pca953x 0-0021: using no AI
[    3.897104] i2c i2c-0: Added multiplexed i2c bus 2
[    3.908338] i2c i2c-0: Added multiplexed i2c bus 3
[    3.924679] random: fast init done
[    3.966097] i2c i2c-0: Added multiplexed i2c bus 4
[    3.970999] i2c i2c-0: Added multiplexed i2c bus 5
[    3.975789] pca954x 0-0075: registered 4 multiplexed busses for I2C mux pca9544
[    3.983147] cdns-i2c ff020000.i2c: 400 kHz mmio ff020000 irq 32
[    3.990509] at24 6-0054: supply vcc not found, using dummy regulator
[    3.997388] at24 6-0054: 1024 byte 24c08 EEPROM, writable, 1 bytes/write
[    4.004128] i2c i2c-1: Added multiplexed i2c bus 6
[    4.009450] si5341 7-0036: no regulator set, defaulting vdd_sel to 2.5V for out
[    4.016760] si5341 7-0036: no regulator set, defaulting vdd_sel to 2.5V for out
[    4.024061] si5341 7-0036: no regulator set, defaulting vdd_sel to 2.5V for out
[    4.031362] si5341 7-0036: no regulator set, defaulting vdd_sel to 2.5V for out
[    4.038661] si5341 7-0036: no regulator set, defaulting vdd_sel to 2.5V for out
[    4.045961] si5341 7-0036: no regulator set, defaulting vdd_sel to 2.5V for out
[    4.054383] si5341 7-0036: Chip: 5341 Grade: 1 Rev: 1
[    4.093288] i2c i2c-1: Added multiplexed i2c bus 7
[    4.100897] si570 8-005d: registered, current frequency 300000000 Hz
[    4.107281] i2c i2c-1: Added multiplexed i2c bus 8
[    4.127003] si570 9-005d: registered, current frequency 148500000 Hz
[    4.133390] i2c i2c-1: Added multiplexed i2c bus 9
[    4.138387] si5324 10-0069: si5328 probed
[    4.204331] si5324 10-0069: si5328 probe successful
[    4.209248] i2c i2c-1: Added multiplexed i2c bus 10
[    4.215324] i2c i2c-1: Added multiplexed i2c bus 11
[    4.220315] i2c i2c-1: Added multiplexed i2c bus 12
[    4.225302] i2c i2c-1: Added multiplexed i2c bus 13
[    4.230182] pca954x 1-0074: registered 8 multiplexed busses for I2C switch pca9548
[    4.238109] i2c i2c-1: Added multiplexed i2c bus 14
[    4.243110] i2c i2c-1: Added multiplexed i2c bus 15
[    4.248106] i2c i2c-1: Added multiplexed i2c bus 16
[    4.253107] i2c i2c-1: Added multiplexed i2c bus 17
[    4.258115] i2c i2c-1: Added multiplexed i2c bus 18
[    4.263114] i2c i2c-1: Added multiplexed i2c bus 19
[    4.268112] i2c i2c-1: Added multiplexed i2c bus 20
[    4.273124] i2c i2c-1: Added multiplexed i2c bus 21
[    4.278000] pca954x 1-0075: registered 8 multiplexed busses for I2C switch pca9548
[    4.285597] cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 33
[    4.295393] cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer with timeout 60s
[    4.304764] zynqmp-display fd4a0000.display: vtc bridge property not present
[    4.313211] ------------[ cut here ]------------
[    4.317834] More than allowed devices are using the vpll_int, which is forbidden
[    4.325263] WARNING: CPU: 0 PID: 7 at drivers/clk/zynqmp/pll.c:200 zynqmp_pll_set_rate+0x198/0x200
[    4.334227] Modules linked in:
[    4.337274] CPU: 0 PID: 7 Comm: kworker/u8:0 Not tainted 5.15.0 #1
[    4.343444] Hardware name: ZynqMP ZCU106 RevA (DT)
[    4.348229] Workqueue: events_unbound deferred_probe_work_func
[    4.354061] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    4.361012] pc : zynqmp_pll_set_rate+0x198/0x200
[    4.365622] lr : zynqmp_pll_set_rate+0x198/0x200
[    4.370231] sp : ffffffc0114f3660
[    4.373538] x29: ffffffc0114f3660 x28: ffffff887f7f6458 x27: ffffff88003ec410
[    4.380673] x26: 000000000000b61b x25: ffffff88014e4880 x24: 0000000000000060
[    4.387808] x23: 0000000001fca055 x22: ffffff88014e4880 x21: ffffff88014e4900
[    4.394943] x20: 000000000169cfa1 x19: 0000000059682ef1 x18: 0000000000000030
[    4.402078] x17: 6962726f66207369 x16: 206863696877202c x15: 746e695f6c6c7076
[    4.409212] x14: 2065687420676e69 x13: 6e6564646962726f x12: ffffffc01133b230
[    4.416348] x11: 0000000000000136 x10: 6c6c707620656874 x9 : 00000000fffff7ff
[    4.423483] x8 : ffffffc011367230 x7 : 000000000000bfe8 x6 : 80000000fffff800
[    4.430617] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000
[    4.437744] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffff880009ad80
[    4.444879] Call trace:
[    4.447319]  zynqmp_pll_set_rate+0x198/0x200
[    4.451580]  clk_change_rate+0x148/0x2c0
[    4.455495]  clk_core_set_rate_nolock+0x154/0x240
[    4.460190]  clk_set_rate+0x38/0x150
[    4.463758]  xilinx_dp_codec_probe+0xac/0x1c0
[    4.468107]  platform_probe+0x68/0xe0
[    4.471761]  really_probe.part.0+0x9c/0x310
[    4.475936]  __driver_probe_device+0x98/0x150
[    4.480285]  driver_probe_device+0x44/0x120
[    4.484460]  __device_attach_driver+0xb4/0x120
[    4.488895]  bus_for_each_drv+0x78/0xd0
[    4.492723]  __device_attach+0xdc/0x190
[    4.496551]  device_initial_probe+0x14/0x20
[    4.500726]  bus_probe_device+0x9c/0xb0
[    4.504554]  device_add+0x36c/0x860
[    4.508034]  of_device_add+0x58/0x70
[    4.511602]  of_platform_device_create_pdata+0xc0/0x100
[    4.516819]  of_platform_bus_create+0x178/0x390
[    4.521341]  of_platform_populate+0x58/0xf0
[    4.525516]  zynqmp_dpsub_probe+0xe8/0x170
[    4.529604]  platform_probe+0x68/0xe0
[    4.533259]  really_probe.part.0+0x9c/0x310
[    4.537434]  __driver_probe_device+0x98/0x150
[    4.541782]  driver_probe_device+0x44/0x120
[    4.545957]  __device_attach_driver+0xb4/0x120
[    4.550393]  bus_for_each_drv+0x78/0xd0
[    4.554221]  __device_attach+0xdc/0x190
[    4.558049]  device_initial_probe+0x14/0x20
[    4.562224]  bus_probe_device+0x9c/0xb0
[    4.566052]  deferred_probe_work_func+0x88/0xc0
[    4.570574]  process_one_work+0x1d4/0x390
[    4.574585]  worker_thread+0x298/0x4e0
[    4.578325]  kthread+0x120/0x130
[    4.581545]  ret_from_fork+0x10/0x20
[    4.585113] ---[ end trace 59c0d1ba4e758fd6 ]---
[    4.591486] ------------[ cut here ]------------
[    4.596107] More than allowed devices are using the vpll_int, which is forbidden
[    4.603220] mmc0: SDHCI controller on ff170000.mmc [ff170000.mmc] using ADMA 64-bit
[    4.603529] WARNING: CPU: 0 PID: 7 at drivers/clk/zynqmp/pll.c:200 zynqmp_pll_set_rate+0x198/0x200
[    4.620067] Modules linked in:
[    4.623115] CPU: 0 PID: 7 Comm: kworker/u8:0 Tainted: G        W         5.15.0 #1
[    4.630674] Hardware name: ZynqMP ZCU106 RevA (DT)
[    4.635458] Workqueue: events_unbound deferred_probe_work_func
[    4.641282] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    4.648234] pc : zynqmp_pll_set_rate+0x198/0x200
[    4.652843] lr : zynqmp_pll_set_rate+0x198/0x200
[    4.657452] sp : ffffffc0114f3660
[    4.660759] x29: ffffffc0114f3660 x28: ffffff887f7f6458 x27: ffffff88003ec410
[    4.667894] x26: 0000000000000fc2 x25: ffffff88014e4880 x24: 0000000000000060
[    4.675029] x23: 0000000001fca055 x22: ffffff88014e4880 x21: ffffff88014e4900
[    4.682164] x20: 00000000001f4ed6 x19: 000000005b64cf46 x18: 0000000000000030
[    4.689299] x17: 6962726f66207369 x16: 206863696877202c x15: 746e695f6c6c7076
[    4.696434] x14: 2065687420676e69 x13: 6e6564646962726f x12: 6620736920686369
[    4.703569] x11: 6877202c746e695f x10: 6c6c707620656874 x9 : 7375206572612073
[    4.710704] x8 : 6563697665642064 x7 : 205d373031363935 x6 : 352e34202020205b
[    4.717839] x5 : ffffffc01140b1a7 x4 : 0000000000000000 x3 : 0000000000000000
[    4.724974] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffff880009ad80
[    4.732109] Call trace:
[    4.734548]  zynqmp_pll_set_rate+0x198/0x200
[    4.738810]  clk_change_rate+0x148/0x2c0
[    4.742724]  clk_core_set_rate_nolock+0x154/0x240
[    4.747421]  clk_set_rate+0x38/0x150
[    4.750988]  xilinx_dp_codec_probe+0xac/0x1c0
[    4.755337]  platform_probe+0x68/0xe0
[    4.758991]  really_probe.part.0+0x9c/0x310
[    4.763166]  __driver_probe_device+0x98/0x150
[    4.767515]  driver_probe_device+0x44/0x120
[    4.771690]  __device_attach_driver+0xb4/0x120
[    4.776125]  bus_for_each_drv+0x78/0xd0
[    4.779953]  __device_attach+0xdc/0x190
[    4.783781]  device_initial_probe+0x14/0x20
[    4.787956]  bus_probe_device+0x9c/0xb0
[    4.791784]  device_add+0x36c/0x860
[    4.795265]  of_device_add+0x58/0x70
[    4.798832]  of_platform_device_create_pdata+0xc0/0x100
[    4.804049]  of_platform_bus_create+0x178/0x390
[    4.808571]  of_platform_populate+0x58/0xf0
[    4.812746]  zynqmp_dpsub_probe+0xe8/0x170
[    4.816834]  platform_probe+0x68/0xe0
[    4.820488]  really_probe.part.0+0x9c/0x310
[    4.824664]  __driver_probe_device+0x98/0x150
[    4.829012]  driver_probe_device+0x44/0x120
[    4.833187]  __device_attach_driver+0xb4/0x120
[    4.837623]  bus_for_each_drv+0x78/0xd0
[    4.841451]  __device_attach+0xdc/0x190
[    4.845279]  device_initial_probe+0x14/0x20
[    4.849454]  bus_probe_device+0x9c/0xb0
[    4.853281]  deferred_probe_work_func+0x88/0xc0
[    4.857804]  process_one_work+0x1d4/0x390
[    4.861805]  worker_thread+0x298/0x4e0
[    4.865547]  kthread+0x120/0x130
[    4.868766]  ret_from_fork+0x10/0x20
[    4.872334] ---[ end trace 59c0d1ba4e758fd7 ]---
[    4.877097] zynqmp_clk_divider_set_rate() set divider failed for dp_audio_ref_div1, ret = -22
[    4.885950] xilinx-dp-snd-codec fd4a0000.display:zynqmp_dp_snd_codec0: Failed to get required clock freq
[    4.895486] xilinx-dp-snd-codec: probe of fd4a0000.display:zynqmp_dp_snd_codec0 failed with error -22
[    4.904966] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm0: Xilinx DisplayPort Sound PCM probed
[    4.913026] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm1: Xilinx DisplayPort Sound PCM probed
[    4.921168] OF: graph: no port node found in /axi/display@fd4a0000
[    4.927790] xlnx-drm xlnx-drm.0: bound fd4a0000.display (ops 0xffffffc010e27fa0)
[    4.935422] [drm] Initialized xlnx 1.0.0 20130509 for fd4a0000.display on minor 0
[    4.942943] zynqmp-display fd4a0000.display: ZynqMP DisplayPort Subsystem driver probed
[    4.951187] ahci-ceva fd0c0000.ahci: supply ahci not found, using dummy regulator
[    4.958754] ahci-ceva fd0c0000.ahci: supply phy not found, using dummy regulator
[    4.966228] ahci-ceva fd0c0000.ahci: supply target not found, using dummy regulator
[    4.973784] mmc0: new high speed SDHC card at address aaaa
[    4.974229] ahci-ceva fd0c0000.ahci: AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    4.979720] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
[    4.988316] ahci-ceva fd0c0000.ahci: flags: 64bit ncq sntf pm clo only pmp fbs pio slum part ccc sds apst
[    4.997985]  mmcblk0: p1 p2
[    5.006099] scsi host0: ahci-ceva
[    5.009746] scsi host1: ahci-ceva
[    5.013170] ata1: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x100 irq 40
[    5.021098] ata2: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x180 irq 40
[    5.052537] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    5.058041] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[    5.065816] xhci-hcd xhci-hcd.1.auto: hcc params 0x0238f625 hci version 0x100 quirks 0x0000000002010810
[    5.075249] xhci-hcd xhci-hcd.1.auto: irq 47, io mem 0xfe200000
[    5.081274] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    5.086764] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[    5.094430] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    5.101065] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    5.109340] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.116570] usb usb1: Product: xHCI Host Controller
[    5.121456] usb usb1: Manufacturer: Linux 5.15.0 xhci-hcd
[    5.126864] usb usb1: SerialNumber: xhci-hcd.1.auto
[    5.132072] hub 1-0:1.0: USB hub found
[    5.135849] hub 1-0:1.0: 1 port detected
[    5.140065] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[    5.148336] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.155565] usb usb2: Product: xHCI Host Controller
[    5.160445] usb usb2: Manufacturer: Linux 5.15.0 xhci-hcd
[    5.165848] usb usb2: SerialNumber: xhci-hcd.1.auto
[    5.170997] hub 2-0:1.0: USB hub found
[    5.174764] hub 2-0:1.0: 1 port detected
[    5.181995] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    5.189088] of_cfs_init
[    5.191542] of_cfs_init: OK
[    5.194474] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    5.329319] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    5.336076] zynqmp_pll_disable() clock disable failed for dpll_int, ret = -13
[    5.344450] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    5.346219] ata1: SATA link down (SStatus 0 SControl 330)
[    5.353079] cfg80211: failed to load regulatory.db
[    5.358514] ata2: SATA link down (SStatus 0 SControl 330)
[    5.360288] ALSA device list:
[    5.360292]   No soundcards found.
[    5.401013] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[    5.410785] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    5.421140] devtmpfs: mounted
[    5.424643] Freeing unused kernel memory: 1984K
[    5.429281] Run /sbin/init as init process
[    5.501582] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null). Quota mode: none.
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Initializing random number generator: OK
Saving random seed: [    5.564409] random: dd: uninitialized urandom read (512 bytes read)
OK
Starting network: OK

Welcome to Buildroot
buildroot login:

Best regards,
Neal Frager
Xilinx
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Buildroot] [PATCH v6 1/2] configs/zynqmp_zcu106: bump ATF/U-Boot/Linux to Xilinx 2022
  2022-02-23 11:02     ` Neal Frager
@ 2022-02-23 11:11       ` Peter Korsgaard
  2022-02-23 11:29         ` Neal Frager
  2022-02-23 11:18       ` Peter Korsgaard
  1 sibling, 1 reply; 17+ messages in thread
From: Peter Korsgaard @ 2022-02-23 11:11 UTC (permalink / raw)
  To: Neal Frager; +Cc: luca, giulio.benetti, Michal Simek, buildroot

>>>>> "Neal" == Neal Frager <nealf@xilinx.com> writes:

 > Hi Peter,
 >> Hmm, did you test this on a zcu106 board?

 >> I just got access to a zcu106 rev 1.0 board and gave it a try here, and see nothing on either of the serial ports.

 >> Looking at the u-boot configuration I see that xilinx_zynqmp_virt_defconfig sets:

 >> CONFIG_DEFAULT_DEVICE_TREE="zynqmp-zcu100-revC"

 >> Which seems to have a different uart and pinmuxing setup. Changing
 >> that to zynqmp-zcu106-revA it does boot (but complains here and
 >> there).

 >> This is the first time I use a zcu106, so maybe I am missing
 >> something, but I don't understand how it can work for you with the
 >> zcu100 DTB?

 > Thank you for catching this.  I will take care of getting this corrected with a follow up patch.

 > The way zynqmp_virt_defconfig works is described on our wiki page below:
 > https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841973/Build+U-Boot

 > The reason why this was working for me is because I had the DEVICE_TREE environment variable set when building.

 > make distclean
 > make xilinx_zynqmp_virt_defconfig
 > export DEVICE_TREE="zynqmp-zcu106-revA"
 > make

 > What is the proper way for setting an environment variable with
 > buildroot?  Should I add this as a pre-build script in each defconfig?

Instead of working with an environment variable, I think it would be
nicer to tweak the zynqmp_virt_defconfig file with a configuration
fragment with the

CONFIG_DEFAULT_DEVICE_TREE="zynqmp-zcu106-revA"

Line.

This can be done with the BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES option.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Buildroot] [PATCH v6 1/2] configs/zynqmp_zcu106: bump ATF/U-Boot/Linux to Xilinx 2022
  2022-02-23 11:02     ` Neal Frager
  2022-02-23 11:11       ` Peter Korsgaard
@ 2022-02-23 11:18       ` Peter Korsgaard
  2022-02-23 11:27         ` Neal Frager
  1 sibling, 1 reply; 17+ messages in thread
From: Peter Korsgaard @ 2022-02-23 11:18 UTC (permalink / raw)
  To: Neal Frager; +Cc: luca, giulio.benetti, Michal Simek, buildroot

>>>>> "Neal" == Neal Frager <nealf@xilinx.com> writes:

Hi,

 > The reason why this was working for me is because I had the DEVICE_TREE environment variable set when building.

 > make distclean
 > make xilinx_zynqmp_virt_defconfig
 > export DEVICE_TREE="zynqmp-zcu106-revA"

I wasn't aware that U-Boot uses the value of this environment variable
over what is speficied in the configuration file. I think we should
clear this environment variable in Buildroot similar to how we do for
E.G. CROSS_COMPILE in the top level Makefile. I'll send a patch for
that.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Buildroot] [PATCH v6 1/2] configs/zynqmp_zcu106: bump ATF/U-Boot/Linux to Xilinx 2022
  2022-02-23 11:18       ` Peter Korsgaard
@ 2022-02-23 11:27         ` Neal Frager
  0 siblings, 0 replies; 17+ messages in thread
From: Neal Frager @ 2022-02-23 11:27 UTC (permalink / raw)
  To: Peter Korsgaard; +Cc: luca, giulio.benetti, Michal Simek, buildroot

Hi Peter,

> I wasn't aware that U-Boot uses the value of this environment variable over what is speficied in the configuration file. I think we should clear this environment variable in Buildroot similar to how we do for E.G. CROSS_COMPILE in the top level ? Makefile. I'll send a patch for that.

Great, thanks!

Best regards,
Neal Frager
Xilinx
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Buildroot] [PATCH v6 1/2] configs/zynqmp_zcu106: bump ATF/U-Boot/Linux to Xilinx 2022
  2022-02-23 11:11       ` Peter Korsgaard
@ 2022-02-23 11:29         ` Neal Frager
  0 siblings, 0 replies; 17+ messages in thread
From: Neal Frager @ 2022-02-23 11:29 UTC (permalink / raw)
  To: Peter Korsgaard; +Cc: luca, giulio.benetti, Michal Simek, buildroot

Hi Peter,

> Instead of working with an environment variable, I think it would be nicer to tweak the zynqmp_virt_defconfig file with a configuration fragment with the

> CONFIG_DEFAULT_DEVICE_TREE="zynqmp-zcu106-revA"

> Line.

> This can be done with the BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES option.

Yes, this looks like a better solution.  I will create a uboot-fragment.config file for each board in my follow up patch.  Thanks for the idea!

Best regards,
Neal Frager
Xilinx
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Buildroot] [PATCH v6 1/2] configs/zynqmp_zcu106: bump ATF/U-Boot/Linux to Xilinx 2022
  2022-02-23 10:05     ` Peter Korsgaard
@ 2022-02-23 12:55       ` Neal Frager
  0 siblings, 0 replies; 17+ messages in thread
From: Neal Frager @ 2022-02-23 12:55 UTC (permalink / raw)
  To: Peter Korsgaard, Luca Ceresoli; +Cc: giulio.benetti, Michal Simek, buildroot

Hi Peter,

> Neal, will you send a followup patch for this?

A follow up patch has been submitted.

Best regards,
Neal Frager
Xilinx
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2022-02-23 12:55 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-11 14:44 [Buildroot] [PATCH v6 1/2] configs/zynqmp_zcu106: bump ATF/U-Boot/Linux to Xilinx 2022 Neal Frager
2022-02-11 14:44 ` [Buildroot] [PATCH v6 2/2] add configs/zynqmp_zcu102_defconfig Neal Frager
2022-02-12 13:43   ` Peter Korsgaard
2022-02-12 13:13 ` [Buildroot] [PATCH v6 1/2] configs/zynqmp_zcu106: bump ATF/U-Boot/Linux to Xilinx 2022 Luca Ceresoli
2022-02-12 13:18   ` Neal Frager
2022-02-12 13:45   ` Peter Korsgaard
2022-02-12 14:47     ` Neal Frager
2022-02-23 10:05     ` Peter Korsgaard
2022-02-23 12:55       ` Neal Frager
2022-02-12 13:42 ` Peter Korsgaard
2022-02-23 10:04   ` Peter Korsgaard
2022-02-23 11:02     ` Neal Frager
2022-02-23 11:11       ` Peter Korsgaard
2022-02-23 11:29         ` Neal Frager
2022-02-23 11:18       ` Peter Korsgaard
2022-02-23 11:27         ` Neal Frager
2022-02-23 11:07     ` Neal Frager

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.