• 検索結果がありません。

Versal ACAP のユース ケース

ドキュメント内 Bootgen ユーザー ガイド (ページ 129-133)

Versal™ ACAP に対しては、Vivado® でプログラマブル デバイス イメージ (PDI) と呼ばれるブート イメージを生成し

ます。この Vivado で生成される PDI には、ブートローダー ソフトウェア実行ファイルの PLM (Platform Loader and

Manager) のほか、PL 関連のコンポーネントとサポートされるデータ ファイルが含まれます。Vivado はプロジェクト

および CIPS コンフィギュレーションに基づいて BIF ファイルを作成し、Bootgen を起動して PDI を作成します。こ の BIF が XSA の一部として Vitis™ のようなソフトウェア ツールにエクスポートされます。その後、BIF は必要なパ ーティションおよび属性を使用して変更できます。id_codeおよびextended_id_codeに関連する行が BIF ファ イルにそのまま含まれていることを確認してください。この情報は PDI が Bootgen で生成される際に必ず必要とな ります。

new_bif:

{ id_code = 0x04ca8093 extended_id_code = 0x01 id = 0x2

image {

name = pmc_subsys id = 0x1c000001 partition

{

id = 0x01

type = bootloader

file = gen_files/executable.elf }

partition {

id = 0x09

type = pmcdata, load = 0xf2000000 file = topology_xcvc1902.v2.cdo file = gen_files/pmc_data.cdo }

} image {

name = lpd id = 0x4210002 partition {

id = 0x0C type = cdo

file = gen_files/lpd_data.cdo }

partition {

id = 0x0B core = psm

file = static_files/psm_fw.elf }

} image {

name = pl_cfi id = 0x18700000 partition

{

id = 0x03 type = cdo

file = system.rcdo }

partition {

id = 0x05 type = cdo

{

id = 0x08 type = cdo

file = gen_files/fpd_data.cdo }

} }

注記: Vivado で生成された BIF ファイルの executable.elf は、PLM を実行するファームウェアです。Vivado プ ロジェクトで生成される BIF ファイルは、<vivado_project>/<vivado_project>.runs/impl_1/

<Vivado_project>_wrapper.pdi.bif に含まれます。

ブートローダー、PMC_CDO

次の例に、ブートローダーを PMC_CDO と使用する方法を示します。

all:{

id_code = 0x04ca8093 extended_id_code = 0x01 init = reginit.ini image

{

{type=bootloader, file=PLM.elf}

{type=pmcdata, file=pmc_cdo.bin}

} }

ブートローダー、PMC_CDO およびロード アドレス

次の例に、ブートローダーを PMC_CDO およびロードアドレスと一緒に使用する方法を示します。

all:{

id_code = 0x04ca8093 extended_id_code = 0x01 init = reginit.ini image

{

{type=bootloader, file=PLM.elf}

{type=pmcdata, load=0xf0400000, file=pmc_cdo.bin}

} }

次の例に、ブートローダーを使用しながらチェックサムをイネーブルにする方法を示します。

all:{

id_code = 0x04ca8093 extended_id_code = 0x01 init = reginit.ini image

{

{type=bootloader, checksum=sha3, file=PLM.elf}

{type=pmcdata, load=0xf0400000, file=pmc_cdo.bin}

} }

ブートローダー、PMC_CDO、PL CDO、NPI

次の例に、ブートローダーを PMC_CDO および NPI と使用する方法を示します。

new_bif:

{ id_code = 0x04ca8093 extended_id_code = 0x01 id = 0x2

image {

name = pmc_subsys, id = 0x1c000001

{ id = 0x01, type = bootloader, file = gen_files/executable.elf } { id = 0x09, type = pmcdata, load = 0xf2000000, file =

topology_xcvc1902.v2.cdo, file = gen_files/pmc_data.cdo } }

image {

name = lpd, id = 0x4210002

{ id = 0x0C, type = cdo, file = gen_files/lpd_data.cdo } { id = 0x0B, core = psm, file = static_files/psm_fw.elf } }

image {

name = pl_cfi, id = 0x18700000

{ id = 0x03, type = cdo, file = system.rcdo } { id = 0x05, type = cdo, file = system.rnpi } }

image {

name = fpd, id = 0x420c003

{ id = 0x08, type = cdo, file = gen_files/fpd_data.cdo } }

}

次の例に、ブートローダーを PMC_CDO、NPI、PS CDO、および PS ELF と共に使用する方法を示します。

new_bif:

{ id_code = 0x04ca8093 extended_id_code = 0x01 id = 0x2

image {

name = pmc_subsys, id = 0x1c000001

{ id = 0x01, type = bootloader, file = gen_files/executable.elf } { id = 0x09, type = pmcdata, load = 0xf2000000, file =

topology_xcvc1902.v2.cdo, file = gen_files/pmc_data.cdo } }

image {

name = lpd, id = 0x4210002

{ id = 0x0C, type = cdo, file = gen_files/lpd_data.cdo } { id = 0x0B, core = psm, file = static_files/psm_fw.elf } }

image {

name = pl_cfi, id = 0x18700000

{ id = 0x03, type = cdo, file = system.rcdo } { id = 0x05, type = cdo, file = system.rnpi } }

image {

name = fpd, id = 0x420c003

{ id = 0x08, type = cdo, file = gen_files/fpd_data.cdo } }

image {

name = apu_ss, id = 0x1c000000 { core = a72-0, file = apu.elf } { core = r5-0, file = rpu.elf } }

}

AI エンジンのコンフィギュレーションおよび AI エンジンのパーテ

ドキュメント内 Bootgen ユーザー ガイド (ページ 129-133)