<div dir="ltr">Thank you to Jeff Miller, who called me a few weeks ago to check in.<br><br>Greetings all!<br><br>We are still trying to use Transceiver Toolbox to do over-the-air demonstrations/development of open source transceiver designs at ORI that use HDL Coder/Simulink. This is a summary of where we're at with an ADRV9002/zcu102. <br><br>For Transceiver Toolbox, we see that the required versions are:<br>HDL Branch 2021_R2<br>MATLAB R2022b<br>Vivado 2021.2<br>Transceiver Toolbox 22.2.2<br>HDL Coder Workflow Advisor in MATLAB R2022b has only been tested to Vivado 2020.2 <br><br>(How concerned about that should I be?)<br><br>When last we spoke, ADI's Transceiver Evaluation Software version was 0.23.1.<br><br>It's now 0.24.1<br><br>Today we installed 0.24.1, and it wants a device driver API version of 68.8.1. From what I can tell, this means Petalinux 2023.1, because the readme for the Analog Devices linux directory that the 68.8.1 update is in says that "The current master is based on xilinx v2023.1." <br><br>This is ahead of the Vivado/Petalinux version that Transceiver Toolbox and HDL Coder require (see above)<br>Last time around, trying versions that don't match results only in pain. There's yocto layers mismatches, API mismatches, build errors I've never seen before, or HDL Coder workflow advisor simply doesn't work.<br><br>TES 0.23.1 demanded 68.5.0, which was in Petalinux 2022.2, and there was *no API mismatch*... but this system was not and is not supported by Transceiver Toolbox or HDL Coder. <br><br>TES 0.22.0 would match with 2021.1 Petalinux, 2021.1 HDL reference design, 2021.1 Vivado, Transceiver Toolbox, and MATLAB, and HDL Coder, and Simulink. This is Device Driver version 68.0.6. <br><br>TES 0.22.0 is the only version not available in the Internet Archive, and Analog Devices flatly refused to provide a copy, even after we offered to sign a waiver and a senior application engineer personally placed the request as a trouble ticket. <br><br>As most or all of you know, both TES and Transceiver Toolbox are from ADI. TES is required to generate the configuration for the radio chip and recent versions also produce a binary firmware file for the ARM. <br><br>I have talked to everyone I can think of, including many of you, Xilinx and ADI booth folks at conferences like IMS, IWRC, etc., and have made multiple attempts on the "engineer zone", to no avail, since June. <br><br>Jeff mentioned there may be another entity with the same challenges? Please give my contact information to them if there's any chance we can get our development boards off the ground. It's been a drag to have this be the hardest part of our SDR development and to essentially stop over the air demos with MATLAB/Simulink. <br><br>We have solid and useful designs, have educated a lot of people at the non-profit, and have inspired folks to get PhDs, go back to school, get promotions, get involved in STEM, and more. We want to keep doing all of this and have things work over the air in the lab again. That hasn't happened with the 9002/9009 boards we have. <br><br>I've cleared out all other work and will be able to spend time working on this. Advice or updates about things I've missed or misunderstood are deeply appreciated. <br><br>Thank you,<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr">-Michelle Thompson<br><div>ORI<br>+1 858 229 3399<br></div></div></div></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 12, 2023 at 5:25 PM Jeff Miller <<a href="mailto:jmiller@mathworks.com">jmiller@mathworks.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg-6789103063390857130">





<div lang="EN-US" style="overflow-wrap: break-word;">
<div class="m_-6789103063390857130WordSection1">
<p class="MsoNormal"><span style="font-family:"Malgun Gothic",sans-serif">Michelle,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Malgun Gothic",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Malgun Gothic",sans-serif">Thanks for the details, opening up to see if anyone else on this thread can comment.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Malgun Gothic",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Malgun Gothic",sans-serif">All the best,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Malgun Gothic",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Malgun Gothic",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-family:"Malgun Gothic",sans-serif;color:rgb(0,32,96)">Jeff Miller</span></b><b><span style="font-family:"Malgun Gothic",sans-serif;color:rgb(0,32,96)"><u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-family:"Malgun Gothic",sans-serif;color:rgb(0,32,96)">Principal Applications Engineer</span></b><b><span style="font-family:"Malgun Gothic",sans-serif;color:rgb(0,32,96)"><u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-family:"Malgun Gothic",sans-serif;color:rgb(0,32,96)">MathWorks<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-family:"Malgun Gothic",sans-serif;color:rgb(31,73,125)"><a href="mailto:jmiller@mathworks.com" target="_blank">jmiller@mathworks.com</a></span></b><b><span style="font-family:"Malgun Gothic",sans-serif;color:rgb(31,73,125)"><u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-family:"Malgun Gothic",sans-serif;color:rgb(131,60,11)">508-647-4207</span></b><b><span style="font-family:"Malgun Gothic",sans-serif;color:rgb(131,60,11)">
<u></u><u></u></span></b></p>
<p class="MsoNormal"><a href="https://www.linkedin.com/in/jeff-miller-b818643/" target="_blank"><span style="color:windowtext;text-decoration:none"><img border="0" width="181" height="35" style="width: 1.8854in; height: 0.3645in;" id="m_-6789103063390857130Picture_x0020_2" src="cid:18bafe8dc3e4cff311"></span></a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><a href="https://www.linkedin.com/in/jeff-miller-b818643/" target="_blank"><span style="color:rgb(5,99,193)">https://www.linkedin.com/in/jeff-miller-b818643/</span></a><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:"Malgun Gothic",sans-serif"><u></u> <u></u></span></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
<p class="MsoNormal"><b>From:</b> Michelle Thompson <<a href="mailto:mountain.michelle@gmail.com" target="_blank">mountain.michelle@gmail.com</a>>
<br>
<b>Sent:</b> Wednesday, July 12, 2023 7:54 PM<br>
<b>To:</b> Jeff Miller <<a href="mailto:jmiller@mathworks.com" target="_blank">jmiller@mathworks.com</a>><br>
<b>Cc:</b> Scott Erickson <<a href="mailto:serickso@mathworks.com" target="_blank">serickso@mathworks.com</a>>; TJ Moor <<a href="mailto:tjmoor@mathworks.com" target="_blank">tjmoor@mathworks.com</a>>; Robin Getz <<a href="mailto:rgetz@mathworks.com" target="_blank">rgetz@mathworks.com</a>>; Radu David <<a href="mailto:rdavid@mathworks.com" target="_blank">rdavid@mathworks.com</a>>; Prerak Pradhan <<a href="mailto:ppradhan@mathworks.com" target="_blank">ppradhan@mathworks.com</a>><br>
<b>Subject:</b> Re: Summarize Buildroot question<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Greetings Jeff,<br>
<br>
Had to travel for work, but am back in San Diego now. The team worked on the specification and did not make any headway on the build. <br>
<br>
I updated the post here: <a href="https://www.mathworks.com/matlabcentral/answers/1965389-errors-with-mathworks-buildroot-image-compilation" target="_blank">https://www.mathworks.com/matlabcentral/answers/1965389-errors-with-mathworks-buildroot-image-compilation</a><br>
<br>
There were some additional machinations required to include the .dts files. I wrote these down but can't find them, which is unfortunate. The current problem is "how to get the device tree for the radio card into the build". <br>
<br>
There was a "missing destination file" error in genl that we never solved for the zc706+ADRV9009 attempt. From my notes, it looks like the missing destination file error didn't happen on the zcu102+ADRV9002. Therefore, I didn't include it. It seems like there's
 a missing argument somewhere in a makefile. We think this because of the lines:<br>
<br>
install -m 0755 genl /home/abraxas3d...<br>
install -m 0755   /home/abraxas3d...<br>
<br>
The missing destination file operand after '/home/abraxas3d...' does make it look like there is a syntax error after the genl. <br>
<br>
We searched for packages that contained genl and tried to grep for artifacts with grep -r -w genl * | grep -v output and scoured through iproute2/nl_protos but turned nothing up there either.<br>
<br>
That's the Mathworks buildroot experience summary up to now. <br>
<br>
The problem with Analog Devices TES software: it is only being available in the very latest and newest version. If we have to use Vivado 2019.1 or maybe Vivado 2021.1, this means that the API version in the TES radio card profiles (which are required to configure
 the radio chip and can only be obtained from TES) will never match the linux versions required for HDL Coder and MATLAB and Mathworks Buildroot. <br>
<br>
We have done all we can think of to do to get a slightly older version of TES. The version we need is (of course) the only one not available from the Internet Archive, not available from Analog Devices even when appealing in person at IMS2023, and no one we've
 asked has a copy lying around. We have an API version of 68.0.6 from dmesg, using Petalinux to produce a linux build for the zcu102+ADRV9002. We need 68.5.0 in order to use the current version of TES, which is 0.23.1. Yes, version zero! It's not even funny. <br>
<br>
In order to produce profiles that work with the API version that we have to use in order to support Transceiver Toolbox, which is from the same company that produces TES, we would need TES version 0.22.0. <br>
<br>
Making it a hard requirement to exactly match internal API versions (which we assume have something to do with libiio implementation) and not providing any utility software except the very latest version honestly baffled me. I cannot figure out how to get the
 new API in the slightly older version of Petalinux. Or, into Mathworks Buildroot. Maybe they mean for people to only use Kuiper. However, Kuiper is pre-built. They do not intend for you to build your own linux and do not support any efforts to do so. We tried
 that path too. <br>
<br>
So, we want to solve this and document it, like we spoke about on the call. These products really do need to work together better because they are all extremely powerful. What can we do to best help, from here?<u></u><u></u></p>
<div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12pt">-Michelle Thompson<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Tue, Jun 20, 2023 at 1:16 PM Jeff Miller <<a href="mailto:jmiller@mathworks.com" target="_blank">jmiller@mathworks.com</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Malgun Gothic",sans-serif">Michelle,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:"Malgun Gothic",sans-serif"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:"Malgun Gothic",sans-serif">Nice talking to you today, if you could summarize your questions and where you currently are working through.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:"Malgun Gothic",sans-serif">-Jeff</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:"Malgun Gothic",sans-serif"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:"Malgun Gothic",sans-serif">MathWorks buildroot, need to make HDL coder work well with FPGA-in-the-loop, experience with Petalinux</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:"Malgun Gothic",sans-serif">Starting building from repo and struggling to build from ZCU</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:"Malgun Gothic",sans-serif">Have been getting help from Prerak, and Radu</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:"Malgun Gothic",sans-serif"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-family:"Malgun Gothic",sans-serif;color:rgb(0,32,96)">Jeff Miller</span></b><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-family:"Malgun Gothic",sans-serif;color:rgb(0,32,96)">Principal Applications Engineer</span></b><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-family:"Malgun Gothic",sans-serif;color:rgb(0,32,96)">MathWorks</span></b><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-family:"Malgun Gothic",sans-serif;color:rgb(31,73,125)"><a href="mailto:jmiller@mathworks.com" target="_blank">jmiller@mathworks.com</a></span></b><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-family:"Malgun Gothic",sans-serif;color:rgb(131,60,11)">508-647-4207
</span></b><u></u><u></u></p>
<p class="MsoNormal"><a href="https://www.linkedin.com/in/jeff-miller-b818643/" target="_blank"><span style="color:windowtext;text-decoration:none"><img border="0" width="181" height="35" style="width: 1.8854in; height: 0.3645in;" id="m_-6789103063390857130m_-2142951078246892004Picture_x0020_1" src="cid:18bafe8dc3e4cff311"></span></a><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><a href="https://www.linkedin.com/in/jeff-miller-b818643/" target="_blank"><span style="color:rgb(5,99,193)">https://www.linkedin.com/in/jeff-miller-b818643/</span></a><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>

</div></blockquote></div>