Post Go back to editing

libiio Could not create RX buffer: Permission denied

Hello, 

I am trying to drive adrv9009 and ran into this issue 

* Acquiring IIO context
* Acquiring ADRV9009 streaming devices
* Configuring ADRV9009 for streaming
* Acquiring ADRV9009 phy channel 0
         rf_bandwidth: 100000000
         sampling_frequency: 122880000
* Acquiring ADRV9009 TRX lo channel
* Initializing ADRV9009 IIO streaming channels
* Enabling IIO streaming channels
* Creating non-cyclic IIO buffers with 1 MiS
Could not create RX buffer: Permission denied
* Destroying buffers
* Disabling streaming channels
* Destroying context

Code is adrv9009 example.

iio_info

Library version: 0.23 (git tag: 5b4cd21)
Compiled with backends: local xml ip usb serial
IIO context created with local backend.
Backend version: 0.23 (git tag: 5b4cd21)
Backend description string: Linux ETRX 5.10.0-xilinx-v2021.1 #1 SMP PREEMPT Tue Jan 25 09:08:56 UTC 2022 armv7l
IIO context has 2 attributes:
        local,kernel: 5.10.0-xilinx-v2021.1
        uri: local:
IIO context has 6 devices:
        iio:device0: xadc
                9 channels found:
                        voltage5: vccoddr (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 2001
                                attr  1: scale value: 0.732421875
                        voltage0: vccint (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 1157
                                attr  1: scale value: 0.732421875
                        voltage4: vccpaux (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 2361
                                attr  1: scale value: 0.732421875
                        temp0:  (input)
                        3 channel-specific attributes found:
                                attr  0: offset value: -2219
                                attr  1: raw value: 2538
                                attr  2: scale value: 123.040771484
                        voltage7: vrefn (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: -17
                                attr  1: scale value: 0.732421875
                        voltage1: vccaux (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 2348
                                attr  1: scale value: 0.732421875
                        voltage2: vccbram (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 1159
                                attr  1: scale value: 0.732421875
                        voltage3: vccpint (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 1158
                                attr  1: scale value: 0.732421875
                        voltage6: vrefp (input)
                        2 channel-specific attributes found:
                                attr  0: raw value: 1685
                                attr  1: scale value: 0.732421875
                1 device-specific attributes found:
                                attr  0: sampling_frequency value: 961538
                No trigger on this device
        iio:device1: hmc7044
                8 channels found:
                        altvoltage2: DEV_REFCLK_B (output)
                        2 channel-specific attributes found:
                                attr  0: frequency value: 245760000
                                attr  1: phase value: 3.926990
                        altvoltage8: FPGA_SYSREF_TX_OBS_AB (output)
                        2 channel-specific attributes found:
                                attr  0: frequency value: 3840000
                                attr  1: phase value: 0.000000
                        altvoltage1: DEV_SYSREF_A (output)
                        2 channel-specific attributes found:
                                attr  0: frequency value: 3840000
                                attr  1: phase value: 0.000000
                        altvoltage3: DEV_SYSREF_B (output)
                        2 channel-specific attributes found:
                                attr  0: frequency value: 3840000
                                attr  1: phase value: 0.000000
                        altvoltage4: JESD_REFCLK_TX_OBS_AB (output)
                        2 channel-specific attributes found:
                                attr  0: frequency value: 122880000
                                attr  1: phase value: 0.000000
                        altvoltage0: DEV_REFCLK_A (output)
                        2 channel-specific attributes found:
                                attr  0: frequency value: 245760000
                                attr  1: phase value: 3.926990
                        altvoltage5: JESD_REFCLK_RX_AB (output)
                        2 channel-specific attributes found:
                                attr  0: frequency value: 245760000
                                attr  1: phase value: 0.000000
                        altvoltage9: FPGA_SYSREF_RX_AB (output)
                        2 channel-specific attributes found:
                                attr  0: frequency value: 3840000
                                attr  1: phase value: 0.000000
                7 device-specific attributes found:
                                attr  0: mute_request value: 0
                                attr  1: reseed_request value: 0
                                attr  2: reset_dividers_request value: 0
                                attr  3: sleep_request value: 0
                                attr  4: sync_pin_mode value: sync
                                attr  5: sync_pin_mode_available value: disable sync sysref sync_else_sysref
                                attr  6: sysref_request value: 0
                2 debug attributes found:
                                debug attr  0: status value: --- PLL1 ---
Status: Holdover
Using:  CLKIN0 @ 40000000 Hz
PFD:    320 kHz
--- PLL2 ---
Status: Locked (Unsynchronized)
Frequency:      2949120000 Hz (Autocal cap bank value: 14)
SYSREF Status:  Invalid
SYNC Status:    Unsynchronized
Lock Status:    Unlocked
                                debug attr  1: direct_reg_access value: 0x0
                No trigger on this device
        iio:device2: adrv9009-phy
                25 channels found:
                        voltage1:  (input)
                        11 channel-specific attributes found:
                                attr  0: bb_dc_offset_tracking_en value: 1
                                attr  1: gain_control_mode value: manual
                                attr  2: gain_control_mode_available value: manual slow_attack
                                attr  3: gain_control_pin_mode_en value: 0
                                attr  4: hardwaregain value: 30.000000 dB
                                attr  5: hd2_tracking_en value: 0
                                attr  6: powerdown value: 0
                                attr  7: quadrature_tracking_en value: 0
                                attr  8: rf_bandwidth value: 100000000
                                attr  9: rssi value: 26.500 dB
                                attr 10: sampling_frequency value: 122880000
                        voltage3:  (input)
                        8 channel-specific attributes found:
                                attr  0: bb_dc_offset_tracking_en value: 0
                                attr  1: hardwaregain ERROR: Protocol error (71)
                                attr  2: powerdown value: 1
                                attr  3: quadrature_tracking_en value: 0
                                attr  4: rf_bandwidth value: 100000000
                                attr  5: rf_port_select value: OBS_TX_LO
                                attr  6: rf_port_select_available value: OBS_TX_LO OBS_AUX_LO
                                attr  7: sampling_frequency value: 122880000
                        voltage1:  (output)
                        8 channel-specific attributes found:
                                attr  0: atten_control_pin_mode_en value: 0
                                attr  1: hardwaregain value: -10.000000 dB
                                attr  2: lo_leakage_tracking_en value: 0
                                attr  3: pa_protection_en value: 0
                                attr  4: powerdown value: 0
                                attr  5: quadrature_tracking_en value: 0
                                attr  6: rf_bandwidth value: 100000000
                                attr  7: sampling_frequency value: 122880000
                        voltage6:  (input)
                        3 channel-specific attributes found:
                                attr  0: offset value: 45
                                attr  1: raw value: 8
                                attr  2: scale value: 0.775194
                        voltage8:  (output)
                        4 channel-specific attributes found:
                                attr  0: offset value: 2726
                                attr  1: raw value: 0
                                attr  2: sampling_frequency value: 122880000
                                attr  3: scale value: 0.782954
                        voltage5:  (output)
                        4 channel-specific attributes found:
                                attr  0: offset value: 2726
                                attr  1: raw value: 0
                                attr  2: sampling_frequency value: 122880000
                                attr  3: scale value: 0.782954
                        voltage0:  (input)
                        11 channel-specific attributes found:
                                attr  0: bb_dc_offset_tracking_en value: 1
                                attr  1: gain_control_mode value: manual
                                attr  2: gain_control_mode_available value: manual slow_attack
                                attr  3: gain_control_pin_mode_en value: 0
                                attr  4: hardwaregain value: 30.000000 dB
                                attr  5: hd2_tracking_en value: 0
                                attr  6: powerdown value: 0
                                attr  7: quadrature_tracking_en value: 0
                                attr  8: rf_bandwidth value: 100000000
                                attr  9: rssi value: 44.250 dB
                                attr 10: sampling_frequency value: 122880000
                        voltage2:  (input)
                        8 channel-specific attributes found:
                                attr  0: bb_dc_offset_tracking_en value: 0
                                attr  1: hardwaregain ERROR: Protocol error (71)
                                attr  2: powerdown value: 1
                                attr  3: quadrature_tracking_en value: 0
                                attr  4: rf_bandwidth value: 100000000
                                attr  5: rf_port_select value: OBS_TX_LO
                                attr  6: rf_port_select_available value: OBS_TX_LO OBS_AUX_LO
                                attr  7: sampling_frequency value: 122880000
                        voltage9:  (output)
                        4 channel-specific attributes found:
                                attr  0: offset value: 2726
                                attr  1: raw value: 0
                                attr  2: sampling_frequency value: 122880000
                                attr  3: scale value: 0.782954
                        voltage4:  (input)
                        3 channel-specific attributes found:
                                attr  0: offset value: 45
                                attr  1: raw value: 13
                                attr  2: scale value: 0.775194
                        voltage12:  (output)
                        3 channel-specific attributes found:
                                attr  0: raw value: 0
                                attr  1: sampling_frequency value: 122880000
                                attr  2: scale value: 0.805861
                        altvoltage0: TRX_LO (output)
                        3 channel-specific attributes found:
                                attr  0: frequency value: 2500000000
                                attr  1: frequency_hopping_mode value: 2500000000
                                attr  2: frequency_hopping_mode_enable value: 0
                        voltage4:  (output)
                        4 channel-specific attributes found:
                                attr  0: offset value: 2726
                                attr  1: raw value: 0
                                attr  2: sampling_frequency value: 122880000
                                attr  3: scale value: 0.782954
                        voltage10:  (output)
                        4 channel-specific attributes found:
                                attr  0: offset value: 2726
                                attr  1: raw value: 0
                                attr  2: sampling_frequency value: 122880000
                                attr  3: scale value: 0.782954
                        voltage13:  (output)
                        3 channel-specific attributes found:
                                attr  0: raw value: 0
                                attr  1: sampling_frequency value: 122880000
                                attr  2: scale value: 0.805861
                        voltage3:  (output)
                        4 channel-specific attributes found:
                                attr  0: offset value: 2726
                                attr  1: raw value: 0
                                attr  2: sampling_frequency value: 122880000
                                attr  3: scale value: 0.782954
                        voltage7:  (input)
                        3 channel-specific attributes found:
                                attr  0: offset value: 45
                                attr  1: raw value: 8
                                attr  2: scale value: 0.775194
                        voltage2:  (output)
                        4 channel-specific attributes found:
                                attr  0: offset value: 2726
                                attr  1: raw value: 0
                                attr  2: sampling_frequency value: 122880000
                                attr  3: scale value: 0.782954
                        voltage6:  (output)
                        4 channel-specific attributes found:
                                attr  0: offset value: 2726
                                attr  1: raw value: 0
                                attr  2: sampling_frequency value: 122880000
                                attr  3: scale value: 0.782954
                        temp0:  (input)
                        1 channel-specific attributes found:
                                attr  0: input value: 163000
                        voltage0:  (output)
                        8 channel-specific attributes found:
                                attr  0: atten_control_pin_mode_en value: 0
                                attr  1: hardwaregain value: -10.000000 dB
                                attr  2: lo_leakage_tracking_en value: 0
                                attr  3: pa_protection_en value: 0
                                attr  4: powerdown value: 0
                                attr  5: quadrature_tracking_en value: 0
                                attr  6: rf_bandwidth value: 100000000
                                attr  7: sampling_frequency value: 122880000
                        altvoltage1:  (output)
                        1 channel-specific attributes found:
                                attr  0: AUX_OBS_RX_LO_frequency value: 2517500000
                        voltage11:  (output)
                        4 channel-specific attributes found:
                                attr  0: offset value: 2726
                                attr  1: raw value: 0
                                attr  2: sampling_frequency value: 122880000
                                attr  3: scale value: 0.782954
                        voltage7:  (output)
                        4 channel-specific attributes found:
                                attr  0: offset value: 2726
                                attr  1: raw value: 0
                                attr  2: sampling_frequency value: 122880000
                                attr  3: scale value: 0.782954
                        voltage5:  (input)
                        3 channel-specific attributes found:
                                attr  0: offset value: 45
                                attr  1: raw value: 2770
                                attr  2: scale value: 0.775194
                17 device-specific attributes found:
                                attr  0: calibrate ERROR: Input/output error (5)
                                attr  1: calibrate_fhm_en value: 0
                                attr  2: calibrate_rx_phase_correction_en value: 0
                                attr  3: calibrate_rx_qec_en value: 0
                                attr  4: calibrate_tx_lol_en value: 0
                                attr  5: calibrate_tx_lol_ext_en value: 0
                                attr  6: calibrate_tx_qec_en value: 0
                                attr  7: ensm_mode value: radio_on
                                attr  8: ensm_mode_available value: radio_on radio_off
                                attr  9: gain_table_config ERROR: Permission denied (13)
                                attr 10: jesd204_fsm_ctrl value: 1
                                attr 11: jesd204_fsm_error value: 0
                                attr 12: jesd204_fsm_paused value: 0
                                attr 13: jesd204_fsm_resume ERROR: Permission denied (13)
                                attr 14: jesd204_fsm_state value: opt_post_running_stage
                                attr 15: multichip_sync ERROR: Permission denied (13)
                                attr 16: profile_config value: TB
                306 debug attributes found:
                                debug attr  0: gpio3v3 value: 0
                                debug attr  1: bist_tone value: 0
                                debug attr  2: bist_framer_b_loopback value: 0
                                debug attr  3: bist_framer_a_loopback value: 0
                                debug attr  4: bist_framer_b_prbs value: 0
                                debug attr  5: bist_framer_a_prbs value: 0
                                debug attr  6: initialize value: 0
                                debug attr  7: adi,aux-pll-lo-frequency_hz value: 2500000000
                                debug attr  8: adi,trx-pll-lo-frequency_hz value: 2500000000
                                debug attr  9: adi,dig-clocks-rf-pll-phase-sync-mode value: 0
                                debug attr 10: adi,dig-clocks-rf-pll-use-external-lo value: 0
                                debug attr 11: adi,dig-clocks-clk-pll-hs-div value: 1
                                debug attr 12: adi,dig-clocks-clk-pll-vco-freq_khz value: 9830400
                                debug attr 13: adi,dig-clocks-device-clock_khz value: 245760
                                debug attr 14: adi,tx-settings-dis-tx-data-if-pll-unlock value: 2
                                debug attr 15: adi,tx-settings-tx2-atten_md-b value: 10000
                                debug attr 16: adi,tx-settings-tx1-atten_md-b value: 10000
                                debug attr 17: adi,tx-settings-tx-atten-step-size value: 0
                                debug attr 18: adi,tx-settings-tx-channels value: 3
                                debug attr 19: adi,tx-settings-deframer-sel value: 0
                                debug attr 20: adi,tx-profile-tx-bbf3d-bcorner_khz value: 56000
                                debug attr 21: adi,tx-profile-tx-dac3d-bcorner_khz value: 187000
                                debug attr 22: adi,tx-profile-rf-bandwidth_hz value: 100000000
                                debug attr 23: adi,tx-profile-primary-sig-bandwidth_hz value: 50000000
                                debug attr 24: adi,tx-profile-tx-input-rate_khz value: 122880
                                debug attr 25: adi,tx-profile-tx-int5-interpolation value: 1
                                debug attr 26: adi,tx-profile-thb3-interpolation value: 2
                                debug attr 27: adi,tx-profile-thb2-interpolation value: 2
                                debug attr 28: adi,tx-profile-thb1-interpolation value: 2
                                debug attr 29: adi,tx-profile-tx-fir-interpolation value: 2
                                debug attr 30: adi,tx-profile-dac-div value: 1
                                debug attr 31: adi,tx-profile-tx-fir-num-fir-coefs value: 80
                                debug attr 32: adi,tx-profile-tx-fir-gain_db value: 6
                                debug attr 33: adi,obs-settings-obs-rx-lo-source value: 0
                                debug attr 34: adi,obs-settings-obs-rx-channels-enable value: 3
                                debug attr 35: adi,obs-settings-framer-sel value: 1
                                debug attr 36: adi,orx-gain-control-orx2-min-gain-index value: 195
                                debug attr 37: adi,orx-gain-control-orx2-max-gain-index value: 255
                                debug attr 38: adi,orx-gain-control-orx1-min-gain-index value: 195
                                debug attr 39: adi,orx-gain-control-orx1-max-gain-index value: 255
                                debug attr 40: adi,orx-gain-control-orx2-gain-index value: 255
                                debug attr 41: adi,orx-gain-control-orx1-gain-index value: 255
                                debug attr 42: adi,orx-gain-control-gain-mode value: 0
                                debug attr 43: adi,orx-profile-orx-ddc-mode value: 0
                                debug attr 44: adi,orx-profile-rx-bbf3d-bcorner_khz value: 225000
                                debug attr 45: adi,orx-profile-rf-bandwidth_hz value: 100000000
                                debug attr 46: adi,orx-profile-orx-output-rate_khz value: 122880
                                debug attr 47: adi,orx-profile-rhb1-decimation value: 2
                                debug attr 48: adi,orx-profile-rx-dec5-decimation value: 4
                                debug attr 49: adi,orx-profile-rx-fir-decimation value: 2
                                debug attr 50: adi,orx-profile-rx-fir-num-fir-coefs value: 48
                                debug attr 51: adi,orx-profile-rx-fir-gain_db value: 250
                                debug attr 52: adi,rx-settings-rx-channels value: 3
                                debug attr 53: adi,rx-settings-framer-sel value: 0
                                debug attr 54: adi,rx-gain-control-rx2-min-gain-index value: 195
                                debug attr 55: adi,rx-gain-control-rx2-max-gain-index value: 255
                                debug attr 56: adi,rx-gain-control-rx1-min-gain-index value: 195
                                debug attr 57: adi,rx-gain-control-rx1-max-gain-index value: 255
                                debug attr 58: adi,rx-gain-control-rx2-gain-index value: 255
                                debug attr 59: adi,rx-gain-control-rx1-gain-index value: 255
                                debug attr 60: adi,rx-gain-control-gain-mode value: 0
                                debug attr 61: adi,rx-nco-shifter-band-bnco2-freq_khz value: 0
                                debug attr 62: adi,rx-nco-shifter-band-bnco1-freq_khz value: 0
                                debug attr 63: adi,rx-nco-shifter-band-binput-center-freq_khz value: 0
                                debug attr 64: adi,rx-nco-shifter-band-binput-band-width_khz value: 0
                                debug attr 65: adi,rx-nco-shifter-band-a-nco2-freq_khz value: 0
                                debug attr 66: adi,rx-nco-shifter-band-a-nco1-freq_khz value: 0
                                debug attr 67: adi,rx-nco-shifter-band-a-input-center-freq_khz value: 0
                                debug attr 68: adi,rx-nco-shifter-band-a-input-band-width_khz value: 0
                                debug attr 69: adi,rx-profile-rx-ddc-mode value: 0
                                debug attr 70: adi,rx-profile-rx-bbf3d-bcorner_khz value: 100000
                                debug attr 71: adi,rx-profile-rf-bandwidth_hz value: 100000000
                                debug attr 72: adi,rx-profile-rx-output-rate_khz value: 122880
                                debug attr 73: adi,rx-profile-rhb1-decimation value: 2
                                debug attr 74: adi,rx-profile-rx-dec5-decimation value: 4
                                debug attr 75: adi,rx-profile-rx-fir-decimation value: 2
                                debug attr 76: adi,rx-profile-rx-fir-num-fir-coefs value: 48
                                debug attr 77: adi,rx-profile-rx-fir-gain_db value: 250
                                debug attr 78: adi,tx-pa-protection-tx2-peak-threshold value: 130
                                debug attr 79: adi,tx-pa-protection-tx1-peak-threshold value: 130
                                debug attr 80: adi,tx-pa-protection-peak-count value: 4
                                debug attr 81: adi,tx-pa-protection-tx2-power-threshold value: 4096
                                debug attr 82: adi,tx-pa-protection-tx1-power-threshold value: 4096
                                debug attr 83: adi,tx-pa-protection-tx-atten-step value: 2
                                debug attr 84: adi,tx-pa-protection-avg-duration value: 3
                                debug attr 85: adi,tx2-atten-ctrl-pin-enable value: 0
                                debug attr 86: adi,tx2-atten-ctrl-pin-tx-atten-dec-pin value: 7
                                debug attr 87: adi,tx2-atten-ctrl-pin-tx-atten-inc-pin value: 6
                                debug attr 88: adi,tx2-atten-ctrl-pin-step-size value: 0
                                debug attr 89: adi,tx1-atten-ctrl-pin-enable value: 0
                                debug attr 90: adi,tx1-atten-ctrl-pin-tx-atten-dec-pin value: 5
                                debug attr 91: adi,tx1-atten-ctrl-pin-tx-atten-inc-pin value: 4
                                debug attr 92: adi,tx1-atten-ctrl-pin-step-size value: 0
                                debug attr 93: adi,rx2-gain-ctrl-pin-enable value: 0
                                debug attr 94: adi,rx2-gain-ctrl-pin-rx-gain-dec-pin value: 4
                                debug attr 95: adi,rx2-gain-ctrl-pin-rx-gain-inc-pin value: 3
                                debug attr 96: adi,rx2-gain-ctrl-pin-dec-step value: 1
                                debug attr 97: adi,rx2-gain-ctrl-pin-inc-step value: 1
                                debug attr 98: adi,rx1-gain-ctrl-pin-enable value: 0
                                debug attr 99: adi,rx1-gain-ctrl-pin-rx-gain-dec-pin value: 1
                                debug attr 100: adi,rx1-gain-ctrl-pin-rx-gain-inc-pin value: 0
                                debug attr 101: adi,rx1-gain-ctrl-pin-dec-step value: 1
                                debug attr 102: adi,rx1-gain-ctrl-pin-inc-step value: 1
                                debug attr 103: adi,fhm-mode-fhm-init-frequency_hz value: 2450000000
                                debug attr 104: adi,fhm-mode-fhm-exit-mode value: 0
                                debug attr 105: adi,fhm-mode-fhm-trigger-mode value: 0
                                debug attr 106: adi,fhm-mode-enable-mcs-sync value: 0
                                debug attr 107: adi,fhm-mode-fhm-enable value: 0
                                debug attr 108: adi,fhm-config-fhm-max-freq_mhz value: 100
                                debug attr 109: adi,fhm-config-fhm-min-freq_mhz value: 100
                                debug attr 110: adi,fhm-config-fhm-gpio-pin value: 0
                                debug attr 111: adi,orx-lo-cfg-gpio-select value: 19
                                debug attr 112: adi,orx-lo-cfg-disable-aux-pll-relocking value: 0
                                debug attr 113: adi,gpio3v3-output-level-mask value: 0
                                debug attr 114: adi,gpio3v3-output-enable-mask value: 0
                                debug attr 115: adi,gpio3v3-source-control value: 0
                                debug attr 116: adi,arm-gpio-config-en-tx-tracking-cals-enable value: 0
                                debug attr 117: adi,arm-gpio-config-en-tx-tracking-cals-polarity value: 0
                                debug attr 118: adi,arm-gpio-config-en-tx-tracking-cals-gpio-pin-sel value: 0
                                debug attr 119: adi,arm-gpio-config-orx2-tx-sel1-pin-enable value: 0
                                debug attr 120: adi,arm-gpio-config-orx2-tx-sel1-pin-polarity value: 0
                                debug attr 121: adi,arm-gpio-config-orx2-tx-sel1-pin-gpio-pin-sel value: 0
                                debug attr 122: adi,arm-gpio-config-orx2-tx-sel0-pin-enable value: 0
                                debug attr 123: adi,arm-gpio-config-orx2-tx-sel0-pin-polarity value: 0
                                debug attr 124: adi,arm-gpio-config-orx2-tx-sel0-pin-gpio-pin-sel value: 0
                                debug attr 125: adi,arm-gpio-config-orx1-tx-sel1-pin-enable value: 0
                                debug attr 126: adi,arm-gpio-config-orx1-tx-sel1-pin-polarity value: 0
                                debug attr 127: adi,arm-gpio-config-orx1-tx-sel1-pin-gpio-pin-sel value: 0
                                debug attr 128: adi,arm-gpio-config-orx1-tx-sel0-pin-enable value: 0
                                debug attr 129: adi,arm-gpio-config-orx1-tx-sel0-pin-polarity value: 0
                                debug attr 130: adi,arm-gpio-config-orx1-tx-sel0-pin-gpio-pin-sel value: 0
                                debug attr 131: adi,jesd204-sysref-lvds-pn-invert value: 0
                                debug attr 132: adi,jesd204-sysref-lvds-mode value: 1
                                debug attr 133: adi,jesd204-des-eq-setting value: 1
                                debug attr 134: adi,jesd204-des-invert-lane-polarity value: 3
                                debug attr 135: adi,jesd204-ser-invert-lane-polarity value: 3
                                debug attr 136: adi,jesd204-ser-pre-emphasis value: 1
                                debug attr 137: adi,jesd204-ser-amplitude value: 15
                                debug attr 138: adi,jesd204-deframer-b-enable-manual-lane-xbar value: 0
                                debug attr 139: adi,jesd204-deframer-b-syncb-out-cmos-drive-level value: 0
                                debug attr 140: adi,jesd204-deframer-b-syncb-out-cmos-slew-rate value: 0
                                debug attr 141: adi,jesd204-deframer-b-syncb-out-lvds-pn-invert value: 0
                                debug attr 142: adi,jesd204-deframer-b-syncb-out-lvds-mode value: 1
                                debug attr 143: adi,jesd204-deframer-b-np value: 16
                                debug attr 144: adi,jesd204-deframer-b-syncb-out-select value: 0
                                debug attr 145: adi,jesd204-deframer-b-new-sysref-on-relink value: 0
                                debug attr 146: adi,jesd204-deframer-b-lmfc-offset value: 0
                                debug attr 147: adi,jesd204-deframer-b-deserializer-lane-crossbar value: 228
                                debug attr 148: adi,jesd204-deframer-b-deserializer-lanes-enabled value: 0
                                debug attr 149: adi,jesd204-deframer-b-external-sysref value: 1
                                debug attr 150: adi,jesd204-deframer-b-scramble value: 1
                                debug attr 151: adi,jesd204-deframer-b-k value: 32
                                debug attr 152: adi,jesd204-deframer-b-m value: 0
                                debug attr 153: adi,jesd204-deframer-b-lane0-id value: 0
                                debug attr 154: adi,jesd204-deframer-b-device-id value: 0
                                debug attr 155: adi,jesd204-deframer-b-bank-id value: 0
                                debug attr 156: adi,jesd204-deframer-a-enable-manual-lane-xbar value: 0
                                debug attr 157: adi,jesd204-deframer-a-syncb-out-cmos-drive-level value: 0
                                debug attr 158: adi,jesd204-deframer-a-syncb-out-cmos-slew-rate value: 0
                                debug attr 159: adi,jesd204-deframer-a-syncb-out-lvds-pn-invert value: 0
                                debug attr 160: adi,jesd204-deframer-a-syncb-out-lvds-mode value: 1
                                debug attr 161: adi,jesd204-deframer-a-np value: 16
                                debug attr 162: adi,jesd204-deframer-a-syncb-out-select value: 0
                                debug attr 163: adi,jesd204-deframer-a-new-sysref-on-relink value: 0
                                debug attr 164: adi,jesd204-deframer-a-lmfc-offset value: 7
                                debug attr 165: adi,jesd204-deframer-a-deserializer-lane-crossbar value: 228
                                debug attr 166: adi,jesd204-deframer-a-deserializer-lanes-enabled value: 3
                                debug attr 167: adi,jesd204-deframer-a-external-sysref value: 1
                                debug attr 168: adi,jesd204-deframer-a-scramble value: 1
                                debug attr 169: adi,jesd204-deframer-a-k value: 16
                                debug attr 170: adi,jesd204-deframer-a-m value: 4
                                debug attr 171: adi,jesd204-deframer-a-lane0-id value: 0
                                debug attr 172: adi,jesd204-deframer-a-device-id value: 0
                                debug attr 173: adi,jesd204-deframer-a-bank-id value: 0
                                debug attr 174: adi,jesd204-framer-b-enable-manual-lane-xbar value: 0
                                debug attr 175: adi,jesd204-framer-b-syncb-in-lvds-pn-invert value: 0
                                debug attr 176: adi,jesd204-framer-b-syncb-in-lvds-mode value: 1
                                debug attr 177: adi,jesd204-framer-b-over-sample value: 0
                                debug attr 178: adi,jesd204-framer-b-syncb-in-select value: 1
                                debug attr 179: adi,jesd204-framer-b-new-sysref-on-relink value: 0
                                debug attr 180: adi,jesd204-framer-b-lmfc-offset value: 31
                                debug attr 181: adi,jesd204-framer-b-serializer-lane-crossbar value: 228
                                debug attr 182: adi,jesd204-framer-b-serializer-lanes-enabled value: 0
                                debug attr 183: adi,jesd204-framer-b-external-sysref value: 1
                                debug attr 184: adi,jesd204-framer-b-scramble value: 1
                                debug attr 185: adi,jesd204-framer-b-np value: 16
                                debug attr 186: adi,jesd204-framer-b-f value: 2
                                debug attr 187: adi,jesd204-framer-b-k value: 32
                                debug attr 188: adi,jesd204-framer-b-m value: 0
                                debug attr 189: adi,jesd204-framer-b-lane0-id value: 0
                                debug attr 190: adi,jesd204-framer-b-device-id value: 0
                                debug attr 191: adi,jesd204-framer-b-bank-id value: 0
                                debug attr 192: adi,jesd204-framer-a-enable-manual-lane-xbar value: 0
                                debug attr 193: adi,jesd204-framer-a-syncb-in-lvds-pn-invert value: 0
                                debug attr 194: adi,jesd204-framer-a-syncb-in-lvds-mode value: 1
                                debug attr 195: adi,jesd204-framer-a-over-sample value: 0
                                debug attr 196: adi,jesd204-framer-a-syncb-in-select value: 0
                                debug attr 197: adi,jesd204-framer-a-new-sysref-on-relink value: 0
                                debug attr 198: adi,jesd204-framer-a-lmfc-offset value: 31
                                debug attr 199: adi,jesd204-framer-a-serializer-lane-crossbar value: 228
                                debug attr 200: adi,jesd204-framer-a-serializer-lanes-enabled value: 3
                                debug attr 201: adi,jesd204-framer-a-external-sysref value: 1
                                debug attr 202: adi,jesd204-framer-a-scramble value: 1
                                debug attr 203: adi,jesd204-framer-a-np value: 16
                                debug attr 204: adi,jesd204-framer-a-f value: 4
                                debug attr 205: adi,jesd204-framer-a-k value: 32
                                debug attr 206: adi,jesd204-framer-a-m value: 4
                                debug attr 207: adi,jesd204-framer-a-lane0-id value: 0
                                debug attr 208: adi,jesd204-framer-a-device-id value: 0
                                debug attr 209: adi,jesd204-framer-a-bank-id value: 1
                                debug attr 210: adi,aux-dac-values11 value: 0
                                debug attr 211: adi,aux-dac-values10 value: 0
                                debug attr 212: adi,aux-dac-values9 value: 0
                                debug attr 213: adi,aux-dac-resolution9 value: 0
                                debug attr 214: adi,aux-dac-vref9 value: 3
                                debug attr 215: adi,aux-dac-values8 value: 0
                                debug attr 216: adi,aux-dac-resolution8 value: 0
                                debug attr 217: adi,aux-dac-vref8 value: 3
                                debug attr 218: adi,aux-dac-values7 value: 0
                                debug attr 219: adi,aux-dac-resolution7 value: 0
                                debug attr 220: adi,aux-dac-vref7 value: 3
                                debug attr 221: adi,aux-dac-values6 value: 0
                                debug attr 222: adi,aux-dac-resolution6 value: 0
                                debug attr 223: adi,aux-dac-vref6 value: 3
                                debug attr 224: adi,aux-dac-values5 value: 0
                                debug attr 225: adi,aux-dac-resolution5 value: 0
                                debug attr 226: adi,aux-dac-vref5 value: 3
                                debug attr 227: adi,aux-dac-values4 value: 0
                                debug attr 228: adi,aux-dac-resolution4 value: 0
                                debug attr 229: adi,aux-dac-vref4 value: 3
                                debug attr 230: adi,aux-dac-values3 value: 0
                                debug attr 231: adi,aux-dac-resolution3 value: 0
                                debug attr 232: adi,aux-dac-vref3 value: 3
                                debug attr 233: adi,aux-dac-values2 value: 0
                                debug attr 234: adi,aux-dac-resolution2 value: 0
                                debug attr 235: adi,aux-dac-vref2 value: 3
                                debug attr 236: adi,aux-dac-values1 value: 0
                                debug attr 237: adi,aux-dac-resolution1 value: 0
                                debug attr 238: adi,aux-dac-vref1 value: 3
                                debug attr 239: adi,aux-dac-values0 value: 0
                                debug attr 240: adi,aux-dac-resolution0 value: 0
                                debug attr 241: adi,aux-dac-vref0 value: 3
                                debug attr 242: adi,aux-dac-enables value: 0
                                debug attr 243: adi,rxagc-agc-enable-fast-recovery-loop value: 0
                                debug attr 244: adi,rxagc-ip3-peak-exceeded-cnt value: 4
                                debug attr 245: adi,rxagc-ip3-over-range-thresh-index value: 246
                                debug attr 246: adi,rxagc-ip3-over-range-thresh value: 31
                                debug attr 247: adi,rxagc-agc-enable-ip3-optimization-thresh value: 0
                                debug attr 248: adi,rxagc-agc-enable-sync-pulse-for-gain-counter value: 0
                                debug attr 249: adi,rxagc-agc-reset-on-rxon value: 0
                                debug attr 250: adi,rxagc-agc-peak-thresh-gain-control-mode value: 1
                                debug attr 251: adi,rxagc-agc-change-gain-if-thresh-high value: 1
                                debug attr 252: adi,rxagc-agc-low-thresh-prevent-gain value: 0
                                debug attr 253: adi,rxagc-agc-slow-loop-settling-delay value: 16
                                debug attr 254: adi,rxagc-agc-rx2-attack-delay value: 10
                                debug attr 255: adi,rxagc-agc-rx1-attack-delay value: 10
                                debug attr 256: adi,rxagc-agc-gain-update-counter_us value: 250
                                debug attr 257: adi,rxagc-agc-rx2-min-gain-index value: 195
                                debug attr 258: adi,rxagc-agc-rx2-max-gain-index value: 255
                                debug attr 259: adi,rxagc-agc-rx1-min-gain-index value: 195
                                debug attr 260: adi,rxagc-agc-rx1-max-gain-index value: 255
                                debug attr 261: adi,rxagc-agc-peak-wait-time value: 4
                                debug attr 262: adi,rxagc-power-power-log-shift value: 0
                                debug attr 263: adi,rxagc-power-upper1-power-thresh value: 0
                                debug attr 264: adi,rxagc-power-upper0-power-thresh value: 2
                                debug attr 265: adi,rxagc-power-rx2-tdd-power-meas-delay value: 1
                                debug attr 266: adi,rxagc-power-rx2-tdd-power-meas-duration value: 5
                                debug attr 267: adi,rxagc-power-rx1-tdd-power-meas-delay value: 1
                                debug attr 268: adi,rxagc-power-rx1-tdd-power-meas-duration value: 5
                                debug attr 269: adi,rxagc-power-power-measurement-duration value: 5
                                debug attr 270: adi,rxagc-power-under-range-low-power-gain-step-recovery value: 4
                                debug attr 271: adi,rxagc-power-under-range-high-power-gain-step-recovery value: 4
                                debug attr 272: adi,rxagc-power-under-range-low-power-thresh value: 2
                                debug attr 273: adi,rxagc-power-under-range-high-power-thresh value: 9
                                debug attr 274: adi,rxagc-power-power-use-bbdc2 value: 0
                                debug attr 275: adi,rxagc-power-power-use-rfir-out value: 1
                                debug attr 276: adi,rxagc-power-power-enable-measurement value: 1
                                debug attr 277: adi,rxagc-peak-hb2-thresh-config value: 3
                                debug attr 278: adi,rxagc-peak-hb2-ovrg-sel value: 0
                                debug attr 279: adi,rxagc-peak-hb2-overload-power-mode value: 1
                                debug attr 280: adi,rxagc-peak-hb2-gain-step-attack value: 4
                                debug attr 281: adi,rxagc-peak-hb2-gain-step-mid-recovery value: 8
                                debug attr 282: adi,rxagc-peak-hb2-gain-step-low-recovery value: 4
                                debug attr 283: adi,rxagc-peak-hb2-gain-step-high-recovery value: 2
                                debug attr 284: adi,rxagc-peak-hb2-lower-thresh-peak-exceeded-cnt value: 3
                                debug attr 285: adi,rxagc-peak-hb2-upper-thresh-peak-exceeded-cnt value: 6
                                debug attr 286: adi,rxagc-peak-hb2-under-range-high-thresh value: 128
                                debug attr 287: adi,rxagc-peak-hb2-under-range-mid-thresh value: 90
                                debug attr 288: adi,rxagc-peak-hb2-under-range-low-thresh value: 45
                                debug attr 289: adi,rxagc-peak-hb2-high-thresh value: 181
                                debug attr 290: adi,rxagc-peak-hb2-overload-thresh-cnt value: 4
                                debug attr 291: adi,rxagc-peak-hb2-overload-duration-cnt value: 1
                                debug attr 292: adi,rxagc-peak-enable-hb2-overload value: 1
                                debug attr 293: adi,rxagc-peak-apd-gain-step-recovery value: 2
                                debug attr 294: adi,rxagc-peak-apd-gain-step-attack value: 4
                                debug attr 295: adi,rxagc-peak-apd-lower-thresh-peak-exceeded-cnt value: 3
                                debug attr 296: adi,rxagc-peak-apd-upper-thresh-peak-exceeded-cnt value: 6
                                debug attr 297: adi,rxagc-peak-apd-low-gain-mode-low-thresh value: 19
                                debug attr 298: adi,rxagc-peak-apd-low-thresh value: 23
                                debug attr 299: adi,rxagc-peak-apd-low-gain-mode-high-thresh value: 36
                                debug attr 300: adi,rxagc-peak-apd-high-thresh value: 39
                                debug attr 301: adi,rxagc-peak-agc-under-range-high-interval value: 4
                                debug attr 302: adi,rxagc-peak-agc-under-range-mid-interval value: 2
                                debug attr 303: adi,rxagc-peak-agc-under-range-low-interval_ns value: 205
                                debug attr 304: adi,default-initial-calibrations-mask value: 9362927
                                debug attr 305: direct_reg_access value: 0x3C
                No trigger on this device
        iio:device3: axi-adrv9009-tx-hpc (buffer capable)
                12 channels found:
                        voltage0:  (output, index: 0, format: le:S16/16>>0)
                        4 channel-specific attributes found:
                                attr  0: calibphase value: 0.000000
                                attr  1: calibscale value: 0.000000
                                attr  2: sampling_frequency value: 122880000
                                attr  3: sampling_frequency_available value: 122880000 15360000
                        voltage1:  (output, index: 1, format: le:S16/16>>0)
                        4 channel-specific attributes found:
                                attr  0: calibphase value: 0.000000
                                attr  1: calibscale value: 0.000000
                                attr  2: sampling_frequency value: 122880000
                                attr  3: sampling_frequency_available value: 122880000 15360000
                        voltage2:  (output, index: 2, format: le:S16/16>>0)
                        4 channel-specific attributes found:
                                attr  0: calibphase value: 0.000000
                                attr  1: calibscale value: 0.000000
                                attr  2: sampling_frequency value: 122880000
                                attr  3: sampling_frequency_available value: 122880000 15360000
                        voltage3:  (output, index: 3, format: le:S16/16>>0)
                        4 channel-specific attributes found:
                                attr  0: calibphase value: 0.000000
                                attr  1: calibscale value: 0.000000
                                attr  2: sampling_frequency value: 122880000
                                attr  3: sampling_frequency_available value: 122880000 15360000
                        altvoltage3: TX1_Q_F2 (output)
                        5 channel-specific attributes found:
                                attr  0: frequency value: 39999985
                                attr  1: phase value: 0
                                attr  2: raw value: 1
                                attr  3: sampling_frequency value: 122880000
                                attr  4: scale value: 0.250000
                        altvoltage1: TX1_I_F2 (output)
                        5 channel-specific attributes found:
                                attr  0: frequency value: 39999985
                                attr  1: phase value: 90000
                                attr  2: raw value: 1
                                attr  3: sampling_frequency value: 122880000
                                attr  4: scale value: 0.250000
                        altvoltage0: TX1_I_F1 (output)
                        5 channel-specific attributes found:
                                attr  0: frequency value: 39999985
                                attr  1: phase value: 90000
                                attr  2: raw value: 1
                                attr  3: sampling_frequency value: 122880000
                                attr  4: scale value: 0.250000
                        altvoltage7: TX2_Q_F2 (output)
                        5 channel-specific attributes found:
                                attr  0: frequency value: 39999985
                                attr  1: phase value: 0
                                attr  2: raw value: 1
                                attr  3: sampling_frequency value: 122880000
                                attr  4: scale value: 0.250000
                        altvoltage6: TX2_Q_F1 (output)
                        5 channel-specific attributes found:
                                attr  0: frequency value: 39999985
                                attr  1: phase value: 0
                                attr  2: raw value: 1
                                attr  3: sampling_frequency value: 122880000
                                attr  4: scale value: 0.250000
                        altvoltage5: TX2_I_F2 (output)
                        5 channel-specific attributes found:
                                attr  0: frequency value: 39999985
                                attr  1: phase value: 90000
                                attr  2: raw value: 1
                                attr  3: sampling_frequency value: 122880000
                                attr  4: scale value: 0.250000
                        altvoltage2: TX1_Q_F1 (output)
                        5 channel-specific attributes found:
                                attr  0: frequency value: 39999985
                                attr  1: phase value: 0
                                attr  2: raw value: 1
                                attr  3: sampling_frequency value: 122880000
                                attr  4: scale value: 0.250000
                        altvoltage4: TX2_I_F1 (output)
                        5 channel-specific attributes found:
                                attr  0: frequency value: 39999985
                                attr  1: phase value: 90000
                                attr  2: raw value: 1
                                attr  3: sampling_frequency value: 122880000
                                attr  4: scale value: 0.250000
                1 device-specific attributes found:
                                attr  0: sync_start_enable ERROR: Permission denied (13)
                2 buffer-specific attributes found:
                                attr  0: data_available value: 0
                                attr  1: length_align_bytes value: 8
                2 debug attributes found:
                                debug attr  0: pl_ddr_fifo_enable value: 1
                                debug attr  1: direct_reg_access value: 0x90162
                No trigger on this device
        iio:device4: axi-adrv9009-rx-hpc (buffer capable)
                4 channels found:
                        voltage0_i:  (input, index: 0, format: le:S16/16>>0)
                        5 channel-specific attributes found:
                                attr  0: calibbias value: 0
                                attr  1: calibphase value: 0.000000
                                attr  2: calibscale value: 0.000000
                                attr  3: sampling_frequency value: 122880000
                                attr  4: sampling_frequency_available value: 122880000 15360000
                        voltage0_q:  (input, index: 1, format: le:S16/16>>0)
                        5 channel-specific attributes found:
                                attr  0: calibbias value: 0
                                attr  1: calibphase value: 0.000000
                                attr  2: calibscale value: 0.000000
                                attr  3: sampling_frequency value: 122880000
                                attr  4: sampling_frequency_available value: 122880000 15360000
                        voltage1_i:  (input, index: 2, format: le:S16/16>>0)
                        5 channel-specific attributes found:
                                attr  0: calibbias value: 0
                                attr  1: calibphase value: 0.000000
                                attr  2: calibscale value: 0.000000
                                attr  3: sampling_frequency value: 122880000
                                attr  4: sampling_frequency_available value: 122880000 15360000
                        voltage1_q:  (input, index: 3, format: le:S16/16>>0)
                        5 channel-specific attributes found:
                                attr  0: calibbias value: 0
                                attr  1: calibphase value: 0.000000
                                attr  2: calibscale value: 0.000000
                                attr  3: sampling_frequency value: 122880000
                                attr  4: sampling_frequency_available value: 122880000 15360000
                1 device-specific attributes found:
                                attr  0: sync_start_enable ERROR: Permission denied (13)
                2 buffer-specific attributes found:
                                attr  0: data_available value: 0
                                attr  1: length_align_bytes value: 8
                2 debug attributes found:
                                debug attr  0: pseudorandom_err_check value: CH0 : PN9 : Out of Sync : PN Error
CH1 : PN9 : Out of Sync : PN Error
CH2 : PN9 : Out of Sync : PN Error
CH3 : PN9 : Out of Sync : PN Error
                                debug attr  1: direct_reg_access value: 0x0
                No trigger on this device
        iio_sysfs_trigger:
                0 channels found:
                2 device-specific attributes found:
                                attr  0: add_trigger ERROR: Permission denied (13)
                                attr  1: remove_trigger ERROR: Permission denied (13)
                No trigger on this device

Regards,

Salah

  • It looks like you are using a non-standard user space. Does your running user have access to do system calls? Can you retry as root?

    -Travis

  • Hello, i am already logged as root 

    root@ETRX:~# whoami
    root

    Salah

  • What kernel and user space are you using? How have you installed libiio?

    -Travis

  • Im using petalinux with master meta-adi from 15/nov/2021, Linux version 5.10.0-xilinx-v2021.1

    libiio is included in meta adi layer, but i had to add 

    EXTRA_OECMAKE += "-DWITH_EXAMPLES=ON"

    inside "petalinux_folder/components/yocto/layers/meta-openembedded/meta-oe/recipes-support/libiio/libiio_git.bb" in order for petalinux to detect the library

    Here is the bootlog 

    Booting Linux on physical CPU 0x0
    Linux version 5.10.0-xilinx-v2021.1 (oe-user@oe-host) (arm-xilinx-linux-gnueabi-gcc (GCC) 10.2.0, GNU ld (                                                                                                         GNU Binutils) 2.35.1) #1 SMP PREEMPT Mon Jan 31 14:52:32 UTC 2022
    CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
    CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    OF: fdt: Machine model: Xilinx ZC706 board
    printk: bootconsole [earlycon0] enabled
    Memory policy: Data cache writealloc
    INITRD: 0x00800000+0x01000000 overlaps in-use memory region - disabling initrd
    cma: Reserved 128 MiB at 0x38000000
    Zone ranges:
      Normal   [mem 0x0000000000000000-0x000000002fffffff]
      HighMem  [mem 0x0000000030000000-0x000000003fffffff]
    Movable zone start for each node
    Early memory node ranges
      node   0: [mem 0x0000000000000000-0x000000003fffffff]
    Initmem setup node 0 [mem 0x0000000000000000-0x000000003fffffff]
    percpu: Embedded 15 pages/cpu s30028 r8192 d23220 u61440
    Built 1 zonelists, mobility grouping on.  Total pages: 260416
    Kernel command line: console=ttyPS0,115200n8 root=/dev/ram rw initrd=0x00800000,16M earlyprintk mtdparts=p                                                                                                         hysmap-flash.0:512K(nor-fsbl),512K(nor-u-boot),5M(nor-linux),9M(nor-user),1M(nor-scratch),-(nor-rootfs)
    Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
    Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
    mem auto-init: stack:off, heap alloc:off, heap free:off
    Memory: 825644K/1048576K available (10240K kernel code, 797K rwdata, 7304K rodata, 44032K init, 172K bss,                                                                                                          91860K reserved, 131072K cma-reserved, 131072K highmem)
    rcu: Preemptible hierarchical RCU implementation.
    rcu:    RCU event tracing is enabled.
    rcu:    RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
            Trampoline variant of Tasks RCU enabled.
    rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
    rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    efuse mapped to (ptrval)
    slcr mapped to (ptrval)
    L2C: platform modifies aux control register: 0x72360000 -> 0x72760000
    L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000
    L2C-310 erratum 769419 enabled
    L2C-310 enabling early BRESP for Cortex-A9
    L2C-310 full line of zeros enabled for Cortex-A9
    L2C-310 ID prefetch enabled, offset 1 lines
    L2C-310 dynamic clock gating enabled, standby mode enabled
    L2C-310 cache controller enabled, 8 ways, 512 kB
    L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76760001
    random: get_random_bytes called from start_kernel+0x33c/0x4e8 with crng_init=0
    zynq_clock_init: clkc starts at (ptrval)
    Zynq clock init
    ps_clk frequency not specified, using 33 MHz.
    sched_clock: 64 bits at 399MHz, resolution 2ns, wraps every 4398046511103ns
    clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x5c4093a7d1, max_idle_ns: 44079521063                                                                                                         5 ns
    Switching to timer-based delay loop, resolution 2ns
    clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 447945978 ns
    timer #0 at (ptrval), irq=25
    Console: colour dummy device 80x30
    Calibrating delay loop (skipped), value calculated using timer frequency.. 799.99 BogoMIPS (lpj=3999999)
    pid_max: default: 32768 minimum: 301
    Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
    Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
    CPU: Testing write buffer coherency: ok
    CPU0: Spectre v2: using BPIALL workaround
    CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    Setting up static identity map for 0x100000 - 0x100060
    rcu: Hierarchical SRCU implementation.
    smp: Bringing up secondary CPUs ...
    CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    CPU1: Spectre v2: using BPIALL workaround
    smp: Brought up 1 node, 2 CPUs
    SMP: Total of 2 processors activated (1599.99 BogoMIPS).
    CPU: All CPU(s) started in SVC mode.
    devtmpfs: initialized
    VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    pinctrl core: initialized pinctrl subsystem
    NET: Registered protocol family 16
    DMA: preallocated 256 KiB pool for atomic coherent allocations
    thermal_sys: Registered thermal governor 'step_wise'
    cpuidle: using governor ladder
    hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    hw-breakpoint: maximum watchpoint size is 4 bytes.
    zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0x(ptrval)
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    mc: Linux media interface: v0.10
    videodev: Linux video capture interface: v2.00
    jesd204: created con: id=0, topo=0, link=0, /axi/spi@e0006000/hmc7044@2 <-> /fpga-axi@0/axi-adxcvr-tx@44a8                                                                                                         0000
    jesd204: created con: id=1, topo=0, link=1, /axi/spi@e0006000/hmc7044@2 <-> /fpga-axi@0/axi-adxcvr-rx@44a6                                                                                                         0000
    jesd204: created con: id=2, topo=0, link=0, /fpga-axi@0/axi-adxcvr-tx@44a80000 <-> /fpga-axi@0/axi-jesd204                                                                                                         -tx@44a90000
    jesd204: created con: id=3, topo=0, link=1, /fpga-axi@0/axi-adxcvr-rx@44a60000 <-> /fpga-axi@0/axi-jesd204                                                                                                         -rx@44aa0000
    jesd204: created con: id=4, topo=0, link=1, /fpga-axi@0/axi-jesd204-rx@44aa0000 <-> /axi/spi@e0006000/adrv                                                                                                         9009-phy@0
    jesd204: created con: id=5, topo=0, link=0, /fpga-axi@0/axi-jesd204-tx@44a90000 <-> /axi/spi@e0006000/adrv                                                                                                         9009-phy@0
    jesd204: /axi/spi@e0006000/adrv9009-phy@0: JESD204[0] transition uninitialized -> initialized
    jesd204: /axi/spi@e0006000/adrv9009-phy@0: JESD204[1] transition uninitialized -> initialized
    jesd204: found 6 devices and 1 topologies
    FPGA manager framework
    Advanced Linux Sound Architecture Driver Initialized.
    clocksource: Switched to clocksource arm_global_timer
    NET: Registered protocol family 2
    tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
    TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
    TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
    TCP: Hash tables configured (established 8192 bind 8192)
    UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
    UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
    NET: Registered protocol family 1
    hw perfevents: no interrupt-affinity property for /pmu@f8891000, guessing.
    hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
    workingset: timestamp_bits=14 max_order=18 bucket_order=4
    bounce: pool size: 64 pages
    io scheduler mq-deadline registered
    io scheduler kyber registered
    zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330
    dma-pl330 f8003000.dmac:        DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
    brd: module loaded
    loop: module loaded
    Registered mathworks_ip class
    spi-nor spi0.0: unrecognized JEDEC id bytes: 00 00 00 00 00 00
    MACsec IEEE 802.1AE
    libphy: Fixed MDIO Bus: probed
    tun: Universal TUN/TAP device driver, 1.6
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    libphy: MACB_mii_bus: probed
    macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 38 (da:95:4d:fc:e1:d2)
    usbcore: registered new interface driver asix
    usbcore: registered new interface driver ax88179_178a
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver net1080
    usbcore: registered new interface driver cdc_subset
    usbcore: registered new interface driver zaurus
    usbcore: registered new interface driver cdc_ncm
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    usbcore: registered new interface driver uas
    usbcore: registered new interface driver usb-storage
    usbcore: registered new interface driver usbserial_generic
    usbserial: USB Serial support registered for generic
    usbcore: registered new interface driver ftdi_sio
    usbserial: USB Serial support registered for FTDI USB Serial Device
    usbcore: registered new interface driver upd78f0730
    usbserial: USB Serial support registered for upd78f0730
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    i2c /dev entries driver
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    cdns-i2c e0004000.i2c: 400 kHz mmio e0004000 irq 32
    pca954x 0-0074: probe failed
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (1.1.1)
    gspca_main: v2.14.0 registered
    cdns-wdt f8005000.watchdog: Xilinx Watchdog Timer with timeout 10s
    Xilinx Zynq CpuIdle Driver started
    sdhci: Secure Digital Host Controller Interface driver
    sdhci: Copyright(c) Pierre Ossman
    sdhci-pltfm: SDHCI platform and OF driver helper
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    ledtrig-cpu: registered to indicate activity on CPUs
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    hid: raw HID events driver (C) Jiri Kosina
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    usbcore: registered new interface driver usbhid
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    usbhid: USB HID core driver
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    adrv9009 spi1.0: adrv9009_probe : enter
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    mmc0: SDHCI controller on e0100000.mmc [e0100000.mmc] using ADMA
    hmc7044 spi1.2: PLL1: Holdover, CLKIN0 @ 40000000 Hz, PFD: 320 kHz - PLL2: Locked @ 2949.120000 MHz
    jesd204: /axi/spi@e0006000/hmc7044@2,jesd204:1,parent=spi1.2: Using as SYSREF provider
    fpga_manager fpga0: Xilinx Zynq FPGA Manager registered
    usbcore: registered new interface driver snd-usb-audio
    NET: Registered protocol family 10
    Segment Routing with IPv6
    sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    NET: Registered protocol family 17
    NET: Registered protocol family 36
    Registering SWP/SWPB emulation handler
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 35, base_baud = 3125000) is a xuartps
    printk: console [ttyPS0] enabled
    printk: console [ttyPS0] enabled
    printk: bootconsole [earlycon0] disabled
    printk: bootconsole [earlycon0] disabled
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    adrv9009 spi1.0: adrv9009_probe : enter
    cf_axi_dds 44a04000.axi-adrv9009-tx-hpc: Analog Devices CF_AXI_DDS_DDS MASTER (9.01.b) at 0x44A04000 mappe                                                                                                         d to 0x(ptrval), probed DDS AD9371
    axi_adxcvr 44a60000.axi-adxcvr-rx: AXI-ADXCVR-RX (17.05.a) using CPLL on GTX2 at 0x44A60000. Number of lan                                                                                                         es: 2.
    axi_adxcvr 44a80000.axi-adxcvr-tx: AXI-ADXCVR-TX (17.05.a) using QPLL on GTX2 at 0x44A80000. Number of lan                                                                                                         es: 2.
    axi-jesd204-rx 44aa0000.axi-jesd204-rx: AXI-JESD204-RX (1.07.a) at 0x44AA0000. Encoder 8b10b, width 4/4, l                                                                                                         anes 2, jesd204-fsm.
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[0] transition initialized -> pr                                                                                                         obed
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[1] transition initialized -> pr                                                                                                         obed
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[0] transition probed -> idle
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[1] transition probed -> idle
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[0] transition idle -> device_in                                                                                                         it
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[1] transition idle -> device_in                                                                                                         it
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[0] transition device_init -> li                                                                                                         nk_init
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[1] transition device_init -> li                                                                                                         nk_init
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[0] transition link_init -> link                                                                                                         _supported
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[1] transition link_init -> link                                                                                                         _supported
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[0] transition link_supported ->                                                                                                          link_pre_setup
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[1] transition link_supported ->                                                                                                          link_pre_setup
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[0] transition link_pre_setup ->                                                                                                          clk_sync_stage1
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[1] transition link_pre_setup ->                                                                                                          clk_sync_stage1
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[0] transition clk_sync_stage1 -                                                                                                         > clk_sync_stage2
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[1] transition clk_sync_stage1 -                                                                                                         > clk_sync_stage2
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[0] transition clk_sync_stage2 -                                                                                                         > clk_sync_stage3
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[1] transition clk_sync_stage2 -                                                                                                         > clk_sync_stage3
    adrv9009 spi1.0: ADIHAL_resetHw
    random: fast init done
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[0] transition clk_sync_stage3 -                                                                                                         > link_setup
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[1] transition clk_sync_stage3 -                                                                                                         > link_setup
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[0] transition link_setup -> opt                                                                                                         _setup_stage1
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[1] transition link_setup -> opt                                                                                                         _setup_stage1
    random: crng init done
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[0] transition opt_setup_stage1                                                                                                          -> opt_setup_stage2
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[1] transition opt_setup_stage1                                                                                                          -> opt_setup_stage2
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[0] transition opt_setup_stage2                                                                                                          -> opt_setup_stage3
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[1] transition opt_setup_stage2                                                                                                          -> opt_setup_stage3
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[0] transition opt_setup_stage3                                                                                                          -> opt_setup_stage4
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[1] transition opt_setup_stage3                                                                                                          -> opt_setup_stage4
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[0] transition opt_setup_stage4                                                                                                          -> opt_setup_stage5
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[1] transition opt_setup_stage4                                                                                                          -> opt_setup_stage5
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[0] transition opt_setup_stage5                                                                                                          -> clocks_enable
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[1] transition opt_setup_stage5                                                                                                          -> clocks_enable
    axi_adxcvr 44a60000.axi-adxcvr-rx: adxcvr_clk_enable: CPLL RX buffer underflow error, status: 0x61
    axi_adxcvr 44a60000.axi-adxcvr-rx: adxcvr_clk_enable: CPLL RX buffer overflow error, status: 0x61
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[0] transition clocks_enable ->                                                                                                          link_enable
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[1] transition clocks_enable ->                                                                                                          link_enable
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[0] transition link_enable -> li                                                                                                         nk_running
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[1] transition link_enable -> li                                                                                                         nk_running
    adrv9009 spi1.0: ERROR: 40: TALISE_gpIntHandler(): DeframerA reports error
    adrv9009 spi1.0: adrv9009_info: adrv9009 Rev 192, Firmware 6.0.2 API version: 3.6.0.5 successfully initial                                                                                                         ized via jesd204-fsm
    adrv9009 spi1.0: deframerA GCS - Good CheckSum
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[0] transition link_running -> o                                                                                                         pt_post_running_stage
    adrv9009 spi1.0: AUX PLL lock detect reset
    jesd204: /axi/spi@e0006000/adrv9009-phy@0,jesd204:0,parent=spi1.0: JESD204[1] transition link_running -> o                                                                                                         pt_post_running_stage
    adrv9009 spi1.0: RF PLL lock detect reset
    adrv9009 spi1.0: ARM Command Wait TimeOut
    adrv9009 spi1.0: (null)
    axi-jesd204-tx 44a90000.axi-jesd204-tx: AXI-JESD204-TX (1.06.a) at 0x44A90000. Encoder 8b10b, width 4/4, l                                                                                                         anes 2, jesd204-fsm.
    adrv9009 spi1.0: (null)
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    adrv9009 spi1.0: (null)
    adrv9009 spi1.0: GP Interrupt Status 0x20 Action: ERR_RESET_JESD204DEFRAMERA
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    cf_axi_adc 44a00000.axi-adrv9009-rx-hpc: ADI AIM (10.01.b) at 0x44A00000 mapped to 0xb6107e38, probed ADC                                                                                                          ADRV9009 as MASTER
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    zynq-pinctrl 700.pinctrl: unsupported configuration parameter '18'
    ALSA device list:
      No soundcards found.
    Warning: unable to open an initial console.
    Freeing unused kernel memory: 44032K
    Run /init as init process
    udevd[78]: starting version 3.2.9
    udevd[79]: starting eudev-3.2.9
    samplemodule: loading out-of-tree module taints kernel.
    <1>Hello module world : DRIVER !!
    <1>Module parameters were (0xdeadbeef) and "default"
    <1>Config_of ok.
    Sorry, registering the character device  failed with
    macb e000b000.ethernet eth0: PHY [e000b000.ethernet-ffffffff:00] driver [Marvell 88E1510] (irq=POLL)
    macb e000b000.ethernet eth0: configuring for phy/rgmii-id link mode

    Salah

  • Hi Salah,

    The "Permission denied" error occurs when you don't have enough access rights. Running as "root" should definitely work, though.

    Could you try this, as root:

    cat /sys/bus/iio/devices/iio:device4/buffer/enable

    echo 1 > /sys/bus/iio/devices/iio:device4/buffer/enable

    echo 0 > /sys/bus/iio/devices/iio:device4/buffer/enable

    cat /sys/bus/iio/devices/iio_sysfs_trigger/add_trigger

    The first three commands shouldn't cause any error. The last one should return an error, but not "permission denied".

    Cheers,

    -Paul

  • Hi Paul,

    echo 1 > /sys/bus/iio/devices/iio:device4/buffer/enable

    -sh: echo: write error: Invalid argument

    cat /sys/bus/iio/devices/iio_sysfs_trigger/add_trigger

    cat: can't open '/sys/bus/iio/devices/iio_sysfs_trigger/add_trigger': Permission denied

    Invalid argument for enable on 1, there is something weird going on !

    Salah

  • Hi Salah,

    Please try again with libiio built from commit 87699e7. I suspect a bug in the latest master.

    -Paul

  • The problem is in the last commit. On 81b7802 everything is OK.

  • Thank you.

    I created a pull request here that should fix the error:

    https://github.com/analogdevicesinc/libiio/pull/785

    -Paul

  • Thank you,

    For petalinux users, change SRCREV="81b7802f69ecd48bda28df0103143444a55b294f" inside meta-adi/meta-adi-xilinx/recipes-support/libiio/libiio_%.bbappend

    Regards

    Salah