Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while running run_txrx_zcu.sh on ZCU102 board #70

Open
mbaykenar opened this issue Sep 6, 2024 · 2 comments
Open

Error while running run_txrx_zcu.sh on ZCU102 board #70

mbaykenar opened this issue Sep 6, 2024 · 2 comments

Comments

@mbaykenar
Copy link

Hi,

I cross-compiled txrx_test with the steps followed on the application note, here are the outputs for bin_app:

image

So I copied bin_app directory and run_txrx_zcu.sh file from scripts into the SD card /home/root/ directory. Then boot the ZCU102.

I tried running run_txrx_zcu.sh but get these errors:

root@xilinx-zcu102-2019_2:~/bin_app# ./run_txrx_zcu.sh
++ pwd
+ sudo LD_LIBRARY_PATH=/home/root/bin_app
./run_txrx_zcu.sh: line 4: sudo: command not found
+ nice -20 ./txrx_test -f 2400000000 -a n_prb=6 -p 6 -g 40 -o test_txrx_zcu.bin
./txrx_test: error while loading shared libraries: libsrsran_rf.so.0: cannot open shared object file: No such file or directory

I removed "sudo" and retried but still got libsrsran_rf.so.0 cannot open shared object file error.

I checked it's properties and it is linked to libsrsran_rf.so.21.10.0

Any idea what I am doing wrong?

Regards,

@mbaykenar
Copy link
Author

mbaykenar commented Sep 6, 2024

export LD_LIBRARY_PATH=/home/root/bin_app

worked to solve this problem.

However, now I got this error during txrx_test:

root@xilinx-zcu102-2019_2:~/bin_app# ./run_txrx_zcu.sh 
++ pwd
+ export LD_LIBRARY_PATH=/home/root/bin_app
+ LD_LIBRARY_PATH=/home/root/bin_app
+ nice -20 ./txrx_test -f 2400000000 -a n_prb=6 -p 6 -g 40 -o test_txrx_zcu.bin
Opening RF device...
Active RF plugins: libsrsran_rf_iio.so
Inactive RF plugins:
Supported RF device list: iio
Trying to open RF device 'iio'
CH0 n_prb=6
RF device 'iio' successfully opened
Subframe len:   1920 samples
Time advance:   0.000000 us
Set TX/RX rate: 1.92 MHz
Set RX gain:    40.0 dB
Set TX gain:    40.0 dB
Set TX/RX freq: 2400.00 MHz
Rx subframe 0
./run_txrx_zcu.sh: line 5:  2823 Segmentation fault      nice -20 ./txrx_test -f 2400000000 -a n_prb=6 -p 6 -g 40 -o test_txrx_zcu.bin

@mbaykenar
Copy link
Author

When I first run the txrx_test I also got

[  382.638446] ad9361 spi1.0: ad9361_calculate_rf_clock_chain: Failed to find suitable dividers: ADC clock below limit
[  382.652057] ad9361 spi1.0: Error setting ADC sample rate -22

error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant