F5OEO / rpitx

RF transmitter for Raspberry Pi
GNU General Public License v3.0
3.93k stars 515 forks source link

Added fix for Raspbian 12 and minor edits to the Makefile for clean and install #329

Open betterpagesol opened 1 month ago

betterpagesol commented 1 month ago

Added a simple fix to detect if the pi is running on Raspbian 12 or Raspbian 11 and below to install.sh.

Note from the raspberry pi website: Prior to Bookworm, Raspberry Pi OS stored the boot partition at /boot/. Since Bookworm, the boot partition is located at /boot/firmware/.

Reference URL: https://www.raspberrypi.com/documentation/computers/config_txt.html

I have also added just a few lines to the clean and the install functions of the Makefile.

Note that if the config lines are added to /boot/config.txt on Raspbian 12 they will be ignored at boot by the pi running Raspbian 12 I discovered this on my Pi Zero W V 1.1 after a fresh install and reboot rpitx kept crashing once I applied

gpu_freq=250 force_turbo=1

to /boot/firmware/config.txt and rebooted the issue was resolved and rpitx was running perfectly fine.