ReferencePlatforms/Imaging/Nokia N810: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 75: | Line 75: | ||
maemo-n810-ref:~# reboot; exit | maemo-n810-ref:~# reboot; exit | ||
==Changing buildbot masters | ==If something goes wrong== | ||
*unplug usb hub from usb cable and power | |||
*reboot computer | |||
*start from scratch | |||
=Changing buildbot masters= | |||
It's a good idea to let the device run for a while on staging to make sure it is green a majority of the time (compare with production runs). | It's a good idea to let the device run for a while on staging to make sure it is green a majority of the time (compare with production runs). | ||
Line 89: | Line 94: | ||
buildmaster_host = 'production-mobile-master.mv.mozilla.com' | buildmaster_host = 'production-mobile-master.mv.mozilla.com' | ||
port=9010 | port=9010 | ||
Revision as of 22:55, 22 October 2009
ReImaging an n810 - A Two Step Process
If you would like to know more about how the process was developed you can read more here
Step 1: 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
Step 2: 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 reboot, and important to use "exit" to avoid hanging terminal on imaging machine maemo-n810-ref:~# reboot; exit
If something goes wrong
- unplug usb hub from usb cable and power
- reboot computer
- start from scratch
Changing buildbot masters
It's a good idea to let the device run for a while on staging to make sure it is green a majority of the time (compare with production runs).
If you want to move it from staging-mobile-master:9010 to production-mobile-master:9010, do the following:
[root@maemo-flashing production-sd]# ssh root@maemo-n810-XX maemo-n810-ref:~# cd /builds/buildbot # change the buildmaster_host and port to production-mobile-master:9010 maemo-n810-ref:~# vi host.py maemo-n810-ref:~# cat host.py buildmaster_host = 'production-mobile-master.mv.mozilla.com' port=9010