2023年5月

radioberry install error fix

pi@raspberrypi:~ $ sudo ./i.sh

============================================
Radioberry software installation.

You will install the following versions:

    Gateware version 73.2
    Driver version 0.92
    Firmware version 2021.09.10

============================================

Install CL016 or CL025 radioberry version: 1 = CL016 or 2 = CL025? 2
--- Installing dependency: raspberrypi-kernel-headers
Reading package lists... Done
Building dependency tree
Reading state information... Done
raspberrypi-kernel-headers is already the newest version (1:1.20230425~buster-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--- Installing dependency: linux-headers-rpi
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-rpi is already the newest version (4.9+80+deb9u4+rpi2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--- Installing dependency: git
Reading package lists... Done
Building dependency tree
Reading state information... Done
git is already the newest version (1:2.20.1-2+deb10u8).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--- Installing dependency: device-tree-compiler
Reading package lists... Done
Building dependency tree
Reading state information... Done
device-tree-compiler is already the newest version (1.4.7-4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--- Installing dependency: pigpio
Reading package lists... Done
Building dependency tree
Reading state information... Done
pigpio is already the newest version (1.79-1+rpt1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
fatal: destination path 'Radioberry-2.x' already exists and is not an empty directory.
Removed /etc/systemd/system/multi-user.target.wants/radioberry.service.
Installing Radioberry gateware Cyclone 10 CL025...

Radioberry gateware Cyclone 10 CL025 installed.
Installing Radioberry driver...
modprobe: FATAL: Module radioberry not found.
make[1]: * /lib/modules/5.10.103-v8+/build: No such file or directory. Stop.
make: * [Makefile:6: radioberry.ko] Error 2
cp: cannot stat 'radioberry.ko': No such file or directory
modprobe: FATAL: Module radioberry not found in directory /lib/modules/5.10.103-v8+
chmod: cannot access '/dev/radioberry': No such file or directory
modinfo: ERROR: Module radioberry not found.

Radioberry driver installed.
Installing Radioberry firmware...
rm -f version.o

Radioberry firmware installed.
Installing radioberry service ...
Radioberry service installed.
Created symlink /etc/systemd/system/multi-user.target.wants/radioberry.service → /etc/systemd/system/radioberry.service.

============================================
Radioberry software is installed!
Have fun using the SDR Radioberry

73 Johan PA3GSB