How can i can i compile only modules?
I am truing to compile a module form my webcam and wanna skip the rest.
Also i can't compile the entire fw. When i select NTFS support when copiling i get ntfs.ko cannot be found.
Any ideea?
How can i can i compile only modules?
I am truing to compile a module form my webcam and wanna skip the rest.
Also i can't compile the entire fw. When i select NTFS support when copiling i get ntfs.ko cannot be found.
Any ideea?
install -t /oleg/broadcom/src/gateway/mipsel-uclibc/target/lib/modules/2.6.22.19 \
/oleg/broadcom/src/gateway/mipsel-uclibc/modules/lib/modules/*/kernel/fs/ntfs/ntfs.ko
install: cannot stat `/oleg/broadcom/src/gateway/mipsel-uclibc/modules/lib/modules/*/kernel/fs/ntfs/ntfs.ko': No such file or directory
make[1]: *** [modules_install-usb] Error 1
make[1]: Leaving directory `/oleg/broadcom/src/gateway'
make: *** [package-WL500gp] Error 2
i also truied a new configuration without ntfs and the error is the same.
I am using ubuntu 64 latest version. any idea? help pls
Idea is simple - kernel build was unsuccessful and you didn't analyze errors.
Use
Code:make kernel make kernel-install
http://code.google.com/p/wl500g/wiki...CustomFirmware
cd /whatever-you-want/broadcom/src/1.9.2.7-rtn
$ make kernel
$ make
i fallowed the steps
no make kernel -install in tutorial? is the tutorial good?
should i have done a make-kernel install after make kernel?
It is very hard to write tutorial containing all possible cases & understood-able for all people. It is open project and everybody can help us to improve any tutorial & wiki.
You have to look into src/gateway/Makefile and will find both "kernel" & "kernel-install" targets. Additionally you can read kernel docs at kernel.org or under linux/linux-2.6/Documentation/kbuild/
Thank you for halp.
I manage to compile the firmware.
Now i have a problem.
I wanna connect my router to a webcam. After looking for details and compiling the firmware i bump in to the following issue:
Webcam genius driver gspca_sonixb.ko.
I did compile all the drivers, just to be sure if this is not the one to have the all readi.
Now
When i tri to load the driver using "insmod gspca_sonixb.ko" i get:
insmod: can't insert 'gspca_sonixb.ko': unknown symbol in module, or unknown parameter
using "modprob gspca_sonixb.ko":
modprobe: chdir(/opt/lib/modules): No such file or directory
what i am doing wrong?
I also truied this using the firmware resulted from the compile, *trx. Same result
Last edited by badboy1985ro; 31-05-2012 at 21:08.
you need to use insmod instead, i.e.modprobe is broken in the firmware for some reason it searches inside /opt/lib/modules instead of /lib/modules + it requires /lib/modules/2.6.22.19/modules.dep which is not installed by default.Code:insmod gspca_sonixb
regarding your other note about ntfs.ko if you don't need it take a look at src/gateway/Makefile there is a line which installs it