ReferencePlatforms/Imaging/Nokia N900

From MozillaWiki
Jump to navigation Jump to search

Imaging

From the N900 Imaging machine, run

cd ~/n900-imaging
sudo ./flash.py

and follow the on screen directions. The flashing process takes two and a half minutes once the device is recognized by the script.

Sample Output

$ sudo ./flash.py 
Password:
Plug in n900 in firmware update mode
================================================================================
  1) remove battery
  2) plug in MicroUSB cable
  3) press and hold "u" on N900 keyboard
  4) insert battery
Waiting to remove N900s in the wrong mode.... Done!
Waiting for an N900 in the right mode............................. Done!
Flashing: "RX-51_2009SE_10.2010.19-1.002_PR_COMBINED_002_ARM.bin"
==================================0----------------
Flashing: "moz-n900-v1.6.ubi"
=========0-----------------------------------------
Flashing: "RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin"
========================================0----------
Done! Unplug device
................ Done!
Unplug device, reseat the battery, wait for the screen to go dark then
press the power button.  When the device has turned on, press the 'save' button
on the first run wizard
launch the terminal and run 'sudo initialize <num>' where <num> is the number
from the hostname.  Example: n900-001 would use 001

Machine Setup

THIS SECTION IS FOR SETTING UP A NEW IMAGING MACHINE The rest of the document is not applicable for flashing.

To make this go quicker, you can set up your MacBook (or any mac) to be a flashing computer.

Start by setting up the required Mozilla written tools

cd ~ #or wherever you want to work from
hg clone http://hg.mozilla.org/build/tools
ln -s tools/buildfarm/mobile/n900-imaging

At this point you need to obtain the following files:

  • moz-n900-vNN.ubi - mozilla custom firmware
  • RX-51_2009SE_1.2009.41-1.VANILLA_PR_EMMC_MR0_ARM.bin
  • RX-51_2009SE_2.2009.51-1_PR_COMBINED_MR0_ARM.bin

The easiest way is to run

scp maemo@mobile-image02.build.mozilla.org:n900-imaging/moz-n900-*.ubi .
scp maemo@mobile-image02.build.mozilla.org:n900-imaging/RX-51*.bin .

Finally, you need the Mac OS X version of the flasher-3.5 program. Download 'maemo_flasher-3.5_2.5.2.2_i386.dmg' from here(live link doesn't work). Next you will need to obtain.