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

iio_device_create_buffer(...) from rf_iio_imp.c #49

Open
uptools opened this issue Feb 5, 2023 · 2 comments
Open

iio_device_create_buffer(...) from rf_iio_imp.c #49

uptools opened this issue Feb 5, 2023 · 2 comments

Comments

@uptools
Copy link

uptools commented Feb 5, 2023

I have already installed the fpga bitstream to a pluto adalm v0.34, and compiled the srsenb, and set cpu scaling to performance. But when starting srsenb I get an error when trying to create the TX buffer:

$ srsenb
Active RF plugins: libsrsran_rf_uhd.so libsrsran_rf_blade.so libsrsran_rf_iio.so
Inactive RF plugins:
--- Software Radio Systems LTE eNodeB ---
Reading configuration file /etc/srsran/enb.conf /etc/srsran/sib.conf /etc/srsran/rr.conf /etc/srsran/rb.conf
Built in Release mode using commit 254cc719a on branch HEAD.
Opening 1 channels in RF device=iio with args=context=usb:
Supported RF device list: UHD bladeRF iio file
CH0 context=usb:
app/srsRAN/lib/src/phy/rf/rf_iio_imp.c:542: Could not create TX buffer (pretended size:1928) errno=2
==== eNodeB started ===
Type to view trace
Setting frequency: DL=2680.0 Mhz, UL=2560.0 MHz for cc_idx=0 nof_prb=6

Any clues for this error in the iio_device_create_buffer(...) function?

@uptools
Copy link
Author

uptools commented Feb 5, 2023

Update to last message:
I also tested the bitstream on another program doing TX and RX in pluto-adalm, while the new bitstream was installed, I get the same iio_device_create_buffer(...) error, both for TX and for RX.
And same error also when trying to run txrx_test.
So I guess it is not a srsenb problem but a bitstream problem.

@uptools
Copy link
Author

uptools commented Feb 12, 2023

After disconnecting pluto from power (the usb cable) and then reconnecting, the iio_device_create_buffer error goes away.

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