I am building IIO-Oscilloscope for a custom board using Petalinux. I have had success running IIO-Oscilloscope remotely. How can I build it to run IIO-Oscilloscope locally on the device?
KCC Quizzes AQQ303 about the radius of a circle
1. Quote of the month: "When I die, I want to die like my grandfather who died peacefully in his sleep. Not screaming like all the passengers in his car" - Will Rogers
2. Quiz AQQ304 about finding the radius of a circle
Good luck, and try to be
View All
August Monthly Blog Quiz! Read the blog, take the quiz, and you could win a gift card
Important: Read the blog first . The quiz questions are all based on the content of the blog:
Stay in the loop and win! Read the blog Current Output Driving Industrial Loops , then take our quick five-question quiz for a chance to win a gift card
View All
I am building IIO-Oscilloscope for a custom board using Petalinux. I have had success running IIO-Oscilloscope remotely. How can I build it to run IIO-Oscilloscope locally on the device?
We do not provide a custom layer for IIO-Scope, you will need to build one yourself. Please consult the yocto build documentation on adding custom layers.
You can use the meta-adi repo as an example: https://github.com/analogdevicesinc/meta-adi
-Travis
Ok, thanks. Sorry, I wasn't clear with my question. It is true I have a custom board but I also have the ZCU102 and ADRV9002 development kits. For these development kits I can build IIO-Oscilloscope using the open source linux scripts found at https://wiki.analog.com/resources/tools-software/linux-build/generic/zynqmp. The board boots and I can run IIO-Oscilloscope application either locally or remotely. I can also build the application using Petalinux with the instructions found at https://wiki.analog.com/resources/tools-software/linux-build/generic/petalinux. The board boots but I can only run IIO-Oscilloscope remotely and not locally on the ZCU102/ADRV9002.
My question is how can I configure Petalinux to build IIO-Oscilloscope to run locally on the ZCU102/ADRV9002?
The reason for this question is because I am having issues running the open source linux scripts for my custom board. I can build using Petalinux successfully for my custom board but I want to run IIO-Oscilloscope locally. If I can get Petalinux to build for the ZCU102/ADRV9002 to run locally I can then apply these settings to my custom board.
Thanks!
Elliott
My question is how can I configure Petalinux to build IIO-Oscilloscope to run locally on the ZCU102/ADRV9002?
You will either need to create a custom layer that builds it into your Petalinux build or build IIO-Scope itself on the target platform (assuming it has the necessary dependencies and compilers). The second option is what the adi_update_tools.sh script does but only for Kuiper Linux since it has the necessary compilers and support packages.
-Travis