Jump to content

daniel_

Validating
  • Posts

    1
  • Joined

  • Last visited

  1. Hello Michael, Unfortunately I am bit late to the party, but it seems that you have to specify fdtfile in armbianEnv.txt. The path needs to be amlogic/..., exactly like discovered in Otherwise you won't be able to boot and need to edit the file with another linux/unix. Add this to your /boot/armbianEnv.txt # Add to /boot/armbianEnv.txt fdtfile=amlogic/meson-sm1-odroid-c4-spidev.dtb overlays=spi0 spi-spidev spidev # TODO check which one is the right one ;) #param_spidev_spi_bus=0 # Not needed at least for spidev0.x Changing the status to "okay" in meson-sm1-odroid-c4.dtb does not do the trick, despite getting high hopes reading https://wiki.odroid.com/odroid-c4/application_note/gpio/spi#tab__odroid-c4. Nevertheless it can't hurt to check the status in meson-sm1-odroid-c4-spidev.dtd: fdtget /boot/dtb/amlogic/meson-sm1-odroid-c4-spidev.dtb /soc/bus@ffd00000/spi@15000 status fdtget /boot/dtb/amlogic/meson-sm1-odroid-c4-spidev.dtb /soc/bus@ffd00000/spi@15000/spidev@0 status Make sure to load the spidev kernel module at startup, i.e. by adding to /etc/modules # Append /etc/modules spidev Note: I did a diff between both de-compiled dtb files, but haven't checked yet, if something else could be affected by using the spidev variant. Hope this helps! I would highly appreciate it, if you could have a look into the overlays= / param_spidev_bus= and report your findings. Thanks in advance! Best, Daniel G.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines