init - 2023.2 简体中文

Vitis 统一软件平台文档 嵌入式软件开发 (UG1400)

Document ID
UG1400
Release Date
2023-12-13
Version
2023.2 简体中文

语法

  • 对于 Zynq 器件和 Zynq UltraScale+ MPSoC
    [init] <filename>
  • 对于 AMD Versal™  自适应 SoC:
    init = <filename>

描述

位于启动加载程序末尾的寄存器初始化块,通过解析 .int 文件规格来构建。允许最多 256 个地址/值对。.int 文件具有特定格式。

示例

BIF 文件样本如下所示:

  • 对于 Zynq 器件和 Zynq UltraScale+ MPSoC
    all:                                                     
     {                                                        
        [init] test.int                                       
     }
  • 对于 AMD Versal™  自适应 SoC:
    all:                                                     
     {                                                        
        init = reginit.int                                    
        image                                                 
        {                                                     
          name = image1, id = 0x1c000001                      
          { type=bootloader, file=plm.elf }                   
          { type=pmcdata, file=pmc_cdo.bin }                  
        }                                                     
     }