Post Go back to editing

Loading custom profile for ADRV9008-2 and ADRV9008-1

Thread Summary

The user is trying to configure ADRV9008-1 and ADRV9008-2 using Linux and wants to load a custom profile at runtime or during boot. The solution involves using the sysfs API or libiio to load the profile at runtime, and converting the profile to device tree parameters for boot-time configuration. The custom profile file should be added to the Petalinux project to ensure it is available at runtime.
AI Generated Content

Hello ADI Team

I am trying to configure ADRV9008-1 and ADRV9008-2 using Linux. I followed the steps that were provided in https://wiki.analog.com/resources/eval/user-guides/adrv9002/quickstart/zynqmp  and created images for ADRV9008-1 and ADRV9008-2. Now, I  need to load custom profile generated using ADI tool so that I can configure the parameters of Transceivers during Run Time. I have observed that custom profile can be loaded in run time using IIO Oscilloscope. How can I enable this IIO Oscilloscope feature in the custom image that is created so that I can load the profile.

Also, can I load the profile while booting using UART console.

I am an amateur in Linux Domain. Any help in this regard would be highly appreciated.

Thanks

Deepika

Parents Reply
  • Hello Michael

    Thanks for your response.

    As suggested above in https://wiki.analog.com/resources/tools-software/linux-drivers/iio-transceiver/adrv9009#profiles, if I want to load the profile, where should the profile.txt file be saved so that the values shall be updated. Let me elaborate the steps that I followed while building the project using Petalinux : 

    1. The corresponding .hdf file for ADRV9009 was used to configure the Peralinux project created.

    2. The meta-adi-core and meta-adi-xilinx files were added in Yocto Layers on configuration window.

    3. The zynqmp-zcu102-rev10-adrv9009-jesd204-fsm.dts was displayed in petalinuxbsp.conf file.

    4. petalinux-build was performed.

    The ambiguity is, among all these steps where should I add my profile or if I want to load profile in profile_config using : root@analog:/sys/bus/iio/devices/iio:device3# cat Tx_BW200_IR245p76_Rx_BW200_OR245p76_ORx_BW200_OR245p76_DC245p76.txt > profile_config

    where should the .txt file be saved.

    The doubt sounds insane, but requesting your guidance in resolving this doubt.

    Thanks in advance

    Deepika

Children