split - split - 2026.1 简体中文 - UG1283

Bootgen 用户指南 (UG1283)

Document ID
UG1283
Release Date
2026-06-23
Version
2026.1 简体中文

语法

[split] mode = <mode-options>, fmt=<format>

描述

根据模式将镜像拆分为多个部分。Slaveboot 模式按如下方式拆分:

  • 启动头 + 启动加载程序
  • 镜像和分区头
  • 其他分区

Normal 模式按如下方式拆分:

  • 启动头 + 镜像头 + 分区头 + 启动加载程序
  • Partition1
  • Partition2 以此类推

Zynq UltraScale+ MPSoC 仅支持 slaveboot,而 Zynq 7000Zynq UltraScale+ MPSoC 均支持 normal。除拆分模式外,输出格式还可指定为 binmcs

选项

实参模式可用选项为:

  • slaveboot
  • normal
  • bin
  • mcs

示例

all:
{
	[split]mode=slaveboot,fmt=bin
	[bootloader,destination_cpu=a53-0]fsbl.elf
	[destination_device=pl]system.bit
	[destination_cpu=r5-1]app.elf
}
注释: 选项拆分模式 normal 与命令行选项 split 相同。按计划将弃用此命令行选项。
注释: Versal 自适应 SoC 不支持拆分 slaveboot 模式。