OpenWrt Forum Archive

Topic: Update on Linksys WRT1900AC support

The content of this topic has been archived between 16 Sep 2014 and 7 May 2018. Unfortunately there are posts – most likely complete pages – missing.

Chadster766 wrote:
gufus wrote:

Vcool!

Whats the kennel version?

root@OpenWrt:~# uname -a
Linux OpenWrt 3.2.36 #1 SMP Sat Aug 23 20:10:54 CDT 2014 armv7l GNU/Linux

3.2.36 is the same as AAv1
Remote system = Linux WRT1900AC 3.2.36 #1 SMP Mon Mar 3 08:13:56 ICT 2014 armv7l GNU/Linux
File transfer protocol = SCP
Cryptographic protocol = SSH-2
SSH implementation = dropbear_2011.54
Encryption algorithm = aes
Compression = No


Bet it's the same wifi driver

(Last edited by gufus on 24 Aug 2014, 22:06)

gufus wrote:
Chadster766 wrote:
gufus wrote:

Vcool!

Whats the kennel version?

root@OpenWrt:~# uname -a
Linux OpenWrt 3.2.36 #1 SMP Sat Aug 23 20:10:54 CDT 2014 armv7l GNU/Linux

3.2.36 is the same as AAv1

Bet it's the same wifi driver

The image was generated same as AAv1 and yes it's still the same Marvell Wifi driver.

The difference between the two is that the AAv1 Wifi Driver links to a separately compiled core (binary) library "lib_w8864.a". Also you can check the ap8x.ko files sizes which are quite different.

(Last edited by Chadster766 on 24 Aug 2014, 22:24)

Chadster766 wrote:
gufus wrote:
Chadster766 wrote:

root@OpenWrt:~# uname -a
Linux OpenWrt 3.2.36 #1 SMP Sat Aug 23 20:10:54 CDT 2014 armv7l GNU/Linux

3.2.36 is the same as AAv1

Bet it's the same wifi driver

The image was generated same as AAv1 and yes it's still the same Marvell Wifi driver.

The difference between the two is that the AAv1 Wifi Driver links to a separately compiled core (binary) library "lib_w8864.a". Also you can check the ap8x.ko files sizes which are quite different.

So, the BIG question

Were does openwrt.org go from here?

gufus wrote:
Chadster766 wrote:
nitroshift wrote:

@ Chadster766

Just registered after watching this topic since it was created. Could you please upload the .img file you compiled so I can try it out? Thank you! If needed, please pm me and I will provide a ftp server.

nitroshift

You can download it from my website smile
http://www.protechs-online.com/download … 2-128k.img

Hows your build going?

Any problems?

I'm very busy and have very little time to work on it. I was hoping to spur on the existing WRT1900AC projects with this. If we don't hear responses from OpenWRT I could upload it to GitHub as a separate side project so others can add to it. I want to be sure I do things right and don't get myself in trouble sad

Got ya smile

So I have their latest barrier breaker build compiled, I'll test sometime soon when I have time.  Seems feeds.conf.default needed some love.

-rw-r--r-- 1 nyt users 16777216 Aug 26 00:16 openwrt-mvebu-mamba-jffs2-128k.img

$ cat feeds.conf.default
src-git packages git://git.openwrt.org/packages.git
src-git packages2 https://github.com/openwrt/packages.git
src-git luci git://nbd.name/luci.git
src-git routing git://github.com/openwrt-routing/packages.git
src-git telephony http://feeds.openwrt.nanl.de/openwrt/telephony.git

(Last edited by nyt on 26 Aug 2014, 05:19)

nyt wrote:

So I have their latest barrier breaker build compiled, I'll test sometime soon when I have time.  Seems feeds.conf.default needed some love.

-rw-r--r-- 1 nyt users 16777216 Aug 26 00:16 openwrt-mvebu-mamba-jffs2-128k.img

$ cat feeds.conf.default
src-git packages git://git.openwrt.org/packages.git
src-git packages2 https://github.com/openwrt/packages.git
src-git luci git://nbd.name/luci.git
src-git routing git://github.com/openwrt-routing/packages.git
src-git telephony http://feeds.openwrt.nanl.de/openwrt/telephony.git

Excellent! I will give that a shot since that version wasn't compiling for me.

Chadster766 wrote:
nyt wrote:

So I have their latest barrier breaker build compiled, I'll test sometime soon when I have time.  Seems feeds.conf.default needed some love.

-rw-r--r-- 1 nyt users 16777216 Aug 26 00:16 openwrt-mvebu-mamba-jffs2-128k.img

$ cat feeds.conf.default
src-git packages git://git.openwrt.org/packages.git
src-git packages2 https://github.com/openwrt/packages.git
src-git luci git://nbd.name/luci.git
src-git routing git://github.com/openwrt-routing/packages.git
src-git telephony http://feeds.openwrt.nanl.de/openwrt/telephony.git

Excellent! I will give that a shot since that version wasn't compiling for me.

Hey hey...

Working GREAT so far.

AAv3.9 + 100% open-source Marvell Wifi driver. smile

SWEET!

Remote system = Linux WRT1900AC 3.2.36 #1 SMP Sat Aug 23 20:10:54 CDT 2014 armv7l GNU/Linux
File transfer protocol = SCP
Cryptographic protocol = SSH-2
SSH implementation = dropbear_2011.54
Encryption algorithm = aes
Compression = No

Thx a bunch!

(Last edited by gufus on 26 Aug 2014, 05:53)

@gufus

any download links for it? big_smile

Thanks!

nitroshift

@gufus

This sounds great, but what does this mean for an "enthusiastic user"*? Will there be an official image than we can install? What about BB (that's the newest from OpenWRT, right?)?

*would like to have all the cool features with a simple install and without getting his hands dirty

That is good news. Will surely try it out when it come out. Thank you for the hard work.

nyt wrote:

So I have their latest barrier breaker build compiled, I'll test sometime soon when I have time.  Seems feeds.conf.default needed some love.

-rw-r--r-- 1 nyt users 16777216 Aug 26 00:16 openwrt-mvebu-mamba-jffs2-128k.img

$ cat feeds.conf.default
src-git packages git://git.openwrt.org/packages.git
src-git packages2 https://github.com/openwrt/packages.git
src-git luci git://nbd.name/luci.git
src-git routing git://github.com/openwrt-routing/packages.git
src-git telephony http://feeds.openwrt.nanl.de/openwrt/telephony.git

I was able to compile Barrier Breaker tag v4.8 with the open source wifi driver using your package entries and a modification to the feeds update.sh script.

feeds.conf.default

#src-git packages git://git.openwrt.org/packages.git
#src-git luci git://nbd.name/luci.git
#src-git routing git://github.com/openwrt-routing/packages.git
#src-git telephony http://feeds.openwrt.nanl.de/openwrt/telephony.git
src-git packages git://git.openwrt.org/packages.git
src-git packages2 https://github.com/openwrt/packages.git
src-git luci git://nbd.name/luci.git
src-git routing git://github.com/openwrt-routing/packages.git
src-git telephony http://feeds.openwrt.nanl.de/openwrt/telephony.git
#src-svn xwrt http://x-wrt.googlecode.com/svn/trunk/package
#src-svn phone svn://svn.openwrt.org/openwrt/feeds/phone
#src-svn efl svn://svn.openwrt.org/openwrt/feeds/efl
#src-svn xorg svn://svn.openwrt.org/openwrt/feeds/xorg
#src-svn desktop svn://svn.openwrt.org/openwrt/feeds/desktop
#src-svn xfce svn://svn.openwrt.org/openwrt/feeds/xfce
#src-svn lxde svn://svn.openwrt.org/openwrt/feeds/lxde
#src-link custom /usr/src/openwrt/custom-feed

update.sh

#!/bin/sh
./scripts/feeds update packages
./scripts/feeds update luci
./scripts/feeds update routing
#./scripts/feeds update xwrt
./scripts/feeds update packages2
./scripts/feeds update telephony
#./scripts/feeds update alljoyn
#./scripts/feeds update wl500g
#./scripts/feeds update mediawrt
#./scripts/feeds update addpack
#./scripts/feeds update meshbox
#./scripts/feeds update external
./scripts/feeds install -a -p packages
./scripts/feeds install -a -p luci
./scripts/feeds install -a -p routing
./scripts/feeds install -a -p packages2
./scripts/feeds install -a -p telephony
#./scripts/feeds install -a -p xwrt
#./scripts/feeds install -a -p alljoyn
#./scripts/feeds install -a -p wl500g
#./scripts/feeds install -a -p mediawrt
#./scripts/feeds install -a -p addpack
#./scripts/feeds install -a -p meshbox
#./scripts/feeds install -a -p external
#./scripts/feeds update fon
#./scripts/feeds install -a -p fon

I discovered in this BB version the open source wifi driver doesn't work but it does compile. More config work and investigation will be needed to get the open source wifi driver to fire up on this version. Also the existing binary ap8x.ko is located in two packages marvellac and mrvl_wlan_v7drv. So just choosing to not build marvellac is not enough to keep the binary driver from being used.

Chadster766 wrote:

Instead I copied it into the "Mamba/attitude_adjustment/package" directory of a git branch created from tag "v3.9". Then I copied v3.9_config to "Mamba/attitude_adjustment/.config"

No openVPN in LuCI 0.11 Branch (0.11+svn10459)

It is installed

gufus wrote:
Chadster766 wrote:

Instead I copied it into the "Mamba/attitude_adjustment/package" directory of a git branch created from tag "v3.9". Then I copied v3.9_config to "Mamba/attitude_adjustment/.config"

No openVPN in LuCI 0.11 Branch (0.11+svn10459)

It is installed

You can look at the v3.9_config file to find out.
https://github.com/jimmychungbelkin/Mam … 3.9_config

nitroshift wrote:

@gufus

any download links for it? big_smile

Thanks!

nitroshift

Read the forum, it's there.

Chadster766 wrote:
gufus wrote:
Chadster766 wrote:

Instead I copied it into the "Mamba/attitude_adjustment/package" directory of a git branch created from tag "v3.9". Then I copied v3.9_config to "Mamba/attitude_adjustment/.config"

No openVPN in LuCI 0.11 Branch (0.11+svn10459)

It is installed

You can look at the v3.9_config file to find out.
https://github.com/jimmychungbelkin/Mam … 3.9_config

Ah, not bulit in sad

gufus wrote:
Chadster766 wrote:
gufus wrote:

No openVPN in LuCI 0.11 Branch (0.11+svn10459)

It is installed

You can look at the v3.9_config file to find out.
https://github.com/jimmychungbelkin/Mam … 3.9_config

Ah, not bulit in sad

I could try to add it to the image if you tell me what packages are required from the v3.9_config list.

No heartbleed in AAv3.9 r38260 OpenVPN

root@WRT1900AC:~# strings /usr/lib/libssl.so.1.0.0 | grep OpenSSL
OpenSSLDie
SSLv2 part of OpenSSL 1.0.1e 11 Feb 2013
SSLv3 part of OpenSSL 1.0.1e 11 Feb 2013
TLSv1 part of OpenSSL 1.0.1e 11 Feb 2013
DTLSv1 part of OpenSSL 1.0.1e 11 Feb 2013
OpenSSL 1.0.1e 11 Feb 2013
root@WRT1900AC:~#

gufus wrote:

No heartbleed in AAv3.9 r38260 OpenVPN

root@WRT1900AC:~# strings /usr/lib/libssl.so.1.0.0 | grep OpenSSL
OpenSSLDie
SSLv2 part of OpenSSL 1.0.1e 11 Feb 2013
SSLv3 part of OpenSSL 1.0.1e 11 Feb 2013
TLSv1 part of OpenSSL 1.0.1e 11 Feb 2013
DTLSv1 part of OpenSSL 1.0.1e 11 Feb 2013
OpenSSL 1.0.1e 11 Feb 2013
root@WRT1900AC:~#

Thanks for checking that!

Chadster766 wrote:
nyt wrote:

So I have their latest barrier breaker build compiled, I'll test sometime soon when I have time.  Seems feeds.conf.default needed some love.

-rw-r--r-- 1 nyt users 16777216 Aug 26 00:16 openwrt-mvebu-mamba-jffs2-128k.img

$ cat feeds.conf.default
src-git packages git://git.openwrt.org/packages.git
src-git packages2 https://github.com/openwrt/packages.git
src-git luci git://nbd.name/luci.git
src-git routing git://github.com/openwrt-routing/packages.git
src-git telephony http://feeds.openwrt.nanl.de/openwrt/telephony.git

I was able to compile Barrier Breaker tag v4.8 with the open source wifi driver using your package entries and a modification to the feeds update.sh script.

I discovered in this BB version the open source wifi driver doesn't work but it does compile. More config work and investigation will be needed to get the open source wifi driver to fire up on this version. Also the existing binary ap8x.ko is located in two packages marvellac and mrvl_wlan_v7drv. So just choosing to not build marvellac is not enough to keep the binary driver from being used.

When I'm trying to compile the latest trunk of OpenWRT with the OS wireless wlan_v7 driver,  I'm getting "error: implicit declaration of function 'net_random'" from tkip.c.  I believe this is related to the fact that the latest Linux net.h is no longer defining "net_random" to "prandom_u32".  Looks like the fix here is to update the wlan_v7 code to reference the prandom_u32 function directly as that seems to the be the direction things are going. 

Is there something else I'm missing on this one?  If not, I'm sure this will be the first of many changes/patches that need to go in to wlan_v7, and do we have a workspace for those items?  Does anybody know if "TheDgtl" on Github is taking code contributions there?  If not, I'm happy to fork it and start making these changes.

@gufus

I noticed the download link for the firmware you are running BUT it doesn't have the open-source driver, does it? That's why I asked where I could download the firmware CONTAINING the open-source driver. I'm not linux-profficient, otherwise I would compile my own firmware... Sorry for any misunderstandings and thanks in advance for any / all help.

nitroshift

nitroshift wrote:

@gufus

I noticed the download link for the firmware you are running BUT it doesn't have the open-source driver, does it? That's why I asked where I could download the firmware CONTAINING the open-source driver. I'm not linux-profficient, otherwise I would compile my own firmware... Sorry for any misunderstandings and thanks in advance for any / all help.

nitroshift

You can download that image and get the open source driver fired up with the links below smile

https://forum.openwrt.org/viewtopic.php … 24#p244724

https://forum.openwrt.org/viewtopic.php … 57#p244757

Chadster766 wrote:

To give WRT1900AC owners more than one option for OpenWRT I suggest the below:

  1. Fork https://github.com/jimmychungbelkin/Mamba

  2. Build a known good codebase AAv3.9 (git tag v3.9) as described in post https://forum.openwrt.org/viewtopic.php … 14#p244714

  3. Create a new GitHub Repository and upload only the AAv3.9 baseline

IMHO this is the best case starting point.

I guess since I suggested it I should try to get it done.