Recently, with the help of aolivarez and waltersdom, I tested that my third-party FGPA development board can use the ZCU102 solution. I now want to implement x86 (ubuntu) and FPGA data transmission interconnection based on network cables. I remembered Tutorial 1: Component-based Development, which is a good example. I want to port the original running on xsim to the real physical development board. What else do I need to do besides replacing xsim with zcu102 when compiling? At present, I found the bitstream file about zcu102 in the artifacts folder.
I have a few doubts now.
- If I only want to run HDL on the zynq series development board, do I still need to compile the arm platform (e.g. xilinx24_1_aarch64)?
- Do I need to run the
ocpiremote
command in the project folder to send the sandbox (fpga serve package) file to the FPGA development board?
- Do I also need to start additional services or configure ports, configuration scripts, etc. in the zynq development board?
- I want RCC to execute in ubuntu20_04, HDL to execute on the FPGA development board, there are relevant sample documents for reference?
Thank you very much for your selfless help!
-
Yes, the reason for that is that the command line utilities and kernel module need be cross compiled and running on the zcu102 arm for it facilitate the data transfer.
-
Yes, by using ocpiremote load
and ocpiremote start
will make the RCC and HDL platforms available to your host.
-
No, if you have your development host setup properly you do not need to setup any additional items on the zynq development board
-
There are two different ways to let OpenCPI know where you want a worker to run. The first way is to utilize ocpirun , the -P
flag can be used to specify which platform you want the worker to run. For more information you can look at man pages for ocpirun
. The second way is to add XML attributes to the application XML by added Platform xml attribute to the component instance.
For example ocpidev run application DemoApp.xml --run-arg=' -Psource=zcu102
hi,aolivarez:
I have now successfully checked the platform of zcu102.
When I run tutorial1 now, directly executing
ocpidev run application DemoApp.xml
will get stuck. I follow the command you gave
ocpidev run application DemoApp.xml --run-arg = '-Psource = zcu102
to prompt that there is no --run-arg parameter.