Author
Message
sunmast DD-WRT Novice Joined: 17 May 2012 Posts: 4
Posted: Sat Aug 11, 2012 8:22 Post subject: Installing kmod drivers on Buffalo WZR-HP-AG300H
Hello,
I'm trying to get my usb sound card to work on my router. Now I can install optwares according to this tutorial: http://dd-wrt.ca/phpBB2/viewtopic.php?t=86912
However it looks kmod drivers need specific linux kernel 3.3.8 -1 to install. Otherwise it gives me this error:
root@DD-WRT local $ opkg install kmod-sound-core
Installing kmod-sound-core (3.3.8-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/kmod-sound-core_3.3.8-1_ar71xx.ipk.
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-sound-core:
* kernel (= 3.3.8-1-bd655b187e04910d9917973d44f685fb) * kernel (= 3.3.8-1-bd655b187e04910d9917973d44f685fb) *
* opkg_install_cmd: Cannot install package kmod-sound-core.
My system version is:
Linux DD-WRT 3.2.16 #2426 Sun Jun 3 12:58:10 CEST 2012 mips GNU/Linux
Can anyone help with this? Thanks!
Back to top
Sponsor
gsustek DD-WRT Novice Joined: 04 Jun 2011 Posts: 35
Posted: Sat Aug 11, 2012 8:27 Post subject:
I have the same issue!!! Even i try to compile alsa kmod,but i can not find ddwrt 3.3.8-1 kernel for it. Just crosscompiller.
Back to top
LOM DD-WRT Guru Joined: 28 Dec 2008 Posts: 7647
Posted: Sat Aug 11, 2012 8:36 Post subject:
You'll have to find (or compile yourself) a kmod-sound-core which matches your kernel version. _________________ Kernel panic: Aiee, killing interrupt handler!
Back to top
sunmast DD-WRT Novice Joined: 17 May 2012 Posts: 4
Posted: Sat Aug 11, 2012 15:46 Post subject:
LOM wrote: You'll have to find (or compile yourself) a kmod-sound-core which matches your kernel version.
Do you know anywhere to download the source code?
Back to top
gsustek DD-WRT Novice Joined: 04 Jun 2011 Posts: 35
Posted: Sun Aug 12, 2012 8:32 Post subject:
Some guide?! What i need. I have ubuntu x86 gcc and i do not have kernel.
Back to top
habeIchVergessen DD-WRT User Joined: 04 May 2010 Posts: 431
Back to top
gsustek DD-WRT Novice Joined: 04 Jun 2011 Posts: 35
Posted: Mon Aug 13, 2012 9:02 Post subject:
hi, where is kernel 3.3.8-1 for Siemens SX763 danube lantiqe in these directory's? I don't want to get it all.
adm5120/
brcm/
brcm63xx/
ks8695/
magicbox/
mv78xx/
rb500/
rt2880/
sl2312/
universal/
adm5120/
brcm/
brcm63xx/
ks8695/
magicbox/
mv78xx/
rb500/
rt2880/
sl2312/
universal/
Regards,
Goran. Last edited by gsustek on Mon Aug 13, 2012 9:29; edited 2 times in total
Back to top
LOM DD-WRT Guru Joined: 28 Dec 2008 Posts: 7647
Posted: Mon Aug 13, 2012 9:12 Post subject:
gsustek wrote: hi, where is kernel 3.3.8-1 for Siemens SX763 danube lantiqe in these directory's? I don't want to get it all.
Under universal. _________________ Kernel panic: Aiee, killing interrupt handler!
Back to top
gsustek DD-WRT Novice Joined: 04 Jun 2011 Posts: 35
Posted: Mon Aug 13, 2012 9:33 Post subject:
LOM wrote: gsustek wrote: hi, where is kernel 3.3.8-1 for Siemens SX763 danube lantiqe in these directory's? I don't want to get it all.
Under universal.
thnx. i just downlaod universal/linux-3.3 directory.
how to compile just one kmod, for alsa sound. i have uclibc toolchain and with this command i successfully compile and run hello.c program.
PATH=~/toolchains/4.1.0-uclibc-0.9.28/bin:$PATH
mipsel-linux-uclibc-gcc helloworld.c -o helloworld
Regards,
Goran.
Back to top
habeIchVergessen DD-WRT User Joined: 04 May 2010 Posts: 431
Posted: Mon Aug 13, 2012 11:21 Post subject:
standard kernel stuff
make menuconfig
make
make modules
maybe you have to set some environment (GCC, CROSS_COMPILE).
wzr-hp-ag300h is mips!
Back to top
gsustek DD-WRT Novice Joined: 04 Jun 2011 Posts: 35
Posted: Mon Aug 13, 2012 12:52 Post subject:
habeIchVergessen wrote: standard kernel stuff
make menuconfig
make
make modules
maybe you have to set some environment (GCC, CROSS_COMPILE).
wzr-hp-ag300h is mips!
thnx.
so if i compile this (tutorial : http://www.dd-wrt.com/wiki/index.php/Development#Building_DD-WRT_from_Source )
i should able just to upgrade this new SX763 firmware?and everything works?
Back to top
habeIchVergessen DD-WRT User Joined: 04 May 2010 Posts: 431
Posted: Mon Aug 13, 2012 17:06 Post subject:
try and report your progress. weekly should be enough!
Back to top
gsustek DD-WRT Novice Joined: 04 Jun 2011 Posts: 35
Posted: Tue Aug 14, 2012 9:09 Post subject:
Hello, i successfully compile modules and whole firmware.
Step:
1. svn co svn://svn.dd-wrt.com/DD-WRT/src/linux/universal/lantiq/linux-3.3.8 /home/XX/Desktop/DDWRT/
2. cd /home/XX/Desktop/DDWRT/
3. export CROSS_COMPILE=/home/XXX/Desktop/DDW-RT/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-uclibc-
4. export ARCH=mips
5. cp .config_sx763 .config
6. make
Question:
Where is new firmware binary?(name)
How to compile alsa sound modules? there is none in this make modules....i download alsa source ,where to put it in this dorectory structure?
Regards,Goran.
edit:
i enable sound on menuconfig and now i have soundcore.ko:)
how to add build number to kernel version?
Back to top
habeIchVergessen DD-WRT User Joined: 04 May 2010 Posts: 431
Posted: Tue Aug 14, 2012 9:59 Post subject:
you have compiled a new kernel! not the whole firmware!
edit the Makefile in source root directory (/home/XX/Desktop/DDWRT/) to set the EXTRAVERSION.
to build a flashable image you need src/router from svn. normally make creates the image under src/router/${ARCH}-uclibc.
Back to top
gsustek DD-WRT Novice Joined: 04 Jun 2011 Posts: 35
Posted: Tue Aug 14, 2012 10:22 Post subject:
or i can extract firmware to change kernel and build it?
Back to top