Debian Bookworm ARM64 OS on Raspberry Pi Model 4, 4GB

NOTE:
This is only a Test install. Waiting for Flightaware to release updated source code.

Tested Images: https://raspi.debian.net/tested-images/

Daily Build: https://raspi.debian.net/daily-images/

Image I used:
https://raspi.debian.net/daily/raspi_4_bookworm.img.xz

Hardware: Raspberry Pi Model 4, 4GB ram

Image Installation & Configuration Guide:
https://raspberrytips.com/install-debian-on-raspberry-pi/

 

 

 

FEEDER INSTALLATION

image

 

PIAWARE

image

 

DUMP1090-FA

image

 

PIAWARE-WEB

image

 

FR24 FEEDER

image

 

RB24 FEEDER & MLAT-CLIENT

image

 

PLANEFINDER FEEDER

image

 

OBSERVATIONS:

(1) Building piaware from source code failed due to cx_Freeze problem. I could build piaware only after I eliminated steps to build fa-mlat-client. The piaware built this way works OK except MLAT does not work due to absence of fa-mlat-client.

(2) The dump978-fa failed to compile

(3) The dump1090-fa could be built, installed, and runs without any issues

(4) FR24 and Planefinder 32-bit feeders for Bullseye could be installed and work ok on Bookworm, after adding architecture armhf

(5) RB24 64-bit Bullseye feeder could be easily installed and works OK on Bookworm

(6) The mlat-client package could be built & installed on Bookworm, but RB24 fails to use it.

(7) The graphs1090 could be successfully installed and work on Bookworm

(8) The AdsbExchange feeder could be built & installed on Bookworm, but fails to feed data

(9) OpenSky Network 64-bit feeder could be installed and runs without any issues
 

2 Likes

@obj

mlat-client Error log when used by RB24 Feeder

The package mlat-client_0.2.12_arm64.deb was built from source code
Initially it failed to build. Succeeded to build the package after following changes were made in file mlat-client/debian/rules before building the package:

image
 
image

 

## From file /etc/rbfeeder.ini
mlat_cmd=/usr/bin/python3.11 /usr/bin/mlat-client
pi@rpi4-20230617:~$ sudo journalctl -u rbfeeder -e

Jun 18 14:00:04 rpi4-20230617 rbfeeder[735]: Traceback (most recent call last):
Jun 18 14:00:04 rpi4-20230617 rbfeeder[735]:   File "/usr/bin/mlat-client", line 25, in <module>
Jun 18 14:00:04 rpi4-20230617 rbfeeder[735]:     from mlat.client.receiver import ReceiverConnection
Jun 18 14:00:04 rpi4-20230617 rbfeeder[735]:   File "/usr/lib/python3/dist-packages/mlat/client/receiver.py", line 26, in <module>
Jun 18 14:00:04 rpi4-20230617 rbfeeder[735]:     import _modes
Jun 18 14:00:04 rpi4-20230617 rbfeeder[735]: ImportError: /usr/lib/python3/dist-packages/_modes.cpython-311-aarch64-linux-gnu.so: undefined symbol: _PyFloat_>
pi@rpi4-20230617:~$

 

1 Like

Re-imaged, with daily-built image dated 2023-06-27.

(1) Now dump978-fa and skyaware978 could be compiled and installed. The dump978-fa functions OK, as shown by it’s logs and logs of piaware, but skyaware978 displays a perpetual rotating wheel shown below:

 

 

(2) Command lsusb returns “command not found”
Solved by installing following package:

sudo apt install usbutils

 

(3) When installed package rtl-sdr and ran rtl_test -t, it failed to display serial numbers, gave Error3, and advised to install udev rtl-sdr.rules

Tried to fix by installing rtl-sdr.rules by following command:

sudo wget -O /etc/udev/rules.d/rtl-sdr.rules "https://github.com/steve-m/librtlsdr/raw/master/rtl-sdr.rules"

The above rtl-sdr.rules file failed to solve the issue.

I then SCPed the rtl-sdr.rules file from piaware SD card image on another pi, and it solved the issue. I then uploaded the file from piaware SD card to my Github site, and tested it again by downloading it from Github by command below, and it worked OK.

sudo wget -O /etc/udev/rules.d/rtl-sdr.rules "https://github.com/abcd567a/temp/raw/main/rtl-sdr.rules"

 

Does anyone know how to build RaspberryPi OS Bookworm image from following?

http://raspbian.raspberrypi.org/raspbian/dists/bookworm-staging/

 

image

 

I have tried following (pi-gen), but it builds Raspberry Pi OS Bullseye images

1 Like

Upgrading Raspberry Pi OS from Bullseye to Bookworm

(1) Wrote latest Raspberry Pi OS Lite BULLSEYE 64-bit to microSD card using Raspberry Pi Imager. Slipped microSD card into RPi Model4, ram 4GB, and powered up.

(2) Updated Bullseye

sudo apt update 
sudo apt dist-upgrade  

(3) Replaced all occurances of “bullseye” by “bookworm” in files /etc/apt/sources.list and /etc/apt/sources.list.d/raspi.list by following commands

sudo sed -i -e 's/bullseye/bookworm/g' /etc/apt/sources.list   

sudo sed -i -e 's/bullseye/bookworm/g' /etc/apt/sources.list.d/raspi.list  

(4) Updated and full-upgraded to BOOKWORM (full-upgrade is a lengthy operation)

sudo apt update  

sudo apt -y full-upgrade   

(5) Cleanup

sudo apt -y autoremove   

(6) Reboot

sudo reboot   

(7) Installed piaware, dump1090-fa, dump978-fa, & piaware-web.

ISSUE 1: Piaware was built WITHOUT fa-mlat-client due to cx_Freezee issue. MLAT does NOT work with this installation.

ISSUE 2: The dump978-fa works OK, but skyaware978 shows a perpetual rorating wheel

 

 

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.