Re: [Hx4700-port] how to backup before kernel upgrade?
On Sun, 08 Apr 2007 10:07:30 +0400, kmeaw wrote: ... hx4700 has two physically seperate FlashROM chips (each of 64Mb), so you have 128Mb FlashROM total. OK, I was misled by http://www.handhelds.org/moin/moin.cgi/HpIpaqH4100Hardware which says ( mentions hx4700) ... H4xxx Quickspecs ... * HTC chip (HTC 30H88028-00 2226560XB101 JAPAN 0320EAI F0103ZAF) - Asic3 * Flash: M-Systems MD3831-D32-V3-X (DiskOnChip Millennium Plus 32MB / Mobile DiskOnChip Plus 32MB) - NAND * Memory: Samsung 2 banks of 256Mbit (65MB total)K4S561633C-RL(N) ... Is that wrong for the hx4700, or is the extra 64 MB in the HTC chip? WinCE needs ~50Mb for its kernel, services, drivers and applications, so there is ~80Mb available to user. Linux allows user to make use of 80478208+50331648=130,809,856 bytes of FlashROM. You can use /dev/mtdblock3 for anything you want. ... Yay. Thanks, much enlightened, Brian Keck ___ Hx4700-port mailing list Hx4700-port@handhelds.org https://www.handhelds.org/mailman/listinfo/hx4700-port
Re: [Hx4700-port] how to backup before kernel upgrade?
On Tue, 03 Apr 2007 19:56:14 EST, Travis Stratman wrote: 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. [good advice] [more good advice] As advised, I just reflashed the bitbaked kernel, it's working. I left /lib/modules/2.6.15-hh2 unchanged ... 802.11b still works so I guess that was OK ... or was I just lucky (so far ...)? I'm still puzzled about what's going on ... apologies in advance for testing the list's patience ... Is /boot/zImage-2.6.15-hh2 redundant ... could I delete it? /proc/mtd converted to decimal says dev name size -- -- mtd0 bootloader 1,048,576 mtd1 kernel 2,097,152 mtd2 root80,478,208 mtd3 home50,331,648 mtd4 asset 262,144 The boot kernel root contents are clear (especially since the 80 MB 'root' exactly matches 'df /' the HP spec saying '80MB user-accessible flash'). What is the 50 MB in 'home'? ... is that HP/Compaq/DEC proprietary code seen by linux as essentially part of the hardware? Anyway, thanks for the help, Brian Keck ___ Hx4700-port mailing list Hx4700-port@handhelds.org https://www.handhelds.org/mailman/listinfo/hx4700-port
Re: [Hx4700-port] how to backup before kernel upgrade?
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? Or is the problem that you can't overwrite /boot/zImage-2.6.15-hh2 while it's running? I notice in one of your earlier posts you mention internal flash having 6 partitions with the kernel, rootfs, homefs on separate partitions. All 3 of these seem to be in the same linux partition on my 4700 ... Filesystem 1k-blocks Used Available Use% Mounted on /dev/mtdblock2 78592 45940 32652 58% / tmpfs10240 384 9856 4% /dev /dev/mmcblk0p1 983672 95664838040 10% /media/card tmpfs3121672 31144 0% /var tmpfs3121644 31172 0% /media/ram /dev/hda1 1950040 96352 1754632 5% /media/cf Does /dev/mtdblock2 somehow stitch the 3 flash partitions into 1 linux partition? If you don't want your kernel to be updated, But I do, that's exactly what I want (the navpoint patch is in there). ... Thanks for the advice about recovering, but more for waking me up to kernel installs being special. I just found http://sdstrowes.co.uk/amuse/Kernel_compile_on_HP_iPAQ_hx4700.php which is nice detailed. Brian Keck ___ Hx4700-port mailing list Hx4700-port@handhelds.org https://www.handhelds.org/mailman/listinfo/hx4700-port