HOWTO: Bringing HIPL to the Nokia 770 yourself
1. TerminalIt is hard to imagine life in a Linux environment without a terminal. Debian-based Nokia 770 is not an odd one. A programm called 'Osso XTerm' can be downloaded from maemo.org site. The link provides you with installation and usage tips.
2. Root privilegesIn order to run hipl applications after you have it installed on your tablet and for some other purposes you need to have root privileges. This may be accomplished if you follow the steps this howto suggests.
3. SshSecure Shell is not mandatory but would make your life a lot easier as tablet's input method implies use of stylus pen on the touch screen. You can use either 'Dropbear SSH Server and Client' or 'OpenSSH SSH Server and Client'. These tools will allow you to login to your tablet remotely from your PC. Please follow the instructions given by the links to install and set up ssh on the device.
4. ScratchboxIn order to be able to compile software for Nokia tablet (kernel and applications) you need to use a cross-compilation tool called Scratchbox . The latest version of OS 2006 IT (3.2006.49-2) and maemo 2.2 gregale support Scratchbox Apophis R4 and we recommend using it. Please refer to scratchbox web page for online documentation on how to set up Scratchbox environment and an armel target on your PC.
5. Modified and patched kernelModifications to the Nokia 770 linux kernel as well as some patches are necessary. There is a HIP-enabled kernel image in the directory 'kernel' which has been compiled for you. You are supposed to download a flasher-3.0 utility and then use it to deploy new kernel image to your tablet.
The kernel version is 2.6.16. Note that the kernel sources were fetched from maemo repository and they are different in a way from Linux vanilla kernel sources. The patches to be applied are 'beet', 'interfamily', 'hipmod' and 'policy-sleep'.
Warning! Before you make any steps towards the new kernel on your Nokia 770 it is strongly advised to use 'Backup' utility from the 'Control panel' on the device to back up your data.
The way to deploy the kernel onto the device is as follows (taken from this howto):
Note: You might invoke flasher-3.0 utility without any arguments to see its whole set of options.
Now if everything went smoothly you should have new kernel on your Nokia. You might want to verify it running on your terminal 'uname -a' or 'cat /proc/version'. In case you did not succeed in previous steps and discovered problems while deploying image onto your device (constant rebooting of the tablet may be such an example) you should refer to the howto's available on Maemo.org site (links are given below) and try the steps again.
You will be able to get your Nokia 770 back to initial state by flashing the latest Fiasco image from Nokia site and restoring your documents then from a backup you made intentionally beforehand.
Should you compile your tablet's kernel without our assistance and not use the image provided you should have a look at HIPL Manual and be aware what options are necessary to compile and configure kernel with. Please consider to refer to the links provided below for kernel compilation process. The latest kernel version available for Nokia 770 is 2.6.16. Fetch the sources and extract in your Scratchbox 'armel' target. Go into extracted 'kernel-source-2.6.16' directory and copy patches there. Use the following command and order to apply the patches before configuring and building the kernel:
"patch -p1 < patch_name"
The patches might be found in HIPL source tree provided at InfraHIP Project under this directory "patches/kernel/126.96.36.199/". After the patches have been successfully applied (no "failed..." output) you might proceed with configuring compilation as described in HOWTOs.
The last command will make an armel debian package
'hipl-1.0-1-armel.deb' to be installed on the tablet. You will find it
In case you would like to use our HIPL package it can be found in 'userspace'
Nevertheless, one thing related to tablet's features should be taken
into account. To add or delete an IPv6 address to either of network
interfaces on the Nokia 770 (wlan0, bnep0) you should use 'ip' tool
instead of 'ifconfig'. At least that was the only option I succeeded
with. 'ip' is a part of 'iproute' package so you have to install it as
well on the tablet.
The actual command for the Nokia 770 to add '3ffe::2/64' address to the
wlan0 interface would be 'ip addr add 3ffe::2/64 dev wlan0'.
You can delete it using 'ip addr delete 3ffe::2/64 dev wlan0'.
In case you would like to use our HIPL package it can be found in 'userspace' directory.HIPL documentation. The appropriate chapters of this manual explain you how to run HIP base exchange between two hosts, test handover and other extensions. There is no striking difference for testing a HIP connection between Nokia 770 and i386 host from one described in the HIPL manual.
Nevertheless, one thing related to tablet's features should be taken into account. To add or delete an IPv6 address to either of network interfaces on the Nokia 770 (wlan0, bnep0) you should use 'ip' tool instead of 'ifconfig'. At least that was the only option I succeeded with. 'ip' is a part of 'iproute' package so you have to install it as well on the tablet.
The actual command for the Nokia 770 to add '3ffe::2/64' address to the wlan0 interface would be 'ip addr add 3ffe::2/64 dev wlan0'.
You can delete it using 'ip addr delete 3ffe::2/64 dev wlan0'.maemo.org. You can also build any package yourself directly from sources inside your 'armel' target.
Last updated 10.10.07