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?
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