Der Inhalt dieser Seite ist Teil einer Dokumentation, die ich in Englisch angefertigt habe, sobald ich die Zeit finde, werde ich sie übersetzen.

Hardware Info

  • ARMv6 compatible CPU (Texas Instruments OMAP 2420, 400 MHz)
  • 128 MByte RAM
  • 256 MByte Flash (for Image)
  • 2 GB internal-Flash (for Data)
  • Touchscreen (10,5 cm) 800 x 480 Px with 65.536 colors
  • miniSD/microSD slot for up to 8GB (microSD requires miniSD-Adapter, SD-cards >2GB need to be SDHC-compatible)
  • MicroUSB, WLAN, Bluetooth

Software

SSH

Install 'openssh-server' and 'openssh-client' from the 'Maemo Extras' repository.
While installing openssh-server you will be asked for a new root password.

Java

Install 'cacao' from the 'Jalimo' repository. At the moment this contains at least cacao 0.98+hg20070927-jalimo1 and classpath 0.95+cvs20071004.

BecomeRoot

Simply install ssh like mentioned above.
You can also install 'becomeroot'. This modifies the gainroot script to drop a root shell without being in R&D-mode.

Development

First setup the sdk (install scratchbox and the maemo sdk) like mentioned below, for manual installation I recommend the official install file: http://tablets-dev.nokia.com/4.0.1/INSTALL.txt.
Inside the ARMEL scratchbox target you got a gcc-cross-toolchain.
The Maemo Tutorial (see link section) has detailed information about maemo and gui development.

Install SDK

It is recommended to follow the instructions from the current INSTALL.txt.
Easiest way is using a debian based system and install the debian packages using the install scripts.

This procedure works e.g. with xubuntu 7.10 and maemo 4.0.1 (chinook):
$ wget http://tablets-dev.nokia.com/4.0.1/maemo-scratchbox-install_4.0.1.sh
$ chmod a+x maemo-scratchbox-install_4.0.1.sh
$ sudo ./maemo-scratchbox-install_4.0.1.sh
After installing scratchbox, you will be asked for a user to be added to the 'sbox' group, just add the current non-root user. After that you need to start a new login terminal or just logout and login again.

$ wget http://tablets-dev.nokia.com/4.0.1/maemo-sdk-install_4.0.1.sh
$ chmod a+x maemo-sdk-install_4.0.1.sh
$ ./maemo-sdk-install_4.0.1.sh
You will be asked to choose the install option, just choose the default 'Runtime Environment + All Dev Packages'.

If you haven't installed the nokia binaries yet, you can do so now:
$ http://tablets-dev.nokia.com/4.0.1/maemo-sdk-nokia-binaries_4.0.1.sh
$ chmod a+x maemo-sdk-nokia-binaries_4.0.1.sh
$ ./maemo-sdk-nokia-binaries_4.0.1.sh

Login to the scratchbox env:
$ /scratchbox/login

To switch between your two targets use 'sb-conf' (or take a look at 'sb-menu'):
sbox> sb-conf select CHINOOK_ARMEL
sbox> sb-conf select CHINOOK_X86

Now install the binaries in both targets:
[sbox-CHINOOK_X86: ~] > fakeroot apt-get install maemo-explicit
[sbox-CHINOOK_ARMEL ~] > fakeroot apt-get install maemo-explicit

To run applications inside maemo 4.0 SDK install xephyr X11-server:
$ sudo aptitude install xserver-xephyr

To use it run:
$ Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -extension Composite

and inside scratchbox:
[sbox-CHINOOK_X86:~] > export DISPLAY=:2
[sbox-CHINOOK_X86:~] > af-sb-init.sh start

Compile

The SDK provides a gcc without the need for cross-targets. As previously described you can login to scratchbox via:
/scratchbox/login
Now you should have a prompt like:
[sbox-CHINOOK_ARMEL ~] >

Flashing Official Image

Get flasher: http://tablets-dev.nokia.com/d3.php?f=flasher-3.0 and image: http://tablets-dev.nokia.com/nokia_N810.php.
Switch the device off (charger not connected), connect the USB-cable and run:
./flasher-3.0 -F RX-44_2008SE_2.2007.51-3_PR_COMBINED_MR0_ARM.bin -f -R
Now plugin the charger, watch the flashing and be happy about how ... quick the flashing goes (especially compared to a (gumstix) serial connection).

Tips

Be careful, when installing graphical applications via the command line. Since some (e.g. tasks, dates) ask for the place of the menu entry by opening a window, this does not work on the command line and results in a deadlock on the command line with not completely installed packages.

Links


© 2001 - 2024 Frank Remetter