ブータブル イメージの作成とフラッシュ メモリのプログラム - 2023.2 日本語

Vitis 統合ソフトウェア プラットフォームの資料: エンベデッド ソフトウェア開発 (UG1400)

Document ID
UG1400
Release Date
2023-12-13
Version
2023.2 日本語

次に、Hello World アプリケーションの作成を示す XSCT セッション例を示します。また、システム プロジェクトを構築し、フラッシュにイメージをプログラミングして、アプリケーションとビットストリームを使用したブータブル イメージの作成方法も示します。

注記: Vitis 環境は、アプリケーション プロジェクトを作成する際に、プラットフォーム プロジェクトとシステム プロジェクトを作成します。プラットフォーム プロジェクトには、デバイスの初期化に必要な FSBL などのブート コンポーネントが含まれます。次は、ZC702 ボードを使用して、program_flash-flash_type qspi_single オプションを使用した例です。
setws /tmp/wrk/workspace
app create -name a9_fsbl -hw /tmp/wrk/system.xsa -os standalone -proc ps7_cortexa9_0 -template {Hello World}
app build -name a9_hello
# Build the system project. This builds the platform project to generate fsbl.elf
# and creates a bif file and runs Bootgen to create a boot image (BOOT.BIN)
sysproj build -name a9_hello_system
# Modify the bif and run Bootgen if needed
# exec bootgen -arch zynq -image output.bif -w -o /tmp/wrk/BOOT.bin
# Program the flash and verify the flash device
exec program_flash -f /tmp/wrk/BOOT.bin -flash_type qspi_single -blank_check -verify -cable type xilinx_tcf url tcp:localhost:3121