Jump to content

KlGrom

Members
  • Posts

    7
  • Joined

  • Last visited

Reputation Activity

  1. Like
    KlGrom got a reaction from sputty in SPI on BPI M2Berry   
    With a lot of help from going I finally could fix the problem.
    The problem is that the GPIO-lines needed for spi are not defined neither in the basic device.tree nor in the spidev-overlay.
    to get spidev0 working download  the device-tree source below and compile it with dtc.
    Copy the resulting file "sun8i-r40-spi-spidev0.dtb" to "/boot/dtb/overlay/sun8i-r40-spi-spidev0.dtbo"
    Ensure that in /boot/armbianEnv.txt "overlay_prefix=sun8i-r40" is set and the line overlay=.... contains spi-spidev0
    reboot
     
    sun8i-r40-spi-spidev0.dts
  2. Like
    KlGrom got a reaction from Igor in SPI on BPI M2Berry   
    With a lot of help from going I finally could fix the problem.
    The problem is that the GPIO-lines needed for spi are not defined neither in the basic device.tree nor in the spidev-overlay.
    to get spidev0 working download  the device-tree source below and compile it with dtc.
    Copy the resulting file "sun8i-r40-spi-spidev0.dtb" to "/boot/dtb/overlay/sun8i-r40-spi-spidev0.dtbo"
    Ensure that in /boot/armbianEnv.txt "overlay_prefix=sun8i-r40" is set and the line overlay=.... contains spi-spidev0
    reboot
     
    sun8i-r40-spi-spidev0.dts
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines