View Single Post
Posts: 362 | Thanked: 426 times | Joined on Nov 2010 @ Italy, Lombardia
#1102
Originally Posted by Estel View Post
It was proposed many times ago, and it's not straightforward - indeed would need scavenging flashing code from multiboot.
On Multiboot's package there is a script for flashing the kernel that can be used standalone.
The code of this script is simple and it is:
Code:
#!/bin/sh

export PATH=/usr/sbin:/usr/bin:/sbin:/bin

initctl stop softupd

ifconfig lo 127.0.0.1 netmask 255.0.0.0 up

softupd --local --verbose --stdout --standalone &
pid=$!

flasher --local -f -k $1

sleep 1
kill $pid

echo "Finished flashing."
Strangely multiboot main script does not use this script but the code are embedded on main script too.

I suppose that if N900 was booted (i.e. by u-boot) from an initrd (so Maemo's nand and eMMC are not mounted) it would be possible to flash a full fiasco image (like a flash from usb by pc) and not only a kernel.

Last edited by Fabry; 2012-08-04 at 16:14.
 

The Following 5 Users Say Thank You to Fabry For This Useful Post: