Lukas S 0 Posted January 20 Share Posted January 20 Armbianmonitor: http://ix.io/2MHP Hey, I am using the Image from the Armbian Download site: Armbian_20.11.6_Bananapim2zero_bullseye_current_5.10.4 and I am trying to get SPI to work, enabled it using armbian-config and through editing the /boot/armbianEnv.txt verbosity=1 bootlogo=false console=both disp_mode=1920x1080p60 overlay_prefix=sun8i-h3 rootdev=UUID=034edbda-9395-4820-87a1-f3a83bad8a58 rootfstype=ext4 overlays=spi-spidev usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u But after a reboot it does not show in /dev/ (what seems odd, i2c-0 shows in /dev/ even though it is not enabled in the armbianEnv.txt) As far as I understand it, the dts for h3 should be the same for h2+ ? I also found a file called "sun8i-h2-plus-bananapi-m2-zero.dtb" under /boot/dtb after some research I found out that this is a device tree binary (thats also why I cant read it) but I couldn't find any information on how to use it. Or how I could replace the spi-spidev.dtd with this h2 one. I also already tried the focal_current_5.10.4 Image same result. Thanks in advance Lukas 0 Quote Link to post Share on other sites More sharing options...
Solution martinayotte 678 Posted January 20 Solution Share Posted January 20 1 hour ago, Lukas S said: Thanks in advance You've forgot to define "param_spidev_spi_bus" which is mandatory ... 0 Quote Link to post Share on other sites More sharing options...
Lukas S 0 Posted January 20 Author Share Posted January 20 vor 8 Minuten schrieb martinayotte: You've forgot to define "param_spidev_spi_bus" which is mandatory ... Thank you very much, should the armbian-config have set this option ? Sorry I didn't find it in overlay documentation that this flag is needed ^^ 0 Quote Link to post Share on other sites More sharing options...
martinayotte 678 Posted January 21 Share Posted January 21 20 hours ago, Lukas S said: Sorry I didn't find it in overlay documentation that this flag is needed ^^ Look at this doc file : /boot/dtb/overlay/README.sun8i-h3-overlays 0 Quote Link to post Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.