pa3gsb / Radioberry-2.x

Ham Radio hat for Raspberry PI
441 stars 87 forks source link

Nothing Works #62

Open winslowj opened 1 month ago

winslowj commented 1 month ago

First issue, I'm getting Low Voltage warning when I plug this in using the CanaKit power supply. This is immediately a return item simply based on that.

Second issue, this thing is heating up well beyond 60c on its own, there's no clearance to add a cpu or heatsink fan on the RPi device underneath. I'm thoroughly disappointed because this was a fantastic idea but this is not quite even ready for experimentation without putting the Pi itself at risk of meltdown. I hope you find this as constructive feedback. I really want one of these when you get the bugs worked out.

I followed the instruction and I get the final messages at the end

Steps from the Amazon purchase page instructions..

Job for radioberry.service failed because the control process exited with error code. See "systemctl status radioberry.service" and "journalctl -xeu radioberry.service" for details.

radioberry.service - Radioberry SDR Loaded: loaded (/etc/systemd/system/radioberry.service; enabled; preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Sat 2024-07-20 09:27:14 EDT; 8s ago Process: 6199 ExecStart=/etc/init.d/radioberryd start (code=exited, status=217/USER) CPU: 0

Steps from here on github

/tmp/Radioberry-2.x $ make -j$(nproc) bash -c 'cd SBC/rpi-4/device_driver/driver && make' make -C SBC/rpi-4/device_driver/firmware make -C wdsp make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. rm -f version.o gcc -g -O3 -c -o register.o register.c gcc -g -O3 -c -o bias.o bias.c cc -I /include -I /include/linux -g -fPIC -O3 -D _GNU_SOURCE -c -o linux_port.o linux_port.c gcc -g -O3 -c -o measure.o measure.c In file included from linux_port.c:29: comm.h:50:10: fatal error: fftw3.h: No such file or directory 50 | #include "fftw3.h" | ^~~~~ compilation terminated. make[1]: ** [Makefile:238: linux_port.o] Error 1 make: [Makefile:53: wdsp/libwdsp.so] Error 2 make: * Waiting for unfinished jobs.... gcc -g -O3 -c -o radioberry.o radioberry.c CC [M] /tmp/Radioberry-2.x/SBC/rpi-4/device_driver/driver/radioberry.o gcc -o radioberry register.o bias.o measure.o radioberry.o -lrt -lm -lpthread /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:300:49: warning: cast between incompatible function types from 'irqreturn_t ( ()(unsigned int, void , struct pt_regs ))(int, void )' {aka 'enum irqreturn ( ()(unsigned int, void , struct pt_regs ))(int, void )'} to 'irqreturn_t ()(int, void )' {aka 'enum irqreturn ()(int, void )'} [-Wcast-function-type] 300 | (irq_handler_t) radioberry_irq_handler, | ^ 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 dtc -@ -I dts -O dtb -o radioberry.dtbo radioberry.dts echo Build Device Tree Overlay and kernel module. Build Device Tree Overlay and kernel module.

**/tmp/Radioberry-2.x $ sudo make install FPGATYPE=CL016 bash -c 'cd SBC/rpi-4/device_driver/driver && make' dtc -@ -I dts -O dtb -o radioberry.dtbo radioberry.dts echo Build Device Tree Overlay and kernel module. Build Device Tree Overlay and kernel module.

Pre-install commands follow.

Normal commands follow.

echo make -C SBC/rpi-4/device_driver/driver install make -C SBC/rpi-4/device_driver/driver install

Post-install commands follow.

Radioberry gateware Cyclone 10 CL016 installed. install SBC/rpi-4/releases/dev/CL016/radioberry.rbf /lib/firmware install SBC/rpi-4/device_driver/systemd/radioberry.service /etc/systemd/system/ install SBC/rpi-4/device_driver/systemd/radioberryd /etc/init.d/ chmod +x /etc/init.d/radioberryd make -C pihpsdr install GPIO_INCLUDE= PURESIGNAL_INCLUDE= MIDI_INCLUDE=MIDI fatal: No names found, cannot describe anything. gcc -g -Wno-deprecated-declarations -D MIDI -D GIT_DATE='"2022-01-25"' -D GIT_VERSION='""' pkg-config --cflags gtk+-3.0 -c -o MacOS.o MacOS.c gcc -g -Wno-deprecated-declarations -D MIDI -D GIT_DATE='"2022-01-25"' -D GIT_VERSION='""' pkg-config --cflags gtk+-3.0 -c -o band.o band.c gcc -g -Wno-deprecated-declarations -D MIDI -D GIT_DATE='"2022-01-25"' -D GIT_VERSION='""' pkg-config --cflags gtk+-3.0 -c -o discovered.o discovered.c gcc -g -Wno-deprecated-declarations -D MIDI -D GIT_DATE='"2022-01-25"' -D GIT_VERSION='""' pkg-config --cflags gtk+-3.0 -c -o discovery.o discovery.c gcc -g -Wno-deprecated-declarations -D MIDI -D GIT_DATE='"2022-01-25"' -D GIT_VERSION='""' pkg-config --cflags gtk+-3.0 -c -o filter.o filter.c gcc -g -Wno-deprecated-declarations -D MIDI -D GIT_DATE='"2022-01-25"' -D GIT_VERSION='""' pkg-config --cflags gtk+-3.0 -c -o version.o version.c gcc -g -Wno-deprecated-declarations -D MIDI -D GIT_DATE='"2022-01-25"' -D GIT_VERSION='""' pkg-config --cflags gtk+-3.0 -c -o main.o main.c main.c:49:10: fatal error: wdsp.h: No such file or directory 49 | #include "wdsp.h" | ^~~~ compilation terminated. make[1]: [Makefile:219: main.o] Error 1 make: [Makefile:84: install-software] Error 2**

Note: my user is NOT "pi". Also I'd REALLY appreciate an uninstall... thanks!

Running RPi 4b

PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)" VERSION_CODENAME=bookworm ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"

pa3gsb commented 1 month ago

please use https://github.com/pa3gsb/Radioberry-2.x/releases/tag/radioberry