Author Topic: Is There A Way To Flash The Kernel Only ?  (Read 2638 times)

dansawyer

  • Sr. Member
  • ****
  • Posts: 293
    • View Profile
    • http://
Is There A Way To Flash The Kernel Only ?
« on: July 07, 2005, 11:44:44 pm »
All,

I would like to flash the kernel only. Is there a way to do this?

Will it destroy any of the in place configuration?

How are kernel size differences handled?

Thanks,
Dan

Storm

  • Full Member
  • ***
  • Posts: 156
    • View Profile
    • http://
Is There A Way To Flash The Kernel Only ?
« Reply #1 on: July 08, 2005, 12:16:36 am »
Quote
All,

I would like to flash the kernel only. Is there a way to do this?

Will it destroy any of the in place configuration?

How are kernel size differences handled?

Thanks,
Dan
[div align=\"right\"][a href=\"index.php?act=findpost&pid=87475\"][{POST_SNAPBACK}][/a][/div]

Dan,

If you place only the zImage file on the CF card, nothing else will be affected when you flash. The filesystem is contained in the initrd.bin. Flashing zImage only will not affect any of your installed files. I flashed r21 on my 5500, had problems with it and flashed back to the original 3.5.3 kernel without loss.

--Storm
Zaurus SL-5500/Hentges OZ 3.5.4.1
Ambicom WL1100-CF wireless card
Desktop: Debian/GNU Linux (unstable)

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Is There A Way To Flash The Kernel Only ?
« Reply #2 on: July 08, 2005, 07:03:27 am »
Quote
If you place only the zImage file on the CF card

Obviously if you have anything other than a 5500/5000D (collie), you'll want to check the naming of zImage(.bin) and also place the updater.sh file on the CF card.

As long as you don't have an initrd.bin on the CF card, it won't flash the filesystem,


Si

P.S. Do check that the kernel versions are the same (`uname -r`) otherwise, although the kernel will flash, it won't have any modules available (unless you install them before flashing).

P.P.S. Afaiu the kernel is contained in a seperate part of the flash.
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Jinidog

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://www.st-legacy.de.vu
Is There A Way To Flash The Kernel Only ?
« Reply #3 on: July 14, 2005, 05:37:10 am »
For me on a poodle after flashing the kernel only, the device does not boot anymore.
I have to flash the filesystem too for making it working again.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Is There A Way To Flash The Kernel Only ?
« Reply #4 on: July 14, 2005, 07:59:48 am »
Thast's odd - did the version change? `uname -r`

Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Greg2

  • Hero Member
  • *****
  • Posts: 790
    • View Profile
    • http://
Is There A Way To Flash The Kernel Only ?
« Reply #5 on: July 14, 2005, 09:02:34 am »
Quote
For me on a poodle after flashing the kernel only, the device does not boot anymore.
Did you rename the kernel zimage.bin and include the updater.sh when you flashed, as lardman explained in the previous post?

Greg