eyecreate
Member
I've seen lots of threads about compiling custom kernels and a few marginally useful ones in which people were trying to compile their own drivers/modules. Using that knowledge and some experience I've had in the past compiling kernels, I got the driver source from the cd-rom that came with this:
http://www.dealextreme.com/p/usb-10-100-rj45-ethernet-network-adapter-dongle-2797
Problem is trying to insert it with insmod just got me an incompatibility message. Now I need to figure out if the driver is wrong, the way I compiled it was wrong, or the kernel I picked out was wrong. Anybody have some debugging steps to help here?
1. To kernel I got from git.openpandora.org, I make oldconfig && make prepare scripts. I mostly hit enter when it asked for options, hoping the defaults were correct.(may be wrong..I did select one thing non-default...I made sure ti-omap was selected for arm processor.) I had to remove rpath option from ld_flags set by setprj or else the kernel makefile complained.
2. modifed makefile of driver to point to kernel_dir and cross_compile to have the right gcc prefix. Went through and output a .ko.
http://www.dealextreme.com/p/usb-10-100-rj45-ethernet-network-adapter-dongle-2797
Problem is trying to insert it with insmod just got me an incompatibility message. Now I need to figure out if the driver is wrong, the way I compiled it was wrong, or the kernel I picked out was wrong. Anybody have some debugging steps to help here?
1. To kernel I got from git.openpandora.org, I make oldconfig && make prepare scripts. I mostly hit enter when it asked for options, hoping the defaults were correct.(may be wrong..I did select one thing non-default...I made sure ti-omap was selected for arm processor.) I had to remove rpath option from ld_flags set by setprj or else the kernel makefile complained.
2. modifed makefile of driver to point to kernel_dir and cross_compile to have the right gcc prefix. Went through and output a .ko.
Last edited by a moderator: