OESF Portables Forum

Everything Else => Desktop Operating Systems Issues => Zaurus General Forums => Archived Forums => Linux Issues => Topic started by: Allelectrix on June 23, 2008, 07:27:04 pm

Title: Want To Change 2.6.24 Kernel To 2.6.23 Kernel 4 Angstrom C1000
Post by: Allelectrix on June 23, 2008, 07:27:04 pm
Hi to all again,

I would very much like to know how to downgrade an OS Kernel, namely, Kernel 2.6.24 to 2.6.23 in
the Angstrom OS - how would I do this ? what tools do I need ?

Here is my GUESS:

a) open 'System Info' Applet get GCC version there
 install GCC version listed in the Applet (how do I do that ?)
c) Install kernel source code of 2.6.23
d) make zImage
e) load zImage to Card, replacing zImage that came with initrd.bin originally.
f) re flash C1000

Where am I wrong ?

I really need to know exact steps ... Is there a guide somewhere ?

many thanks, Allelectrix
Title: Want To Change 2.6.24 Kernel To 2.6.23 Kernel 4 Angstrom C1000
Post by: Capn_Fish on June 23, 2008, 08:19:35 pm
Is there any reason as to why you would like to do this?

Anyway, set up the OE build environmnet:

http://www.angstrom-distribution.org/building-angstrom (http://www.angstrom-distribution.org/building-angstrom)

build a kernel, copy the modules over, and flash it.

The Angstrom mailing list will probably be of more help.
Title: Want To Change 2.6.24 Kernel To 2.6.23 Kernel 4 Angstrom C1000
Post by: ofels on June 24, 2008, 10:47:54 am
Rather easy...

- Get the appropriate kernel modules from the Angstrom akita feeds (ipkg files) and install them
- download the corresponding kernel image
- rename the downloaded kernel image to zImage.bin
- put the kernel image and the updater.sh script to a FAT formatted CF or SD card
- make sure there is no initrd.bin on the root directory (because that would reflash the entire device)
- reflash the device (again, make sure in advance there is only the zImage.bin and updater.sh on the card, no initrd.bin)

Hope that helps.
Title: Want To Change 2.6.24 Kernel To 2.6.23 Kernel 4 Angstrom C1000
Post by: Allelectrix on June 25, 2008, 07:24:13 pm
Thanks very much to you both for your replies, both are most helpful to this novice, I somehow had a feeling that
leaving out initrd.bin would allow the kernel to be modified, but, I was not sure. Still, you wind up with more
install possibilities if you have an on board Dev system, thanks again, allelectrix
Title: Want To Change 2.6.24 Kernel To 2.6.23 Kernel 4 Angstrom C1000
Post by: Allelectrix on July 12, 2008, 08:25:44 am
Quote from: ofels
Rather easy...

- Get the appropriate kernel modules from the Angstrom akita feeds (ipkg files) and install them
- download the corresponding kernel image
- rename the downloaded kernel image to zImage.bin
- put the kernel image and the updater.sh script to a FAT formatted CF or SD card
- make sure there is no initrd.bin on the root directory (because that would reflash the entire device)
- reflash the device (again, make sure in advance there is only the zImage.bin and updater.sh on the card, no initrd.bin)

Hope that helps.

thanks, yep... that worked all right ! however, does this mean we also need to reinstall matching kernel module versions
of the kernel modules that used to be in the 2.6.24 version so that we dont loose any fuctionality in our downgraded OS ?

I also note that the packagemanager still contains the kernel module names that were formally associated with IPKG
in the former 2.6.24 kernel version of our OS  - I presume that these will need to be removed before we proceed with the
reinstall of the equivalent 2.6.23 kernel modules ?

thanks in advance for replying to this.
Title: Want To Change 2.6.24 Kernel To 2.6.23 Kernel 4 Angstrom C1000
Post by: ofels on July 13, 2008, 05:44:28 am
Quote from: Allelectrix
thanks, yep... that worked all right ! however, does this mean we also need to reinstall matching kernel module versions
of the kernel modules that used to be in the 2.6.24 version so that we dont loose any fuctionality in our downgraded OS ?

I also note that the packagemanager still contains the kernel module names that were formally associated with IPKG
in the former 2.6.24 kernel version of our OS  - I presume that these will need to be removed before we proceed with the
reinstall of the equivalent 2.6.23 kernel modules ?

thanks in advance for replying to this.

Forgot to tell you- you will at least have to install the appropriate kernel modules for that kernel version.
Either unpack the kernel-modules-xxx.tgz archive from the server where you downloaded the kernel  or you use ipk to download the module packages.

The first approach gives you all modules you might ever need without hassles but will leave you without package management capabilities so you will not be able to upgrade the modules while the second one is a bit work as you will have to figure out which packages are needed.

Besides storage space considerations there is no need to remove the 2.6.24 modules as the kernel (more precise: the module management tools) will fetch from the correct module path (usually).

Oliver
Title: Want To Change 2.6.24 Kernel To 2.6.23 Kernel 4 Angstrom C1000
Post by: Allelectrix on August 16, 2008, 01:08:19 pm
Quote
Oliver wrote:

Forgot to tell you- you will at least have to install the appropriate kernel modules for that kernel version.
Either unpack the kernel-modules-xxx.tgz archive from the server where you downloaded the kernel  or you use ipk to download the module packages.

The first approach gives you all modules you might ever need without hassles but will leave you without package management capabilities so you will not be able to upgrade the modules while the second one is a bit work as you will have to figure out which packages are needed.

Besides storage space considerations there is no need to remove the 2.6.24 modules as the kernel (more precise: the module management tools) will fetch from the correct module path (usually).

Oliver

Thanks for your help on this. all the best, Jim