Article ID: 000086383 Content Type: Product Information & Documentation Last Reviewed: 06/06/2023

How to enable the UART1 in ATF (Arm Trusted Firmware) when you configure the U-Boot to use UART1?

Environment

  • Intel® Quartus® Prime Pro Edition
  • BUILT IN - ARTICLE INTRO SECOND COMPONENT
    Description

    Due to a problem in the Arm Trusted Firmware (ATF) version 2.4.0 and earlier, when uart1 is configured for U-boot, the HPS will hang.

    Resolution

    To work around this problem in the ATF version 2.4.0 and eariler, you could make a modification to use the real register address for UART1 in arm-trusted-frimware/plat/intel/soc/common/include/platform_def.h.

    Here is an example for Intel Agilex® SoC devices (macro PLAT_UART0_BASE used across the ATF code, a simple modification is suggested here):

    Change 

    #define PLAT_UART0_BASE (0xFFC02000)

    to 

    #define PLAT_UART0_BASE (0xFFC02100)

     

    This problem is fixed starting with the ATF version 2.4.1.

     

    Related Products

    This article applies to 5 products

    Intel® Stratix® 10 TX FPGA
    Intel Agilex® 7 FPGAs and SoC FPGAs F-Series
    Intel Agilex® 7 FPGAs and SoC FPGAs I-Series
    Intel® Stratix® 10 SX SoC FPGA
    Intel® Stratix® 10 MX FPGA