-
The clickable links at the top of each section are for reference only.
You do not need to visit them unless you would like more information.
Re-Flash
- Flash tablet
- Setup WiFI and other control panel settings
- Setup repositories:
- Nokia catalog
http://catalogue.tableteer.nokia.com/certified/ -> repository.maemo.org/catalogue/certified
user
- Nokia catalog (3rd party software)
http://catalogue.tableteer.nokia.com/non-certified/ -> repository.maemo.org/catalogue/non-certified
user
- Community SSU
http://repository.maemo.org/community/
free non-free
- maemo SDK
http://repository.maemo.org/
sdk/free sdk/non-free tools/free tools/non-free
- maemo Extras
http://repository.maemo.org/extras/
free non-free
- maemo Extras (testing)
http://repository.maemo.org/extras-devel/
free non-free
- Install community-ssu-enabler and openssh
- Upgrade Community SSU and reboot
- Install (with apt-get install) rootsh, bzip2, gnutar, e2fsprogs, wget, ntpdate (optional), large-statusbar-clock (optional) and a theme (optional)
- Install ncurses-base, nano and color-ls (all optional)
-- replace nano in the steps below with your editor of choice if you choose not to install it.
- Setup terminal shortcuts
- gconftool-2 --type list --list-type string -s /apps/osso/xterm/keys '[Tab,Escape,Page_Up,Page_Down,bar,bracketleft,bracketright,braceleft,braceright,grave]'
- gconftool-2 --type list --list-type string -s /apps/osso/xterm/key_labels '[Tab,Esc,PgUp,PgDn,|,[,\],{,},`]'
- Create /root/mount-mmc3.sh (nano /root/mount-mmc3.sh ; chmod 700 /root/mount-mmc3.sh)
#!/bin/sh
insmod /mnt/initfs/lib/modules/$(uname -r)/mbcache.ko
insmod /mnt/initfs/lib/modules/$(uname -r)/jbd.ko
insmod /mnt/initfs/lib/modules/$(uname -r)/ext3.ko
mount /dev/mmcblk0p2 /media/mmc3
- Create /root/start-syslog.sh (nano /root/start-syslog.sh ; chmod 700 /root/start-syslog.sh)
#!/bin/sh
update-rc.d klogd defaults 11 89
update-rc.d sysklogd defaults 10 90
-
- Partition SD card and format DOS partition
umount /media/mmc2
sfdisk /dev/mmcblk0 << EOF
1,30720,6
30721,,
EOF
mkdosfs /dev/mmcblk0p1
shutdown -r now
- The 30720 is the number of 32k blocks in the partition and the 30721 should be one greater.
Multiply the 30720 by the number of GB you want the DOS partition to hold and set the 30721 as one greater.
- Remove the '1,30720,6' line and change the line following it to '1,,' if you don't want a DOS partition
- Change '6' to 'c' if DOS partition is larger than 2G (and change the mkdosfs command to mkfs.vfat)
- The two blank lines are important, don't leave them out
- Format Linux partition (after device reboots)
mke2fs /dev/mmcblk0p2
tune2fs -j /dev/mmcblk0p2
shutdown -r now
-
- Download tools
mkdir /root/bin
cd /root/bin
wget http://www.nmacleod.com/nokia/bin/nupgrade.sh
wget http://www.nmacleod.com/nokia/bin/tar
# OR
wget http://maemo.qzx.com/files/nupgrade.sh
wget http://maemo.qzx.com/files/tar
chmod +x nupgrade.sh tar
- Download bootmenu
cd /root/bin
wget http://fanoush.wz.cz/maemo/initfs_flasher.tgz
# OR
wget http://maemo.qzx.com/files/initfs_flasher.tgz
tar zxvf initfs_flasher.tgz
cd /root/bin/initfs_flasher/
nano bootmenu.sh
- Install bootmenu
-- answer no to backup, remove unneeded stuff, telnet and ssh
./initfs_flash
- Set default boot partition
chroot /mnt/initfs cal-tool --set-root-device ask:immc2
-
- Mount the Linux partition on SD card
mkdir /media/mmc3
/root/mount-mmc3.sh
- Clone flash partition to SD card
cd /root/bin
./nupgrade.sh 0
./nupgrade.sh 1
./nupgrade.sh 2
mkdir /home/user/bin
cp tar /home/user/bin/
./nupgrade.sh 3
./nupgrade.sh 4
reboot
Finished
- Install klogd and sysklogd after booting in the SD partition
- If the SD partition won't be boot you can boot into the flash partition and run /root/mount-mmc3.sh to mount the SD partition and go to /media/mmc3
to access its files. You can also run /root/mount-mmc3.sh ; chroot /media/mmc3 to mount and switch to the SD, and run /root/start-syslog.sh to start
syslog on the SD partition and then press ctrl-d to exit the SD partition and then reboot to the SD partition. After the SD partition crashes again you can boot back
into the flash partition mount the SD cart with /root/mount-mmc3.sh and view the log file at /media/mmc3/var/log/syslog.