Build for Linksys EA9500


#336

It's completely different architecture which makes it lot more difficult to get OpenWrt to work on it.

I've peeked at the source code and a lot of stuff is still missing in mainline kernel. Moreover I finally sold my Asus GT-AC5300 that had same architecture.

If I were you, I'd sell the router and instead get a Qotom i3 box with multiple lan ports. Then run pfsense on opnsense on it.


#337
root@OpenWrt:/# ethtool lan4
Settings for lan4:
        Supported ports: [ TP AUI BNC MII FIBRE ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
                                             1000baseT/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 2
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes
root@OpenWrt:/#


root@OpenWrt:/# ethtool wan
Settings for wan:
        Supported ports: [ TP AUI BNC MII FIBRE ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
                                             1000baseT/Half 1000baseT/Full
        Link partner advertised pause frame use: No
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 4
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes

Anything else you need?


#338

Thanks. This should suffice.


#339

Just wondering if you have had any luck figuring out the speed issue and if there is any other info you require?


#340

A bit tied up with work :unamused:


#341

no problem!!


#342

Take your time mate.
Your build from 20.02.2019 is flawless for me (tested on ~430 Mbit connection - full speed ahead!).


#343

Ok I've tried to add some code changes that might put GMAC in 2G mode. Let me know if March 14th build shows any improvement?

My observation is that lan to lan speeds are indeed 1Gbits. I cannot test Wan speeds above 200Mbps unfortunately. If people do confirm that the wan speed is indeed lower than 1Gb, I can raise this with Linux Network list and see what they have to say.


#344

Havent tried your march build yet. But maybe you can help me or anyone here. I have two EA9500. Both of them unable to flash back to factory. Either from serial or within lede build. 1 of them i only have 2 radio. 1 x 2.4 and 1x5. On the other one, i have 2 x 5 radio only. I have tried flashing ALL the different build you have. The only difference i see is the speed i can acquire. Anyway to flash back stock firmware or anyone been succesful? Or activating all radio? Id rather just be able to flashback stock for now.


#345

Flashing back to factory is quite straight forward, Use the factory.trx from above and flash it using flash command mentioned in my first post.


#346

I was able to test wan port performance and I did see it was capped at ~495Mbps. On that note, I have raised a bug with OpenWrt.

https://bugs.openwrt.org/index.php?do=details&task_id=2186


#347

I did that. Im able to flash. But when the router restart, i always get the same error.

It tries to do: inserting ctf.ko for broadcomm

Then it restart. Over and over again


#348

Can you tell me:

  1. Router region (CFE prompt => nvram show | grep ccode) and Country of purchase
  2. Hardware version from back of the router

#349

Ccode=q2

I bought them from ebay. I would assume they are from Canada or US

Hardware version 1.1


#350

Q2 is indeed US/North America. Can you try this factory firmware?


#351

it goes past the ctf.ko
But not enough apparently. LOL
i have copied below what happens when it start

(c) 2013 Belkin International, Inc. and/or its affiliates. All rights reserved.
 Booting panamera (firmware version 1.1.7.180968)
*********************************************************************************
[utopia][init] System Initialization
[utopia][init] Creating /proc
[utopia][init] Creating /sys
[utopia][init] Creating /dev
[utopia][init] Creating /tmp
[utopia][init] Allocating 40M for /tmp
[utopia][init] Prepairing /dev/pts
[utopia][init] Setting /tmp and /var permissions
[utopia][init] Starting udev..
bdutil board utility kernel module, version 1.4
bdutil board utility kernel module boardId (1)
bdutil board utility buttons kernel module, version 1.3
bdutil board utility LEDs kernel module, version 1.3
bdutil board utility usbhub kernel module, version 1.1
[utopia][init] Using persistent syscfg data from /var/config/syscfg
[utopia][init] Starting system logging
[utopia][init] Starting sysevent subsystem
[utopia][init] Setting any unset system values to default
[utopia][init] no persistence config file (/var/config/pstcfg) found
[utopia][init] Late loading usb drivers
inserting ctf.ko for broadcom
Internal error: Oops: 17 [#1] PREEMPT SMP
last sysfs file: /sys/class/tty/ttyzf/uevent
module:  wl      7f357000        4782247
module:  dhd     7f03f000        3183071
module:  dpsta   7f039000        2760
module:  igs     7f031000        11979
module:  emf     7f026000        21425
module:  et      7f012000        49601
module:  ctf     7f008000        19667
module:  mod_bdutil      7f000000        12046
Modules linked in: wl(P+) dhd dpsta(P) igs(P) emf(P) et(P) ctf(P) mod_bdutil
CPU: 0    Tainted: P             (2.6.36.4 #1)
PC is at osl_pcie_rreg+0x80/0xdc
LR is at osl_pcie_rreg+0xd0/0xdc
pc : [<802a0d14>]    lr : [<802a0d64>]    psr: 80000093
sp : 8acbfae0  ip : 00000007  fp : 90f90000
r10: 8acbfb20  r9 : 8acbfb24  r8 : 00000001
r7 : 00000001  r6 : 8acbfafc  r5 : 00000003  r4 : 00000000
r3 : 00000000  r2 : 60000013  r1 : 60000013  r0 : 60000013
Flags: Nzcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 10c53c7d  Table: 4c4e004a  DAC: 00000015
Process insmod (pid: 2363, stack limit = 0x8acbe270)
Stack: (0x8acbfae0 to 0x8acc0000)
fae0: 8d676000 00000000 8acbfafc 8d8fec00 00000001 80291afc 8f04b400 00000000
fb00: 00000007 8d676000 00000000 8d8fec00 8d676000 80291c5c 00000000 00003a98
fb20: 60000013 00000000 8f04b400 00000000 8acbfb5c 8d8fec00 8d676000 90f90000
fb40: 00000007 00000000 00000001 80291dac 00000001 8acbfb5c 18100000 00000000
fb60: 00000000 8d676000 00000003 8d8fec00 8d8fec00 8acbfcd0 00000007 00000000
fb80: 8d67601c 8029bf64 00000000 80054378 60000013 8acbfcd4 8d676000 8d8fec00
fba0: 90f90000 80286e6c 18103000 18003000 00000070 8d8fec00 18103000 00000004
fbc0: 90f90000 00000000 00000000 00000000 00000003 8d676000 00000001 90f90000
fbe0: 8d8fec00 00000000 00000007 18003000 8d67601c 802aca30 8acbfcd4 8acbfcd0
fc00: 00000003 00000001 00000016 00000003 00000001 00000000 90f90000 00000021
fc20: ffffffff 90f90000 90800000 8d6b6a4c 8d8fee80 285c4e1f 00000644 8d676000
fc40: 8acbfcd0 8acbfcd4 8d8fec00 00004365 00000001 90f90000 000014e4 802ad88c
fc60: 00000001 8f035c00 8acbfcd4 8acbfcd0 00000000 00004365 00004365 00000000
fc80: 8accb600 8f035c00 8d8fec00 7f4d735c 8f035c00 8acbfcd4 8acbfcd0 90f93fff
fca0: 90f93fff 77c70000 8051d0dc 00008c00 00000000 00000003 00004000 00000000
fcc0: 00004365 8d8fec00 00000003 8004f4c0 00000000 00000000 00000000 08c03fff
fce0: 8b411400 8accb600 00000000 8b411400 7f791290 8acca600 00004365 8d8fec00
fd00: 00000003 7f4ba604 00000000 8d8fec00 90f90000 00000001 8f035c00 00000000
fd20: 8acbfdcc 00000020 8acbfd6c 8f035c00 08c00000 000014e4 8acbfd7c 00000000
fd40: 00000000 00000001 8f811100 8f811104 8f05d240 80054290 8f04b400 00000004
fd60: 00000000 80054a04 00000000 8f812850 8f05d240 80054290 8f04b400 00000004
fd80: 00000000 80054a04 8f05d240 80054290 8f04b400 00000040 00000000 80054a04
fda0: 00000000 80054378 60000013 8acbfe04 40000013 00000040 8f04b400 00000000
fdc0: 0001d769 0000001c 00000000 00000000 8acbfddc 8f035c00 00000000 7f790a04
fde0: 7f58f608 7f7b7000 0001d769 0000001c 00000000 7f58f6c4 000000a3 00000000
fe00: 7f790a04 00000000 8f035c00 80209c80 80209c24 8056dacc 7f790a34 8f035c60
fe20: 7f790a34 80228134 8f035c60 7f790a34 8f035c94 00000000 7f7b7000 802282bc
fe40: 7f790a34 8acbfe50 80228230 80227390 8f8ce280 8f0198d8 8f8ce250 7f790a34
fe60: 80524300 8f1b0960 00000000 80227a88 7f6f2234 801ef384 8f8ce240 7f790a34
fe80: 7f790a34 80524300 00000000 7f7b7000 0000001c 802284c0 7f790a04 7f790a34
fea0: 80524300 00000000 7f7b7000 80209ee8 00000000 7f790ef4 80538000 8acbe000
fec0: 00000000 800465bc 0000001c 00000013 8051a3bc 8820685c 88178ee0 7f790ef4
fee0: 7f790eac 7f790ef4 7f790eac 00000001 8d6b6f40 00000001 0000001c 8009ad58
ff00: 7f790eb8 0000d7d0 8009977c 7f790fe0 80562f20 8acbe000 924332a4 0009e008
ff20: 8acc28c8 92002000 004e0a84 92440bf8 924409cf 92456320 88bf0000 0043a390
ff40: 00448c50 00000000 00000000 0000002f 00000030 00000025 00000029 0000001f
ff60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 804d93bc
ff80: 00000003 7eb12f65 2abe8008 0009e008 00000080 80046c68 8acbe000 00000000
ffa0: 00000000 80046ac0 7eb12f65 2abe8008 2abe8008 004e0a84 0009e008 00000000
ffc0: 7eb12f65 2abe8008 0009e008 00000080 000001e3 0000d7d0 7eb12df8 00000000
ffe0: 2ab8a1f4 7eb12d70 000185cc 2ab8a204 20000010 2abe8008 00000000 00000000
[<802a0d14>] (PC is at osl_pcie_rreg+0x80/0xdc)
[<802a0d14>] (osl_pcie_rreg+0x80/0xdc) from [<80291afc>] (si_pmu_get_pmutimer+0x50/0x15c)
[<80291afc>] (si_pmu_get_pmutimer+0x50/0x15c) from [<80291c5c>] (si_pmu_wait_for_res_pending+0x34/0x10c)
[<80291c5c>] (si_pmu_wait_for_res_pending+0x34/0x10c) from [<80291dac>] (si_pmu_wait_for_steady_state+0x78/0xa4)
[<80291dac>] (si_pmu_wait_for_steady_state+0x78/0xa4) from [<8029bf64>] (si_pmu_is_otp_powered+0x34/0x2b4)
[<8029bf64>] (si_pmu_is_otp_powered+0x34/0x2b4) from [<80286e6c>] (srom_var_init+0x128/0x390)
[<80286e6c>] (srom_var_init+0x128/0x390) from [<802aca30>] (si_doattach+0x540/0x1228)
[<802aca30>] (si_doattach+0x540/0x1228) from [<802ad88c>] (si_attach+0x58/0x9c)
[<802ad88c>] (si_attach+0x58/0x9c) from [<7f4d735c>] (wlc_attach+0x64/0x1ec0 [wl])
[<7f4d735c>] (wlc_attach+0x64/0x1ec0 [wl]) from [<7f4ba604>] (wl_attach.clone.10.clone.11+0x220/0x728 [wl])
[<7f4ba604>] (wl_attach.clone.10.clone.11+0x220/0x728 [wl]) from [<7f58f6c4>] (wl_pci_probe+0xbc/0xe0 [wl])
[<7f58f6c4>] (wl_pci_probe+0xbc/0xe0 [wl]) from [<80209c80>] (pci_device_probe+0x5c/0x80)
[<80209c80>] (pci_device_probe+0x5c/0x80) from [<80228134>] (driver_probe_device+0x78/0x174)
[<80228134>] (driver_probe_device+0x78/0x174) from [<802282bc>] (__driver_attach+0x8c/0x90)
[<802282bc>] (__driver_attach+0x8c/0x90) from [<80227390>] (bus_for_each_dev+0x54/0x80)
[<80227390>] (bus_for_each_dev+0x54/0x80) from [<80227a88>] (bus_add_driver+0x98/0x230)
[<80227a88>] (bus_add_driver+0x98/0x230) from [<802284c0>] (driver_register+0x78/0x13c)
[<802284c0>] (driver_register+0x78/0x13c) from [<80209ee8>] (__pci_register_driver+0x44/0xb4)
[<80209ee8>] (__pci_register_driver+0x44/0xb4) from [<800465bc>] (do_one_initcall+0x30/0x19c)
[<800465bc>] (do_one_initcall+0x30/0x19c) from [<8009ad58>] (sys_init_module+0x11c/0x1bac)
[<8009ad58>] (sys_init_module+0x11c/0x1bac) from [<80046ac0>] (ret_fast_syscall+0x0/0x30)
Code: 08bd81f0 e59f005c e8bd41f0 ea04bb61 (e5943000)
---[ end trace 6fa525703d3eb7d9 ]---
Kernel panic - not syncing: Fatal exception
[<8004d004>] (unwind_backtrace+0x0/0xf8) from [<803ccea0>] (panic+0x74/0x1a0)
[<803ccea0>] (panic+0x74/0x1a0) from [<8004a6d8>] (die+0x1a4/0x1dc)
[<8004a6d8>] (die+0x1a4/0x1dc) from [<8004e48c>] (__do_kernel_fault+0x64/0x84)
[<8004e48c>] (__do_kernel_fault+0x64/0x84) from [<8004e5fc>] (do_page_fault+0x150/0x1ec)
[<8004e5fc>] (do_page_fault+0x150/0x1ec) from [<800463a4>] (do_DataAbort+0x30/0x9c)
[<800463a4>] (do_DataAbort+0x30/0x9c) from [<804c9cac>] (__dabt_svc+0x4c/0x60)
Exception stack(0x8acbfa98 to 0x8acbfae0)
fa80:                                                       60000013 60000013
faa0: 60000013 00000000 00000000 00000003 8acbfafc 00000001 00000001 8acbfb24
fac0: 8acbfb20 90f90000 00000007 8acbfae0 802a0d64 802a0d14 80000093 ffffffff
[<804c9cac>] (__dabt_svc+0x4c/0x60) from [<802a0d14>] (osl_pcie_rreg+0x80/0xdc)
[<802a0d14>] (osl_pcie_rreg+0x80/0xdc) from [<80291afc>] (si_pmu_get_pmutimer+0x50/0x15c)
[<80291afc>] (si_pmu_get_pmutimer+0x50/0x15c) from [<80291c5c>] (si_pmu_wait_for_res_pending+0x34/0x10c)
[<80291c5c>] (si_pmu_wait_for_res_pending+0x34/0x10c) from [<80291dac>] (si_pmu_wait_for_steady_state+0x78/0xa4)
[<80291dac>] (si_pmu_wait_for_steady_state+0x78/0xa4) from [<8029bf64>] (si_pmu_is_otp_powered+0x34/0x2b4)
[<8029bf64>] (si_pmu_is_otp_powered+0x34/0x2b4) from [<80286e6c>] (srom_var_init+0x128/0x390)
[<80286e6c>] (srom_var_init+0x128/0x390) from [<802aca30>] (si_doattach+0x540/0x1228)
[<802aca30>] (si_doattach+0x540/0x1228) from [<802ad88c>] (si_attach+0x58/0x9c)
[<802ad88c>] (si_attach+0x58/0x9c) from [<7f4d735c>] (wlc_attach+0x64/0x1ec0 [wl])
[<7f4d735c>] (wlc_attach+0x64/0x1ec0 [wl]) from [<7f4ba604>] (wl_attach.clone.10.clone.11+0x220/0x728 [wl])
[<7f4ba604>] (wl_attach.clone.10.clone.11+0x220/0x728 [wl]) from [<7f58f6c4>] (wl_pci_probe+0xbc/0xe0 [wl])
[<7f58f6c4>] (wl_pci_probe+0xbc/0xe0 [wl]) from [<80209c80>] (pci_device_probe+0x5c/0x80)
[<80209c80>] (pci_device_probe+0x5c/0x80) from [<80228134>] (driver_probe_device+0x78/0x174)
[<80228134>] (driver_probe_device+0x78/0x174) from [<802282bc>] (__driver_attach+0x8c/0x90)
[<802282bc>] (__driver_attach+0x8c/0x90) from [<80227390>] (bus_for_each_dev+0x54/0x80)
[<80227390>] (bus_for_each_dev+0x54/0x80) from [<80227a88>] (bus_add_driver+0x98/0x230)
[<80227a88>] (bus_add_driver+0x98/0x230) from [<802284c0>] (driver_register+0x78/0x13c)
[<802284c0>] (driver_register+0x78/0x13c) from [<80209ee8>] (__pci_register_driver+0x44/0xb4)
[<80209ee8>] (__pci_register_driver+0x44/0xb4) from [<800465bc>] (do_one_initcall+0x30/0x19c)
[<800465bc>] (do_one_initcall+0x30/0x19c) from [<8009ad58>] (sys_init_module+0x11c/0x1bac)
[<8009ad58>] (sys_init_module+0x11c/0x1bac) from [<80046ac0>] (ret_fast_syscall+0x0/0x30)
CPU1: stopping
Rebooting in 3 seconds..[<8004d004>] (unwind_backtrace+0x0/0xf8) from [<80046334>] (do_IPI+0x114/0x154)
[<80046334>] (do_IPI+0x114/0x154) from [<804c9d20>] (__irq_svc+0x60/0x138)
Exception stack(0x8f09bf00 to 0x8f09bf48)
bf00: 8055eb00 0000bf0d 8f09bf58 8f09a000 0009c900 0000002b 8055ea50 00001000
bf20: 00000000 00000063 8051e2dc 00000000 00003fff 8f09bf48 8006df38 803cfc9c
bf40: 60000113 ffffffff
[<804c9d20>] (__irq_svc+0x60/0x138) from [<803cfc9c>] (__raw_spin_lock_irqsave+0x8/0xb8)
[<803cfc9c>] (__raw_spin_lock_irqsave+0x8/0xb8) from [<8006df38>] (do_syslog+0x138/0x460)
[<8006df38>] (do_syslog+0x138/0x460) from [<80046ac0>] (ret_fast_syscall+0x0/0x30)
Digital core power voltage set to 1.05V
Decompressing...done
Digital core power voltage set to 1.05V

CFE Boot Loader v0.5.1__7.14.131.35

#352

Try performing a hard reset on the device


#353

Same, its really weird that both router would react the same to factory reset


#354

I did that. Im able to flash. But when the router restart, i always get the same error.

It tries to do: inserting ctf.ko for broadcomm

Then it restart. Over and over again


#355

Did the routers, when you first purchased them, ran fine? I just think that you may have bad unit(s)