Vladimir Petrovic Posted March 5, 2019 Posted March 5, 2019 Orange pi one refuse to add spi to /dev/. It's 5.73 armbian kernel 4.19.20-sunxi. I've activated spi dev from armbian-config but no device after reboot. Gpio and i2c work great . Anyone had problem like this? Послато са Redmi Note 6 Pro уз помоћ Тапатока
martinayotte Posted March 5, 2019 Posted March 5, 2019 1 hour ago, Vladimir Petrovic said: Orange pi one refuse to add spi to /dev/ What did you provide in /boot/armbianEnv.txt for the overlay ? Did you specified the "param_spidev_spi_bus" parameter ?
Vladimir Petrovic Posted March 5, 2019 Author Posted March 5, 2019 verbosity=1logo=enabledconsole=bothdisp_mode=1920x1080p60overlay_prefix=sun8i-h3rootdev=UUID=f2be4c3e-fb7c-4a81-b3db-f29ff41e7bdfrootfstype=ext4overlays=analog-codec cir i2c0 i2c1 i2c2 pps-gpio pwm spdif-out spi-spidev uart1 uart2 uart3 usbhost0 usbhost1 usbhost2 usbhost3 w1-gpioparam_spi_dev_bus=0usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:uПослато са Redmi Note 6 Pro уз помоћ Тапатока
martinayotte Posted March 5, 2019 Posted March 5, 2019 1 hour ago, Vladimir Petrovic said: param_spi_dev_bus=0 Do you see any errors in u-boot where overlays are loaded ? Do you see any errors in "dmesg | grep spi" ?
Vladimir Petrovic Posted March 5, 2019 Author Posted March 5, 2019 Nothing in dmesg. Had to see.u-boot. When I get that log I will post. Thou I got segmentation fault on dpkg and when I replaced bin fom a pckage it started working again. Could be sdcard?Послато са Redmi Note 6 Pro уз помоћ Тапатока
martinayotte Posted March 5, 2019 Posted March 5, 2019 3 hours ago, Vladimir Petrovic said: param_spi_dev_bus=0 Oh ! I didn't catch it earlier : you did some typos, it should be written like "param_spidev_spi_bus=0" !
Vladimir Petrovic Posted March 6, 2019 Author Posted March 6, 2019 Thanks man. I did not saw that. All work no play makes jack a dull boy. Tnx again.Послато са Redmi Note 6 Pro уз помоћ Тапатока
Recommended Posts