F5OEO / rpitx

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

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

Closed betterpagesol closed 1 month ago

betterpagesol commented 6 months 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.

SarahRoseLives commented 4 months ago

I had to do this by hand, was wondering why things didn't want to work and this was it!

christianschneider89 commented 2 months ago

Same here. Please approve this PR.