New Guy Needs Help

153 views
Skip to first unread message

Don Moore

unread,
Feb 13, 2022, 11:05:05 AM2/13/22
to Radioberry
Hi, I bought a RP 4 (2-gB) in January; did everthing to get the RP4 up and going.  Success. 
Bought a Radioberry board on eBay (only one I could find in the globe). Installed Johans v2.0 and SDR Console..Success. Worked great for 3 days.

Then the  RP4 would not boot past the color screen. I have reinstalled everyhitng 3 times (same SD card). In fact bought a second RP4; same results. (Right now maybe the SD card became corrupted?; but it works in Desktop)

When  in Terminal mode (or desptop), when starting Radioberry:
" Failed to Open /dev/radioberry: "Device or resourse busy."
SDR Console sees the radio berry (IP address), but error message: "status idle math NO'

I have no way of testing the Radioberry card.
Is it failed  (heat) or am I stuck between OS revsions? I just tried the legacy OS and same result.

Any help apprecaited.  I've tried everthing I know to do and stalled.
DonIMG_0893.jpg

Radioberry

unread,
Feb 14, 2022, 2:07:25 AM2/14/22
to Radioberry

Sorry did a reply to Don... like to keep the discussion on the formum:



Johan, thank you; I appreciate your help.

Did this and got a bit further:

 

I received 3 messages: “Your SBC device is missing the following driver:

“   ‘/dev/ic2-1’  “

 

When I started SDR Console: (terminal): (shown 10 times):

 

“Discovery Port 20000

Discovery packet received

SDR Program IP-address 169.254.124.73”

 

(Ethernet); but this does not match the IP address shown by SDR Console.

 

Don

I download the OS -legacy (32 bit) today form the RPi siter using their download program.

>>>>>>>>>>>>>>>>>>>>.

 

>>

 

Don

 

I am not working with SDRC.

 

The device is busy because it is already started.

 

- sudo systemctl stop radioberry

- sudo radioberrry

 

 

See wiki for more info:

 

 

Hope this helps.

 

73 Johan

PA3GSB

Op zondag 13 februari 2022 om 17:05:05 UTC+1 schreef dtmo...@gmail.com:

pa3gsb

unread,
Feb 14, 2022, 2:09:35 AM2/14/22
to Radioberry
Don

The i2C message is just a reminder; no problem.

You are using different netmask for the RPI and your i assume windows computer.

Need to work in the same IP address range.

73 Johan
PA3GSB

Op maandag 14 februari 2022 om 08:07:25 UTC+1 schreef Radioberry:

Don Moore

unread,
Feb 14, 2022, 4:06:00 PM2/14/22
to Radioberry

I've had a couple replies and its point to no I2C driver found. Can anybody help me with obtang and installing?

Thanks, Don

 

Johan suggested this and here is a sample of what was shown on the terminal.  Seems like an I2C driver is missing.  If so, I don’t know what to do now.………………

"Your SBC is missing the following driver /dev/ic2-1"    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<??????????????

"starting packet rx part

starting packet control part

starting packet tx part

discovery packet received"

.........................

 Then, the following was shown on terminal 10 times and then it stopped:

.......................

"Discovery Port 20000

Discovery packet received

SDR Program IP-address 169.254.124.73"

 .................................

pa3gsb

unread,
Feb 15, 2022, 11:09:08 AM2/15/22
to Radioberry
Don


Just check the enable  i2c  interface.

What is the IP address of your RPI? As said the IP address of the RPI and the SDRC must be in the same subnetmask.

73 Johan
PA3GSB

Op maandag 14 februari 2022 om 22:06:00 UTC+1 schreef dtmo...@gmail.com:

Don Moore

unread,
Feb 16, 2022, 8:14:58 PM2/16/22
to Radioberry
Today, I started over adn installed rhe RP4 OS 32 bit from RaspberryPI uisng thier installer.  After the desktop was set up, I wnt to Johans Gitbub site adn ran the Feb 15, 2022 install script in terminal.See attached.  Can anyone advise what happened?
NewRadioBerryInstal02-16-21-32bitRPI4-OS

pa3gsb

unread,
Feb 17, 2022, 2:17:56 AM2/17/22
to Radioberry
Hi Don

I do like these kind of questions!

Hope to give some answers:


pi@raspberrypi:~ $ cd /tmp
wget https://raw.githubusercontent.com/pa3gsb/Radioberry-2.x/master/SBC/rpi-4/releases/dev/radioberry_install.sh
sudo chmod +x radioberry_install.sh
./radioberry_install.sh  You gave the command to install the radioberry software!
--2022-02-16 16:53:14--  https://raw.githubusercontent.com/pa3gsb/Radioberry-2.x/master/SBC/rpi-4/releases/dev/radioberry_install.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8003::154, 2606:50c0:8002::154, 2606:50c0:8001::154, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8003::154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3653 (3.6K) [text/plain]
Saving to: 'radioberry_install.sh'

radioberry_install. 100%[===================>]   3.57K  --.-KB/s    in 0.003s  

2022-02-16 16:53:14 (1.29 MB/s) - 'radioberry_install.sh' saved [3653/3653]
 The github repo is read and downloaded to your rpi

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

You will install the following versions:

        Gateware version 73.2
        Driver version 0.92
        Firmware version 2021.09.10
============================================

There are Radioberry with a FPGA CL016 and CL025; both supported; so you have to choose which one is on your board
Install CL016 or CL025 radioberry version: 1 = CL016 or 2 = CL025? 2

To compile or build all the code ; there is tooling required; these tooling are called dependencies and willl be installed on your RPI
--- Installing dependency: raspberrypi-kernel-headers
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  libfuse2
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
  raspberrypi-kernel-headers
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 27.7 MB of archives.
After this operation, 180 MB of additional disk space will be used.
Get:1 http://archive.raspberrypi.org/debian bullseye/main armhf raspberrypi-kernel-headers armhf 1:1.20220120-1 [27.7 MB]
Fetched 27.7 MB in 18s (1568 kB/s)                                            
apt-listchanges: Can't set locale; make sure $LC_* and $LANG are correct!
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "en_GB.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously unselected package raspberrypi-kernel-headers.
(Reading database ... 100346 files and directories currently installed.)
Preparing to unpack .../raspberrypi-kernel-headers_1%3a1.20220120-1_armhf.deb ...
Unpacking raspberrypi-kernel-headers (1:1.20220120-1) ...
Setting up raspberrypi-kernel-headers (1:1.20220120-1) ...
--- Installing dependency: linux-headers-rpi
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package linux-headers-rpi
--- Installing dependency: git
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
git is already the newest version (1:2.30.2-1).
The following package was automatically installed and is no longer required:
  libfuse2
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--- Installing dependency: device-tree-compiler
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
device-tree-compiler is already the newest version (1.6.0-1).
device-tree-compiler set to manually installed.
The following package was automatically installed and is no longer required:
  libfuse2
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--- Installing dependency: pigpio
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
pigpio is already the newest version (1.79-1+rpt1).
The following package was automatically installed and is no longer required:
  libfuse2
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Cloning into 'Radioberry-2.x'...
remote: Enumerating objects: 1021, done.
remote: Counting objects: 100% (1021/1021), done.
remote: Compressing objects: 100% (705/705), done.
remote: Total 1021 (delta 406), reused 745 (delta 274), pack-reused 0
Receiving objects: 100% (1021/1021), 28.47 MiB | 5.19 MiB/s, done.
Resolving deltas: 100% (406/406), done.

Before installing; we have to be certain that you do not an update install; we need to close the radioberry service 
you are getting not loaded response because this is the first installation... 
Failed to stop radioberry.service: Unit radioberry.service not loaded.
Failed to disable unit: Unit file radioberry.service does not exist.
Installing Radioberry gateware Cyclone 10 CL025...

Before installing; we have to be certain that you do not an update install; we need to close the radioberry device driver...
Radioberry gateware Cyclone 10 CL025 installed.
Installing Radioberry driver...
modprobe: FATAL: Module radioberry not found.
Fresh installation ; so this is a correct message; it is not installed before so we could not remove it.
make[1]: Entering directory '/usr/src/linux-headers-5.10.92-v7l+'
  CC [M]  /tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry.o
In file included from /tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry.c:62:
/tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry_gateware.h: In function 'prepare_gateware_loading':
/tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry_gateware.h:52:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
   52 |  int count = 0;
      |  ^~~
/tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry.c: In function 'firmware_load':
/tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry.c:92:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
   92 |  u8 *buf = kmalloc(size + 1, GFP_KERNEL);
      |  ^~
/tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry.c:100:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  100 |  int b = 0;
      |  ^~~
/tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry.c: In function 'loading_radioberry_gateware':
/tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry.c:112:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  112 |  const struct firmware *fw_entry;
      |  ^~~~~
/tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry.c:118:24: warning: passing argument 1 of 'firmware_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  118 |  firmware_load(fw_entry->data, fw_entry->size);
      |                ~~~~~~~~^~~~~~
/tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry.c:89:33: note: expected 'char *' but argument is of type 'const u8 * const' {aka 'const unsigned char * const'}
   89 | static void firmware_load(char *firmware, int size) {
      |                           ~~~~~~^~~~~~~~
/tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry.c: In function 'radioberry_open':
/tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry.c:152:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  152 |  int *minor = (int *)kmalloc(sizeof(int), GFP_KERNEL);
      |  ^~~
/tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry.c:153:6: warning: unused variable 'major' [-Wunused-variable]
  153 |  int major = MAJOR(inode->i_rdev);
      |      ^~~~~
/tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry.c: In function 'radioberry_probe':
/tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry.c:234:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  234 |  struct device *dev = &pdev->dev;
      |  ^~~~~~
/tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry.c:234:17: warning: unused variable 'dev' [-Wunused-variable]
  234 |  struct device *dev = &pdev->dev;
      |                 ^~~
/tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry.c: In function 'radioberry_init':
/tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry.c:268:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  268 |  int result = platform_driver_register(&radioberry_driver);
      |  ^~~
/tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry.c:263:9: warning: unused variable 'size' [-Wunused-variable]
  263 |  size_t size;
      |         ^~~~
/tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry.c:262:6: warning: unused variable 'retval' [-Wunused-variable]
  262 |  int retval;
      |      ^~~~~~
/tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry.c: In function 'radioberry_exit':
/tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry.c:333:8: warning: unused variable 'devno_top' [-Wunused-variable]
  333 |  dev_t devno_top;
      |        ^~~~~~~~~
/tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry.c:332:8: warning: unused variable 'devno' [-Wunused-variable]
  332 |  dev_t devno;
      |        ^~~~~
/tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry.c:331:6: warning: unused variable 'i' [-Wunused-variable]
  331 |  int i;
      |      ^

Some warnings... do not get nervous....
  MODPOST /tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/Module.symvers
  CC [M]  /tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry.mod.o
  LD [M]  /tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry.ko
make[1]: Leaving directory '/usr/src/linux-headers-5.10.92-v7l+'
filename:       /lib/modules/5.10.92-v7l+/kernel/drivers/sdr/radioberry.ko
version:        93
license:        GPL
description:    Radioberry SDR device driver. (rpi-4)
author:         Johan Maas - pa3...@gmail.com
srcversion:     7DA31321808D83C8A35982D
alias:          of:N*T*Csdr,radioberryC*
alias:          of:N*T*Csdr,radioberry
depends:        
name:           radioberry
vermagic:       5.10.92-v7l+ SMP mod_unload modversions ARMv7 p2v8

Radioberry driver installed.

Here you see that the installation of the device driver was succesfull; it shows the detailed information

Now installing the firmware; the firmware does implement the openHPSDR protocol; this makes it possible to use different type of SDR programs like piHPSDR, Powersdr etc
Installing Radioberry firmware...
rm -f version.o
gcc -g -O3   -c -o register.o register.c
register.c: In function 'process_http':
register.c:105:2: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
  105 |  write(sockfd, sendline, strlen(sendline));
      |  ^~~~~
      |  fwrite
register.c:107:14: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration]
  107 |  while ((n = read(sockfd, recvline, MAXLINE)) > 0) {
      |              ^~~~
      |              fread
register.c: In function 'postRadioberryConfiguration':
register.c:132:73: warning: implicit declaration of function 'inet_ntop' [-Wimplicit-function-declaration]
  132 | _addrtype == AF_INET && (pptr = hptr->h_addr_list) != NULL) inet_ntop(hptr->h_addrtype, *pptr, str, sizeof(str));
      |                                                             ^~~~~~~~~

register.c:137:2: warning: implicit declaration of function 'inet_pton' [-Wimplicit-function-declaration]
  137 |  inet_pton(AF_INET, str, &servaddr.sin_addr);
      |  ^~~~~~~~~
register.c:141:2: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
  141 |  close(sockfd);
      |  ^~~~~
      |  pclose
gcc -g -O3   -c -o bias.o bias.c
bias.c: In function 'init_I2C_bias':
bias.c:15:10: warning: 'return' with a value, in function returning void
   15 |   return fd_i2c_bias;
      |          ^~~~~~~~~~~
bias.c:8:6: note: declared here
    8 | void init_I2C_bias() {
      |      ^~~~~~~~~~~~~
bias.c:17:21: warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration]
   17 |  i2c_bias_handler = ioctl(fd_i2c_bias, I2C_SLAVE, ADDR_BIAS);
      |                     ^~~~~
bias.c: In function 'close_I2C_bias':
bias.c:35:18: warning: comparison between pointer and integer
   35 |  if (fd_i2c_bias != NULL) close(fd_i2c_bias);
      |                  ^~
gcc -g -O3   -c -o measure.o measure.c
measure.c: In function 'openI2C_measure':
measure.c:30:10: warning: 'return' with a value, in function returning void
   30 |   return fd_i2c_measure;
      |          ^~~~~~~~~~~~~~
measure.c:21:6: note: declared here
   21 | void openI2C_measure() {
      |      ^~~~~~~~~~~~~~~
measure.c:32:24: warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration]
   32 |  i2c_measure_handler = ioctl(fd_i2c_measure, I2C_SLAVE, ADDR_MEAS);
      |                        ^~~~~
measure.c: In function 'close_I2C_measure':
measure.c:48:21: warning: comparison between pointer and integer
   48 |  if (fd_i2c_measure != NULL) close(fd_i2c_measure);
      |                     ^~
gcc -g -O3   -c -o radioberry.o radioberry.c
In file included from radioberry.c:56:
radioberry.h:57:1: warning: return type defaults to 'int' [-Wimplicit-int]
   57 | mask(val)  { return val & (CAPACITY - 1); }
      | ^~~~
radioberry.h: In function 'mask':
radioberry.h:57:1: warning: type of 'val' defaults to 'int' [-Wimplicit-int]
radioberry.h: At top level:
radioberry.h:58:1: warning: return type defaults to 'int' [-Wimplicit-int]
   58 | push(val)  { assert(!full()); spi_commands[mask(p_write++)] = val; }
      | ^~~~
radioberry.h: In function 'push':
radioberry.h:58:1: warning: type of 'val' defaults to 'int' [-Wimplicit-int]
In file included from radioberry.h:18,
                 from radioberry.c:56:
radioberry.h:58:22: warning: implicit declaration of function 'full' [-Wimplicit-function-declaration]
   58 | push(val)  { assert(!full()); spi_commands[mask(p_write++)] = val; }
      |                      ^~~~
In file included from radioberry.c:56:
radioberry.h: At top level:
radioberry.h:59:1: warning: return type defaults to 'int' [-Wimplicit-int]
   59 | pop()      { assert(!empty()); return spi_commands[mask(p_read++)]; }
      | ^~~
In file included from radioberry.h:18,
                 from radioberry.c:56:
radioberry.h: In function 'pop':
radioberry.h:59:22: warning: implicit declaration of function 'empty' [-Wimplicit-function-declaration]
   59 | pop()      { assert(!empty()); return spi_commands[mask(p_read++)]; }
      |                      ^~~~~
In file included from radioberry.c:56:
radioberry.h: At top level:
radioberry.h:60:1: warning: return type defaults to 'int' [-Wimplicit-int]
   60 | empty()    { return p_read == p_write; }
      | ^~~~~
radioberry.h:61:1: warning: return type defaults to 'int' [-Wimplicit-int]
   61 | full()     { return size() == CAPACITY; }
      | ^~~~
radioberry.h: In function 'full':
radioberry.h:61:21: warning: implicit declaration of function 'size' [-Wimplicit-function-declaration]
   61 | full()     { return size() == CAPACITY; }
      |                     ^~~~
radioberry.h: At top level:
radioberry.h:62:1: warning: return type defaults to 'int' [-Wimplicit-int]
   62 | size()     { return p_write - p_read; }
      | ^~~~
In file included from radioberry.c:57:
filters.h: In function 'initFilters':
filters.h:347:21: warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration]
  347 |  i2c_alex_handler = ioctl(fd_i2c_alex, I2C_SLAVE, ADDR_ALEX);
      |                     ^~~~~
radioberry.c: In function 'initRadioberry':
radioberry.c:121:2: warning: implicit declaration of function 'init_I2C_bias'; did you mean 'write_I2C_bias'? [-Wimplicit-function-declaration]
  121 |  init_I2C_bias();
      |  ^~~~~~~~~~~~~
      |  write_I2C_bias
radioberry.c:125:2: warning: implicit declaration of function 'pthread_create' [-Wimplicit-function-declaration]
  125 |  pthread_create(&pid1, NULL, packetreader, NULL);
      |  ^~~~~~~~~~~~~~
radioberry.c:128:2: warning: implicit declaration of function 'start_rb_control_thread' [-Wimplicit-function-declaration]
  128 |  start_rb_control_thread();
      |  ^~~~~~~~~~~~~~~~~~~~~~~
radioberry.c:129:2: warning: implicit declaration of function 'start_rb_measure_thread' [-Wimplicit-function-declaration]
  129 |  start_rb_measure_thread();
      |  ^~~~~~~~~~~~~~~~~~~~~~~
radioberry.c:186:2: warning: implicit declaration of function 'start_rb_register_thread' [-Wimplicit-function-declaration]
  186 |  start_rb_register_thread();
      |  ^~~~~~~~~~~~~~~~~~~~~~~~
radioberry.c: In function 'runRadioberry':
radioberry.c:200:2: warning: implicit declaration of function 'start_timer_thread' [-Wimplicit-function-declaration]
  200 |  start_timer_thread();
      |  ^~~~~~~~~~~~~~~~~~
radioberry.c: At top level:
radioberry.c:485:6: warning: conflicting types for 'start_rb_control_thread'
  485 | void start_rb_control_thread() {
      |      ^~~~~~~~~~~~~~~~~~~~~~~
radioberry.c:128:2: note: previous implicit declaration of 'start_rb_control_thread' was here
  128 |  start_rb_control_thread();
      |  ^~~~~~~~~~~~~~~~~~~~~~~
radioberry.c:512:6: warning: conflicting types for 'start_rb_measure_thread'
  512 | void start_rb_measure_thread() {
      |      ^~~~~~~~~~~~~~~~~~~~~~~
radioberry.c:129:2: note: previous implicit declaration of 'start_rb_measure_thread' was here
  129 |  start_rb_measure_thread();
      |  ^~~~~~~~~~~~~~~~~~~~~~~
radioberry.c:527:6: warning: conflicting types for 'start_rb_register_thread'
  527 | void start_rb_register_thread() {
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
radioberry.c:186:2: note: previous implicit declaration of 'start_rb_register_thread' was here
  186 |  start_rb_register_thread();
      |  ^~~~~~~~~~~~~~~~~~~~~~~~
radioberry.c:542:6: warning: conflicting types for 'start_timer_thread'
  542 | void start_timer_thread() {
      |      ^~~~~~~~~~~~~~~~~~
radioberry.c:200:2: note: previous implicit declaration of 'start_timer_thread' was here
  200 |  start_timer_thread();
      |  ^~~~~~~~~~~~~~~~~~
gcc -o radioberry register.o bias.o measure.o radioberry.o  -lrt -lm -lpthread

again some warning; no errors so the firmware is build  

Radioberry firmware installed.

At least i like to start a radioberry service ; so after booting your RPI you do not need to type any command; used start your SDR program.
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
73 from Holland.
============================================


pi@raspberrypi:/tmp $

Reading the script:

You will recognize the elemensts i highlighted.

Hope this helps

73 Johan
PA3GSB
 

Op donderdag 17 februari 2022 om 02:14:58 UTC+1 schreef dtmo...@gmail.com:

Radioberry

unread,
Feb 17, 2022, 2:18:51 AM2/17/22
to Radioberry
Sorry again direct message; i like to share it with the whole group

Don Moore

unread,
Feb 17, 2022, 12:46:38 PM2/17/22
to Radioberry

I now have my Radioberry working (again). All of the advise I received (see members below), was very essential.  I am impressed with Johan and the other members's knowledge and willingness to help me solve the problem.
1. Johan ... very valuable analysis of the install sequence.  Usefull for any new member to understand (see below).
2. Ram: Stepped up and offered his expirtise and willingness to help.
3. Yado-san (I2C) indeed I2C was OFF, but just 1 petal of the onion that became a rose.

So what happened?
1. Likely too hot (but neither board failed.).  I did not have a heatsink (CNC) on the RP4 and kept the radio running for three days before it quit
2. likley a corrupted area on the SD drive, since the RP4 crashed and would not recover. Repaeated new OS installations fixed the RP4, but the Radioberry would not recover (even with I2C configuraton).
3. IP address discovery issues (with Firewall issues)
4.  THE Fianl FIX: the 2x20 pi header (with extesion for heat-sink) was intermittant. (Removed extension).

Thank you again.  I am honored to be part of this sgroup.  Once I'm fully functional, I plan to be a contributor.  I like the AD9866 (having used over 50 Analog Devices ICs in the past).  It is still 'production' (but not reccommended for new designs); I'm looking at a replacments that use less power without giving up its excellent performance. My end goal is standalne (with TFT) with high effeciency RF power selctons form 5 to 50 watts.
Best to all, Don
Reply all
Reply to author
Forward
0 new messages