ReferencePlatforms/Imaging/Nokia N810
Version 1
This is an interim solution while the booting off memory card possibility is fully explored
Requirements
You will need the following things:
- Nokia N810
- Nokia USB Cable
- Nokia Charger
- PC running Linux
- ARM binary of mkfs.jffs2
- available in initfs_flasher.tgz at http://fanoush.wz.cz/maemo/
- Nokia's flasher-3.0 program
- Nokia Official firmware image
- ARM binary of mkfs.jffs2
Creating image
First, set up nokia exactly as desired. Ignore anything on /media/mmc2 as it will need to be recreated per device. Mount the filesystem in an alternate location
mount -t jffs2 /dev/mtdblock4 /opt
Using the arm binary of mkfs.jffs2 create a new jffs2 filesystem image.
mkfs.jffs2 -r /opt -o /media/mmc2/image.jffs2 -e 128 -l -n
all parameters other than the -o shouldn't change. The -o parameter is the location of the output file. I (jhford) usually insert a flash card and use
mkfs.jffs2 -r /opt -o /media/mmc1/image.jffs2 -e 128 -l -n
If you were wondering, the /media/mmc1 is shadowed by the memory card upon insertion. the original folder will still be visible as /opt/media/mmc1
You now have the image. Transfer that to the linux pc.
==
echo "Turn device completely off, remove battery if needed" echo "Plug in USB cable" sudo ./flasher-3.0 --fiasco RX-44*.bin --flash sudo ./flasher-3.0 --rootfs image.jffs2 --flash echo "Plug in Power Cable" echo "Unplug USB Cable" echo "Turn on device"
Flashing automatically
using moz-flash-simple.sh as root:
./moz-flash-simple.sh -r image.jffs2 -f