I’m just trying to get an SPI display hooked up to my Raspberry Pi 3, but am having a little difficulty. I have a SH1106 display that I borrowed from my ornament and crime. I followed the instructions posted here (http://www.okyeron.com/norns/sh1106.txt). The kernel modules seem to compile ok, and after loading the driver with modprobe I can see an entry under /dev/fb1, and the dmesg log shows:
[ 59.385683] fbtft: loading out-of-tree module taints kernel.
[ 59.385713] fbtft: module is from the staging directory, the quality is unknown, you have been warned.
[ 59.392691] fbtft_device: module is from the staging directory, the quality is unknown, you have been warned.
[ 59.394295] spidev spi0.0: spidev spi0.0 125000kHz 8 bits mode=0x00
[ 59.394315] spidev spi0.1: spidev spi0.1 125000kHz 8 bits mode=0x00
[ 59.394366] bcm2708_fb soc:fb: soc:fb id=-1 pdata? no
[ 59.394424] spidev spi0.0: Deleting spi0.0
[ 59.395670] fbtft_device: GPIOS used by 'fb_sh1106':
[ 59.395682] fbtft_device: 'reset' = GPIO25
[ 59.395688] fbtft_device: 'dc' = GPIO24
[ 59.395706] spidev spi0.1: spidev spi0.1 125000kHz 8 bits mode=0x00
[ 59.395718] spi spi0.0: fb_sh1106 spi0.0 2000kHz 8 bits mode=0x00
[ 59.438243] fb_sh1106: module is from the staging directory, the quality is unknown, you have been warned.
[ 59.439274] fb_sh1106 spi0.0: fbtft_request_gpios: 'reset' = GPIO25
[ 59.439298] fb_sh1106 spi0.0: fbtft_request_gpios: 'dc' = GPIO24
[ 59.750462] graphics fb1: fb_sh1106 frame buffer, 128x64, 16 KiB video memory, fps=20, spi0.0 at 2 MHz
however when I try con2fbmap 1 1, nothing shows up on the display. I am able to get the display working in Python using luma.oled, so my wiring seems like it is ok. Any pointers would be much appreciated.