From 33557477c06bbbb24754210b7606c186f1e8a31e Mon Sep 17 00:00:00 2001 From: Neal Frager Date: Fri, 9 Aug 2024 16:55:27 +0100 Subject: [PATCH] configs/zynqmp_zcu106_defconfig: move to board rev1.0 Migrate the zynqmp_zcu106_defconfig to rev1.0 ddr memory, since all new boards will be using the rev1.0 ddr memory. This patch also adds documentation in the board/zynqmp/readme.txt explaining the issue related to the change in ddr memory. Should users not see anything printing from the board during boot, the most likely issue is that the board has the original ddr memory and the u-boot device tree needs to be configured accordingly to revA. Original DDR Memory: BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynqmp-zcu106-revA" More information regarding this issue can be found here: https://support.xilinx.com/s/article/71961?language=en_US Signed-off-by: Neal Frager Reviewed-by: Brandon Maier Signed-off-by: Thomas Petazzoni --- board/zynqmp/readme.txt | 26 ++++++++++++++++++++++++++ configs/zynqmp_zcu106_defconfig | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/board/zynqmp/readme.txt b/board/zynqmp/readme.txt index 3a8a9b03ac..3f1b3a80c2 100644 --- a/board/zynqmp/readme.txt +++ b/board/zynqmp/readme.txt @@ -64,3 +64,29 @@ card: Where 'sdX' is the device node of the SD. Eject the SD card, insert it in the board, and power it up. + +============== +Important Note +============== + +The DDR memory on the original ZCU102 and ZCU106 boards is EOL. +The Buildroot defconfigs for these boards use the new DDR memory +which is configured by the u-boot spl initialization with the +Buildroot config options below. + +New DDR Memories: +BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynqmp-zcu102-rev1.0" +BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynqmp-zcu106-rev1.0" + +If nothing is printing upon boot, most likely it is because the +board has the original DDR memories. To fix the problem, modify +the Buildroot defconfig file to use the u-boot spl initialization +for the original DDR memory using the config below for the target +board. + +Original DDR Memories: +BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynqmp-zcu102-revA" +BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynqmp-zcu106-revA" + +For more information on this issue: +https://support.xilinx.com/s/article/71961?language=en_US diff --git a/configs/zynqmp_zcu106_defconfig b/configs/zynqmp_zcu106_defconfig index c10ec70ed8..970ed40d2c 100644 --- a/configs/zynqmp_zcu106_defconfig +++ b/configs/zynqmp_zcu106_defconfig @@ -23,7 +23,7 @@ BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_TARBALL=y BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,u-boot-xlnx,xlnx_rebase_v2024.01_2024.1)/xlnx_rebase_v2024.01_2024.1.tar.gz" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_zynqmp_virt" -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynqmp-zcu106-revA" +BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=zynqmp-zcu106-rev1.0" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_OPENSSL=y BR2_TARGET_UBOOT_NEEDS_GNUTLS=y