Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aarch64/arm64 support and general fixes #1029

Merged
merged 68 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
01de0c4
Add toggle for coronal mass GIFs
Sasszem Mar 8, 2024
8724880
Initial bugfixes
MihajloPi Jun 27, 2024
2da30a8
Merge branch 'jekhokie:master' into master
MihajloPi Jul 4, 2024
fa5e57a
Beta development
MihajloPi Jul 4, 2024
7805199
aarch64 support
creas002 Jul 4, 2024
f93c5f4
Merge pull request #995 from creas002/aarch64-support
MihajloPi Jul 4, 2024
3455dfc
Aarch64 support
MihajloPi Jul 5, 2024
84e5f0a
SatDump update for x64 machines
MihajloPi Jul 5, 2024
6276cd6
Modified tools & dependancies
creas002 Jul 5, 2024
9f38a71
Disabled - name: copy RTL-SDR udev rule
creas002 Jul 5, 2024
23e0959
rework
creas002 Jul 5, 2024
76e46bc
Merge pull request #997 from creas002/aarch64-support
MihajloPi Jul 5, 2024
de4c567
Added --fill_missing option to NOAA & METEOR receive scripts
creas002 Jul 5, 2024
45b56da
undo "fill_missing" option from NOAA as its for GOES and METEOR only
creas002 Jul 5, 2024
1cc3e6c
Hmmm somehow `--fill_missing` got lost when I switched to SatDump liv…
MihajloPi Jul 6, 2024
ab701d6
Hmmm somehow `--fill_missing` got lost when I switched to SatDump liv…
MihajloPi Jul 6, 2024
729b15d
Adding Richard's arm64 updates
MihajloPi Jul 6, 2024
58646d7
Adding updated SatDump for armhf built by Richard
MihajloPi Jul 6, 2024
42db15d
Adding updated SatDump for armhf built by Richard
MihajloPi Jul 6, 2024
fe4cca3
Providing support for any Debian based distro
MihajloPi Jul 8, 2024
ad4e436
Providing support for any Debian based distro
MihajloPi Jul 8, 2024
05834ae
Setting automatic deletion to false to store 3 days worth of audio fo…
MihajloPi Jul 8, 2024
6ff32ea
Setting automatic deletion to false to store 3 days worth of audio fo…
MihajloPi Jul 8, 2024
867819f
Fixing the log for the breakpoint
MihajloPi Jul 8, 2024
9706169
Fixing the log for the break point
MihajloPi Jul 8, 2024
b69e2f9
Fixing logs for the breakpoint if invalid `$RECEIVER_TYPE` variable i…
MihajloPi Jul 8, 2024
659c820
Preventing invalid receiver_type and satellite decoders from going pa…
MihajloPi Jul 8, 2024
c65774c
Preventing invalid receiver_type and satellite decoders from going pa…
MihajloPi Jul 8, 2024
899e3a6
Adding fix to prevent Gtk-WARNING
creas002 Jul 9, 2024
fd845f2
Widening the scope of variables to omit when scheduling passes
creas002 Jul 9, 2024
aeaf43f
Added WAYFIRE to omit
creas002 Jul 9, 2024
17a7ef8
Update receive_meteor.sh
creas002 Jul 9, 2024
9f9bcd2
Update receive_noaa.sh - Backing out changes to avoid merge conflict
creas002 Jul 9, 2024
9865b22
Fixing GTK issues preventing annotations from displaying
MihajloPi Jul 9, 2024
3172aec
Add toggle for coronal mass GIFs
MihajloPi Jul 9, 2024
afa1853
Pulling the latest changes including GTK annotations fix
MihajloPi Jul 9, 2024
370013b
add bottom - next/previous page in CAPTURE
creas002 Jul 10, 2024
48ed175
Merge branch 'aarch64-support' of https://github.com/creas002/raspber…
creas002 Jul 10, 2024
d62bfaf
Ooops... Thanks Jerome!
MihajloPi Jul 11, 2024
87a77a1
Fixing `use_device_string` to `USE_DEVICE_STRING` for bash scripts
MihajloPi Jul 11, 2024
8b6d4a7
Updating comments
MihajloPi Jul 11, 2024
3874bd8
Updating comments
MihajloPi Jul 11, 2024
97b716e
Modified polar_plot.py to resolve warning when generating AZ/EL & Dir…
creas002 Jul 11, 2024
4af3565
Merge pull request #1012 from creas002/aarch64-support
MihajloPi Jul 11, 2024
8b09fa8
Filter out wxtoimg error messages for known/acceptable issue
creas002 Jul 11, 2024
da2ab9f
Filter out wxtoimg error messages for known/acceptable issue
creas002 Jul 12, 2024
12d7440
Merge pull request #1013 from creas002/aarch64-support
MihajloPi Jul 12, 2024
32d2b16
Modified dependencies to support 32-bit wxtoimg on arm64 & amd64
creas002 Jul 13, 2024
f58f1b7
Modified core.yml to support various flavors of Linux
creas002 Jul 13, 2024
9784b73
Removed wxtoimg 320bit support for AMD64 since we have a DEB for it a…
creas002 Jul 13, 2024
7991902
Merge branch 'aarch64-support' into aarch64-support
MihajloPi Jul 13, 2024
689bb6c
Aarch64 support - Modified dependencies & core to support 32-bit wxto…
MihajloPi Jul 13, 2024
08b7cf3
Pulling the latest updates
MihajloPi Jul 13, 2024
519d43d
Update README.md
MihajloPi Jul 14, 2024
0ca8d25
Updating the README file
MihajloPi Jul 14, 2024
5fdc95f
Pulling the latest changes
MihajloPi Jul 14, 2024
36db7a2
Tuning Meteor M2-4 maps in MeteorDemod
MihajloPi Jul 18, 2024
7f54040
Tuning Meteor M2-4 maps in MeteorDemod
MihajloPi Jul 18, 2024
28aa9c8
Define XDG_RUNTIME_DIR with proper permissions
creas002 Jul 20, 2024
3ae6a4e
Merge branch 'aarch64-support' of https://github.com/creas002/raspber…
creas002 Jul 20, 2024
8f62604
Merge pull request #1018 from creas002/aarch64-support
MihajloPi Jul 20, 2024
05c3d3c
Introduction of Verification Tool and RN2 uninstall script (#1019)
creas002 Jul 21, 2024
916ce30
Clean up the library cache so any dangling items are cleared & RTL-SD…
creas002 Jul 23, 2024
59ed2c2
Delete db backup files that are older than 3 days
jp112sdl Jul 29, 2024
b6bddb8
Removing old PHP thumbnail selection for Meteor (which didn't work)
jp112sdl Jul 30, 2024
f3f998b
Squashed commit of the following:
MihajloPi Jul 30, 2024
c686e8c
Introduction of RN2 In-Situ Upgrade (#1024)
creas002 Jul 30, 2024
e9d68a7
Added git config, verification tool and tee to log to support.sh (#1028)
creas002 Jul 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 38 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Here's a quick start - if you have questions, continue reading the rest of this
reach out by submitting an issue:

```bash
# update os localisation settings like timezone, locale and WiFi country
# update os localisation settings like timezone, locale and WiFi country, and expand the filesystem
sudo raspi-config

# install git
Expand Down Expand Up @@ -92,9 +92,9 @@ Also, check out [THIS LINK](docs/webpanel_screenshots.md) for some screen shots

The original raspberry-noaa was tested on Raspberry Pi 2 and up. However, while this compatibility may have been maintained
with raspberry-noaa-v2, ~~this version was developed and tested on a Raspberry Pi 4 - it has not been exhaustively tested on other variants
of Raspberry Pi (but if you get it working on a version, please do submit a PR and mention it so this document can be updated!).~~, this version works on Pi 3, Pi 4 and Pi 5, and the variants of these models. If you can install Debian Bookworm or Bullseye, it will probably work.
of Raspberry Pi (but if you get it working on a version, please do submit a PR and mention it so this document can be updated!).~~, this version works on Pi 3, Pi 4 and Pi 5, and the variants of these models. If you can install 64 bit Debian Bookworm or Bullseye, it will probably work.

As of September 2023, raspberry-noaa-v2 can also be installed on regular 64-bit computers running any Debian Bookworm-based distro. ~~It has been developed and tested on LMDE 6 "Faye" which I also recommend for users coming from Windows, as it has many similarities. It can be downloaded here: [https://mirrors.layeronline.com/linuxmint/debian/lmde-6-cinnamon-64bit.iso](https://mirrors.layeronline.com/linuxmint/debian/lmde-6-cinnamon-64bit.iso)~~ After providing Bookworm support, the recommended version for PCs running RN2 is plain old Debian Bookworm. Desktop environment (like Gnome, KDE, Cinammon, XFCE...) doesn't matter, it only has to be 64-bit Debian.
As of September 2023, raspberry-noaa-v2 can also be installed on regular 64-bit computers running **ANY** Debian Bookworm-based distro. ~~It has been developed and tested on LMDE 6 "Faye" which I also recommend for users coming from Windows, as it has many similarities. It can be downloaded here: [https://mirrors.layeronline.com/linuxmint/debian/lmde-6-cinnamon-64bit.iso](https://mirrors.layeronline.com/linuxmint/debian/lmde-6-cinnamon-64bit.iso)~~ After providing Bookworm support, the recommended version for PCs running RN2 is plain old Debian Bookworm. Desktop environment (like Gnome, KDE, Cinammon, XFCE...) doesn't matter, it only has to be 64-bit Debian.

If you test with another OS - again, please submit a PR and let us know how it works out!

Expand Down Expand Up @@ -190,6 +190,16 @@ Then, open the settings file and edit it to match the settings from the previous
If you have elected to run a TLS-enabled web server, see [THIS LINK](docs/tls_webserver.md) for some additional information
on how to handle self-signed certificates when attempting to visit your webpanel and enabling auth for the admin pages.

## In-Situ Upgrade

Want to switch your existing RN2 installation to a different Github branch without loosing your settings and images?

**Introduction of RN2 Upgrade tool**

`${HOME}/.rn2_utils/rn2_upgrade.sh https://github.com/jekhokie/raspberry-noaa-v2.git -b aarch64-support`

Just point to the branch you want to switch to by modifying the above line as needed.

## Post Install

There are and will be future "optional" features for this framework. Below is a list of optional capabilities that you may wish
Expand All @@ -212,6 +222,30 @@ If you're running into issues where you're not seeing imagery after passes compl
out the [troubleshooting](docs/troubleshooting.md) document to try and narrow down the problem. In addition, you can inspect the log
output file in `/var/log/raspberry-noaa-v2/output.log` to investigate potential errors or issues during capture events.


**Introduction of verification tool**

The verification tool can be used to help identify RN2 installation/configuration issues which may potentially prevent proper functioning of capture/decode/processing of APT telemetry data.

Execute the verification script by passing the required argument [ quick | full ]

`$HOME/raspberry-noaa-v2/scripts/tools/verification.sh quick`

Argument required: ./verification.sh quick or ./verification.sh full
(~ 1 minute) (~ 5 minutes)

Dryrun of binaries includes executing :

nxing web page returned 200 OK status to confirm Web Portal is up.
satdump live capture for 1 second to ensure it runs without error.
wxmap generates an overlay map image which can be found : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/wxtoimg-map-output.png
wxtoimg generates MCIR enhanced image which can be founnd : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/wxtoimg-mcir-output.jpg
meteordemod -h is executed to ensure it runs without error.

When FULL mode is choosen meterdemod fully decodes a staged cadu file :

meteordemod generates a full set of images which can be found : $HOME/raspberry-noaa-v2/scripts/tools/verification_tool/test_files/tmp

Still having problems? You can email MihajloPi at [email protected] and be sure to send him the log so he can debug the errors!

## Additional Feature Information
Expand Down Expand Up @@ -250,7 +284,7 @@ or form to the success of this repository/framework. Below are some direct contr
* **[Gary Day](https://www.facebook.com/profile.php?id=100068381156913&mibextid=ZbWKwL)**: Helped by lending his Raspberry Pis virtually over SSH, VNC and TeamViewer to MihajloPi for testing and creating an image.
* **[Jérôme jp112sdl](https://github.com/jp112sdl)**: Implemented automatic discarding of Meteor M2-3 night passes since they give no visible image when it's in RGB123 mode.
* **[patrice7560](https://meteo-schaltin.duckdns.org)**: Beta tester, helped in detecting and reporting errors ASAP for debugging.
* **[Richard AI4Y](https://www.qrz.com/db/AI4Y)**: Provided Debian 12 (Bookworm) support for Raspberry Pi, discovered the FFMPEG bud when creating spectrograms, solved `atrm` errors on the website, and several NTP and timezone issues in PHP, general alpha and beta testing.
* **[Richard AI4Y](https://www.qrz.com/db/AI4Y)**: Provided Debian 12 (Bookworm) support for Raspberry Pi, 64-bit Raspberry OS support, discovered the FFMPEG bug when creating spectrograms, solved `atrm` errors on the website, and several NTP and timezone issues in PHP, general alpha and beta testing.
## Contributing

Pull requests are welcome! Simply follow the below pattern:
Expand Down
2 changes: 1 addition & 1 deletion ansible/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
gather_facts: no
pre_tasks:
- name: get os release
shell: lsb_release -c --short
shell: grep -E "^deb http://raspbian.raspberry.org/raspbian|^deb http://raspbian.raspberrypi.org/raspbian|^deb http://deb.debian.org/debian|^deb https://deb.debian.org/debian" /etc/apt/sources.list /etc/apt/sources.list.d/official-package-repositories.list 2> /dev/null | head -n 1 | awk '{print $3}'
register: raspbian_version
check_mode: no
changed_when: no
Expand Down
Loading