Skip to content

Latest commit

 

History

History
58 lines (55 loc) · 2.19 KB

raspberrypi.md

File metadata and controls

58 lines (55 loc) · 2.19 KB

Vorraussetzung

  • Raspberry Pi 2B/3B/3B+/4B/5B
  • RaspberryPi OS Bullseye oder Bookworm (32 Bit Image oder 64 Bit Image; der Mischbetrieb 32 Bit Image und 64 Bit Kernel wird nicht unterstützt)

Installation

  1. Volles Backup der SD Karte erstellen
  2. Hinzufügen des debmatic apt Repositories
    wget -q -O - https://apt.debmatic.de/debmatic/public.key | sudo tee /usr/share/keyrings/debmatic.asc
    echo "deb [signed-by=/usr/share/keyrings/debmatic.asc] https://apt.debmatic.de/debmatic stable main" | sudo tee /etc/apt/sources.list.d/debmatic.list
    sudo apt update
  3. Installation der Kernel Module
    sudo apt install build-essential bison flex libssl-dev
    sudo apt install raspberrypi-kernel-headers pivccu-modules-dkms
  4. Falls ein HB-RF-ETH verwendet wird, Installation des benötigten Support Pakets
    sudo apt install hb-rf-eth
  5. Installation der Device Tree Patches (Dieser Schritt kann übersprungen werden, falls kein Funkmodul direkt auf die GPIO Leiste aufgesteckt wird)
    sudo apt install pivccu-modules-raspberrypi
  6. UART Schnittstelle der GPIO Leiste aktivieren (Dieser Schritt kann übersprungen werden, falls kein Funkmodul direkt auf die GPIO Leiste aufgesteckt wird oder falls ein Raspberry Pi 2B eingesetzt wird)
    • Option 1: Bluetooth deaktivieren
      sudo bash -c 'cat << EOT >> /boot/firmware/config.txt
      dtoverlay=pi3-disable-bt
      EOT'
      sudo systemctl disable hciuart.service
    • Option 2: Bluetooth über Soft-UART betreiben
      sudo bash -c 'cat << EOT >> /boot/firmware/config.txt
      dtoverlay=pi3-miniuart-bt
      enable_uart=1
      force_turbo=1
      core_freq=250
      EOT'
  7. Serielle Konsole deaktivieren (Dieser Schritt kann übersprungen werden, falls kein Funkmodul direkt auf die GPIO Leiste aufgesteckt wird)
    sudo sed -i /boot/firmware/cmdline.txt -e "s/console=serial0,[0-9]\+ //"
    sudo sed -i /boot/firmware/cmdline.txt -e "s/console=ttyAMA0,[0-9]\+ //"
  8. Neustart
    sudo reboot
  9. Installation von debmatic
    sudo apt install debmatic
  10. Viel Spaß mit der Nutzung von debmatic