Xilinx ZCU111 OFDM example doesn't load

9 views (last 30 days)
Yaddehi De Silva
Yaddehi De Silva on 2 Jun 2021
Answered: Souta on 6 Dec 2023
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

Answers (2)

YP
YP on 2 Jun 2021
Edited: YP on 3 Jun 2021
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 Comments
Alexander
Alexander on 31 Aug 2023
I had the same issue in 2022b.
Matlab was downloading the toolchain, but I had to unzip it to the correct location.
YP
YP on 31 Aug 2023
Hi Alexander,
If the reinstallation doesn't solve your issue, please create service request. Our tech support will try reproducing your issue.

Sign in to comment.


Souta
Souta on 6 Dec 2023
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!