Jump to content

xkcd

Members
  • Posts

    5
  • Joined

  • Last visited

  1. Did you ever get this working? I'm facing sort of the same problems, that it is really difficult to the SPIDEV working on the Rock PI 4b.
  2. Thanks for the reply. I'm not even at a state where can get one single SPI device to work. Either nothing shows up under /dev or kernel panic. Is there some other image that is better to use?
  3. I'm not sure of anything. That's is why I asked here. I can't understand what I'm doing wrong or are supposed to do. I tried to use SPI bus 1 as suggested here: but that leads to a kernel panic when I reboot (how does one get out of these, without writing a new image).
  4. Hi, thanks for the swift answer, wasn't expecting that. There are no nodes named /dev/spidev0.0 (or similar). I get the following from dmesg|grep spi (slightly cropped) [...] rockchip-spi ff1c0000.spi: no high_speed pinctrl state [...] ffffffc0f7f737f8: buggy DT: spidev listed directly in DT [...] WARNING: at drivers/spi/spidev.c:722 /skipping some lines/ [...] rockchip-pinctrl pinctrl: pin gpio3-7 already requested by ff1c0000.spi; cannot claim for fe30000.ethernet I should say that the device is only connected to wifi and not ethernet. Hope you can push in the right direction.
  5. Hi I'm trying to get the SPI ports to work in a RockPi 4B board. I've done the following: Installed the Armbian_20.11.6_Rockpi-4b_focal_legacy_4.4.213.img.xz image Edited armbianEnv.txt overlays=spi-spidev param_spidev_spi_bus=0 There is a entry at: /sys/class/spidev/spidev0.0, but nothing at /dev/spidev/ Next, I built libmraa, which fails to run any examples with SPI, as it can initialize any SPI devices. What am I missing, Hope you can help me
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines