We found a error for our debian image,because of the directory /boot/ in root partition
have files, the boot partition has not mount.
You change configure file:/boot/hw_intfc.conf is in root partition.
You need:
$ sudo mount /dev/mmcblk0p4 /mnt/
$ sudo vim /mnt/hw_intfc.conf
Change:
intfc:spi2=on
Reboot your ROCK Pi S and then you can get the directory /sys/class/spi_master/spi2.
But we found a bug, if you open the spi0 kernel can’t boot in normal.
We will fix this bug and update image on wiki.
But i have no hw_intfc.conf file. I have only a “hw_intfc.conf.bkp” file.
I created the file, and added “intfc:spi2=on”, but it dosn’t do anything after a reboot.
The changes under /boot/hw_intfc.conf are persistent, but the file/path /sys/class/spi_master/spi2 does not exists