• 0
JPP75

Help programming Cora Z7-07S PL through Petalinux

Question

Hi Everyone,

 

I'm new to Zynq FPGA and I have some difficulties to understand how to program the PL through Petalinux.

I have a Cora Z7-07S board and by fallowing Digilent's instruction (https://reference.digilentinc.com/reference/software/petalinux/start), I'm able to boot Petalinux on a SDcard and SSH to it.

I can also load the basic PL demo (https://reference.digilentinc.com/reference/programmable-logic/cora-z7/cora-z7-07s-basic-io) through the JTAG with Vivado.

But I'm struggling trying to program the PL with the same demo program trough Petalinux.

If I understand correctly this guide: https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841645/Solution+Zynq+PL+Programming+With+FPGA+Manager, I have to change the device-tree to add the top.bit.bin.

Does anyone know which files of Digilent's BSP should be changed and how? Can anyone provide a step by step guide?

 

Thank you

 

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hello,

The Xilinx guide you mentioned is relevant for versions starting with 2018.1.

Since our Petalinux project on github is using 2017.4, the procedure is a single command.

$ cat bitstream.bit > /dev/xdevcfg

Here is the reference for versions 2017.4 and earlier:

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841833/Programming+the+Programmable+Logic#ProgrammingtheProgrammableLogic-ProgrammingZYNQPLthroughLinux

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now