jon22
March 18, 2022, 4:46am
1
Hello everyone,
This is my config:
root@OpenWrt:~# cat /etc/openwrt_release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='21.02.2'
DISTRIB_REVISION='r16495-bf0c965af0'
DISTRIB_TARGET='bcm47xx/legacy'
DISTRIB_ARCH='mipsel_mips32'
DISTRIB_DESCRIPTION='OpenWrt 21.02.2 r16495-bf0c965af0'
DISTRIB_TAINTS=''
root@OpenWrt:~# cat /etc/opkg/distfeeds.conf
src/gz openwrt_core https://downloads.openwrt.org/releases/21.02.2/targets/bcm47xx/legacy/packages
src/gz openwrt_base https://downloads.openwrt.org/releases/21.02.2/packages/mipsel_mips32/base
src/gz openwrt_luci https://downloads.openwrt.org/releases/21.02.2/packages/mipsel_mips32/luci
src/gz openwrt_packages https://downloads.openwrt.org/releases/21.02.2/packages/mipsel_mips32/packages
src/gz openwrt_routing https://downloads.openwrt.org/releases/21.02.2/packages/mipsel_mips32/routing
src/gz openwrt_telephony https://downloads.openwrt.org/releases/21.02.2/packages/mipsel_mips32/telephony
root@OpenWrt:~#
root@OpenWrt:~# opkg install kmod-rt2800-lib kmod-rt2800-usb kmod-rt2x00-lib kmo
d-rt2x00-usb
Unknown package 'kmod-rt2800-lib'.
Unknown package 'kmod-rt2800-usb'.
Unknown package 'kmod-rt2x00-lib'.
Unknown package 'kmod-rt2x00-usb'.
Collected errors:
* opkg_install_cmd: Cannot install package kmod-rt2800-lib.
* opkg_install_cmd: Cannot install package kmod-rt2800-usb.
* opkg_install_cmd: Cannot install package kmod-rt2x00-lib.
* opkg_install_cmd: Cannot install package kmod-rt2x00-usb.
root@OpenWrt:~#
root@OpenWrt:~#
root@OpenWrt:~# opkg list | grep rt28
rt2800-pci-firmware - 20211216-1 - Ralink RT28xx/3xxx PCI/SoC firmware
rt2800-usb-firmware - 20211216-1 - Ralink RT28xx/3xxx USB firmware
root@OpenWrt:~#
root@OpenWrt:~#
root@OpenWrt:~# lsmod | grep rt28
root@OpenWrt:~#
I want to install this driver:
But I can't.
opkg can't find this driver.
Can someone point me in the right direction?
Thanks!
jon22
March 18, 2022, 5:29am
3
Hi slh,
I did this, sorry for not writing about it.
It did not solve.
It does not find the packages.
Is the file /etc/opkg/distfeeds.conf correct?
I see here https://openwrt.org/packages/pkgdata/kmod-rt2800-lib
that kmod-rt2800-lib should be in repository = base.
if you do:
opkg update
opkg list | grep rt28
what is your output?
Thanks!
slh
March 18, 2022, 5:45am
4
It apparently isn't being built for bcm47xx/legacy , while it does get built for bcm47xx/generic (no, these don't help you on bcm47xx/legacy) - it's not quite obvious for me why not, but I can't check it in detail right now either.
jon22
March 18, 2022, 6:08am
5
Thank you for this.
Can you recommend how to solve this?
Or any time estimation on when divers will be included in [bcm47xx/legacy] ?
Or can I use [bcm47xx/generic] instead ?
I have wl500W
slh
March 18, 2022, 6:26am
6
As already mentioned, no.
There is no time frame, you're the first to notice in 3 years.
The reason hasn't even been looked at, yet. It can very well be final, if bcm47xx/legacy is missing important dependencies.
USB wireless is special to begin with (and rt2800usb not capable of AP mode either, breaking with power-saving clients) and BCM4704 too slow to saturate 802.11n (or even 802.11g) over USB anyways.
jon22
March 18, 2022, 8:26am
7
Hi slh,
can you point me to a guide on how to compile this driver myself?
or can I manually take the packages from [bcm47xx/generic] and copy them here?
I understand that for [bcm47xx/legacy] there is not much interest because it is for old devices, not used anymore, I am still trying to find a way to solve my problem, maybe not an easy way.
Thanks!
slh
March 18, 2022, 8:49am
8
You will need the full source to debug this further anyways.
For the third -and last- time, no - you can't.
jon22
March 24, 2022, 12:46pm
9
Hi slh,
While compiling openwrt I am stuck with following error:
module '.../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcmsmac.ko' is missing.
Any ideas?
Thanks!
Details here:
ERROR: module '/media/user/e2e91b44-16b2-4fea-8d27-aaec833ecc2d/openwrt_compile/openwrt/build_dir/target-mipsel_mips32_musl/linux-bcm47xx_legacy/backports-5.15.8-1/drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcmsmac.ko' is missing.
Makefile:553: recipe for target '/media/user/e2e91b44-16b2-4fea-8d27-aaec833ecc2d/openwrt_compile/openwrt/bin/targets/bcm47xx/legacy/packages/kmod-brcmsmac_5.10.107+5.15.8-1-2_mipsel_mips32.ipk' failed
make[3]: *** [/media/user/e2e91b44-16b2-4fea-8d27-aaec833ecc2d/openwrt_compile/openwrt/bin/targets/bcm47xx/legacy/packages/kmod-brcmsmac_5.10.107+5.15.8-1-2_mipsel_mips32.ipk] Error 1
make[3]: Leaving directory '/media/user/e2e91b44-16b2-4fea-8d27-aaec833ecc2d/openwrt_compile/openwrt/package/kernel/mac80211'
time: package/kernel/mac80211/regular/compile#0.60#0.16#0.68
ERROR: package/kernel/mac80211 failed to build (build variant: regular).
package/Makefile:114: recipe for target 'package/kernel/mac80211/compile' failed
make[2]: *** [package/kernel/mac80211/compile] Error 1
make[2]: Leaving directory '/media/user/e2e91b44-16b2-4fea-8d27-aaec833ecc2d/openwrt_compile/openwrt'
package/Makefile:110: recipe for target '/media/user/e2e91b44-16b2-4fea-8d27-aaec833ecc2d/openwrt_compile/openwrt/staging_dir/target-mipsel_mips32_musl/stamp/.package_compile' failed
make[1]: *** [/media/user/e2e91b44-16b2-4fea-8d27-aaec833ecc2d/openwrt_compile/openwrt/staging_dir/target-mipsel_mips32_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/media/user/e2e91b44-16b2-4fea-8d27-aaec833ecc2d/openwrt_compile/openwrt'
/media/user/e2e91b44-16b2-4fea-8d27-aaec833ecc2d/openwrt_compile/openwrt/include/toplevel.mk:228: recipe for target 'world' failed
make: *** [world] Error 2
create a separate thread in https://forum.openwrt.org/c/devel/8
and use </> when posting code.