The installation was done in a 32 bit computer, obviously running Gentoo, with kernel 2.6.31.
Points to consider before installing Maemo:
- VDSO support must not be set in the host kernel. To check if this feature is turned on run this command as root
if a 1 is shown then vdso is enabled. To turn it off run as root
$echo 0 > /proc/sys/vm/vdso_enabled
or add the following kernel parameter vdso=0.
- Xephyr must be installed. In order to test whether Xephyr is installed execute the following command:
If it doesn't work then add the kdriver flag to your USE variable and recompile xorg-server. It should work after that.
Installation
1. Download Maemo installation scripts
2. Install Scratchbox by running:
$sudo ./maemo-scratchbox-install_5.0.sh -u USER -s PATH/scratchbox
where USER=username for the scratchbox system and PATH= path where you want the files to be installed. Note that this path must include a directory named scratchbox.
3. Log into the new unix-group "sbox" created by the installer running
$newgrp sbox
4. Install the SDK by running
$./maemo-sdk-install_5.0.sh -s PATH/scratchbox
PATH is the route where scratchbox was installed in the 2nd step.
5. Start Scratchbox
$PATH/scratchbox/sbin/sbox_ctl start
6. Login to Scratchbox
$PATH/scratchbox/login
7. Get the Nokia Binaries from http://tablets-dev.nokia.com/eula/index.php, and Accept the EULA, then copy the address that is given to you after accepting the EULA and paste it at the bottom in /etc/apt/sources.list file for both targets ARMEL and X86.
Selecting Targets:
ARMEL Target
[sbox-FREMANTLE_X86: ~] sb-conf select FREMANTLE_ARMEL
X86 Target[sbox-FREMANTLE_ARMEL: ~] sb-conf select FREMANTLE_X86
$ nano -w /etc/apt/sources.list
Then run the following command in both targets
[sbox-FREMANTLE_ARMEL: ~] apt-get update
in order to update repositories in the scratchbox (Debian based Linux)
8. Finally, Install the Nokia Binaries in both targets
[sbox-FREMANTLE_ARMEL: ~] fakeroot apt-get install nokia-binaries --fix-missing
9. Now, start the UI as shown in http://wiki.maemo.org/Documentation/Maemo_5_Final_SDK_Installation#Starting.2FShutting_down_the_SDK_UI
I strongly recommend reading the Maemo 5 SDK installation guide for any specific detail.
Happy Hacking =)