[maemo-developers] [maemo-developers] A way to create my own flashable binaries
From: Philip Van Hoof spam at pvanhoof.beDate: Sun Jan 8 22:21:14 EET 2006
- Previous message: [maemo-developers] fullscreen
- Next message: [maemo-developers] Integration with the backup tool
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi there, For a customer I'd like a way to create my own binaries which I can use to flash a Nokia 770. The reason is that this would make it more easy to do large deployments. I was thinking like this: mount -o loop -t nokia Nokia_770_$x.bin /mnt mv /mnt/bin/sh /mnt/bin/sh.recoverme cp /bin/sh /mnt/bin/sh cp /usr/bin/dpkg /mnt/usr/bin/dkpg.x86 cp mystuff.deb /mnt/ chroot /mnt cd / dpkg.x86 -i mystuff.deb exit cp /mnt/bin/sh.recoverme /mnt/bin/sh umount /mnt for a in *.devices do DEVNAME=`cat $a | grep DENAME | cut -d "=" -f 1` echo "Attach the next device ($DEVNAME) please" read flasher -F Nokia_770_$x.bin -f -R flasher --set-device-name $DEVNAME --reboot done -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be
- Previous message: [maemo-developers] fullscreen
- Next message: [maemo-developers] Integration with the backup tool
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]