Author Topic: Want To Change 2.6.24 Kernel To 2.6.23 Kernel 4 Angstrom C1000  (Read 8000 times)

Allelectrix

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
    • http://
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
SL-C1000 running PdaXii13
Edimax EW-7318USg rt73 Chipset USB 802.11 g/b Wifi
ASPj Source Code rt73.o 2.4.20 kernel module with monitor + packet injection capability
Aircrack-ng 0.9
Miniature USB 2.0 Hub that attaches to rear of screen comfortably using velcro
2 x 500mA 12v DC - 5v DC Converters powering the USB Hub, WiFi Card and the Computer
12v DC 7Ah Sealed Lead Acid Rechargeable Cell powering the DC to DC Convertors

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Want To Change 2.6.24 Kernel To 2.6.23 Kernel 4 Angstrom C1000
« Reply #1 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

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

The Angstrom mailing list will probably be of more help.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

ofels

  • Full Member
  • ***
  • Posts: 139
    • View Profile
    • http://
Want To Change 2.6.24 Kernel To 2.6.23 Kernel 4 Angstrom C1000
« Reply #2 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.

Allelectrix

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
    • http://
Want To Change 2.6.24 Kernel To 2.6.23 Kernel 4 Angstrom C1000
« Reply #3 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
SL-C1000 running PdaXii13
Edimax EW-7318USg rt73 Chipset USB 802.11 g/b Wifi
ASPj Source Code rt73.o 2.4.20 kernel module with monitor + packet injection capability
Aircrack-ng 0.9
Miniature USB 2.0 Hub that attaches to rear of screen comfortably using velcro
2 x 500mA 12v DC - 5v DC Converters powering the USB Hub, WiFi Card and the Computer
12v DC 7Ah Sealed Lead Acid Rechargeable Cell powering the DC to DC Convertors

Allelectrix

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
    • http://
Want To Change 2.6.24 Kernel To 2.6.23 Kernel 4 Angstrom C1000
« Reply #4 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.
SL-C1000 running PdaXii13
Edimax EW-7318USg rt73 Chipset USB 802.11 g/b Wifi
ASPj Source Code rt73.o 2.4.20 kernel module with monitor + packet injection capability
Aircrack-ng 0.9
Miniature USB 2.0 Hub that attaches to rear of screen comfortably using velcro
2 x 500mA 12v DC - 5v DC Converters powering the USB Hub, WiFi Card and the Computer
12v DC 7Ah Sealed Lead Acid Rechargeable Cell powering the DC to DC Convertors

ofels

  • Full Member
  • ***
  • Posts: 139
    • View Profile
    • http://
Want To Change 2.6.24 Kernel To 2.6.23 Kernel 4 Angstrom C1000
« Reply #5 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

Allelectrix

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
    • http://
Want To Change 2.6.24 Kernel To 2.6.23 Kernel 4 Angstrom C1000
« Reply #6 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
SL-C1000 running PdaXii13
Edimax EW-7318USg rt73 Chipset USB 802.11 g/b Wifi
ASPj Source Code rt73.o 2.4.20 kernel module with monitor + packet injection capability
Aircrack-ng 0.9
Miniature USB 2.0 Hub that attaches to rear of screen comfortably using velcro
2 x 500mA 12v DC - 5v DC Converters powering the USB Hub, WiFi Card and the Computer
12v DC 7Ah Sealed Lead Acid Rechargeable Cell powering the DC to DC Convertors