PINE64
Call for Contributions: help reverse engineer the eInk display driver! - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Quartz64 (https://forum.pine64.org/forumdisplay.php?fid=166)
+--- Forum: Linux on Quartz64 (https://forum.pine64.org/forumdisplay.php?fid=168)
+--- Thread: Call for Contributions: help reverse engineer the eInk display driver! (/showthread.php?tid=14635)



Call for Contributions: help reverse engineer the eInk display driver! - CounterPillow - 08-11-2021

Hello PINE friends,

as you may have heard, the Quartz64 has an eInk interface. This allows for high-speed (relatively speaking) operation of a 10.3 inch eInk panel. The controller for this is referred to as "EBC".

The problem, however, is that the downstream driver for this is... a GPL-2.0 licensed assembly dump. Yeah. Thankfully it comes with debug symbols though, so we're actually very lucky in that regard.

Here's where you can come in and help: we need to reverse engineer the driver struct by struct, function by function, allowing us to write an upstream-ready EBC driver. Not only will this allow us to run the driver on mainline kernels (or rather, at all, since it currently doesn't build even on the downstream kernel), but we can also then make it faster, as there seemingly are some math heavy functions.

For more information, check the wiki article on the matter, which includes links to the repositories and some further information. People have also reported good results from assembling the .S into a binary and then running Ghidra on it.

Thank you for your attention and your interest.