Kiwi BBAI software installation instructions [updated 9-Feb-22]

123457»

Comments

  • edited July 28

    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.

  • jksjks
    edited July 29

    @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

  • jksjks
    edited July 29

    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..

  • @jks Thank you John, now v.1.547 start without any problems:

    05:47:55 kiwid[26105]: BBAI Debian 10.11 USE_SPIDEV
    05:47:55 kiwid[26105]: Starting kiwid
    05:47:55 kiwid[26105]: BBAI uses custom Kiwi device tree loaded via U-boot
    05:47:56 kiwid[26105]: Start kiwid: OK
    05:47:56 kiwid[26105]: Fri 29 Jul 2022 05:47:56 AM MSK
    05:47:56 kiwid: 00:00:00.795  KiwiSDR v1.547 --------------------------------------------------------------------
    05:47:56 kiwid: 00:00:00.795  compiled: 2022 05:35:07 on kiwisdr-ai
    05:47:56 kiwid: 00:00:00.795  /etc/debian_version 10.11
    05:47:56 kiwid: 00:00:00.795  background mode: delaying start 30 secs...
    05:48:26 kiwid: 00:00:30.880  reading configuration from file /root/kiwi.config/kiwi.json: 1783 tokens (21.3k bytes)
    05:48:26 kiwid: 00:00:30.883  reading configuration from file /root/kiwi.config/admin.json: 127 tokens (3.0k bytes)
    05:48:27 kiwid: 00:00:31.270  reading configuration from file /root/kiwi.config/dx.json
    05:48:27 kiwid: 00:00:31.281  DX: 887 label entries
    05:48:27 kiwid: 00:00:31.282 ..............        firmware: SDR_RX14_WF0
    05:48:27 kiwid: 00:00:31.283 ..............        firmware: rx_chans=14 wf_chans=0
    05:48:27 kiwid: 00:00:31.283 ..............        firmware: RX bufs=16 samps=48 loop=84 rem=0 intr_usec=4000
    05:48:27 kiwid: 00:00:31.284 ..............        firmware: WF xfer=9 samps=911 rpt=50 loop=18 rem=11
    05:48:27 kiwid: 00:00:31.284 ..............        webserver: listening on port 8073/8073 for HTTP connections
    05:48:27 kiwid: 00:00:31.291 ..............        webserver: OK, port [::]:8073
    05:48:27 kiwid: 00:00:31.531 ..............        ### using SPI_DEV /dev/spidev1.0
    05:48:28 kiwid: 00:00:32.277 ..............        FPGA version 1
    05:48:28 kiwid: 00:00:32.753 ..............        using DC_offsets: I -0.020000 Q -0.020000
    05:48:29 kiwid: 00:00:33.188 ..............        bl_GET: running..
    05:48:29 kiwid: 00:00:33.279 ..............        PROXY: NO dom_sel_menu=0
    05:48:29 kiwid: 00:00:33.328 ..............        UPDATE: check scheduled (startup)
    
  • 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

Sign In or Register to comment.