ReferencePlatforms/mobile-imaging-linux
Install OS
I installed Debian 5 stable. The ethernet driver in debian package does not work for the intel gb card. I used a usb nic that is compatible out of the box.
I ran through the default options, setting timezone as appropriate. I selected Guided Partitioning -> Use Entire Disk -> All File in One Partition. When asked which software I wished to install, I selected only 'Standard system utilites'
The following assumes a user account 'root' and 'maemo'. 'maemo' is a user account
To get the built in ethernet to work, I downloaded the newest e1000e driver
wget http://downloadmirror.intel.com/15817/eng/e1000e-1.1.19.tar.gz tar zxf e1000e-1.1.19.tar.gz cd e1000e-1.1.19/src make su -c 'make install' reboot
I would prefer the onboard chip to be eth0 and forget the usb ethernet adapter. I opened /etc/udev/rules.d/70-persistent-net.rules and deleted the line for the USB device and changed the PCI device to be NAME="eth1"
Configure the network card (reference). I used
cat >> /etc/network/interfaces << E auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp
Setup OS
su - apt-get update apt-get upgrade apt-get install sudo mercurial build-essential mtd-utils linux-headers-`uname -r` openssh-server parted visudo #add the line %sudo ALL=(ALL) NOPASSWD: ALL gpasswd -a maemo sudo
Setup Mozilla Environment
hg clone http://hg.mozilla.org/build/tools ln -s tools/buildfarm/mobile/n810-imaging ln -s tools/buildfarm/mobile/n900-imaging cd n810-imaging mkdir empty echo 'USE AN SD CARD' > empty/INFO mkfs.jffs2 -r empty -o empty.jffs2 -e 128 rm -rf empty wget http://samba.anu.edu.au/ftp/rsync/src/rsync-2.6.9.tar.gz tar zxf rsync-2.6.9.tar.gz cd rsync-2.6.9 ./configure --disable-debug --prefix=/home/maemo make -j4 make install sudo cp ~/bin/rsync /usr/bin/rsync2 #obtain appropriate nokia flasher and RX-44 stock image #you only need one of the flasher* programs, the one for your system. #the static one is useful if you have libraries missing openssl sha1 RX-44_DIABLO_5.2008.43-7_PR_COMBINED_MR0_ARM.bin flasher-3.0* flasher-2.0.macosx #SHA1(RX-44_DIABLO_5.2008.43-7_PR_COMBINED_MR0_ARM.bin)= 5464ae20a17afdbd59633f3d36a2e63281fcd106 #SHA1(flasher-3.0)= e4e3b0b791dca7bc91c710fc3702f4d72f904e7a #SHA1(flasher-3.0-static)= d28b5597649a3ae40579d50f651c5d73afee19f9 #SHA1(flasher-3.0.amd64)= c56f71b69acd8ed0c19757451e14ba4a59645c5f #SHA1(flasher-2.0.macosx)= 484bb141dad18ea68f7618c4f07f549311caf9b5
IMPORTANT Newer kernels do not work properly when flashing the N810 firmware (flasher-3.0*). It is very important that you do not upgrade the kernel on the imaging machine.
old doc below
OS Install
There aren't too many specifics for the operating system that is installed.
- Install Fedora 12 32bit
- select defauts for language options (English, US...)
- when partitioning select 'Use entire disk'
- when selecting software:
- untick 'Office and Productivity'
- tick 'Software Development'
- set root password appropriately
First Run
Set up time synchronizing as desired, create a user:
- Full Name: Maemo Flashing
- User Name: maemo
- Password :
and send hardware profile.
If your network connection doesn't connect automatically, right click computers with red box/white x and select 'edit connections'. select System eth0 and click edit -> tick connect automatically -> authenticate as root
Setup Mozilla Environment
hg clone http://hg.mozilla.org/build/tools ln -s tools/buildfarm/mobile/n810-imaging ln -s tools/buildfarm/mobile/n900-imaging wget http://samba.anu.edu.au/ftp/rsync/src/rsync-2.6.9.tar.gz tar zxf rsync-2.6.9.tar.gz cd rsync-2.6.9 ./configure --disable-debug --prefix=/home/maemo make -j4 make install cp ~/bin/rsync /usr/bin/rsync2 sed -i -e 's/^SELINUX=.*$/SELINUX=disabled/' /etc/selinux/config #obtain appropriate nokia flasher