本文使用的是Xilinx XCZU21DR作为加速卡主控APU

1.Create a project for 21DR

5G开发:LDPC(PCIE)加速卡启动流程

$mkdir <your project directory>

$cd <your project directory>

$petalinux-create --type project --template zynqMP --name fhk21dr

2.Get hardware description for FPGA(vivado)

2.1.Vivado->File->Export->Export Hardware

5G开发:LDPC(PCIE)加速卡启动流程

2.2Move this xxx.hdf file to <your project directory>

    $mkdir myhdf

    $cp xxx.hdf myhdf/

    $petalinux-config --get-hw-description=./myhdf/

3.Configure you project

5G开发:LDPC(PCIE)加速卡启动流程

Generate .config file

4.Compile and output elf file

    $ petalinux-build

5.Package BOOT.bin

$petalinux-package --boot --fsbl /tftpboot/zynqmp_fsbl.elf --fpga /tftpboot/system.bit --u-boot /tftpboot/u-boot.elf

6.SD card boot configure

6.1.format your SD card

5G开发:LDPC(PCIE)加速卡启动流程

6.2.copy image.ub and BOOT.bin to SD card

7.Test your system

  1. Plug SD card to you board
  2. Power on

 

相关文章:

  • 2021-06-03
  • 2021-06-14
  • 2021-12-17
  • 2021-11-23
猜你喜欢
  • 2021-08-31
  • 2021-04-02
  • 2021-07-18
  • 2021-05-12
  • 2021-11-04
  • 2021-12-26
相关资源
相似解决方案