kopia lustrzana https://github.com/pa3gsb/Radioberry-2.x
test release + instructions
rodzic
deea15534b
commit
ebfdb6da29
|
@ -1,2 +1,101 @@
|
|||
## Radioberry Device Driver
|
||||
|
||||
|
||||
This device driver is special made for the RPI-4.
|
||||
|
||||
|
||||
Hereby a step by step setup.
|
||||
|
||||
|
||||
Step -1-
|
||||
|
||||
CL025 FPGA Radioberry users:
|
||||
Copy the gateware radioberry.rbf into the folder /lib/firmware
|
||||
|
||||
CL016 FPGA Radioberry users:
|
||||
Rename your radioberry-10CL016.rbf gateware to radioberry.rbf
|
||||
Copy the gateware radioberry.rbf into the folder /lib/firmware
|
||||
|
||||
Loading the device driver will also load the gateware (content of the rbf file) into the FPGA
|
||||
|
||||
|
||||
|
||||
Step -2-
|
||||
|
||||
Make a module folder in the driver area of your running kernel, and install the driver called radioberry.ko in this folder.
|
||||
|
||||
cd /lib/modules/$(uname -r)/kernel/drivers
|
||||
sudo mkdir sdr
|
||||
|
||||
copy the radioberry.ko to /lib/modules/$(uname -r)/kernel/drivers/sdr
|
||||
|
||||
|
||||
|
||||
Step -3-
|
||||
|
||||
run the command: sudo depmod
|
||||
|
||||
Check: use the command: modinfo radioberry
|
||||
Gives you detailed info about the radioberry device driver.
|
||||
|
||||
|
||||
|
||||
Step -4-
|
||||
|
||||
load the device driver
|
||||
|
||||
run the command: sudo modprobe radioberry
|
||||
|
||||
In the folder /dev the radioberry must be present using the ls command.
|
||||
Also possible to check by the command: lsmod |grep radioberry
|
||||
|
||||
|
||||
Step -5-
|
||||
|
||||
Optional step.
|
||||
|
||||
If you like to load the device driver during boot, execute the following:
|
||||
|
||||
/etc/modules-load.d/modules.conf
|
||||
|
||||
add the device driver in this file, see content example:
|
||||
|
||||
# /etc/modules: kernel modules to load at boot time.
|
||||
#
|
||||
# This file contains the names of kernel modules that should be loaded
|
||||
# at boot time, one per line. Lines beginning with "#" are ignored.
|
||||
|
||||
i2c-dev
|
||||
snd-mixer-oss
|
||||
snd-pcm-oss
|
||||
radioberry
|
||||
|
||||
|
||||
|
||||
Step -6-
|
||||
|
||||
Optional step.
|
||||
|
||||
sudo chmod 666 /dev/radioberry
|
||||
|
||||
Makes it possible to run the radioberry firmware version for the device driver, running as the logged in user:
|
||||
|
||||
|
||||
|
||||
|
||||
Step -7-
|
||||
|
||||
Run using the command ./radioberry firmware or sudo ./radioberry
|
||||
|
||||
|
||||
|
||||
Step -8-
|
||||
Start a SDR program!
|
||||
|
||||
|
||||
Have fun listening to your Radioberry using the radioberry device driver.
|
||||
|
||||
73 Johan
|
||||
PA3GSB
|
||||
|
||||
|
||||
|
|
|
@ -289,5 +289,5 @@ module_exit(radioberry_exit);
|
|||
MODULE_AUTHOR("Johan Maas - pa3gsb@gmail.com");
|
||||
MODULE_DESCRIPTION("Radioberry SDR device driver. (rpi-4)");
|
||||
MODULE_SUPPORTED_DEVICE("Radioberry SDR");
|
||||
MODULE_LICENSE("UNLICENSE");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_VERSION("0.1");
|
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Ładowanie…
Reference in New Issue