Fork 0
a free manga reader for the Progress Technologies eOneBook http://src.kaivo.net/hw/freeonebook/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jakob Kaivo f1795ce97c remove debug output 4 years ago
linux add linux/mxcfb.h for controlling the framebuffer, update CFLAGS 4 years ago
.gitignore redo dependency build as a straight-up shell script 4 years ago
LICENSE add email address 4 years ago
Makefile use MagickWand instead of MagickCore 4 years ago
README.md automate dependency building 4 years ago
build-deps.sh redo dependency build as a straight-up shell script 4 years ago
convert.c more error checking 4 years ago
convert.h split image conversion to a separate file 4 years ago
fb.c properly loading a PNG from disk 4 years ago
fb.h add option to specify which screen to map images to 4 years ago
freeonebook.c serialize button queue to avoid screen update races 4 years ago
gpio.c remove debug output 4 years ago
gpio.h capture button presses and shutdown requests 4 years ago




In order to compile this, you will need an ARM cross compiler (unless you are building natively on ARM, in which case skip this step). You'll also need make and pkg-config (otherwise ImageMagick won't build). On Debian, this is easy with:

$ sudo apt install gcc-arm-linux-gnueabihf make pkg-config


Image support is provided by ImageMagick, which in turn depends on libpng, which in turn depends on zlib. The eOneBook already has dynamic libraries for libpng installed, but you still need them installed in your cross-compilation environment so ImageMagick knows they will be there. A make target is included to simplify the process of installing them. If one or more is already installed in your cross-compilation environment, it will be skipped.

$ make install-deps


Once dependencies are installed, simply run make in the freeonebook directory.

$ make


Copy freeonebook to .a001 on your SD card:

$ cp freeonebook /path/to/sd/.a001


Insert your SD card into your eOneBook and open it up. The program will run automatically.

At present, the program is in pre-alpha state and simply initializes the display, logs button presses to stdout, and cleanly shuts down when requested by closing the eOneBook. Don't expect much.