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

标签:none

已有 2 条评论

  1. Jumbo Jumbo

    /lib/modules/5.10.103-v8+ $ ls
    kernel modules.builtin.bin modules.order
    modules.alias modules.builtin.modinfo modules.softdep
    modules.alias.bin modules.dep modules.symbols
    modules.builtin modules.dep.bin modules.symbols.bin
    pi@raspberrypi:/lib/modules $ ls 5.10.103-v7l+
    build modules.builtin.alias.bin modules.devname
    kernel modules.builtin.bin modules.order
    modules.alias modules.builtin.modinfo modules.softdep
    modules.alias.bin modules.dep modules.symbols
    modules.builtin modules.dep.bin modules.symbols.bin

    ------------------------------------------------------------
    because only 5.10.103-v7l+ have build dir
    try uname -r
    if display
    pi@raspberrypi:/lib/modules $ uname -r
    5.10.103-v8+
    V8+ install is not ok
    need 5.10.103-v7l+
    old raspberry os

  2. Jumbo Jumbo

    rpi-source is helpful if you use rpi-update kernels or want to build an in-kernel module.

    rpi-source installs the kernel source used to build rpi-update kernels and the kernel on the Raspberry Pi OS image. This makes it possible to build loadable kernel modules. It is not possible to build modules that depend on missing parts that need to be built into the kernel proper (bool in Kconfig).

    The script uses sudo internally when self-updating and when making the links /lib/modules/$(uname -r)/{build,source}

    Examples on how to build various modules

    Dependencies

    sudo apt install git bc bison flex libssl-dev
    Install

    sudo wget https://raw.githubusercontent.com/RPi-Distro/rpi-source/master/rpi-source -O /usr/local/bin/rpi-source && sudo chmod +x /usr/local/bin/rpi-source && /usr/local/bin/rpi-source -q --tag-update

    Run

    rpi-source

添加新评论