spi_master spi0: spi0.1: timeout transferring



  • In the Neuron and AXON I have a lot of the same errors (1000+ per day) in /var/log/messages

    Oct 11 14:47:05 control kernel: [183869.394758] spi_master spi0: spi0.1: timeout transferring 4 bytes@12000000Hz for 24(20)ms
    Oct 11 15:10:30 control kernel: [185274.808880] spi_master spi0: spi0.1: timeout transferring 16 bytes@12000000Hz for 24(20)ms
    Oct 11 15:20:23 control kernel: [185867.652716] spi_master spi0: spi0.1: timeout transferring 16 bytes@12000000Hz for 24(20)ms
    

    Any idea, how to fix that? Can't find any info in web...


  • administrators

    Hi @beergeek,
    can you please post what versions of our packages do you use?

    dpkg -l | egrep "unipi|mervis|evok|axon|neuron"

    And also what versions of firmware do you have in the boards:

    sudo /opt/unipi/tools/fwspi -i 0
    sudo /opt/unipi/tools/fwspi -i 1
    sudo /opt/unipi/tools/fwspi -i 2

    Thanks,
    Martin



  • It was the last year with all versions. Just now want to fix this, because all the logs with these errors. Neuron and AXON have the same latest versions, the difference is only in the packages "axon-kernel-*".

    dpkg -l | egrep "unipi|mervis|evok|axon|neuron"
    ii  axon-kernel                   4.14.20190801                                   arm64        transitional package
    ii  axon-kernel-image             1.20190926~stretch                              arm64        Linux kernel for UniPi Axon controller
    ii  evok                          2.1.4~stretch                                   arm64        UniPi API based on the Tornado webserver
    ii  mervis-runtime                2.1.3-9                                         arm64        Mervis runtime for Arm on Debian systems
    ii  unipi-common                  1.2.12~stretch                                  arm64        Common utilities for Unipi/Neuron/Axon
    ii  unipi-firmware                5.40                                            all          Firmware files for UniPi Neuron/Axon boards
    ii  unipi-firmware-tools          1.2.12~stretch                                  arm64        Firmware utilities for UniPi Neuron/Axon controllers.
    ii  unipi-kernel-modules          1.34.1.20190926~stretch                         arm64        UniPi Neuron/Axon kernel modules
    ii  unipi-mervis-tools            2.1.3.16~stretch                                all          Unipi support tools for Mervis runtime on Debian systems
    ii  unipi-modbus-tools            1.2.12~stretch                                  arm64        Modbus server for UniPi Neuron/Axon controllers.
    
    $sudo /opt/unipi/tools/fwspi -i 0
    Boardset:     0 B-1000                         (v1.0)
    Baseboard:    0 B-1000                         (v2.0)
    Firmware: v5.36
    
    $ sudo /opt/unipi/tools/fwspi -i 1
    Boardset:     8 E-16Di_U-14Ro                  (v1.0)
    Baseboard:    3 E-16Di                         (v2.0)
    Firmware: v5.36
    
    sudo /opt/unipi/tools/fwspi -i 2
    Unable to create the arm[2] context
    


  • Neuron, after apt-get upgrade

    $ sudo /opt/unipi/tools/fwspi -i 0
    Boardset:     0 B-1000                         (v1.0)
    Baseboard:    0 B-1000                         (v0.6)
    Firmware: v5.27
    
    sudo /opt/unipi/tools/fwspi -i 1
    Boardset:     1 E-8Di8Ro                       (v1.0)
    Baseboard:    1 E-8Di8Ro                       (v0.2)
    Firmware: v5.27