embeded/FPGA - XILINX

zynq runtime pl fpga update

구차니 2021. 3. 15. 19:37

Zynq는 아직 구조를 보진 못했지만..

PS(Cortex-A9) 작동중에 PL 을 업데이트 할 수 있다고 한다.

일단 PS에서 PL을 업데이트 하려면 아래 과정을 거치면 된다는데.. petalinux 아니어도 있는진 봐야겠다.

 

For full bitstream:
echo 0 > /sys/class/fpga_manager/fpga0/flags

For partial bitstream:
echo 1 > /sys/class/fpga_manager/fpga0/flags

Load Bitstream:
echo <Bitstream_name>.bin > /sys/class/fpga_manager/fpga0/firmware

[링크 : https://www.hackster.io/anujvaishnav20/programming-the-pl-at-runtime-with-petalinux-72a820]

[링크 : https://xilinx.tistory.com/m/entry/FPGA와-Zynq-boot-부팅과정-비교]