Topic: OpenWRT and 2.4 vs 2.6 kernel confusion

I have older Linksys WRT54GL v1.1 and I had previously instaled Tomato firmware and decided to move to OpenWRT.

Using WIKI http://wiki.openwrt.org/oldwiki/openwrtdocs/hardware/linksys/wrt54gl#installation is quite straigt forward, but still few things confuse me as first time OpenWRT user.

Two things confused me. First is that nvram options aren’t explained on the wiki, what they do and why is that step necessary. Second is that there are no download links so for first time OpenWRT user this is quite confusing.

How do I know where 2.4 kernel based images are located and where are 2.6 kernel images located?!? I was not sure if I was flashing the wrong one and maybe bricking my device.

Now even after I used latest backfire 10.03.1-rc5 brcm-2.4 I have 2.4 based kernel image. Where from do I get 2.6 kernel openwrt firmware from? Or I just need to do an update?

First impressions of OpenWRT are awesome.

I also posted this on my blog:
http://kernelreloaded.blog385.com/index.php/archives/openwrt-installation-from-tomato/

Re: OpenWRT and 2.4 vs 2.6 kernel confusion

Found this forum post that explains is a bit:
https://forum.openwrt.org/viewtopic.php?id=24549

brcm-2.4 : kernel 2.4, wl (or wl-mimo) proprietary driver, nas authentificator, wlc control utility
brcm47xx : kernel 2.6, b43 open source (but less stable) driver, wpad (hostapd + wpa_supplicant), standard linux utilites (iw, iwconfig, etc.)

There are two totally different drivers that support Broadcom Wireless used in OpenWRT:
a) proprietary driver by Broadcom – wl. It is compatible only with 2.4 kernels and included in brcm-2.4 builds.
b) an open source b43 driver. It is included in brcm47xx builds.

The wl driver has still a bit better performance and is claimed to deliver better stability. However, it cannot be linked with 2.6 kernel.

So should I stick with 2.4 kernel?

Re: OpenWRT and 2.4 vs 2.6 kernel confusion

You can use wl in the 2.6 kernel, too. A binary module has been available for a while.

You just need to have kmod-brcm-wl and wlc installed.

Re: OpenWRT and 2.4 vs 2.6 kernel confusion

towolf wrote:

You can use wl in the 2.6 kernel, too. A binary module has been available for a while.

You just need to have kmod-brcm-wl and wlc installed.

As far as I know, there are no precompiled images that can do this, but you can build them yourself with  http://wiki.openwrt.org/doc/howto/obtain.firmware.generate and

make image PROFILE=Broadcom-wl

Re: OpenWRT and 2.4 vs 2.6 kernel confusion

Also there is more info in the FAQ now - http://wiki.openwrt.org/doc/faq/before. … d.brcm47xx