Hi Brian,

On Wed, 2007-04-04 at 03:05 +1000, Brian Keck wrote:
> On Tue, 03 Apr 2007 17:35:01 +0400, kmeaw wrote:
> >Brian Keck :
> >> ...
> >> I've installed the familiar-build OE setup, added the navpoint.c patch
> >> posted recently, done 'bitbake handhelds-pxa-2.6', & run
> >> ipkg-make-index.
> >>
> >> I haven't yet done 'ipkg install kernel-image-2.6', because I'm a bit
> >> nervous, knowing that it will overwrite the existing zImage-2.6.15-hh2 &
> >> /lib/modules/2.6.15-hh2 (I bumped the version from r2 to r3).
> >> ...
> >
> >ipkg does not update the kernel, it could only be updated using SDG
> >bootldr's integrated flash utility. /boot/zImage file has nothing to do
> >with real kernel image.
> 
> Sorry to be dense, but /boot/zImage-2.6.15-hh2 is 1.2 MB ... surely
> that's the linux kernel???  It seems (from df) to be on the same
> partition as the rest of the rootfs ... is this an illusion?
> 

When the hx4700 boots up, the flash is partitioned into several
partitions (bootloader, kernel, rootfs, home, asset).  Do
"cat /proc/mtd" to see what I mean and what addresses all of these are
at.  The hx4700 image from 0.8.4 doesn't contain the "home" image.  It
is part of the rootfs that you flashed.

Anyhow, to install a new kernel, you need to put the
new /lib/modules/2.6.15-hh2 directory on the device. I would back up the
old modules using something like 
"tar czvf /media/cf/2.6.15-hh2_mods.tgz /lib/modules/2.6.15-hh2" (or
wherever you want to put it).

Then put the new modules on it and use the bootloader to reflash the
kernel image (put the zImage on the CF card and edit the reflash.ctl
file).  Then reflash the new kernel image like you did when installing
familiar to begin with.  There are other ways to do this, but it has
worked well for me in the past.  

Follow the directions here if you want to make a backup of your entire
filesystem. http://handhelds.org/moin/moin.cgi/FamiliarBackupHowto

TAS



_______________________________________________
Hx4700-port mailing list
Hx4700-port@handhelds.org
https://www.handhelds.org/mailman/listinfo/hx4700-port

Reply via email to