From c52d711923d6e8bab0618e043fa0261457cb76b9 Mon Sep 17 00:00:00 2001 From: Neal Frager Date: Wed, 18 Jun 2025 14:36:21 +0100 Subject: [PATCH] board/zynqmp: update custom board documentation Update the zynqmp readme.txt file to use BR2_TARGET_UBOOT_ZYNQMP_PSU_INIT_FILE option for configuring custom zynqmp boards with Buildroot. There is no need for any custom / manual steps since the support is included with Buildroot. Signed-off-by: Neal Frager Reviewed-by: Luca Ceresoli Signed-off-by: Julien Olivain --- board/zynqmp/readme.txt | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/board/zynqmp/readme.txt b/board/zynqmp/readme.txt index a98ff78f6f..242c643480 100644 --- a/board/zynqmp/readme.txt +++ b/board/zynqmp/readme.txt @@ -86,25 +86,19 @@ updated for any programmable logic or DDR customizations which impact psu_init (clock/pin setup & mapping/AXI bridge setup/etc). See board/xilinx/zynqmp/ directory of U-Boot for natively supported psu_init files. If the psu_init files for your board are not found in U-Boot, -you need to add them by yourself. +you need to add them using BR2_TARGET_UBOOT_ZYNQMP_PSU_INIT_FILE. 1) Start with a defconfig supported by Buildroot (e.g. ZCU106) make zynqmp_zcu106_defconfig -2) make uboot-menuconfig - Visit the following menu and enable CONFIG_XILINX_PS_INIT_FILE +2) make menuconfig + Visit the following menu to configure BR2_TARGET_UBOOT_ZYNQMP_PSU_INIT_FILE - ARM architecture ---> - [*] Zynq/ZynqMP PS init file(s) location + Bootloaders ---> + U-Boot ---> + () Custom psu_init_gpl file -3) Copy psu_init_gpl.c/h generated by the Xilinx Vivado tools into - output/build/uboot-custom/board/xilinx/zynqmp/custom_hw_platform/ - -4) make - -Note: The files in step 3 will need to be re-copied after cleaning the -output directory and at this time, there is no way to save them as -part of the buildroot configuration, except as a U-Boot patch. +3) make ============== Important Note