RockPi 4B Experiments

I went back to the Radxa site and found the same image you had used. I had to go to the Radxa forum to get the username/password (root/1234).

Everything loaded/installed/built with no errors.

I still have to configure everything.

Thank you for your work on this.

I was in error when I stated that everything loaded/installed/built with no errors. There was an error
with the piaware install that I failed to notice.

Below are the commands that were used.

## INSTALL PIAWARE ##
sudo apt install -y git devscripts build-essential debhelper tcl8.6-dev autoconf \
python3-dev python3-venv virtualenv dh-systemd zlib1g-dev tclx8.4 tcllib tcl-tls \
itcl3 net-tools libboost-system-dev libboost-program-options-dev libboost-regex-dev \
libboost-filesystem-dev
 
git clone https://github.com/flightaware/piaware_builder.git 
cd piaware_builder 
./sensible-build.sh buster
cd package-buster
rm -rf cx_Freeze-5.1.1
git clone https://github.com/anthony-tuininga/cx_Freeze.git cx_Freeze-5.1.1 && cd $_
git reset --hard 511f473
cd ../
sudo dpkg-buildpackage -b
sudo dpkg -i ../piaware_3.8.1*.deb 
cd

Below is the resulting error.

dpkg-deb: building package 'piaware' in '../piaware_3.8.1_arm64.deb'.
dpkg-deb: building package 'piaware-dbgsym' in '../piaware-dbgsym_3.8.1_arm64.deb'.
 dpkg-genbuildinfo --build=binary
 dpkg-genchanges --build=binary >../piaware_3.8.1_arm64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)
16:51:25 ca249@rockpi4b:~/piaware_builder/package-buster$ sudo dpkg -i ../piaware_3.8.1*.deb
Selecting previously unselected package piaware.
(Reading database ... 74121 files and directories currently installed.)
Preparing to unpack ../piaware_3.8.1_arm64.deb ...
Unpacking piaware (3.8.1) ...
dpkg: dependency problems prevent configuration of piaware:
 piaware depends on tcl-tls (>= 1.7.16-1+fa1); however:
  Version of tcl-tls:arm64 on system is 1.7.16-1.

dpkg: error processing package piaware (--install):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for systemd (241-7~deb10u4) ...
Processing triggers for rsyslog (8.1901.0-1) ...
Processing triggers for man-db (2.8.5-2) ...
Errors were encountered while processing:
 piaware
16:51:46 ca249@rockpi4b:~/piaware_builder/package-buster$ 
16:52:08 ca249@rockpi4b:~/piaware_builder/package-buster$ cd
16:52:11 ca249@rockpi4b:~$

Am out of town and can’t look at the moment, but there are updated instructions for building TCL-tls-fa which will fix the problem around here somewhere. That will need to be done prior to dpkg.

piaware depends on tcl-tls (>= 1.7.16-1+fa1);

Found it, courtesy @abcd567:

## Clone source code, build & Install tcl-tls  
cd ~/  
$ git clone http://github.com/flightaware/tcltls-rebuild.git   
$ cd tcltls-rebuild   
$ ./prepare-build.sh buster     
$ cd package-buster   
$ sudo dpkg-buildpackage -b --no-sign   
$ cd ../   
$ sudo dpkg -i tcl-tls_1.7.16-1+fa1_arm64.deb   

Build tcl-tls from source code.
See this thread for Ubuntu Server 20.04 arm64 on Pi4

1 Like

Nitr0 and abcd567,

Thank you guys for your assistance. I have successfully build my rockpi using the instructions you guys provided. It is running great. Site number 108954.

ca249

:+1: Great to hear mate. Keep us informed about your thoughts on this SBC after having run it awhile. I personally like it alot and it’s the only SBC I’ve tested that can run an Airspy R2 full-tilt along with an RTL-SDR radio doing UAT and a USB GPS dongle all plugged into the same device without dropping packets/MLAT.

I also swooped up a RockPi S for some tinkering - neat little package, also runs well:
https://wiki.radxa.com/RockpiS

It’s my hope these guys keep up with the support since I think they are putting some good products out.

I have the same RockPi set up as Nitr0, because of him and this thread :slight_smile:
I concur, works great!
Powerful and functional.

Cool to hear. They should send me something for pushing their product :rofl:

I just tried a few things with the mainline Debian desktop kernel and well as DietPi and both proved to be trash for the RockPi4. The only way to work cleanly on this board with Linux (in my opinion) is to use Armbian Buster (right column).

Default login is root/1234

They have some really nice first-run scripts that will help you setup your locale, user, etc. Armbian has come a long ways and is really nice to use.

Same is true for OrangePiPC.

I tried many distros for my OrangePiPC, all had problems, till found Armbian, which is debian based. I am using it for last 4 years, upgrading by re-imaging regularly, current image being Buster. It is as good as Raspbian is for RPi.

Wonderful developer named Igor, has developed distros for such a huge number of SBCs.