wiki.webvm.net/ maemo
  1. Steps to setup the N8xx from scratch
  2. Browser
  3. N800 ‘chinook’ with Nokia’s maemo-sdk packages
  4. Scratchbox 2 is alpha-ware
  5. WebVM install notes
  6. WebKit on the n810
  7. Screenshots
  8. SB1 Diablo
  9. Mozilla’s efforts

Maemo devices

Steps to setup the N8xx from scratch

  1. Grab the latest image image. (currently: DIABLO)
  2. Grab the flasher
  3. Switch off your N8xx device, unplug the charging cable
  4. Connect your N8xx device using the USB cable
  5. Run ./flasher-3.0 -F DIABLO.bin -f -R
  6. Plug the charging cable on
  7. Now follow the flashing progess
  8. Uncheck the community sources from the Application manager and install Opensshd
  9. Set a proper root password
  10. Check the IP starting the osso-xterm and running: /sbin/ifconfig (or check your router’s dhcp table)
  11. Now you can administer your device like any other…

Browser

microb on N800 chinook

The browser is called microb, which seems like a fork of minimo. It seems to have NPAPI plugins enabled.

N800 ‘chinook’ with Nokia’s maemo-sdk packages

WebVM on n800

Scratchbox 2 is alpha-ware

Scratchbox2 seems to be quite new ‘Alpha’ stuff. apt-get seems to think it’s 386 without:

x61:~% cat .maemo-sdk/rootstraps/armel/chinook40_armel/etc/apt/apt.conf.d/20arm
APT::Architecture "armel";

Caveat: Don’t let scratchbox2’s $PATH’s catch you out:

x61:~/.scratchbox2/chinook40_armel/bin%

WebVM install notes

webvm.install configures Maemo’s application manager with the debian repository of the ‘armel’ build.

Updating

Application manager -> Tools -> Refresh application list

Application manager is unable to resolve /etc changes. So don’t change configs on the device!

WebKit on the n810

Debian’s webkit port seems to be been built for maemo.

So applying 14750 to the package and doing a cross build for NPAPI support for WebKit on maemo should work.

x61:~/maemo% sb2 cat /etc/apt/sources.list
deb http://repository.maemo.org/ chinook free non-free
deb-src http://repository.maemo.org/ chinook free
deb http://repository.maemo.org/extras/ chinook free
deb-src http://repository.maemo.org/extras/ chinook free

Screenshots

SB1 Diablo

Use the VMWARE image on nox. username: aplix password: maemo

mkdir /scratchbox/users/aplix/targets/DIABLO_ARMEL/usr/lib/java
sudo mount -o bind /usr/lib/jvm/java-6-sun /scratchbox/users/aplix/targets/DIABLO_ARMEL/usr/lib/java

mkdir /scratchbox/users/aplix/targets/DIABLO_ARMEL/usr/include/xulrunner-sdk
sudo mount -o bind ~/moz/xulrunner-sdk/sdk/include /scratchbox/users/aplix/targets/DIABLO_ARMEL/usr/include/xulrunner-sdk

aplix@ubuntusb1:~$ /scratchbox/login 
[sbox-DIABLO_ARMEL: ~] > ls  /usr/lib/java/
COPYRIGHT  LICENSE  README.html  THIRDPARTYLICENSEREADME.txt  bin  ext  include  jre  lib  man
[sbox-DIABLO_ARMEL: ~] > ls /usr/include/xulrunner-sdk
bin  host  idl  include  lib  sdk
[sbox-DIABLO_ARMEL: ~] >

Typically packages can end up in /scratchbox/users/aplix/home/aplix/code/trunk/modules/native

dput -u -f webvm /scratchbox/users/aplix/home/aplix/code/trunk/modules/native/webvm-location_0.1-1_armel.changes

Mozilla’s efforts

Fennec is a newer browser based on FF3:

WebVM on Fennec

If you want to try a newer compiler, add to your /etc/apt/sources.list:

deb http://scratchbox.org/debian stable main

and execute:

sudo apt-get install apt-get install scratchbox-toolchain-cs2007q3-glibc2.5-arm6