It's a slightly long story. But basically the BBAI-64 changes cleaned up a bunch of code that determines which Beagle and Debian version are being used.
In your logs see how with v1.539 (which works) it says BBAI DEBIAN-9 USE_SPIDEV and /etc/debian_version 10.11 ? Well, the DEBIAN-9 part is obviously wrong and got fixed in v1.545 to correctly report BBAI Debian 10.11 USE_SPIDEV
But this triggered a bug. When someone tried D10 on a BBG/B a while ago (maybe it was you or Jim, I can't remember) it was found that the BBG/B D10 kernel started using spidev0 instead of spidev1 for some unknown reason (maybe a device tree change?). So code got added that used spidev1 only for Debian <= 9.
This code ended up getting used for BBAI as well. But it seems the BBAI kernel always wants to use spidev1. So the code added for BBG/B should not be used for BBAI. v1.539 worked because it was incorrectly detecting D9 which forced spidev1 to be used..
Comments
With D9 kiwid works without problems, I wrote about D10 & BBAI.
On my previous message I posted logs from same BBAI board with same D10 OS but different KiwiSDR version.
@rz3dvp Okay, I see what's wrong and will have a fix for you soon to test.
@rz3dvp Please try a change I just made by doing this (from a Linux root shell):
cdp
mst
mdi
gup
m
mi
ku
I think that should do it.
Thanks
It's a slightly long story. But basically the BBAI-64 changes cleaned up a bunch of code that determines which Beagle and Debian version are being used.
In your logs see how with v1.539 (which works) it says
BBAI DEBIAN-9 USE_SPIDEV
and/etc/debian_version 10.11
? Well, theDEBIAN-9
part is obviously wrong and got fixed in v1.545 to correctly reportBBAI Debian 10.11 USE_SPIDEV
But this triggered a bug. When someone tried D10 on a BBG/B a while ago (maybe it was you or Jim, I can't remember) it was found that the BBG/B D10 kernel started using spidev0 instead of spidev1 for some unknown reason (maybe a device tree change?). So code got added that used spidev1 only for Debian <= 9.
This code ended up getting used for BBAI as well. But it seems the BBAI kernel always wants to use spidev1. So the code added for BBG/B should not be used for BBAI. v1.539 worked because it was incorrectly detecting D9 which forced spidev1 to be used..
@jks Thank you John, now v.1.547 start without any problems:
Okay, thanks for testing.
Jim, but running Debian 9 or 10?
If D10, does your log say
### using SPI_DEV /dev/spidev0.0
or/dev/spidev1.0
?9.0, my oversight in replying
Okay, just wanted to be sure. I think this issue should be squared away for now.
Thanks