Author Topic: Non 2.4.20 Kernel Modules  (Read 2962 times)

daemon1

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
Non 2.4.20 Kernel Modules
« on: May 17, 2005, 09:59:21 am »
wondering if anyone has been able to compile ax8817x.o for the z3000?

it seems my new usb ethernet card works only with the above module...

ive set up a development environment on a linux box.... got the c3000 kernel source (2.4.20)

problem is, this module was only added from 2.4.22 onwards....

so how would one go about getting this working on the z? can it handle non 2.4.20 modules and how do you compile 2.4.22 (straight from kernel.org) for arm?

there are many usb ethernet cards that use this chipset, would help a lot of people if we get this going
C3000 - Debian EABI - Kernel 2.6.23 of Angstrom

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Non 2.4.20 Kernel Modules
« Reply #1 on: May 17, 2005, 01:33:55 pm »
Quote
wondering if anyone has been able to compile ax8817x.o for the z3000?

it seems my new usb ethernet card works only with the above module...

ive set up a development environment on a linux box.... got the c3000 kernel source (2.4.20)

problem is, this module was only added from 2.4.22 onwards....

so how would one go about getting this working on the z? can it handle non 2.4.20 modules and how do you compile 2.4.22 (straight from kernel.org) for arm?

there are many usb ethernet cards that use this chipset, would help a lot of people if we get this going
[div align=\"right\"][a href=\"index.php?act=findpost&pid=80191\"][{POST_SNAPBACK}][/a][/div]

This largely depends upon the Kernel features that the driver is dependent upon.

Typically what you would need to do if the driver is available as a patch is apply the patch to a kernel source tree. Correct all the .rej files where the patch didn't apply (manually) this would normally add the build options too. Then build the modules.

If you are talking about something thats in the stock 2.4.22 Kernel then you need to identify all source files that relate to that driver, copy them into the 2.4.20 source and add the build options both to the Makefiles and the config options.

Either way, if you succeed in doing this the next polite thing to do is diff the source tree against an original to make a 2.4.20 patch for that driver so that all communities writing Kernels for the Z can benefit.

- Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

daemon1

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
Non 2.4.20 Kernel Modules
« Reply #2 on: May 18, 2005, 01:04:12 am »
Quote
Quote
wondering if anyone has been able to compile ax8817x.o for the z3000?

it seems my new usb ethernet card works only with the above module...

ive set up a development environment on a linux box.... got the c3000 kernel source (2.4.20)

problem is, this module was only added from 2.4.22 onwards....

so how would one go about getting this working on the z? can it handle non 2.4.20 modules and how do you compile 2.4.22 (straight from kernel.org) for arm?

there are many usb ethernet cards that use this chipset, would help a lot of people if we get this going
[div align=\"right\"][a href=\"index.php?act=findpost&pid=80191\"][{POST_SNAPBACK}][/a][/div]

This largely depends upon the Kernel features that the driver is dependent upon.

Typically what you would need to do if the driver is available as a patch is apply the patch to a kernel source tree. Correct all the .rej files where the patch didn't apply (manually) this would normally add the build options too. Then build the modules.

If you are talking about something thats in the stock 2.4.22 Kernel then you need to identify all source files that relate to that driver, copy them into the 2.4.20 source and add the build options both to the Makefiles and the config options.

Either way, if you succeed in doing this the next polite thing to do is diff the source tree against an original to make a 2.4.20 patch for that driver so that all communities writing Kernels for the Z can benefit.

- Andy
[div align=\"right\"][a href=\"index.php?act=findpost&pid=80223\"][{POST_SNAPBACK}][/a][/div]

Thanks Andy, its what I thought... unfortunately i am lacking the free time needed to do this fun little hack, so my need to get on the network outweighed this.... so I took it back and got a new usb ethernet card using the realtek rtl1850-l chipset... works a treat!
C3000 - Debian EABI - Kernel 2.6.23 of Angstrom

bcom75

  • Newbie
  • *
  • Posts: 43
    • View Profile
Non 2.4.20 Kernel Modules
« Reply #3 on: May 18, 2005, 11:46:57 am »
Quote
Quote
Quote
wondering if anyone has been able to compile ax8817x.o for the z3000?

it seems my new usb ethernet card works only with the above module...

ive set up a development environment on a linux box.... got the c3000 kernel source (2.4.20)

problem is, this module was only added from 2.4.22 onwards....

so how would one go about getting this working on the z? can it handle non 2.4.20 modules and how do you compile 2.4.22 (straight from kernel.org) for arm?

there are many usb ethernet cards that use this chipset, would help a lot of people if we get this going
[div align=\"right\"][a href=\"index.php?act=findpost&pid=80191\"][{POST_SNAPBACK}][/a][/div]

This largely depends upon the Kernel features that the driver is dependent upon.

Typically what you would need to do if the driver is available as a patch is apply the patch to a kernel source tree. Correct all the .rej files where the patch didn't apply (manually) this would normally add the build options too. Then build the modules.

If you are talking about something thats in the stock 2.4.22 Kernel then you need to identify all source files that relate to that driver, copy them into the 2.4.20 source and add the build options both to the Makefiles and the config options.

Either way, if you succeed in doing this the next polite thing to do is diff the source tree against an original to make a 2.4.20 patch for that driver so that all communities writing Kernels for the Z can benefit.

- Andy
[div align=\"right\"][a href=\"index.php?act=findpost&pid=80223\"][{POST_SNAPBACK}][/a][/div]

Thanks Andy, its what I thought... unfortunately i am lacking the free time needed to do this fun little hack, so my need to get on the network outweighed this.... so I took it back and got a new usb ethernet card using the realtek rtl1850-l chipset... works a treat!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=80289\"][{POST_SNAPBACK}][/a][/div]
just wanted to bump the argument,. since I have a USB card that requires the ax8817x.o module - can anyone point me out to a quick way of compiling it for my C3000? can it be compiled straight on the Z, if so, what is the best way of doing so? thanks!

daemon1

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
Non 2.4.20 Kernel Modules
« Reply #4 on: May 19, 2005, 02:43:42 am »
Quote
Quote
Quote
Quote
wondering if anyone has been able to compile ax8817x.o for the z3000? ...

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

This largely depends upon the Kernel features that the driver is dependent upon.

Typically what you would need to do if the driver is available as a patch is apply the patch to a kernel source tree. Correct all the .rej files where the patch didn't apply (manually) this would normally add the build options too. Then build the modules.

If you are talking about something thats in the stock 2.4.22 Kernel then you need to identify all source files that relate to that driver, copy them into the 2.4.20 source and add the build options both to the Makefiles and the config options.

Either way, if you succeed in doing this the next polite thing to do is diff the source tree against an original to make a 2.4.20 patch for that driver so that all communities writing Kernels for the Z can benefit.

- Andy
[div align=\"right\"][a href=\"index.php?act=findpost&pid=80223\"][{POST_SNAPBACK}][/a][/div]

Thanks Andy, its what I thought... unfortunately i am lacking the free time needed to do this fun little hack, so my need to get on the network outweighed this.... so I took it back and got a new usb ethernet card using the realtek rtl1850-l chipset... works a treat!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=80289\"][{POST_SNAPBACK}][/a][/div]
just wanted to bump the argument,. since I have a USB card that requires the ax8817x.o module - can anyone point me out to a quick way of compiling it for my C3000? can it be compiled straight on the Z, if so, what is the best way of doing so? thanks!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=80367\"][{POST_SNAPBACK}][/a][/div]

as it was stated you would have to:

"If you are talking about something thats in the stock 2.4.22 Kernel then you need to identify all source files that relate to that driver, copy them into the 2.4.20 source and add the build options both to the Makefiles and the config options."

Its best to set up the development environment on a separate linux box, grab the c3000 2.4.20 kernel and the linux 2.4.22 kernel... then add the ax8817x code and backage from 2.4.22 to 2.4.20 and make modules as normal.

Some guides on the net on how to compile and add different kernel modules to older kernels in general linux kernel compiling can be of help.
C3000 - Debian EABI - Kernel 2.6.23 of Angstrom