Email: librie00412@jenningsstory-remove-this-junk.com
simplereader-0.13a.tar.gz - (Requires lbhook-enabled firmware.)
Here's a simplereader binary that includes Jindor's changes:
See Jindor's Librie Page for more detail.
simplereader-0.13.tar.gz - (Requires lbhook-enabled firmware.)
Extract these files onto the memory stick. When you boot your Librié, simplereader takes over and displays a menu of the files (and subdirectories) in the /simplereader/textfiles directory and allows you to open them. Press 'Z' to close a file you have opened. Press 'Z' from the menu to quit and shutdown the Librié. See the included "Instructions" document for more information.
New features in version 0.13:
Text files must be ASCII or UTF-8. I've included the Baekmuk Batang font, so Korean files should display correctly. The Japanese file seems to display pretty well with this Korean font, but there are a few missing characters, which would presumably be fixed if a proper font was supplied. You can change which fonts simplereader uses by editing the fonts.conf file.
To go back to booting normally, you'll have to get rid of lbhook.sh (on the memory stick). I recommend renaming it to lbhook.sh.simplereader or something.
The source code for simplereader comes with the development platform (see below).
libreink-0.13.tar.gz - (Includes source for simplereader sample application.)
This is an abstraction layer for the Sony Librié. It consists of three files: libreink.h, libreink.c, and xlibreink.c. It requires librofb.h from Sony (included in the tarball).
If you write portable code, it allows you to create two different binaries from the same code:
arm-unknown-linux-gnu-gcc MYAPP.c libreink.c -o MYAPP.arm
A native host binary to simulate the Librié on X11: gcc MYAPP.c xlibreink.c -lX11 -o MYAPP.xTo compile anything for the Librié, you'll need a cross-compiler (see below).
To compile the simplereader sample application, you'll need the cross-compiled freetype2 library (see below). Alternatively, you might be able to use the one from the simplereader tarball, as long as you get the header files somehow.
Download crosstool-0.42.tar.gz
Untar and 'cd crosstool-0.42'
Edit demo-arm.sh. Comment out the action line and uncomment the one for gcc-2.95.3-glibc-2.2.2.
Run 'sh demo-arm.sh' and wait for a long time
Consider adding /opt/crosstool/gcc-2.95.3-glibc-2.2.2/arm-unknown-linux-gnu/bin to your PATH
Download freetype-2.2.1.tar.gz
Untar and 'cd freetype-2.2.1'
'mkdir cross'
'cd cross'
'../configure --host=arm-unknown-linux-gnu --prefix=~/freetype_inst'
(host=... will need to be a full path if the cross toolchain isn't in your PATH)
'make CCexe=gcc'
'make install'
The text of this page is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last updated 11 Dec 2006 - Andrew Jennings