PiAware for RPi OS Bookworm

Looking for a release date, if any, for the PiAware upgrade.

Self-inflicted mess at my end:

The following packages have unmet dependencies:
 piaware : Depends: libboost-regex1.74.0-icu67 but it is not installable
E: Unable to correct problems, you have held broken packages.

Rather than do a fresh install (by falling back to Bullseye), I am hoping for a quick recovery with a newer PiAware build. Just need to know if the upgrade is scheduled in days or weeks. Thanks.

Regards.

 

On Bookworm

Packages built from source-code
 

 

 

2 Likes

Thank you yet again! I’d truly be lost without your prompt assistance all these years (not just to me but to the entire community).

Regards.

I’m still in the midst of testing at the moment, it will probably be next week before the release happens.

Unless you have a Pi 5, I would recommend not using Bookworm for the moment anyway (the currently available kernel for Bookworm has broken USB support on older hardware)

3 Likes

Thanks! Good to know that the upgrade will be sooner rather than later. @abcd567 has helped me out for now.

MicroCenter (Dallas) pushed back their ATP to 11/3 for RPi5. It will be deja vu time just like the NVidia 3XX queues before the doors open on Friday. I’ve avoided upgrading my primary PiAware installation but developed the itch to do it with the second one because I got a RPi02W recently (to upgrade from RPi0 for my 2nd installation).

Regards.

1 Like

My local distributor initially quoted 3 Nov for Pi 5 availability, but I backordered on the 30th and it got delivered yesterday somehow! So I actually have hardware to test on…

pi@bookworm-armhf:~ $ cat /sys/firmware/devicetree/base/model 
Raspberry Pi 5 Model B Rev 1.0
2 Likes

When you say older hardware, do you mean anything older than the Pi5?

Is USB broken on Pi4s as well with Bookworm?

It definitely affects the USB controller in the Pi 4 and might affect some other Pis - I’m not so familiar with exactly which USB controller is used in which hardware. I believe the Pi 5 is unaffected because it’s using a different controller.

Here’s the underlying issue: Pi 4: rtl_test hangs with RTL2838U chips · Issue #3060 · raspberrypi/linux · GitHub (note that it first happened a while back, then got fixed, then the fix got lost in the kernel shipped with Bookworm). Also here: Broken kernel USB drivers for RPI4 rev 1.5 with VIA chip · Issue #83 · raspberrypi/bookworm-feedback · GitHub

2 Likes

I envy you naturally! :grinning: (Even PiShop has not shipped my order despite taking the charge when the launch announcement was made)

Perhaps, the Raspberry Pi Org should include you in their beta (if you have the bandwidth).

Regards.

P.S. Naturally, now the RPi4 8GB are going begging at MicroCenter at sustained 25+ qty levels for days.

 
I dont have RPi 5, neither intend to spend money (at least for now) on purchasing it.

My experience with older hardware is as follows:

 
(1) RPi Model 4 + 64-bit Raspberry Pi OS Bookworm armv8 (2023-10-10 release)
USB is broken. As a result dump1090-fa and dump978-fa fail. I had to upgrade kernel by command sudo rpi-update to upgrade the kernel, then the usb problem was solved.

After kernel upgrade:
Linux raspberrypi 6.1.58-v8+ #1694 SMP PREEMPT Mon Oct 30 11:52:28 GMT 2023 aarch64

After the krnel upgrade, built and installed piaware ver 9.0~dev, dump1090-fa ver 9.0~dev and dump978-fa ver 9.0~dev, and all are working OK (except skyaware978 map).

https://www.flightaware.com/adsb/stats/user/abcd567#stats-76000

 
(2) RPi Model 4 + 64-bit DietPi OS Bookworm armv8 latest release for RPi

Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux

No issues. Works out of box.
built and installed piaware ver 9.0~dev and dump1090-fa ver 9.0~dev, and both are working OK.

https://www.flightaware.com/adsb/stats/user/abcd567#stats-5252

 
(3) OrangePi PC + 32-bit Armbian_23.8.1_Orangepipc_bookworm

Linux orangepipc 6.1.53-current-sunxi #3 SMP Wed Sep 13 07:43:05 UTC 2023 armv7l GNU/Linux

No issues. Works out of box.
built and installed piaware ver 9.0~dev and dump1090-fa ver 9.0~dev, and both are working OK.

https://www.flightaware.com/adsb/stats/user/abcd567#stats-6396

 
(4) H96Max TV Box RockChip 3318 + Armbian_23.8.1_Rk3318-box_bookworm

Linux rk3318-box 6.1.50-current-rockchip64 #3 SMP PREEMPT Wed Aug 30 14:11:13 UTC 2023 aarch64 GNU/Linux

No issues. Works out of box.
built and installed piaware ver 9.0~dev and dump1090-fa ver 9.0~dev, and both are working OK.

https://www.flightaware.com/adsb/stats/user/abcd567#stats-114692

 

 

4 Likes

Raspberry Pi 3B rev 1.2 rev a02082 SoC BCM2837 1Gb RAM vintage 2015
Linux adsb-feeder 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux

rtl_test works fine - no samples lost

Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Detached kernel driver
Found Rafael Micro R820T tuner
...

Feeds to a couple of test places seem to be working, as is tar1090 locally

Edited to add OS release info:

DietPi v8.23.3 
Debian GNU/Linux 12 (bookworm)

P.S. another hearty endorsement for the EASY button for ADS-B feeders installation kit - to me it is all the work done by @abcd567 @wiedehopf @caius and others on steroids. Just plug and play. And running 64-bit OS and docker on this ancient Pi does not seem to kill it. Thanks @dirkhh A simple way to feed ADS-B data

4 Likes

Interesting… So far I haven’t updated the adsb.im Feeder Image that uses Raspbian to Bookworm. I guess I should call myself lucky there.
As you indicated - the DietPi Bookworm version seems just fine (I’m running this on a couple of “production” RPi4b that happily feed the aggregators.

@dirkhh
Following is off-topic. Just wanted you to have a look to something new I creared (rather assembled). The item (1) is very recent and is still under development.

(1)https://github.com/abcd567a/mixer/blob/master/README.md

(2)https://github.com/abcd567a/install-aiscatcher/blob/master/README.md

This is cool - I am certain you know this… but most (all?) aggregators do not want you to push combined feeds, instead they want you to push the individual feeds. The combined feeds prevent MLAT from working…
So ideally you’d use the mixer to show the combined map of your feeders, but you’d have each feeder individually push data to the aggregators.

Yes, you are right. That is why I have split it in two independent parts, the “mixer” and the “pusher”.

The mixer will be installed on any one computer or Pi, and will show combined map of all receivers, but it wont push-feed or interfere with existing feeds from dump1090 / readsb ports 30005 or 30002.

The “pusher” is intended to push mixed feed to user’s another computer, or own private web site, or his friend’s private web site which do NOT have MLAT capability.

The “pusher” is NOT intended to feed aggregator sites with MLAT capability. For push-feed to sites with MLAT, the “pusher” settings can be slightly modified to take input from only one receiver, and NOT from “mixer”. However this wont be enough as a dedicated mlat-client and mlat-client feedback script will also be required. The mlat-capable aggregator sites provide their own feed-clients which have all these three components, for example:

  1. Piaware has fa-mlat-client, and helper faup installed with piaware package installation.

  2. Adsbexchange has adsbexchange-feed, adsbexchange-mlat and their dedicated mlat-client under virtual enviroment.

  3. Adsbfi has adsbfi-feed, adsbfi-mlat and their dedicated mlat-client under virtual enviroment.

 

I realize that it may be premature to start running piaware on bookworm (for reasons stated here), but I’d like to get started on building out my Bookworm system disk with it. (long story)

Could someone point me to the instructions (in whatever form) plus the sources? I found GitHub - flightaware/piaware: Client-side package and programs for forwarding ADS-B data to FlightAware but I don’t see the 9.0~ dev branch mentioned.

Thanks!

STEP-1:
Write Raspberry Pi OS Bookworm (2023-10-10) to microSD card using Raspberrypi Imager

STEP-2:
Slip microSD card in RPi, powerup. If you are using Pi4, then please note that current (2023-10-10) issue of OS image has broken USB on Pi4.

To fix this bug on Pi4, issue following command to upgrade kernel to fix broken USB issue. Please note that kernel upgrade is NOT required for Pi 5 as it does not have broken USB on Bookworm.
 

sudo rpi-update

UPDATE Nov 08, 2023: No need to do kernell upgrade now by command sudo rpi-update. It seems RPi OS Developers have released some patch to fix broken USB on Pi4, and this patch can be applied by following commands: :slightly_smiling_face:

sudo apt update  
sudo apt upgrade    
sudo reboot  

 
STEP-3:
Copy-paste following bash script in terminal / putty to install dump1090-fa ver 9.0~dev

sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/piaware-ubuntu-debian-amd64/master/install-dump1090-fa.sh)"

 

STEP-4:
Copy-paste following bash script in terminal / putty to install piaware ver 9.0~dev

sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/piaware-ubuntu-debian-amd64/master/install-piaware.sh)"

 

STEP-5:
Copy-paste following bash script in terminal / putty to install piaware-web

sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/piaware-ubuntu-debian-amd64/master/install-piaware-web.sh)"

 

STEP-6:
ENJOY!!! :wink:

 

IMPORTANT NOTE:
You have to be very patient when building packages from source-code using above bash scripts.

Building packages from source code is a lengthy process, takes about 15 to 30 minutes for each package. This is due to installation of large number of build-tools and dependency packages before starting actual build process, which itself is time consuming.

 

3 Likes

Thanks! Will have at it tomorrow.

The Pi 5 is fast
dump1090-fa ver 9.0~dev - 2 minutes
piaware ver 9.0~dev - 5 minutes
piaware-web - < 1 minute

Start to finish with a reboot well under 10 minutes.

2 Likes

Thanks for information about Pi 5. This is good news.

I dont have Pi 5. My figures for processing times were for Pi 4.