I just found a graphic library for Nanopi Neo/M1 today.
wertyzp did post WiringPi library ported to Neo/M1:
http://www.friendlyarm.com/Forum/viewtopic.php?f=47&t=260And "examples/clock.c" mentions a graphic library that should run with wertyzp's WiringPi port on Neo/M1:
/*
* clock.c:
* Demo of the 128x64 graphics based LCD driver.
* This is designed to drive the parallel interface LCD drivers
* based on the popular 12864H controller chip.
*
* This test program assumes the following:
* (Which is currently hard-wired into the driver)
*
* GPIO 0-7 is connected to display data pins 0-7.
* GPIO 10 is CS1
* GPIO 11 is CS2
* GPIO 12 is STROBE
* GPIO 10 is RS
...
I don't have a 128x64 display based on 12864 controller to try it.
And there are different versions, needed is the one with 8 parallel data lines DB0-DB7.
I found it on aliexpress
http://www.aliexpress.com/item-img/Free-shipping-1pcs-lot-LCD-Board-12864-128X64-5V-blue-screen-display-ST7920-LCD-module-100/32322144504.htmlbut bought it a little bit more expensive on amazon.de because delivery time is shorter:
https://www.amazon.de/gp/product/B008EOH76E/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1Will test that display when I will have received it,
Hermann.
P.S:
I recently ordered (two) 5$ 480x320 displays (3.95") for Raspberry Pi:
https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=158042Perhaps that display will work with Neo/M1 as well, it has 26pin connector, and Neo has 24 pins with same layout. Pin 25 is GND and available at several other places. Only pin 26 CE1 may be a problem ...
It is not clear whether driver side may be a problem or not. ILI9488 driver is needed, but Neo kernel only contains ILI9486 driver (linux-3.4/drivers/staging/fbtft/fb_ili9486.c). Both are for 480x320 displays, differ only wrt colors (262K vs. 16.7M).