update draft post

main
Dominic Reich 9 months ago
parent 26ca3810de
commit e2f07bb8c1
Signed by: dominic
GPG Key ID: BC9D6AE1A3BE169A

@ -2,7 +2,7 @@
title: MMDVM hotspot on Archlinux
summary: On a Raspberry Pi 2
date: 2024-01-28T10:10:11+0000
lastmod: 2024-01-28T10:12:11+0000
lastmod: 2024-01-28T20:50:19+0000
categories:
- amateur-radio
tags:
@ -273,6 +273,48 @@ $ paru -S arm-linux-gnueabihf-gcc
Oh hell, this is going to take ages on the Raspberry Pi 2...
Meanwhile on my main laptop:
I thought I might try to compile it on my main machine and just do the installation
on the Raspberry Pi 2 as the compilation is still running (5½ hours later).
~~~console
$ sudo pacman -S arm-none-eabi-gcc arm-none-eabi-newlib
$ git clone git@github.com:g4klx/MMDVM_HS.git
$ cd MMDVM_HS
$ scp raspi2:git/MMDVM_HS/Config.h .
$ make
~~~
I got some errors about `usbserial` or `USBSerial::begin()`. A short research
suggested a `depmod -a` and you know what, it compilled.
Well, I had to run it as _root_.
Now it is time to put the compiled firmware to the Raspi and install it.
~~~console
$ scp bin/mmdvm_f1.bin bin/mmdvm_f1.elf bin/mmdvm_f1.hex raspi2:git/MMDVM_HS/bin/
~~~
Back on the Raspi: the installation won't work as there is no stm32flash installed. Huh?
Oh well, I could not find it in any repository. The AUR website has a package, but I
can't find it with pacman or paru. So we install by hand again:
~~~console
$ git clone https://aur.archlinux.org/stm32flash.git
$ cd stm32flash
$ makepkg -si
~~~
sudo pacman -S libgpiod
And again, back in the firmware repository at `~/git/MMDVM_HS`:
~~~console
$ sudo make mmdvm_hs_hat
~~~
## DSTAR Registration
A DSTAR registration is mandatory if you want to be transmitted on

Loading…
Cancel
Save