|
|
@ -2,7 +2,7 @@
|
|
|
|
title: MMDVM hotspot on Archlinux
|
|
|
|
title: MMDVM hotspot on Archlinux
|
|
|
|
summary: On a Raspberry Pi 2
|
|
|
|
summary: On a Raspberry Pi 2
|
|
|
|
date: 2024-01-28T10:10:11+0000
|
|
|
|
date: 2024-01-28T10:10:11+0000
|
|
|
|
lastmod: 2024-01-28T10:12:11+0000
|
|
|
|
lastmod: 2024-01-28T20:50:19+0000
|
|
|
|
categories:
|
|
|
|
categories:
|
|
|
|
- amateur-radio
|
|
|
|
- amateur-radio
|
|
|
|
tags:
|
|
|
|
tags:
|
|
|
@ -273,6 +273,48 @@ $ paru -S arm-linux-gnueabihf-gcc
|
|
|
|
|
|
|
|
|
|
|
|
Oh hell, this is going to take ages on the Raspberry Pi 2...
|
|
|
|
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
|
|
|
|
## DSTAR Registration
|
|
|
|
|
|
|
|
|
|
|
|
A DSTAR registration is mandatory if you want to be transmitted on
|
|
|
|
A DSTAR registration is mandatory if you want to be transmitted on
|
|
|
|