OpenWrt Forum Archive

Topic: Broadcom 47xx wl0 won't work on BB.

The content of this topic has been archived on 5 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

As it says on the title, I don't know how this managed to get past the developers nor how this managed to even get to a release.  I guess no one uses a broadcom 47xx based wireless router. But anyway onto the details.

I have an asus rt-n16, and I tried to upgrade to BB, and it refuses to work. I installed all of the packages supplied by the unofficial build, I used wl, installed the modules followed the wiki. And nothing. I always repeatedly get the same messag.e

wl0 type broadcom not supported. Which makes _zero_ sense since the unofficial build seemingly uses the same driver and it works AOK but the release version? Nope, it refuses to work. All I have is a radio wireless device and it only does 802.11b which is more than enough for my home connection but still it's not what the router is supposed to be able to do (n). I don't know why this is going on, and I searched the googles and I can't find anything, the bug was apparently closed, so I guess somone compiling it themselves it'll run but the released images don't.

I would file a formal ticket, but with a whole lot less attitude if you want to increase the chance that the developers, who do this FOR FREE, to actually fix it or help you. Some logs and real detail on what exactly you've tried already would be helpful too.

Since Broadcom does not release full source for their drivers, it can't be as well supported on this OPEN platform.

*edit* - also try the suggestions in this thread, especially the post by Chimaira today:
https://forum.openwrt.org/viewtopic.php?id=52367

If that works for you, please update the wiki so future users will not have the same problem.

(Last edited by drawz on 5 Oct 2014, 23:55)

133794m3r wrote:

I installed all of the packages supplied by the unofficial build, I used wl, installed the modules followed the wiki. And nothing. I always repeatedly get the same messag.e

wl0 type broadcom not supported.

No logs provided, no configs, no installed packages and I have no crystal ball around.

OK so I don't know why I didn't even post the reply like I was hoping that I did. I'll try to reflash it tomorrow with all of the new items.

What configs do you want? the wireless config?

And the packages, in csv, raw dump what?

edit: Also about these 'crappy' closed source systems, I would've prefered to have gotten a wireless router that would've given me full freedom, and also had 64mb+ of ram, 16MB+ of flash, and a 400mhz+ cpu clock speed, and that also wasn't insanely expensive. I saw rt-n16 was on the AOK list, plus since they were releasing all code I figured it'd be a semi-easy way to get it to go.

I do wish it'd be a simpler thing, but i have to deal with it. I started using debian way before it was a "easy" installation and it involved tons of forums, hours on irc all to get the thing's wireless to work(similar situation but different-ish). So I have dealt with it in the past, and it's a part of life.

(Last edited by 133794m3r on 7 Oct 2014, 04:33)

133794m3r wrote:

What configs do you want? the wireless config?

Will be a good beginning

133794m3r wrote:

And the packages, in csv, raw dump what?

Just tell us exactly which extra packages did you install. It should be short list.

And don't forget about the boot log!

really the wiki for this device says "Barrier Breaker release have almost full support." There are many better choices, although not many with 32MB flash. Why do you need so much flash? I'll suggest again selling your RT-N16 and buying a TP-Link WDR3600 (8mb flash/128mb ram) or D-Link DIR-835 (16mb flash/128mb ram). The Netgear WNDR4300/WNDR3700v4 is a bit more expensive but has 128mb NAND flash. You'll probably break even and have something fully compatible with OpenWrt. Or keep the RT-N16 and use Tomato/DD-WRT/Merlin which support it better.

What exactly do you want out of open source (or semi open) firmware?

For it to work, and let me add/remove features as I wish. I am using openwrt because I don't like ddwrt's motto of doing what oracle does with mysql. Where they hide core features behind a paywall, and put drm into open source.

That's it really, I want it to work, and I want to be able to add things as I feel like it, ala maybe dlna server, or smb or something.

From the wiki BB only lacked simple "polish" things like the wifi led working correctly.

Also I've had it for long since past the 30 days return period/45 days in some of the better places so I'm kinda stuck with it rightnow.

I basically saw that it was pretty much supported on openwrt(just had to change out wireless drivers as I've had to do in teh past with debian. Including backporting a kernel so I figured it wouldn't be a huge deal).

As far as the flash memory, I don't trust flash memory at all, and I'd much rather have way more than I need rather than way too little. Also the JFFS2 system are you guys also using rtime or whatever it's called to increase the compression ratio?

(Last edited by 133794m3r on 7 Oct 2014, 20:39)

It sounds like you are asking for pretty basic stuff - have you tried Tomato or MerlinWRT? Those are at least reasonably open with no paywall or DRM (but proprietary closed-source Broadcom drivers). The bottom line is that Broadcom is not as well supported and the wiki does state that it requires some work to get proprietary drivers working. You're in the midst of trying to do that work, but as you can see, most people here don't run on the Broadcom platform, likely due to poor support from closed-source drivers.

I realize you're past your return period - I was two with that exact router. Used Tomato on it very happily in fact. I wanted to switch to OpenWrt for fq_codel based QoS. I realized the RT-N16 was not well supported, so I sold it on ebay and bought a D-Link DIR-835 in an essentially break even deal. It was totally worth it to me. I even got dual-band wireless in the process.

By the way, there are people here that have flashed their routers hundreds if not thousands of times with no issues related to flash. This is not the cheap MLC/TLC NAND in SD cards or even SSDs. It is very durable SLC and is unlikely to fail on you during the lifetime of your router. There is no wear leveling here, so having more flash does not make it more durable. There was another thread on this recently.

well about it, I knew that debian wasn't so inline with closed source drivers(I had a laptop with a nvidia gpu and intel nic) so I worked my way around it. Also is it common knowledge for the openwrt QoS engine to eat up tons of cpu when doing pretty simple rules?

For exmaple, I have it setup to prioritize http(s), and to put sony/microsoft download ports at lower than normal priority and it was normally eating up ~70-80% cputime on it and my connection wasn't remotely fast, it's only a 5down,0.6 up connection. So I wouldn't have imagined this would've been the case.

The router's box said that it could handle 300k connections at once so I figured it'd be an OK router for me to use. I even got a different one because my last one would never use the second dns server and my ISP was doing some shady stuff like redirecting amazon to give them affiliate credit so I was using other DNSes not from google/other big name tracking companies so it wouldn't work OK for me. I do know that my phone comany's DSL router still is going to have to be reset every couple of months or so due to how little ram that it has. My ISP is moving up the connection speeds again due to the FCC's pot of cash requiring 10Mb/s for them to get the cash so I'm sure we'll be getting that soon but still I am not holding my breath since it took almost a year after it was started to get the 512k dsl to me once it got to the nearest town.

Also I know that the nand flash in routers is much much higher quality than anything else out there, but there are still going to be bad blocks even from the factory there's going to be at least a few that aren't completely 100%.



P.S. Reason for this one was it was on sale, and money was tight and I wanted to get something that seemed to work on openwrt(realized after my previous router that you have to make sure on it) since cash flow is not readily available at the current time for a multitude of reasons.

Just for the record, I have two RT-16N since more than one year and I love them, never let me down.

They are running my favorite firmware, you guessed it, openwrt of course, which is the only one I can tailor to my specific needs.

But my routers are very busy, one is at my company and the other at home, connected by openvpn, both actively running proftpd and above all, they both run asterisk connected by IAX2 with seven extensions, one landline and six voip providers. They are really busy but don't complain.

Concerning broadcom wifi, the main concern here, they manage more than a dozen clients.

I was using b43 for a long time but about two weeks ago I decide to try brcmsmac because I detected some glitches that, without deep investigation, I thought could be due to the driver. So I recompiled the trunk, which is always my source, to use brcmsmac only to find that my download speed  came down to about 8 Mbps.

So, again make menuconfig and changed the driver to the closed source (oh, well...) broadcom-wl, recompiled, flashed and it's now working on both routers at full speed.

The only purpose of my post is to say that not only the unbeatable openwrt builds increadibly easy from trunk, but also that RT-16N is an excellent router and broadcom wifi works with the three drivers I've used.

I hope my testimony is useful to the discussion.

I guess i'll try to do the build then to see if I can get it to work, I forgot to go back and re-read your information. I'll try it then since I was only able to get the prebuilt firmware to work with my router and have been dealing iwth it basically. So then you just compiled from trunk and then built the firmware with the drivers in it and it worked? Have you tried to do it from the released ones? Because for some reason it doesn't run for me and it complains as I said that the thing never works. I'd much rather have a released version of openwrt if I can but if trunk seems to work out better, I'll definitely try to compile it tomorrow.

Sorry to come back almost six months afters; I forgot to subscribe the topic.

Yes, basically that's it. I always use trunk with brcm47xx/mips74k and broadcom wl proprietary, make defconfig, check the additional packages I need, and compile.

Oh, very important, I have to patch the source of trx.c found in tools/firmware-utils/src/trx.c

-#define TRX_MAX_LEN    0x720000
+#define TRX_MAX_LEN    0x1F20000

to adjust for the size of flash memory in this router which is 32MB. If you don't do this and use a lot of software as I do (complete asterisk), then it won't fit the 16MB defined in trx.c. There's probably a better way to do it, but I never found it.

WEll in the past I tried to build it but it wouldn't build so atm I'm on merlinwrt even though I'dmuch rather have openwrt but ti's working at least now which isn't perfct but hopefully the next release will suport i better.

The discussion might have continued from here.