Hardware/N900/Installation

From freesmartphone.org
Jump to: navigation, search

SHR/FSO images for N900 are available at http://build.shr-project.org/shr-unstable/images/nokia900/

This guide is wrote with Maemo PR1.2 in mind. It should work with older versions, but it may need some small changes. Please keep in mind My Nokia service if you are about to upgrade!

[TODO] confirm version (vanous)

Download image from http://build.shr-project.org/shr-unstable/images/nokia900/ and unpack on ext3 partition of your µSD card. Put it into N900.


On your computer, you'll need Maemo Flasher installed. [TODO]: check, if we can replace flasher-3.5 with 0xFFFF)


Contents

Turning on developer mode

# flasher-3.5 --set-rd-flags=no-omap-wd
# flasher-3.5 --set-rd-flags=no-ext-wd
# flasher-3.5 --enable-rd-mode

First tweaks

sudo gainroot

[TODO] install gainroot

mount /dev/mmcblk1p1 /media/mmc1

[TODO] mmc1 can be taken, might need to make a new dir

cp /etc/resolv.conf /media/mmc1/etc/
chroot /media/mmc1
opkg update
opkg install udev watchdog libstdc++6 ... (TBD)
opkg upgrade
 cp -r /lib/modules/* /media/mmc1/lib/modules/
 cp -a /lib/firmware /media/mmc1/lib/

[TODO] modules depend on booting method

[TODO] add more booting methods:

(10:31:58 PM) JaMa: vanous: I would recomend installing kernel-power version 45 where is u-boot integrated and putting my boot.scr on 1st uSD vfat partition
http://build.shr-project.org/tests/jama/u-boot/
u-boot script which is executed by default from u-boot env
then you'll have echo "Use run meego|shr|shr2|maemo"
read boot.all.scr to understand expected partitioning and kernel naming
vanous: but first issue is that currently shipped kernel needs atags (but you can use 2.6.35 as I do for SHR)
small fat partition for this boot.scr and kernels is enough.

Bootloader

bootmenu-n900

ITEM_NAME="SHR"
ITEM_ID="shr"
ITEM_DEVICE="${EXT_CARD}p1"
ITEM_MODULES="mbcache jbd ext3"
ITEM_FSTYPE="ext3"
ITEM_FSOPTIONS="noatime,ro"

multiboot

WARNING: work in progress

create the /etc/multiboot.d/shr.item:

ITEM_NAME="SHR"
ITEM_KERNEL=nokia900.bin
ITEM_DEVICE=${EXT_CARD}p1
ITEM_FSTYPE=ext3
ITEM_FSOPTIONS=rw,noatime,errors=remount-ro,commit=3

note that you need a kernel with ext3

Booting

Tweaking

cd /lib/modules/2.6.28-omap1
wget http://my.arava.co.il/~matan/770/n900/power_supply.ko
wget http://my.arava.co.il/~matan/770/n900/bq27x00_battery.ko
echo bq27x00_battery >> /etc/modules

Keep in mind that it's Maemo kernel with SHR/FSO userspace (though AFAIK Maemo kernel is 100% open source, so it shouldn't be a problem ATM).

After installation...

...look at our TODO and try to do something :)

If you want to disable annoying flickering of keyboard LEDs while staying in R&D mode, boot to Maemo, edit /etc/pmconfig and change "sleep_ind 1" to "sleep_ind 0". After reboot keyboard won't blink anymore :)

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox