[2008.X] Flashing the kernel live
openmoko at mazikeen.demon.co.uk
Thu Sep 25 16:29:23 CEST 2008
On Thursday 25 September 2008, Nicola Mfb wrote:
> On Thu, Sep 25, 2008 at 2:24 PM, Jose Luis Perez Diez <
> jluis at escomposlinux.org> wrote:
> > El Thursday, 25 de September de 2008 12:10:10 roguemoko at roguewrt.org va
> > escriure:
> > > > Does opkg recognize if the system was booted from flash or from the
> > > > sd card before update the kernel?
> > >
> > > Not to my knowledge, I make sure to rm /etc/default/flashkernel before
> > > an opkg upgrade. It's autocreated after the upgrade so there's probably
> > > a flag somewhere, I really should find it :)
> > When the file isn't found the install process "touch"
> > /etc/default/flashkernel creating the file.
> > There is a best hack for it from Stefano Cavallari posted in this list
> > (http://lists.openmoko.org/nabble.html#nabble-td832513) is better way
> > just do:
> > rm /etc/default/flashkernel
> > mkdir /etc/default/flashkernel
> Ok this will prevent that if opkg is launched form a system booted on the
> SD it will not flash the kernel, leaving the flash os ok, but is the SD
> upgrade safe? or may the upgraded modules not match the SD kernel image?
It should upgrade the kernel in /boot but leave the one in mtd alone. Since
opkg is doing the update it should take care of upgrading the modules to
match the kernel. I'm going to be trying just that this afternoon to see if
Andy's kernel update has fixed my SD issues, so I'll let you know how it
More information about the community