[2008.X] Flashing the kernel live

Tore Martin Hagen thagen at slb.com
Thu Sep 25 08:57:34 CEST 2008

Sarton O'Brien wrote:
> On Wednesday 24 September 2008 19:05:45 Kelvie Wong wrote:
>> I was just wondering, is there a way to flash the kernel live (i.e. with
>> the software still running)?  Is the boot partition (it's on the NAND Flash
>> somewhere) something I can just mount and override a file?  Or do I have to
>> use dd?  Or is there some trickery I can do with dfu-util?
> opkg upgrade manages this so I'd say you could ... using a tool like mtd or
> such, I really don't how, just that it does :)
I don't have my phone right here, but you can do a
  cat /proc/mtd
and it will list out which mtd partition that contains the kernel. Then 
you do
  flasheraseall /dev/mtdX
  cat yourUimage.bin >  /dev/mtdX

And thats it


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20080925/56661056/attachment.htm 

More information about the community mailing list