Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 74 lines (46 sloc) 2.158 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
Quick start instructions
========================

This is only rough at the moment, need to expand it somewhat

To obtain a list of targets use the command:
  make help


A. Compiling WikiReader program and QT4 simulator
=================================================

1) make sure samo-lib/include/config.h is setup
   copy from samo-lib/include/config.h-default

   The make files will do the copy, but the
   BOARD_SAMO_V1 must be uncommented by manual editing

2) make clean

   There maybe errors because of missing programs, these will be
   indicated by an apt-get install message to show the Ubuntu 9.10
   package(s) to install.

3) make


B. Compiling a test database (single language version for an old kernel.elf)
============================

** This section is now deprecated **

   Requires Python2.6 ocaml PHP5 LaTeX and dvipng

1) mkdir -p image work

   make DESTDIR=image WORKDIR=work \
     XML_FILES="XML-Licenses/en/license.xml XML-Licenses/en/terms.xml xml-file-samples/japanese_architects.xml" iprch

   #Note: iprch => index parse render combine hash

2) Optionally: simulate using qt4-simulator:
   make DESTDIR=image fonts-install sim4

3) make DESTDIR=image install

4) Format a microSD card as FAT32 and copy the contents on image to it
   e.g. mkfs.vfat -F 32 -n wikird /dev/sd<id-and-partition>
          mount /dev/sd<id-and-partition> /mnt
          cp image/* /mnt/


C. Compiling a test database (multiple language version - latest kernel.elf)
============================

1) mkdir -p image work

   make DESTDIR=image WORKDIR=work WIKI_LANGUAGE=en \
      XML_FILES="XML-Licenses/en/license.xml XML-Licenses/en/terms.xml xml-file-samples/japanese_architects.xml" \
      cleandirs createdirs iprc

   #Note: iprch => index parse render combine

2) Optionally: simulate using qt4-simulator:
   make DESTDIR=image fonts-install nls-install sim4

4) Install fonts and programs
   make DESTDIR=image install

5) format a microSD card as FAT32 and copy the contents on image to it
   e.g. mkfs.vfat -F 32 -n wikird /dev/sd<id-and-partition>
          mount /dev/sd<id-and-partition> /mnt
          cp -r image/* /mnt/
Something went wrong with that request. Please try again.