Xilinx ZCU111 OFDM example doesn't load

8 次查看(过去 30 天)
I am trying to run the following OFDM example in Xilinx ZCU111 RF SoC
I have followed all the step to model creation and bit file generation which gets completed as explained in the tutorial. However, when I try to load the generated bit file I get the following error:
Unable to generate dtb file using device tree information from hardware board. Provide corresponding board dts/dtsi files during Custom Target creation and rerun socBuilder.
In the MATLAB console I can see the following prints:
/bin/sh: /home/udara/Documents/MATLAB/SupportPackages/R2021a/3P.instrset/linarogcctoolchain_6_3_soc.instrset/bin/aarch64-linux-gnu-gcc: No such file or directory
gmake: *** ["/home/udara/Documents/MATLAB/Examples/R2021a/xilinxsoc/OFDMTransmitAndReceiveUsingXilinxRFSoCDeviceExample/soc_prj/dts"/soc_prj.output.dts] Error 127
gmake: Leaving directory `/home/udara/Documents/MATLAB/Examples/R2021a/xilinxsoc/OFDMTransmitAndReceiveUsingXilinxRFSoCDeviceExample/soc_prj/dts'
I tried to navigate to this folder but it seems there is no dts folder inside the soc_prj. I would really appreciate it if someone can explain me what is not wrong here. I have selected the ZCU111 RFSoC in the SoC Builder before opening the configure,build,deploy option. So I expect all the necessary files to be generated since the platform is officially supported in Matlab SoC Blockset.
Thank you & Best Regards,
Udara

回答(2 个)

YP
YP 2021-6-2
编辑:YP 2021-6-3
Can you rerun the hardware setup for the support package?
Please follow "Hardware Setup" section as mentioned in https://www.mathworks.com/help/supportpkg/xilinxsoc/ug/install-support-for-xilinx-devices.html
After the hardware setup, you can try socBuilder again. Notice that now you can choose 'Load exisiting binaries' on the first screen because you already finished the bitstream build.
  4 个评论
Alexander
Alexander 2023-8-31
I had the same issue in 2022b.
Matlab was downloading the toolchain, but I had to unzip it to the correct location.
YP
YP 2023-8-31
Hi Alexander,
If the reinstallation doesn't solve your issue, please create service request. Our tech support will try reproducing your issue.

请先登录,再进行评论。


Souta
Souta 2023-12-6
I had this same error while loading bitstream to Xilinx Zynq RFsoc board:
C:\ProgramData\MATLAB\SupportPackages\R2023a\3P.instrset\linarogcctoolchain_6_3.instrset\bin' does not exist.
When I opened the directory C:\ProgramData\MATLAB\SupportPackages\R2023a\3P.instrset, I found a folder linarogcctoolchain_6_3_soc.instrset. This folder seemed to be the same but with "soc" suffix in the name. So, I just copy pasted this folder at the same place and renamed it to linarogcctoolchain_6_3.instrset
After this 'hack' the matlab was able to load the bitfiles ( using Configure, Build & Deploy from SoC Tab).
Note: I had initially everything working. For some reason, i needed to reinstall the support packages for xilinx rfsoc devices. After reinstalling the packages, I started geting this error, despite that i configured the support packages from Add Ons manager.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by