ReferencePlatforms/Imaging/Nokia N810

Monkey See, Monkey Do

How monkey will prepare device

  • Remove all batteries and leave them out
  • Remove all SD cards, separate cards+adapters into two bowls
  • Log in as maemo/maemo
  • Start a terminal window
  • run:
su - #password will be on front of machine
cd /flashing-hg/production-sd/

for n810 in dead_pile:

./moz-prep.sh
...
Suitable USB device not found, waiting
  • plug in USB in n810 (USB logo is facing up)
  • replace battery and casing
  • plug in Charger
  • verify that small USB logo is displayed in top right corner of n810
  • on terminal display, wait for "The device root device is now 'mmc'"
  • unplug USB and power
  • watch device display debug info and then power itself off


How monkey will clone sd card

  • verify no MicroSD cards are in USB hub's card readers
  • plug USB cable and power cable into USB hub
  • insert MicroSD Cards into card readers
  • Verify that you are in '/flashing-hg/production-sd/' as root
    • if not run:
$ su - #password will be on front of machine
# cd /flashing-hg/production-sd/
# ./bulk-image.sh 
Please specify devices from this list
/dev/sde1
/dev/sdh1
/dev/sdd1
/dev/sdf1
/dev/sdg1
/dev/sdc1
BULK IMAGING COMPLETED
# ./bulk-image.sh e h d f g c 
NEVER CHOOSE a or /dev/sda
wait approx 6-14minutes
...
All done on /dev/sde
All done on /dev/sdh
All done on /dev/sdd
All done on /dev/sdg
All done on /dev/sdc
All done on /dev/sdf
BULK IMAGING COMPLETED
  • remove sd cards
  • unplug usb hub power and usb cable (they get hot)
  • put card into holder, and holder into n810
  • switch on n810, wait for it to obtain wireless IP address
  • on imaging machine terminal, do
[root@maemo-flashing production-sd]# ssh root@maemo-n810-15
The authenticity of host 'maemo-n810-15 (10.250.48.106)' can't be established.
RSA key fingerprint is 3b:d5:43:79:6f:c0:af:6a:e3:44:55:17:79:85:59:54.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'maemo-n810-15,10.250.48.106' (RSA) to the list of known hosts.
root@maemo-n810-15's password: 
BusyBox v1.6.1 (2008-09-18 09:43:17 EEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
maemo-n810-ref:~# pwd
/root
maemo-n810-ref:~# echo maemo-n810-15 > /etc/hostname
maemo-n810-ref:~# cat /etc/hostname
maemo-n810-15
# verify there is no file called /builds/standalone.txt
maemo-n810-ref:~# rm /builds/standalone.txt
rm: cannot remove '/builds/standalone.txt': No such file or directory
maemo-n810-ref:~# 


If something goes wrong

  • unplug usb hub from usb cable and power
  • reboot computer
  • start from scratch


Background Info on Imaging Process