RT-N66 CFE Thread

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3 ... 14, 15, 16 ... 35, 36, 37  Next
Author Message
Malachi
DD-WRT Guru


Joined: 17 Jul 2012
Posts: 7075
Location: Columbus, Ohio

PostPosted: Sun Oct 28, 2012 20:41    Post subject: Reply with quote
Sascha Zepter wrote:
OK, what about the the BrainSlayer-V24-preSP2 builds with a 64k in their name?


No, so far these are the only ones for the rt-n66u with 64k nvram.
ftp://ftp.barryware.net/Fractal%20Builds/RT-N66U%20With%20Cfe%20Upgrade%20ONLY/
Sponsor
poison5151
DD-WRT Novice


Joined: 29 Oct 2012
Posts: 2

PostPosted: Mon Oct 29, 2012 0:28    Post subject: Reply with quote
Malachi wrote:
Sascha Zepter wrote:
OK, what about the the BrainSlayer-V24-preSP2 builds with a 64k in their name?


No, so far these are the only ones for the rt-n66u with 64k nvram.
ftp://ftp.barryware.net/Fractal%20Builds/RT-N66U%20With%20Cfe%20Upgrade%20ONLY/


Hey - first off, wanted to say thanks to the devs for finally making a 64k CFE / NVRAM DD-WRT build available. I followed the procedure to update my CFE to version 1.0.1.3 and successfully flashed Fractal's mega build from the link above.

Unfortunately, the LAN ports don't seem to work (LED is on, but can't access the web interface even with a static IP). Also, the reset button doesn't seem to work either. Is there an easy fix for these issues?
SnakeByte
DD-WRT Novice


Joined: 16 Mar 2007
Posts: 22

PostPosted: Mon Oct 29, 2012 5:03    Post subject: Reply with quote
RMerlin wrote:


The Optware Oleg repo already has an iperf build, might be simpler for you to get it from there.

Code:

admin@RT-AC66U:/tmp/home/root# ipkg list | grep iperf
iperf - 2.0.4-1 - A tool for measuring TCP and UDP bandwidth performance.


I think I may have already mentioned on this thread that the binary does not work? It fires up and then just sits there. Same with a number of others binaries from them. Even my own compiled binaries that worked on previous routers don't work on this one. No error messages, just sits there and does nothing.
benito11
DD-WRT User


Joined: 10 Jan 2011
Posts: 55

PostPosted: Mon Oct 29, 2012 14:07    Post subject: Reply with quote
poison5151 wrote:
Malachi wrote:
Sascha Zepter wrote:
OK, what about the the BrainSlayer-V24-preSP2 builds with a 64k in their name?


No, so far these are the only ones for the rt-n66u with 64k nvram.
ftp://ftp.barryware.net/Fractal%20Builds/RT-N66U%20With%20Cfe%20Upgrade%20ONLY/


Hey - first off, wanted to say thanks to the devs for finally making a 64k CFE / NVRAM DD-WRT build available. I followed the procedure to update my CFE to version 1.0.1.3 and successfully flashed Fractal's mega build from the link above.

Unfortunately, the LAN ports don't seem to work (LED is on, but can't access the web interface even with a static IP). Also, the reset button doesn't seem to work either. Is there an easy fix for these issues?


Did you clear nvram values with wps button pressed while turning on?
RMerlin
DD-WRT User


Joined: 05 Mar 2012
Posts: 273

PostPosted: Mon Oct 29, 2012 14:08    Post subject: Reply with quote
SnakeByte wrote:
RMerlin wrote:


The Optware Oleg repo already has an iperf build, might be simpler for you to get it from there.

Code:

admin@RT-AC66U:/tmp/home/root# ipkg list | grep iperf
iperf - 2.0.4-1 - A tool for measuring TCP and UDP bandwidth performance.


I think I may have already mentioned on this thread that the binary does not work? It fires up and then just sits there. Same with a number of others binaries from them. Even my own compiled binaries that worked on previous routers don't work on this one. No error messages, just sits there and does nothing.


Might be missing some depdencies. Try:

Code:

ldd iperf


See if it shows any missing library. (assuming DD-WRT ships with ldd)
poison5151
DD-WRT Novice


Joined: 29 Oct 2012
Posts: 2

PostPosted: Mon Oct 29, 2012 14:40    Post subject: Reply with quote
benito11 wrote:
poison5151 wrote:
Malachi wrote:
Sascha Zepter wrote:
OK, what about the the BrainSlayer-V24-preSP2 builds with a 64k in their name?


No, so far these are the only ones for the rt-n66u with 64k nvram.
ftp://ftp.barryware.net/Fractal%20Builds/RT-N66U%20With%20Cfe%20Upgrade%20ONLY/


Hey - first off, wanted to say thanks to the devs for finally making a 64k CFE / NVRAM DD-WRT build available. I followed the procedure to update my CFE to version 1.0.1.3 and successfully flashed Fractal's mega build from the link above.

Unfortunately, the LAN ports don't seem to work (LED is on, but can't access the web interface even with a static IP). Also, the reset button doesn't seem to work either. Is there an easy fix for these issues?


Did you clear nvram values with wps button pressed while turning on?


Well, that totally fixed it. Figures, the one thing I didn't try ... Rolling Eyes

Thanks for your help.
robbieinc
DD-WRT Novice


Joined: 29 Oct 2012
Posts: 14

PostPosted: Mon Oct 29, 2012 19:56    Post subject: Toolchain for 64k DDWRT Fractal builds Reply with quote
I have some test code I've compiled which uses serial(ftdi) and is currently seg faulting specifically on the open() function. The usb to serial port shows up correctly in DDWRT. Do I need to recompile against a new/different toolchain with this new 64k build?
robbieinc
DD-WRT Novice


Joined: 29 Oct 2012
Posts: 14

PostPosted: Mon Oct 29, 2012 23:22    Post subject: Reply with quote
It seems the 64k fractal mega build is not playing nicely with /dev/usb/tts. Will try the std version soon.
robbieinc
DD-WRT Novice


Joined: 29 Oct 2012
Posts: 14

PostPosted: Tue Oct 30, 2012 2:15    Post subject: Reply with quote
Captured the dmesg error when accessing /dev/usb/tts/0.

Code:
CPU 0 Unable to handle kernel paging request at virtual address 00000088, epc == 87d07908, ra == 87d07000
Oops[#1]:
Cpu 0
$ 0   : 00000000 1100fc00 00000507 87b19008
$ 4   : 00000000 00000010 87cba100 00000040
$ 8   : 00000001 87b19008 00000002 87cba01c
$12   : ffffffff 00000000 0000002b 00435238
$16   : 00000003 87cba100 87cba108 00000008
$20   : 00000010 00000000 00000000 80000000
$24   : 000000c2 00000000                 
$28   : 87bb2000 87bb3c48 87b19008 87d07000
Hi    : 0000005e
Lo    : 5e5e5ebc
epc   : 87d07908     Not tainted
ra    : 87d07000 Status: 1100fc03    KERNEL EXL IE
Cause : 00000008
BadVA : 00000088
PrId  : 00019749
Modules linked in: nf_nat_pptp nf_conntrack_pptp nf_nat_proto_gre nf_conntrack_proto_gre xt_mark etherip ftdi_sio usbserial fuse usblp usb_storage sd_mod scsi_wait_scan scsi_mod ohci_hcd uhci_hcd ehci_hcd usbcore nls_base switch_robo switch_core bcm57xx
Process cat (pid: 1647, threadinfo=87bb2000, task=87f23b68)
Stack : 8005e81c 8005e3b4 00020000 81300a00 00000fcc 00000000 00000007 00000001
        00000000 8004a854 00020000 00001000 87bb3e0c 00001000 81300140 00000000
        87e49120 ffffffff 8000a080 80014f20 80647560 00000000 00000000 00000114
        87ff6320 80079bd0 00000107 87abaec8 87bb3ea8 87bb3ea8 87ab8030 87abaec8
        87bb3ea8 80079f7c 1100fc01 fffffff4 87b37100 87cba100 00001388 87bb3d48
        ...
Call Trace:[<8005e81c>][<8005e3b4>][<8004a854>][<8000a080>][<80014f20>][<80079bd0>][<80079f7c>][<87d09444>][<87d0842c>][<87d09728>][<87d096e4>][<87a11c88>][<8001be00>][<8010879c>][<80102dd0>][<879597f8>][<8010688c>][<80073e20>][<8007e270>][<80073c84>][<8006e98c>][<8007e620>][<8006ebb4>][<8006ec18>][<800636f4>][<8006361c>][<8006e73c>][<8007a55c>][<8006ec98>][<8006ec5c>][<80013190>]

Code: 000000c0  09f41ea9  02c01021 <8e620080> 02803021  8c420030  02602021  0040f809  02202821


The "Cause : 00000008" seems to be similar to this open ticket: http://svn.dd-wrt.com/ticket/2580. Any help would be greatly appreciated! :]
GH0
DD-WRT User


Joined: 05 Dec 2008
Posts: 249

PostPosted: Tue Oct 30, 2012 22:25    Post subject: Reply with quote
To figure out where the issue lies, we might need fractal's .map file for when he created the firmware. Once we get that, we can figure out what is happening.

Join us in ##dd-wrt on freenode to help us out if you are interested in fixing the issue. I am thinking about updating the ticket as it isn't solely happening on ext drives, but happening on fat/ntfs as well, if you throw enough data at it.
DaGoombah
DD-WRT Novice


Joined: 31 Oct 2012
Posts: 2

PostPosted: Wed Oct 31, 2012 14:25    Post subject: Its really not intuitive to me Reply with quote
I have read this whole post. I have also gone to the wiki page for the N66U. For the most part I understand all the items addressed but what is not clear to me after getting to the end of the thread on exactly what the steps are/should be to load dd-wrt onto my N66U.

In the wiki it states that I will need to load a .trx file and then a .bin. But when I go to the downloads there are only two .trx files. One called mini and one BIG. I see there are items addressing the CFE but again its not clear to me if i need to execute those steps or just load one (or both) of the .trx files. And then... is there a bin? All other dd-wrt firmware loads have always been a .bin. As an FYI I am running ASUS firmware vs 3.0.0.4.246

Sorry for confusion and any help in a list of steps and the order they need to be executed is greatly appreciated.
benito11
DD-WRT User


Joined: 10 Jan 2011
Posts: 55

PostPosted: Wed Oct 31, 2012 14:52    Post subject: Reply with quote
I forgot my laptop at work... but if you can wait on monday I will make a step by step guide. I have it in a plain text file.
DaGoombah
DD-WRT Novice


Joined: 31 Oct 2012
Posts: 2

PostPosted: Wed Oct 31, 2012 16:44    Post subject: Thanks benito! Reply with quote
Monday is fine. I am in no rush. I just purchased the router and can wait and I certainly don't want to brick it. The CFE part is what confuses me the most. Enjoy the weekend and I look forward to your reply!
Fractal
DD-WRT Guru


Joined: 19 Apr 2010
Posts: 1243

PostPosted: Wed Oct 31, 2012 17:07    Post subject: Reply with quote
robbieinc wrote:
Captured the dmesg error when accessing /dev/usb/tts/0.

Code:
CPU 0 Unable to handle kernel paging request at virtual address 00000088, epc == 87d07908, ra == 87d07000
Oops[#1]:
Cpu 0
$ 0   : 00000000 1100fc00 00000507 87b19008
$ 4   : 00000000 00000010 87cba100 00000040
$ 8   : 00000001 87b19008 00000002 87cba01c
$12   : ffffffff 00000000 0000002b 00435238
$16   : 00000003 87cba100 87cba108 00000008
$20   : 00000010 00000000 00000000 80000000
$24   : 000000c2 00000000                 
$28   : 87bb2000 87bb3c48 87b19008 87d07000
Hi    : 0000005e
Lo    : 5e5e5ebc
epc   : 87d07908     Not tainted
ra    : 87d07000 Status: 1100fc03    KERNEL EXL IE
Cause : 00000008
BadVA : 00000088
PrId  : 00019749
Modules linked in: nf_nat_pptp nf_conntrack_pptp nf_nat_proto_gre nf_conntrack_proto_gre xt_mark etherip ftdi_sio usbserial fuse usblp usb_storage sd_mod scsi_wait_scan scsi_mod ohci_hcd uhci_hcd ehci_hcd usbcore nls_base switch_robo switch_core bcm57xx
Process cat (pid: 1647, threadinfo=87bb2000, task=87f23b68)
Stack : 8005e81c 8005e3b4 00020000 81300a00 00000fcc 00000000 00000007 00000001
        00000000 8004a854 00020000 00001000 87bb3e0c 00001000 81300140 00000000
        87e49120 ffffffff 8000a080 80014f20 80647560 00000000 00000000 00000114
        87ff6320 80079bd0 00000107 87abaec8 87bb3ea8 87bb3ea8 87ab8030 87abaec8
        87bb3ea8 80079f7c 1100fc01 fffffff4 87b37100 87cba100 00001388 87bb3d48
        ...
Call Trace:[<8005e81c>][<8005e3b4>][<8004a854>][<8000a080>][<80014f20>][<80079bd0>][<80079f7c>][<87d09444>][<87d0842c>][<87d09728>][<87d096e4>][<87a11c88>][<8001be00>][<8010879c>][<80102dd0>][<879597f8>][<8010688c>][<80073e20>][<8007e270>][<80073c84>][<8006e98c>][<8007e620>][<8006ebb4>][<8006ec18>][<800636f4>][<8006361c>][<8006e73c>][<8007a55c>][<8006ec98>][<8006ec5c>][<80013190>]

Code: 000000c0  09f41ea9  02c01021 <8e620080> 02803021  8c420030  02602021  0040f809  02202821


The "Cause : 00000008" seems to be similar to this open ticket: http://svn.dd-wrt.com/ticket/2580. Any help would be greatly appreciated! :]


I think these errors you are talking about are related to this.... been doing alot of investigation on this:

http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commitdiff;h=487f9c6710e7dff338e59820f6cfaeaaa87cb532

-Fractal
GH0
DD-WRT User


Joined: 05 Dec 2008
Posts: 249

PostPosted: Wed Oct 31, 2012 23:58    Post subject: Reply with quote
Fractal wrote:
robbieinc wrote:
Captured the dmesg error when accessing /dev/usb/tts/0.

Code:
CPU 0 Unable to handle kernel paging request at virtual address 00000088, epc == 87d07908, ra == 87d07000
Oops[#1]:
Cpu 0
$ 0   : 00000000 1100fc00 00000507 87b19008
$ 4   : 00000000 00000010 87cba100 00000040
$ 8   : 00000001 87b19008 00000002 87cba01c
$12   : ffffffff 00000000 0000002b 00435238
$16   : 00000003 87cba100 87cba108 00000008
$20   : 00000010 00000000 00000000 80000000
$24   : 000000c2 00000000                 
$28   : 87bb2000 87bb3c48 87b19008 87d07000
Hi    : 0000005e
Lo    : 5e5e5ebc
epc   : 87d07908     Not tainted
ra    : 87d07000 Status: 1100fc03    KERNEL EXL IE
Cause : 00000008
BadVA : 00000088
PrId  : 00019749
Modules linked in: nf_nat_pptp nf_conntrack_pptp nf_nat_proto_gre nf_conntrack_proto_gre xt_mark etherip ftdi_sio usbserial fuse usblp usb_storage sd_mod scsi_wait_scan scsi_mod ohci_hcd uhci_hcd ehci_hcd usbcore nls_base switch_robo switch_core bcm57xx
Process cat (pid: 1647, threadinfo=87bb2000, task=87f23b68)
Stack : 8005e81c 8005e3b4 00020000 81300a00 00000fcc 00000000 00000007 00000001
        00000000 8004a854 00020000 00001000 87bb3e0c 00001000 81300140 00000000
        87e49120 ffffffff 8000a080 80014f20 80647560 00000000 00000000 00000114
        87ff6320 80079bd0 00000107 87abaec8 87bb3ea8 87bb3ea8 87ab8030 87abaec8
        87bb3ea8 80079f7c 1100fc01 fffffff4 87b37100 87cba100 00001388 87bb3d48
        ...
Call Trace:[<8005e81c>][<8005e3b4>][<8004a854>][<8000a080>][<80014f20>][<80079bd0>][<80079f7c>][<87d09444>][<87d0842c>][<87d09728>][<87d096e4>][<87a11c88>][<8001be00>][<8010879c>][<80102dd0>][<879597f8>][<8010688c>][<80073e20>][<8007e270>][<80073c84>][<8006e98c>][<8007e620>][<8006ebb4>][<8006ec18>][<800636f4>][<8006361c>][<8006e73c>][<8007a55c>][<8006ec98>][<8006ec5c>][<80013190>]

Code: 000000c0  09f41ea9  02c01021 <8e620080> 02803021  8c420030  02602021  0040f809  02202821


The "Cause : 00000008" seems to be similar to this open ticket: http://svn.dd-wrt.com/ticket/2580. Any help would be greatly appreciated! :]


I think these errors you are talking about are related to this.... been doing alot of investigation on this:

http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commitdiff;h=487f9c6710e7dff338e59820f6cfaeaaa87cb532

-Fractal


Is there any way that you could include debugging symbols, or as I mentioned in the PM to you, include the vmlinuz.map file that you are building the firmware with?
Goto page Previous  1, 2, 3 ... 14, 15, 16 ... 35, 36, 37  Next Display posts from previous:    Page 15 of 37
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum