-
-
Notifications
You must be signed in to change notification settings - Fork 142
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
XTRX PCIe Software Defined Radio #71
Comments
It would be nice to test, but I know I won't be able to justify the cost of one just for the testing (I have a USB SDR from RTL-SDR.com and it's adequate for my rather humble needs (tuning into some OTA radio stations so I can listen to them on my phone since dumb sports leagues black out all home team games even if you pay them lots of money). |
I have succesfully used an XTRX board with the CM4 but this required:
VA_DMA_ADDR_FIXUP must be defined in the driver |
@trabucayre - Excellent, thanks for posting the update! Is there any chance you could take a picture of the card by itself (preferrably on a plain white background) so I could use that image on the site? |
Sorry for delay. This file is okay for you? |
It's on the site, thanks! |
* geerlingguy#71 - Adding XTRX PCIe SDR Issue geerlingguy#71 * geerlingguy#71 - Revised XTRX PCIe SDR entry Issue geerlingguy#71
Good evening ... thanks for sharing this SDR option. Do you know what would it take to connect 2 for these boards and sync them? I anticipate I might not be trivial |
this board has more than one XTRX. But don't know if it's possible to use it with raspberry |
Good evening community. My XTRX arrived and now I need little help. As I am installing this in the CM4: 1) I addeddtoverlay=pcie-32bit-dma to /boot/config.txt, and 2) should update the driver ... and here is where I need a hint. In order to do this, which of the pre-build packages should I use from the following link? or shall I manually compile and after make the driver changes? |
Good evening ... following up my previous post / question. I decided to do a manual compilation of host libraries from the sources directory as described here: I could not install "libqcustomplot1.3" because it was not found. Therefore, I installed everything else without any errors. I am also able to reproduce / obtain the output of sudo "lspci -v -d 10ee:" Therefore, at this point I am considering to conclude that I have an incorrect PICe to miniPCI adapter ... No LED ever lit on the xtrx board either @trabucayre do you mind to share which PCIe to miniPCI adapter you used for your CM4? I used this one: |
Getting close !!! now ... to gnuradio. So far I am still getting the following error: |
You have to rebuild gr-osmosdr with |
@trabucayre thank you for the hint. I think I also need to install gnuradio 3.9. I had installed versions 3.8.2.0 |
I use gr-osmosdr 0.2.3 (latest release) with 3.8.2.0 |
@trabucayre thanks ... I spent the last 2 hours trying to re-build with and without the aforementioned option. No matter what I do I always get the same error. I am not a programmer nor software eng. so I guess I have lot more to read and learn. I also followed this https://github.com/Leo-PL/gr-osmosdr-xtrx without any luck |
Could you check if gr-osmosdr is not installed by your package manager? Maybe there is a conflict. |
@trabucayre Thanks for the tip. I did thought about it and removed everything and build gnuradio from scratch. Unfortunately did not work. I followed this https://wiki.gnuradio.org/index.php/InstallingGR#From_Source ok little progress. I was able to install (build) Volk and gnuradio without any errors. However, when I try to build gr-osmosdr complains about: CMake Error at CMakeLists.txt:180 (message): -- Configuring incomplete, errors occurred! |
@trabucayre @geerlingguy Question to both of you ... isn't bullseye a 64bit OS? pi@CM41:/usr/local/lib/xtrx $ cat /etc/os-release Will this a possible cause of why I cannot build and install gr-osmosdr with XTRX support? |
Please check wich options enabled/disabled at the end of gnuradio's cmake maybe runtime is missing (but it's a bit weird). |
@trabucayre Thank you very much. Indeed that is the last wall I am hitting - gr-osmosdr cannot find gnu runtime. I worked the past 6 days on this and I am bit exhausted. I found out that there are many dependencies that are not yet linked / compatible. I can build from source: 1) Volk, which is necessary, 2) gnuradio 3.8.5.0-5, including enable and disable options (flags), but when I try 3) build from source gr-osmosdr it complains about not finding gnuradio runtime. I check and update accordingly my $PATH, my .bashrc and my .profile. All are good and as per the available documentation, examples and community advises. Every other gnu package works but gr-osmosdr. Now, the main page for gr-osmosdr states that Gnuradio v3.9 is required. See attached screenshot ... with this a chain reaction starts. This is because Gnuradio 3.9 requires the newest Volk version. This new Volk version is not yet compatible with CM4, then cannot install gnuradio v3.9 and cannot install gr-osmosdr with XTRX support. I hired a SW Eng. and we will work over the weekend on this. I will let you know how it goes. Monday I will have to decide to keep or return the board. My lack of progress should not be interpreted as a complain, excuse or any detriment. I thank you and everyone in the community for such amazing job and I am hoping my contribution could help others. |
@trabucayre I honestly do not know what I did but now it seems to be working ! I started from fresh and perhaps some links where restored to originals ??? This was my 3rd time starting from fresh. Thank you all for your support. |
Good morning ... several months ran with our major issues. However, after few recent updates and many projects on my RPi CM4 , I decided to clean up the Pi OS by doing a 1) new clean install following the procedure we found here before. XTRX correctly installs and is recognized by the Pi OS when lspcie. 2) gnu radio installs without any problems. However, now I am facing a new issue. When running any flow graph with xtrx (osmocom source) it halts with the following message: gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0 On device arguments I tried "xtrx", "xtrx=0" and "xtrx = pcie:///dev/xtrx0" without any luck. Any suggestions ? |
I use |
Thanks. Didn't work. I ran update and upgrade and found out there is an issue with my dkms.... I think I need to work that first ... vjarao@raspberrypi:~ $ sudo apt dist-upgrade -y Deleting module version: 0.0.1+git20190320.5ae3a3e-2
|
Driver is broken with recent kernel release (have to create a PR)
by
by
And finally
by
Warning: kernel build fine but not tested if it's works |
Ohhh ... thanks. I will wait for the update because if I start digging on the driver I am most likely to break more stuff. Thank you very much for your help & support |
I'm not sure to have time to test before create a PR and fairwaves people seems slow to merge patch... |
That will be fantastic. |
@trabucayre Did you attached the patch? I do not see it. |
You have to move at xtrx_linux_pcie_drv directory an to use
to apply this fix. |
@vjarao any news? Patch is working as expected? |
Good morning. Well the applied path went through without any errors. XTRX is on the list of /dev/ and all provided examples works. I have not yet installed gnuradio ... I am hoping to do this weekend. I will share my results |
Thanks! |
good morning, Volk installed without any problems. Then I followed with gnuradio 3.10 without any problems again. My current issue is that I cannot find the excitable to start gnuradio nor to add it to my path ... work in progress ... |
Good evening. I could not make work GNURADIo 3.9 nor 3.10. However, 3.8 installs without any problems. Next wall to overcome is building gr-osmosdr (https://gitea.osmocom.org/argilo/gr-osmosdr). I had 2 failures on cmake ../ where the errors contradicts minimal gnuradio version dependency (The Gnu Radio block requires a recent gnuradio (>= v3.7) to be installed.) ... bellow is the error. -- The CXX compiler identification is GNU 10.2.1 The following configuration files were considered but not accepted: /usr/local/lib/cmake/gnuradio/GnuradioConfig.cmake, version: 3.8.5.git -- Configuring incomplete, errors occurred! |
Did it work for him/her? |
It would be nice to see this working, since lots of people are into SDR on the pi. Unfortunately I don't have one not a cm4, so I'm just posting here for reference.
Here the crowd supply page : xtrx
The text was updated successfully, but these errors were encountered: