Install sdr-trunk on RPI4

1,751 views
Skip to first unread message

Tim Bitson

unread,
Oct 3, 2021, 2:54:46 PM10/3/21
to sdrtrunk
The RPi team has released a beta version of a 64-bit Raspbian. I have successfully installed sdr-trunk v4 on a 4GB RPi and so far it seems to be working well with 2GB of free RAM. There are a few error messages when starting that I still need to work on, but it runs! I wanted to get this out to the Community so the smart folks can work on it.

Here's the steps I followed, YMMV:

-- download latest arm64 file and burn to SD/Thumb drive/ssd
add empty file '.ssh' to /boot

-- boot RPi and configure wifi/locale/etc

-- add required libs:
sudo apt update
sudo apt upgrade

sudo apt install default-jdk
sudo apt install x11-apps
sudo apt install rtl-sdr
sudo apt install gradle

-- enable x11:
sudo nano /etc/lightdm/lightdm.conf
add: xserver-allow-tcp=true
sudo service lightdm restart
add to .bashrc:
# enable x11
export DISPLAY=127.0.0.1:0

sudo reboot

-- install sdr-trunk 4
cd
unzip

install jmbe 1.0.7
cd sdr-trunk
unzip
cd build
gradlew clean build

cd ~/sdr-trunk
gradlew clean build

-- sdr-trunk must be run locally or via vnc:
launch vnc, connect to RPi
navigate to sdr-trunk/build/distribution/
unzip sdr-trunk-0.4.0.zip
cd bin
./sdr-trunk

it takes a while to load. It isn't very responsive, but now I have a portable scanner. More to come as I investigate use sdr-trunk 5.


Imago Trigger

unread,
Oct 3, 2021, 8:05:07 PM10/3/21
to Tim Bitson, sdrtrunk

This is great.  Thanks
--
You received this message because you are subscribed to the Google Groups "sdrtrunk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sdrtrunk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sdrtrunk/fc83ea9e-ae55-4a0c-8b5b-6698dc9ec916n%40googlegroups.com.

Tim Bitson

unread,
Oct 4, 2021, 3:46:44 PM10/4/21
to sdrtrunk
After more testing, it’s a bit unstable but has been running for 24 hours. Processor loading on the Pi4 is about 60% and on a 4GB Pi it uses about 50% of the memory. 

I’m still getting error messages from the Java openjfx library. Maybe someone more familiar with Java can point me in the right direction:

Loading library prism_es2 from resource failed: java.lang.UnsatisfiedLinkError: /home/pi/.openjfx/cache/13.0.1/libprism_es2.so: /home/pi/.openjfx/cache/13.0.1/libprism_es2.so: cannot open shared object file: No such file or directory (Possible cause: can't load AMD 64-bit .so on a AARCH64-bit platform)
java.lang.UnsatisfiedLinkError: /home/pi/.openjfx/cache/13.0.1/libprism_es2.so: /home/pi/.openjfx/cache/13.0.1/libprism_es2.so: cannot open shared object file: No such file or directory (Possible cause: can't load AMD 64-bit .so on a AARCH64-bit platform)

I’ve verified the files are there and I reinstalled to make sure there from the arm64 lib.

-Tim


To unsubscribe from this group and stop receiving emails from it, send an email to sdrtrunk+u...@googlegroups.com.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages