meta-rpi-ssd1306 support to work with SSD1306 OLED display(128x64) 4pin I2C.
This layer depends on meta-raspberrypi(master branch K4.4)
In order to use SSD1306 OLED display(128x64), add the line as follows to your local.conf
ENABLE_I2C = "1"
KERNEL_DEVICETREE_append = " overlays/ssd1306fb.dtbo"
And add to bblayers.conf. Easy way is run bitbake-layers command such as follows:
bitbake-layers add-layer ../poky/meta-rpi-ssd1306
When this layer added, then created framebuffer device such as /dev/fb1
on your image.
If you want to use display as console, add the line as follows to your local.conf.
OLED_CONSOLE = "1"