configs/versal2_vek385_defconfig: remove useless atf console config
commit: https://gitlab.com/buildroot.org/buildroot/-/commit/dea4bf0eca70b32d2e7ba3d2f5cb4767efe6a6c7
branch: https://gitlab.com/buildroot.org/buildroot/-/tree/master
The VERSAL2_CONSOLE variable does not actually exist when building the atf with plat=versal2. So the current VERSAL2_CONSOLE=cadence1 is not actually doing anything. For this reason, the atf will print on its default console which is UART0 or pl011_0.
The correct definition would be CONSOLE=pl011_1 in order to build the atf to print on UART1 or pl011_1.
However, the git repo xparameters.h of the versal2_plm is not currently enabling UART1 because the XPAR_XUARTPSV_NUM_INSTANCES is set to 1 including the address defines only for UART0.
https://github.com/Xilinx/embeddedsw/blob/97f2baf7f69e9d5f447650110af0d8841e501277/lib/sw_apps/versal_plm/misc/versal_2ve_2vm/xparameters.h#L1519
The problem with this is that the plm is not configuring UART1, so the atf will crash at boot time, if it is built with CONSOLE=pl011_1 and the plm has not already enabled UART1.
For now, we will remove the unnecessary config that is doing nothing. The versal2_vek385_defconfig is working, but users need to currently open two console windows to see the boot log because the current config is the following.
plm - console uart0
asufw - console uart0
atf - console uart0
optee-os - console uart1
u-boot - console uart1
Linux - console uart1
A patch has been submitted to the embeddedsw repo to fix the xparameters.h file such that the plm will correctly enable UART1. Once this is applied, we will configure the plm and atf to use UART1 with the versal2_vek385_defconfig.
--- configs/versal2_vek385_defconfig | 1 - 1 file changed, 1 deletion(-)
configs/versal2_vek385_defconfig +0 -1
@@ -26,7 +26,6 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,ar BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="versal2" BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31_UBOOT=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="VERSAL2_CONSOLE=cadence1" BR2_TARGET_OPTEE_OS=y BR2_TARGET_OPTEE_OS_CUSTOM_TARBALL=y BR2_TARGET_OPTEE_OS_CUSTOM_TARBALL_LOCATION="$(call github,Xilinx,optee_os,xlnx-rebase-v4.9.0_2026.1)/xlnx-rebase-v4.9.0_2026.1.tar.gz"
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot