Nokia Tablet Stuff

This blog is only intended for my consumption - it is just a log book.

Friday, January 25, 2008

Setting up the 770 for dual booting

We are basically following this: http://www.internettablettalk.com/forums/showthread.php?p=106502#post106502 and http://www.internettablettalk.com/forums/showpost.php?p=135752&postcount=288. with some mods for using an ext3 partition and different partition sizes.

  • Re-flash to a clean OS2006.
  • BT keyboard plug-in - install from MMC card, re-boot, see maemo-bt-plugin
  • Pair with iGo keyboard (Set B/T on, enter OK to iGo and then enter Fn+ passcode, Fn+enter).
  • Wifi.
  • Install the following repos (using Gronmayer):
    • Search for xterm in Gronmayer:
Web address: http://repository.maemo.org/
Distribution: mistral
Components: free non-free
    • Search for becomeroot in Gronmayer:
Web address: http://eko.one.pl/maemo/
Distribution: mistral
Components: user
    • Search for status in Gronmayer:
http://maemo-hackers.org/apt
Distribution: mistral
Components: main
    • Search for ping in Gronmayer:
Web address: http://mg.pov.lt/770
Distribution: mistral
Components: user other
  • Install (osso-)xterm (v. 0.13)
  • Install becomeroot (v. 0.1-2)
  • Install ping and x11vnc (0.8-3):
Ping is needed to keep connection up while in putty: ping -i20 192.168.1.180 (could use streaming radio instead).
  • Install osso-statusbar-cpu and set up the ping command in the command list (ping -i30 192.168.1.180)
  • Install wget (v. 1.10.2)
  • In xterm:
sudo gainroot
and change root and user passwords - short s

  • In xterm as root install ssh (v. 1:3.8p1-3osso4):
apt-get install ssh
Can now use putty on WinXP to access 192.168.1.187

  • In putty as root install e2fsprogs (v. 1.37-2sarge1):
apt-get install e2fsprogs

  • Partition RS-MMC (can be skipped if partitions are intact):
    • Back-up (file copy) the FAT32 partition on the MMC card to F:CopyOf770MMC
    • Partition the MMC card as ~1.27GB, ~.637 GB using:
#sfdisk /dev/mmcblk0 -uM
/dev/mmcblk0p1: 0,1300,06
/dev/mmcblk0p2: ,,,
/dev/mmcblk0p3:
/dev/mmcblk0p4:
    • Format linux partition p2 as ext3:
mke2fs -j /dev/mmcblk0p2
    • Format the FAT32 partition using the card-reader and WinXP
    • Restore F:CopyOf770MMC to the new FAT32 partition.

  • Install boot menu:
    • Mount the Linux partition:
insmod /mnt/initfs/lib/modules/2.6.16.27-omap1/mbcache.ko
insmod /mnt/initfs/lib/modules/2.6.16.27-omap1/jbd.ko
insmod /mnt/initfs/lib/modules/2.6.16.27-omap1/ext3.ko
mount /dev/mmcblk0p2 /media/mmc2
    • Using WinSCP:
copy F:DownloadsAndPatchesfanoushboot menuinitfs_flasher.tgz to /home/user/MyDocs/.documents on the 770.
copy F:DownloadsAndPatchesfanoushboot menu770bootmenuconfbootmenu.conf to /home/user/MyDocs/.documents on the 770.
cd /home/user/MyDocs/.documents/
tar zxvf initfs_flasher.tgz
cd initfs_flasher/
./initfs_flash
    • Follow the on-screen instructions.

Cloning the Operating System to Internal SD/MMC Card

7. Download and execute the following script and binary
  • The following commands will download the cloning script and the GNU tar binary to assist with the cloning process

7.1 As user "user"
  • Execute the following in xterm:
    mkdir ~/bin
    cd ~/bin
    wget http://www.nmacleod.com/nokia/bin/nupgrade.sh
    wget http://www.nmacleod.com/nokia/bin/tar
    chmod +x nupgrade.sh tar
7.2 As user "root" (without Sardine upgrade)
  • Switch to the root superuser and begin the process of cloning the filesystem to partition two on the Internal memory card. This is achieved in stages to allow you to control progress and check for errors. Pass parameters to the nupgrade.sh script to control progress, as follows
    sudo gainroot
    cd /home/user/bin
    ./nupgrade.sh 0 ext3 (this step usually may be omitted)
    ./nupgrade.sh 1 ext3
    ./nupgrade.sh 2 ext3
    ./nupgrade.sh 3 ext3
    ./nupgrade.sh 4 ext3
    reboot
Take an Acronis backup and we are done.


Objectives for setting up my 770 and N800


I am going to set both tablets up so that they can be booted from memory cards.

770

For the 770 the objective is to get more space for installing software and maybe make it go a little faster. I will set it up for dual booting but I don't expect to use that very often. I also hope that I can back up my memory card installation from the PC. I would like to have OS2007HE in the main flash memory and OS2006 in the memory card. I anticipate using OS2006 more than OS2007HE so I am picking this as the system to be loaded into the faster memory.



N800

For the N800 the objective is also to get more space, performance(?) and the ability to back up the memory card. I also want to have a clean install on the internal flash for 'normal' usage, and an experimental install on a memory card to allow me to install crap without worrying too much about having to reinstall everything when things go pear-shaped. I also plan to do sw. development on the memory card. I want to install OS2008 in both the main flash memory and in the memory card - I would prefer OS2007 somewhere, but this does not seem to be possible at this time.