|
#1
|
|||
|
|
|||
|
hello @ all^^
I've got a strange problem with compiling a kernel.module for my usb-ethernet-adapter The reason for compiling the module is that my n800 freezes (when using the usbLAN.deb) when I plug-in the usb-ethernet-adapter and when i plug it out my n800 runs normaly after a little time... so I started with installing scratchbox unter my Ubuntu Hardy Heron and used the scripts: # SDK installer script # Scratchbox Installer script from http://maemo.org/development/sdks/ma...inook_sdk.html then I used this howto: http://maemo.org/development/documen...for_maemo.html (by penguinbait [thanks again]) but I keep on the target: Code:
[sbox-CHINOOK_ARMEL: ~] > and everything works fine... after this "preliminary work" I used the readme from the *.zip-package of the driver: http://www.asix.com.tw/download.php?...ail&PItemID=86 Code:
================ Getting Start ================ 1. Copy ax88178-2.6.14 directory to your template directory because i didn't found the "/tmp/"-folder in sb... Code:
2. Now, you should have a ax88178-2.6.14 directory in your template directory. Go to the ax88178-2.6.14 directory, and executing the following command to compiler AX88178 Driver. [root@localhost ax88178-2.6.14]# make Code:
[sbox-CHINOOK_ARMEL: ~] > cd ~/AX88772_772A_LINUX2.6.14_REV105 Code:
[sbox-CHINOOK_ARMEL: ~/AX88772_772A_LINUX2.6.14_REV105] > make make -C /lib/modules/2.6.24-17-generic/build SUBDIRS=/home/thopiekar/AX88772_772A_LINUX2.6.14_REV105 modules make: *** /lib/modules/2.6.24-17-generic/build: No such file or directory. Stop. make: *** [default] Error 2 Code:
... No such file or directory. ... so I searched for an fix and found the option -C in "man make"... I checked it out and it seems to work... Code:
[sbox-CHINOOK_ARMEL: ~/AX88772_772A_LINUX2.6.14_REV105] > make -C ~/maemo_kernel/kernel-source-rx-34-2.6.21.0 make: Entering directory `/home/thopiekar/maemo_kernel/kernel-source-rx-34-2.6.21.0' CHK include/linux/version.h make[1]: `include/asm-arm/mach-types.h' is up to date. CHK include/linux/utsrelease.h CHK include/linux/compile.h MODPOST vmlinux Kernel: arch/arm/boot/Image is ready Kernel: arch/arm/boot/zImage is ready Building modules, stage 2. MODPOST 10 modules make: Leaving directory `/home/thopiekar/maemo_kernel/kernel-source-rx-34-2.6.21.0' but the manual says there might be... Code:
3. If the compilation well, the asix.ko will be created under the current directory. ... and I now, that you have the knowledge^^ greez |
|
#2
|
||||
|
||||
|
Come on IRC and give me time, I'll go and compile it.
|
| The Following User Says Thank You to qwerty12 For This Useful Post: | ||
|
#3
|
||||
|
||||
|
Ok, done.
![]() Remove the .zip extension. The asix.ko file is inside the tar.gz Compiled against standard nokia kernel. |
![]() |
|
|