-
Notifications
You must be signed in to change notification settings - Fork 104
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
RPi 4B 4GB first time #182
Comments
I ran install.sh again (on a fresh DragonOS). This time I noticed earlier errors:
Is this the easiest thing to do to start from Raspberry Pi OS rather than from DragonOS? |
Ok first things first get a bigger sd card lol. 16gb is nothing with updates and such. I'd do 64gb min I have a writeup at https://radiomenace.com/2023/03/20/getting-cariboulite-working-in-dragonos-on-a-raspberry-pi/ but you still need to edit the THIS_MODULE thing. This is what your config.txt should look like.
I would get rid of all that entire section and try this. if this works then add back one by one to see what breaks it. next do
Edit /etc/rc.local and directly above the ‘exit 0’ line, insert a new line with this: then reboot with
You can run [INFO] SoapyCaribouliteSession, sessionCount: 0 You will need to edit rc.local as per above because it resets the permissions on gpiomem on boot for some reason. Hope this helps let me know. |
Thanks for the advice, ImDroided. Bigger SD Card: Right on! :-) I implemented your other tips:
After reboot, I got: Soapy SDR -- the SDR abstraction library###################################################### [INFO] SoapyCaribouliteSession, sessionCount: 0 and: Soapy SDR -- the SDR abstraction library###################################################### Probe device I see in your write-up that you used RPi 3, not 4. Is there a compatibility issue with RPi 4? |
@ImDroided, In your writeup you say it's a RPi 3. Your pic of the RPi also matches a 3, not a 4, in my opinion. |
Ah yes I remember that now lol the 3 wasn't fast enough and got switched for a 4 almost instantly. I did a fresh install following my writeup and editing the smi stream file the line of code has moved down a few lines as someone added to the file but didnt fix that. I can run CubicSDR but gqrx still has mem access error |
I have a partial solution. It turns out that the solution to this:
is to run the corresponding service: Who knew? ;-) |
I'll document a bit more, for the benefit of anyone else who might have the same issues:
|
I'll answer my own question again:
|
My setup:
Following issue MODEM Version: not AT86RF215 IQ capable modem #137, I changed the following:
I replaced line 1319 in cariboulite/driver/build/smi_stream_dev.c as follows:
//smi_stream_class = class_create(THIS_MODULE, DEVICE_NAME);
smi_stream_class = class_create(DEVICE_NAME);
Following instructions + issue Raspberry Pi 34B SMI error #135, I edited file /boot/firmware/config.txt. Changed [all] to:
[all]
# Enable the audio output, I2C and SPI interfaces on the GPIO header. As these
# parameters related to the base device-tree they must appear before any
# other dtoverlay= specification
dtparam=audio=on
#dtparam=i2c_arm=on
dtparam=i2c_arm=off
#dtparam=spi=on
dtparam=spi=off
My issue:
sdrpp doesn't receive signals. A quick search found that SoapySDRUtil also shows errors. Please see "shm_open: No such file or directory" and following errors below:
ubuntu@ubuntu:~/projects/cariboulite$ sudo SoapySDRUtil --probe
[sudo] password for ubuntu:
######################################################
Soapy SDR -- the SDR abstraction library
######################################################
Probe device
[INFO] SoapyCaribouliteSession, sessionCount: 0
02-02 18:48:22.334 4482 4482 I CARIBOU_PROG caribou_prog_configure_from_buffer@caribou_prog.c:260 Sending bitstream of size 32220
02-02 18:48:23.893 4482 4482 I CARIBOU_PROG caribou_prog_configure_from_buffer@caribou_prog.c:292 FPGA programming - Success!
Printing 'findCariboulite' Request:
shm_open: No such file or directory
[ERROR] sdrplay_api_Open() Error: sdrplay_api_Fail
[ERROR] Please check the sdrplay_api service to make sure it is up. If it is up, please restart it.
[INFO] [UHD] linux; GNU C++ version 11.3.0; Boost_107400; UHD_4.1.0.5-0-unknown
[ERROR] SoapySDR::Device::enumerate(sdrplay) sdrplay_api_Open() failed
[INFO] Initializing DeviceID: 0, Label: CaribouLite S1G[66b1825c], ChannelType: S1G
[INFO] Creating SampleQueue MTU: 131072 I/Q samples (524288 bytes)
Also, it might be unrelated, but it's suspicious: I seem to be running out of space in the root partition (96% full):
ubuntu@ubuntu:~$ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 380M 3.5M 376M 1% /run
/dev/mmcblk0p2 15G 14G 630M 96% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
/dev/mmcblk0p1 253M 193M 60M 77% /boot/firmware
tmpfs 380M 104K 379M 1% /run/user/1000
Any help with either issue will be greatly appreciated.
The text was updated successfully, but these errors were encountered: