Results 1 to 8 of 8

Thread: Oleg how to compile only modules

  1. #1

    Oleg how to compile only modules

    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?

  2. #2
    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

  3. #3
    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

  4. #4
    Join Date
    Nov 2006
    Location
    Russia, Moscow
    Posts
    3,640
    Idea is simple - kernel build was unsuccessful and you didn't analyze errors.

    Use
    Code:
    make kernel
    make kernel-install

  5. #5
    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?

  6. #6
    Join Date
    Nov 2006
    Location
    Russia, Moscow
    Posts
    3,640
    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/

  7. #7

    Thanks

    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 22:08.

  8. #8
    Quote Originally Posted by badboy1985ro View Post
    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
    you need to use insmod instead, i.e.
    Code:
    insmod gspca_sonixb
    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.

    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

Similar Threads

  1. Oleg firmware - older version
    By kvr in forum WL-500gP Firmware Discussion
    Replies: 0
    Last Post: 17-04-2012, 20:04
  2. Why there is no Bluetooth modules in firmwares with 2.6 kernel?
    By pleha in forum WL-500gP Firmware Discussion
    Replies: 11
    Last Post: 02-04-2012, 08:21
  3. [HOW TO] Compile a program for your router
    By wpte in forum WL-500gP Tutorials
    Replies: 11
    Last Post: 24-06-2010, 20:52
  4. Oleg-FW selber compilieren ... wie?
    By WLAN-Fan in forum German Discussion - Deutsch (DE)
    Replies: 9
    Last Post: 17-01-2008, 10:23

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •