-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instant crash on launch on Pi 4 #191
Comments
I don't have a RPi 4 to test myself, so I'm not sure. What's the output of the |
I'm on |
Can you try with the latest version from the repository? I have fixed all the warnings above, some of which could lead to bugs on 64 bits potentially. The bugs did not manifest on my RPi 3, but maybe they did on RPi 4... |
It compiles without any warnings (again rm -f *.o *_test
gcc -Wall -std=gnu99 -c -g -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -ffast-math -DRASPI=4 rds_strings.c
gcc -Wall -std=gnu99 -c -g -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -ffast-math -DRASPI=4 waveforms.c
gcc -Wall -std=gnu99 -c -g -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -ffast-math -DRASPI=4 pi_fm_rds.c
gcc -Wall -std=gnu99 -c -g -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -ffast-math -DRASPI=4 fm_mpx.c
gcc -Wall -std=gnu99 -c -g -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -ffast-math -DRASPI=4 control_pipe.c
gcc -Wall -std=gnu99 -c -g -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -ffast-math -DRASPI=4 mailbox.c
gcc -Wall -std=gnu99 -c -g -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -ffast-math -DRASPI=4 rds.c
gcc -o pi_fm_rds rds.o rds_strings.o waveforms.o mailbox.o pi_fm_rds.o fm_mpx.o control_pipe.o -lsndfile -lm I'll test it as soon as I get home, this was done from SSH. |
After running the following command:
It immedeately crashed again (SSH disconnected, Pi rebooted probably due to watchdog triggering). Radio turned silent for few seconds, then returned to static. When I tried it another time, it started playing for half a second, then started looping the same tenth of second (the ta-ta-ta-ta-ta-ta-ta sound) before finally turning back to static as the watchdog kicked in. The SSH session froze up and timed out as well. I'm sure the usage of NFS didn't cause it, as it runs over 1Gb LAN over to a quite fast NAS that only I use. It might be even faster with than local SD card. The fact that it managed to transmit a small chunk of it once (see previous paragraph) only solidifies this theory. TL;DR: Nothing changed and I didn't manage to catch any output, sadly. markonej/fm_transmitter still works flawlessly on up-to-date main branch, even over NFS. |
Immedeatelly after I start transmitting, my whole Pi freezes, doesn't transmit and simply stalls until the watchdog forces a reboot. I am on latest commit and with up-to-date Raspbian running on a Pi 4 (using only
apt update && apt full-upgrade --auto-remove
).Compile output:
$ make clean && make -j
Output of
sudo rpi-eeprom-update
:I never upgraded my firmware, should I? Will it fix/change something? Using markonej/fm_transmitter works without problem.
The text was updated successfully, but these errors were encountered: