not compile, not Gateware

73 views
Skip to first unread message

Stefan Vandrey

unread,
Mar 16, 2025, 7:16:42 AM3/16/25
to Radioberry
hi ,
i make a fresh SD Card , newest 64 Bit via Raspberry Pi Imager , 
i config SSH, VNC and I2C 
update, upgrade, 
You will install the following versions:

        Gateware version 73.3
the result is Gateware 0.0

The Rest should ok, i see my Raspi online.

--- Installing dependency: raspberrypi-kernel-headers
Paketlisten werden gelesen... Fertig
Abh�ngigkeitsbaum wird aufgebaut... Fertig
Statusinformationen werden eingelesen... Fertig
raspberrypi-kernel-headers ist schon die neueste Version (1:1.20230405-1).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
--- Installing dependency: linux-headers-rpi
Paketlisten werden gelesen... Fertig
Abh�ngigkeitsbaum wird aufgebaut... Fertig
Statusinformationen werden eingelesen... Fertig
E: Paket linux-headers-rpi kann nicht gefunden werden.

Thanks Stefan DK1VAN

pa3gsb

unread,
Mar 16, 2025, 8:22:54 AM3/16/25
to Radioberry
Stefan and others,


The problem you are facing getting a 0.0 from the gateware can have different causes:

The main 3 errors

- The radioberry.rbf in the /lib/firmware folder is the wrong version.
The radioberry uses a FPGA . There are 2 versions available the cyclone CL016 and the CL025.
Depending on your board one of these types must be installed; during installation select the right one.

- The gateware (radioberry.rbf) is not loaded.

Please look into the kernel log (kern.log)


See the logging on my own system!

sudo apt-get install rsyslog


/var/log/kern.log

2025-03-16T13:04:34.169725+01:00 radioberry kernel: [ 2824.472515] inside radioberry_init function
2025-03-16T13:04:34.169794+01:00 radioberry kernel: [ 2824.472538] radioberry loading...
2025-03-16T13:04:34.169797+01:00 radioberry kernel: [ 2824.472658] inside radioberry_probe function
2025-03-16T13:04:34.169803+01:00 radioberry kernel: [ 2824.472664] radioberry - Device property 'rx-sample-gpio' found!
2025-03-16T13:04:34.169805+01:00 radioberry kernel: [ 2824.472671] Radioberry: registered correctly with major number 237
2025-03-16T13:04:34.169808+01:00 radioberry kernel: [ 2824.472787] Radioberry: device class registered correctly
2025-03-16T13:04:34.169810+01:00 radioberry kernel: [ 2824.473263] Radioberry char: device class created correctly
2025-03-16T13:04:34.169815+01:00 radioberry kernel: [ 2824.473324] Got GPIO rx-sample-gpio
2025-03-16T13:04:34.169864+01:00 radioberry kernel: [ 2824.473333] Radioberry: The rx samples pin is mapped to IRQ: 54
2025-03-16T13:04:34.169867+01:00 radioberry kernel: [ 2824.473338] Radioberry: The rx sample state is currently: 1
2025-03-16T13:04:34.169871+01:00 radioberry kernel: [ 2824.473375] Radioberry: The interrupt request result is: 0
2025-03-16T13:04:34.169874+01:00 radioberry kernel: [ 2824.473396] GPIO ready for use
2025-03-16T13:04:34.169877+01:00 radioberry kernel: [ 2824.473398] inside loading_radioberry_gateware function
2025-03-16T13:04:34.169881+01:00 radioberry kernel: [ 2824.474185] inside firmware_load function
2025-03-16T13:04:34.169883+01:00 radioberry kernel: [ 2824.474732] Radioberry gateware file size: 335337
2025-03-16T13:04:34.169887+01:00 radioberry kernel: [ 2824.474742] GPIO ready for uploading gateware...
2025-03-16T13:04:34.169889+01:00 radioberry kernel: [ 2824.474744] Info: prepare FPGA for loading image
2025-03-16T13:04:36.251166+01:00 radioberry kernel: [ 2826.553777] Info: gateware upload and activation succeeded
2025-03-16T13:04:36.251206+01:00 radioberry kernel: [ 2826.553840] GPIO ready for rx and tx streaming...


BE SURE THE ACTIVATION IS SUCCESFULL.


- The soldering of the ground plane of the FPGA and /or the AD9866 ADC/DAC chip is not done well.


Conclusion if one of the 2 last problems occur you should contact your supplier or do the soldering yourself; because this seems
in most of the cases the problem.

Hope this helps.

73 Johan
PA3GSB

Op zondag 16 maart 2025 om 12:16:42 UTC+1 schreef stefan....@gmail.com:

Stefan Vandrey

unread,
Mar 16, 2025, 9:10:48 AM3/16/25
to Radioberry
Hi Johan,
thanks, my radioberry is new. it has a new Raspi 4B a new sd card, 16GB and a new 7" Touchsreen. it works some days . but i destroy the image, because i install wsjt-x.

now i new start. i will flash a sd card by raspi imager . What Raspy OS i shout take? 32-64 and Bookworm-Bullseye and legacy or not? 
i have a alu Cooler on label . shoud i remove it to read CL016/25 or not removed the cooler? and test both driver?
Thanks
i´m sorry, i´m not guru. 

pa3gsb

unread,
Mar 16, 2025, 10:28:22 AM3/16/25
to Radioberry
Stefan,

Use a 64 bit version.

Look at :


I think on your order there must be info of the mounted FPGA.

73 Johan
PA3GSB

Op zondag 16 maart 2025 om 14:10:48 UTC+1 schreef stefan....@gmail.com:

Stefan Vandrey

unread,
Mar 16, 2025, 2:20:27 PM3/16/25
to Radioberry

hi, it works better. Thank you, but i have no waterfall on pihpsdr. i think audio is no correct.  
Reply all
Reply to author
Forward
0 new messages