The RockPi 4B will handle this setup without a struggle using the above method (while running dump978 and gpsd), tested up to 2500 msg/sec:
sudo nano /etc/default/airspy_adsb
Most piaware-config options affecting things other than piaware itself work by generating config files for other packages. This is only done on the piaware sdcard image; if you’ve done a package install, the assumption is that you’re going to configure everything yourself directly.
Yup, old dog, new tricks adage works well here. I came back to a helluva an advancement after a couple year siesta.
Cut me some slack as I’m here to help push the limits again, in hopes some benefit in the process and learn to think outside the box.
Bear with me, as the last thing I worked with in this realm was mutability. You’ve done great, all caught up now for the most part with ya’ll’s help, thank you.
Time for me to go back under the rock I crawled out from I guess.
Been playing around with the RockPi4, seems to have lots of power to spare.
Does anyone know how to get chip info /processor, etc?
/proc/cpuinfo doesn’t provide the usual Hardware/Revision/Model, but gives the serial, but I can’t figure out how to decode it.
I also see vcgencmd isn’t present, is there some other equiv command for getting voltages? Does throttling even apply on this board?
$ cat /proc/cpuinfo
processor : 0
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 1
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 2
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 3
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 4
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 2
processor : 5
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 2
Serial : 1fe31943b08a90d0
The RockPi 4 uses a Rockchip RK3399 with 6 cores - 2 big, 4 little.
You might be able to get cpu stats from querying sysfs:
cat /sys/class/thermal/thermal_zone0/temp
should give you cpu temperature.
cat /sys/class/regulator/regulator.7/microvolts
should give you the cpu voltage.
From what I can gather only the 2 big cores are thermally throttled. I have no idea whether it throttles for voltage. You’ll probably have better luck asking in the rock pi forum for more hardware specific stuff.
Please do share if you get it figured out. I’ve been running the RockPi 4 solid since I wrote the initial thread and it’s been running perfect.
This does work, however I haven’t been able to figure out the correct voltage capture method yet. That said, very little time invested trying.
Solid little board this has been thus far. Still running Airspy (24SR, OPTIONS= -v -f 2 -e 9.92 -w 3 -x -t 600) on 1090, RTL-SDR v3 for 978 along with GPS unit all on the same board feeding FA, FR24, Airnav, PF and ADSBExchange no issues whatsoever with MLAT or other hiccups.
Well I found dmidecode, but it doesn’t work on the RockPi.
I found some others, lshw, hwinfo, lscpu, lspci, and the craziest, inxi.
All can be installed with apt-get, inxi has a bunch of requirements (inxi --recommends will show them).
Got a rockpi4B yesterday from Amazon. They have them in stock with two day delivery.
The current image provided by Radxa is now rockpi4-debian-stretch-desktop-arm64-20190730_2022-gpt.img.gz
Using that image and the instructions in post 20 resulted in an “error code 1” message while running
“apt dist-upgrade”. The last few lines are listed below. Any help with resolving this would be appreciated.
BTW how do you put text in the scrolled text box?
…
Preparing to unpack …/44-libgl1_1.1.0-1_arm64.deb …
Unpacking libgl1:arm64 (1.1.0-1) …
Preparing to unpack …/45-libgles2-mesa_18.3.6-2+deb10u1_arm64.deb …
Unpacking libgles2-mesa:arm64 (18.3.6-2+deb10u1) over (13.0.6-1+b2) …
Selecting previously unselected package libgles2:arm64.
Preparing to unpack …/46-libgles2_1.1.0-1_arm64.deb …
Unpacking libgles2:arm64 (1.1.0-1) …
dpkg: error processing archive /tmp/apt-dpkg-install-pzuayk/46-libgles2_1.1.0-1_arm64.deb (–unpack):
trying to overwrite ‘/usr/lib/aarch64-linux-gnu/libGLESv2.so.2’, which is also in package libmali-rk-midgard-t86x-r14p0:arm64 1.6-2
Preparing to unpack …/47-libglapi-mesa_18.3.6-2+deb10u1_arm64.deb …
Unpacking libglapi-mesa:arm64 (18.3.6-2+deb10u1) over (13.0.6-1+b2) …
Errors were encountered while processing:
/tmp/apt-dpkg-install-pzuayk/46-libgles2_1.1.0-1_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
19:12:52 linaro@rock:~$
After booting to the distro image:
changed password
changed hostname
edited /etc/hosts
set timezone
set locale
edited .bashrc
reboot
Then started your commands.
I did not change the governor because I do not have a heatsink/fan yet. This thing runs warm.
I did all this several times with the distro image and also an image that seems to be the same version
you used originally, but it has a slightly different filename. I found it out on a 3rd party mirror site.
I also tried staying with stretch with each image. All these attempts end with ‘error code 1’ from
‘sudo apt dist-upgrade.’
18:01:52 linaro@rock:~$ sudo apt -y dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
dh-python libcryptsetup4 libdns-export162 libegl1-mesa libgbm1 libgcr-3-common libgdbm3 libgl1-mesa-glx libgles2-mesa libglew2.0 libicu57
libisc-export160 libjim0.76 liblogging-stdlog0 libpcre16-3 libperl5.24 libprocps6 libpython3.5-minimal libpython3.5-stdlib libsodium18
libssl1.0.2 libvte-common libvte9 libwayland-egl1-mesa libwayland-server0 libxcb-xfixes0 pkg-config python3-distutils python3-lib2to3
python3.5 python3.5-minimal x11proto-dri2-dev x11proto-dri3-dev x11proto-gl-dev x11proto-present-dev x11proto-randr-dev x11proto-render-dev
x11proto-resource-dev x11proto-scrnsaver-dev x11proto-video-dev x11proto-xext-dev x11proto-xf86bigfont-dev x11proto-xf86dri-dev
x11proto-xinerama-dev
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
libcurl3 libllvm3.9 libsensors4 libxatracker2
The following NEW packages will be installed:
dirmngr fdisk fonts-glyphicons-halflings fonts-quicksand gcc-8-base gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server
.....
Selecting previously unselected package libglx-mesa0:arm64.
Preparing to unpack .../39-libglx-mesa0_18.3.6-2+deb10u1_arm64.deb ...
Unpacking libglx-mesa0:arm64 (18.3.6-2+deb10u1) ...
Preparing to unpack .../40-mesa-utils_8.4.0-1+b1_arm64.deb ...
Unpacking mesa-utils (8.4.0-1+b1) over (8.3.0-3) ...
Preparing to unpack .../41-libglu1-mesa_9.0.0-2.1+b3_arm64.deb ...
Unpacking libglu1-mesa:arm64 (9.0.0-2.1+b3) over (9.0.0-2.1) ...
Preparing to unpack .../42-libgl1-mesa-glx_18.3.6-2+deb10u1_arm64.deb ...
Unpacking libgl1-mesa-glx:arm64 (18.3.6-2+deb10u1) over (13.0.6-1+b2) ...
Selecting previously unselected package libglx0:arm64.
Preparing to unpack .../43-libglx0_1.1.0-1_arm64.deb ...
Unpacking libglx0:arm64 (1.1.0-1) ...
Selecting previously unselected package libgl1:arm64.
Preparing to unpack .../44-libgl1_1.1.0-1_arm64.deb ...
Unpacking libgl1:arm64 (1.1.0-1) ...
Preparing to unpack .../45-libgles2-mesa_18.3.6-2+deb10u1_arm64.deb ...
Unpacking libgles2-mesa:arm64 (18.3.6-2+deb10u1) over (13.0.6-1+b2) ...
Selecting previously unselected package libgles2:arm64.
Preparing to unpack .../46-libgles2_1.1.0-1_arm64.deb ...
Unpacking libgles2:arm64 (1.1.0-1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-pzuayk/46-libgles2_1.1.0-1_arm64.deb (--unpack):
trying to overwrite '/usr/lib/aarch64-linux-gnu/libGLESv2.so.2', which is also in package libmali-rk-midgard-t86x-r14p0:arm64 1.6-2
Preparing to unpack .../47-libglapi-mesa_18.3.6-2+deb10u1_arm64.deb ...
Unpacking libglapi-mesa:arm64 (18.3.6-2+deb10u1) over (13.0.6-1+b2) ...
Errors were encountered while processing:
/tmp/apt-dpkg-install-pzuayk/46-libgles2_1.1.0-1_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
19:12:52 linaro@rock:~$
Interesting. I’m out of town, but when I get back after a few days I’ll dig my spare RockPi out with the latest Radxa release and see where it goes and post back. I still have my original (built using the instructions I pasted above) in full production and havent had to touch it since…It’s been as solid as they come using an Airspy R2 on Dump1090-fa, Dump978-fa using and RTL-SDR radio and the USB GPS without issue. Hopefully I can reproduce and we’ll work through it. Impossible to guess without plowing through it myself.
Thanks for the input - so far I couldn’t be happier with this SBC since I know the RPI 4 cant handle the USB throughput that this thing does with dual controllers - but… it takes a little work to get there obviously.
For cooling, I nabbed one of these heatsinks, but not sure if they still sell them:
This is a packaging error (or perhaps an incompatible combination of package repositories); short of waiting for an upstream fix or fixing the packaging yourself, there’s not much that you can do other than try removing one or the other of those packages (libgles2 and libmali-rk-midgard-t86x-r14p0) if they’re not needed on your install.