Posted: Wed Sep 16, 2015 23:46 Post subject: Re: DD-WRT kongac build works with raito77 firmware
zhouyuwei128 wrote:
razel wrote:
Registered to show my gratitude and begin contributing to DD-WRT for 10 years of the best router software for free. Installing DD-WRT on the EA6200 re-enables 866Mbps AC and both implicit (AC)/explicit (both N/AC) beamforming. Not sure if the stock firmware did both.
With the Linksys firmware you cannot update to the:
Use the firmware referenced by raito77 on page one on this thread to then flash the above firmware. That is an older Linksys firmware with SSH, but it works to get you to DD-WRT. All works well and do the obvious. So,
- reset to factory
- update raito77's referenced firmware using Linksys web interface
- update to kongac firmware (same web iface)
- save the startup script by xaueious
The current 8/8/2015 and his previous build both work wonderfully. You can then go back to the Linksys firmware, but as noted, you cannot go back to DD-WRT unless you flash raito77's referred firmware 1st. At least in my experience.
Also if you have a long cable on the WAN side connected to your modem that has a gigabit port, if your cable is not up to snuff it may eventually negotiate all the way to 10Mbps and stays there even through a reset/power down/defaults reset. Not a fault of DD-WRT as it happens with the Linksys firmware as well. You can force it back to 100Mbps, but the correct fix is to get the cabling right.
Where exactly i can find Kong's DD FW version of 24800M and 26500M. I download FW from below link and tried to update it into my EA6200, not successful upgraded from whichever stock FW ver.159870 or 164830 with or without SSH. It will circle back to linksys' official FW (same as stock FW? I assume). So I return back to DDWRT ver.24461, temporarily functional, but AC-5G only speed at 173.3Mbps.
I have the same problem. I followed the instructions of first flashing with the older ssh linksys firmware linked in raito77's post. It flashes fine. However, I cannot go to 24800M using the web interface. After the flash it reboots several times over eventually coming up but with the same raito77 firmware again.
I have an idea since the EA6400 is supported now. Physically the boards do look very similar (www.smallnetbuilder.com/wireless/wireless-features/32089-a-nice-surprise-for-early-linksys-ea6300-buyers). Not sure if it's similar enough to just keep the same settings as the EA6400
Posted: Mon Oct 05, 2015 15:03 Post subject: r27858's rt-ac56u and openwrt-1505's bcm53xx-asus-rt-ac56u.
Linksys stock firmware dmesg:
Code:
Decompressing...done
Decompressing...done
Found a Samsung NAND flash:
Total size: 128MB
Block size: 128KB
Page Size: 2048B
OOB Size: 64B
Sector size: 512B
Spare size: 16B
ECC level: 8-bit
Device ID: 0xec 0xf1 0x00 0x95 0x40
find_devinfo: devinfo block found at 0x00180000!
Press Ctrl+C to stop in CFE
CFE version 6.39.163.14 (r374748) based on BBP 1.0.37 for BCM947XX (32bit,SP,)
Build Date: Tue Jun 11 11:59:51 CST 2013 (proc@f8acerpro), for the WG9116FAC22_d
Copyright (C) 2000-2008 Broadcom Corporation.
Copyright (C) 2013 Arcadyan Corporation.
WG9116FAC22_88 board, flashing LED...
Init Arena
Init Devs.
Boot partition size = 262144(0x40000)
DDR Clock: 400 MHz
Info: DDR frequency set from clkfreq=800,*400*
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.39.163.14 (r374748)
CPU type 0x0: 800MHz
Tot mem: 131072 KBytes
Device eth0: hwaddr 98-FC-11-F9-5A-6D, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Loader:raw, invalid tftp target filename (:)!
Could not load :: Invalid parameter
Changed to the other image 0 (maxpartialboots exceeded)
Booting(0): boot -raw -z -addr=0x8000 -max=0xef8000 nflash0.os:
Loader:raw Filesys:raw Dev:nflash0.os File: Options:(null)
Loading: .... 4678976 bytes read
Entry at 0x00008000
Closing network.
Starting program at 0x00008000
console [ttyS0] enabled, bootconsole disabled
serial8250.0: ttyS1 at MMIO 0x18000400 (irq = 117) is a 16550
brd: module loaded
loop: module loaded
pflash: found no supported devices
bcmsflash: found no supported devices
The first offset=200000, 2nd offset=1f00000
Boot partition size = 524288(0x80000)
lookup_nflash_rootfs_offset: offset = 0x200000
nflash: squash filesystem with lzma found at block 30
lookup_nflash_rootfs_offset: offset = 0x1f00000
Creating 6 MTD partitions on "nflash":
0x000000000000-0x000000080000 : "boot"
0x000000080000-0x000000200000 : "nvram"
0x000000200000-0x000001f00000 : "linux"
0x0000003d3650-0x000001f00000 : "rootfs"
0x000001f00000-0x000003c00000 : "linux2"
0x000003c00000-0x000008000000 : "rootfs2"
PPP generic driver version 2.4.2
PPP MPPE Compression module registered
NET: Registered protocol family 24
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
CSLIP: code copyright 1989 Regents of the University of California.
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
u32 classifier
Actions configured
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (1944 buckets, 7776 max)
ctnetlink v0.93: registering with nfnetlink.
nf_conntrack_rtsp v0.6.21 loading
IPv4 over IPv4 tunneling driver
nf_nat_rtsp v0.6.21 loading
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
Bridge firewalling registered
Ebtables v2.0 registered
L2TP core driver, V2.0
PPPoL2TP kernel driver, V2.0
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
Northstar brcmnand NAND Flash Controller driver, Version 0.1 (c) Broadcom Inc. 2
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-b)
Spare area=64 eccbytes 56, ecc bytes located at:
2 3 4 5 6 7 8 9 10 11 12 13 14 15 18 19 20 21 22 23 24 25 26 27 28 29 30 31 343
Available 7 bytes at (off,len):
(1,1) (16,2) (32,2) (48,2) (0,0) (0,0) (0,0) (0,0)
Scanning device for bad blocks
Options: NO_AUTOINCR,NO_PADDING,CACHEPRG,COPYBACK,NO_READRDY,BBT_SCAN2NDPAGE,
Creating 1 MTD partitions on "brcmnand":
0x000003c00000-0x000008000000 : "brcmnand"
VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
devtmpfs: mounted
Freeing init memory: 192K
Failed to execute /sbin/preinit. Attempting defaults...
********************************************************************************
_ _ __ _ __ _____ __ __ _____
| | | || \ | | / // ____]\ \ / // ____]TM
| | | || \ | | / /| (___ \ V /| (____
| | | || |\ \| |\ \ \____ \ \ / \____ \
| |_____ | || | \ | \ \ ____) | | | ____) |
|_______||_||_| \__| \_\[____ / |_| [_____/
(c) 2013 Belkin International, Inc. and/or its affiliates. All rights reserved.
Booting lemans (firmware version 1.1.41.153743)
********************************************************************************
[utopia][init] System Initialization
[utopia][init] Creating /proc
[utopia][init] Creating /sys
[utopia][init] Creating /dev
[utopia][init] Creating /tmp
[utopia][init] Allocating 4M 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.3
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
checking for interactive script start up...
0xb000000 0x1000000
0xc000000 0x1000000
0xd000000 0x1000000
0xe000000 0x1000000
0xf000000 0x1000000
0x10000000 0x1000000
0x11000000 0x1000000
0x12000000 0x1000000
0x13000000 0x1000000
0x14000000 0x1000000
0x15000000 0x1000000
0x16000000 0x1000000
0x17000000 0x1000000
0x18000000 0x1000000
[utopia][init] Starting bdutil daemon
BDUTIL daemon mode
Sat Jul 28 17:10:00 UTC 2012
(none) login: 0x11010000 0x1000000
0x12010000 0x1000000
[utopia] Not setting ppp_clamp_mtu
configuring interfaces for IGMP filtering
wifi, sysevent received: lan-started
Lighttpd Model Base: EA6200
Generating Rainier lighttpd config
wifi, service_start()
[utopia] Not setting ppp_clamp_mtu on dslite protocol
wifi, system_boot_init
Device is Broadcom Router
Registering Service myrouter._http._tcp.local port 80
Got a reply for myrouter._http._tcp.local.: Name now registered and active
Build temporary www configuration directory:
TSLIIHauhEfGE
Duplicate configuration request
Failed to modify password entry for user guest
wifi, user vap eth1 is up
wifi, user vap eth2 is up
info: Received event notification_event-device-online with value "87624c2f-c9bf.
info: Handled event notification_event-device-online.
### wps_wfi_init(): <wl0_wfi_enable=(null)><wl1_wfi_enable=(null)>WFI is not en#
Restarting nfqrecv service...
After getting serial console, I tried flashing openwrt-15.05-bcm53xx-asus-rt-ac56u-squashfs.trx from the stock firmware's web GUI. dmesg:
Code:
Decompressing...done
Decompressing...done
Found a Samsung NAND flash:
Total size: 128MB
Block size: 128KB
Page Size: 2048B
OOB Size: 64B
Sector size: 512B
Spare size: 16B
ECC level: 8-bit
Device ID: 0xec 0xf1 0x00 0x95 0x40
find_devinfo: devinfo block found at 0x00180000!
Press Ctrl+C to stop in CFE
CFE version 6.39.163.14 (r374748) based on BBP 1.0.37 for BCM947XX (32bit,SP,)
Build Date: Tue Jun 11 11:59:51 CST 2013 (proc@f8acerpro), for the WG9116FAC22_d
Copyright (C) 2000-2008 Broadcom Corporation.
Copyright (C) 2013 Arcadyan Corporation.
WG9116FAC22_88 board, flashing LED...
Init Arena
Init Devs.
Boot partition size = 262144(0x40000)
DDR Clock: 400 MHz
Info: DDR frequency set from clkfreq=800,*400*
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.39.163.14 (r374748)
CPU type 0x0: 800MHz
Tot mem: 131072 KBytes
Posted: Mon Oct 05, 2015 15:14 Post subject: Previous post got truncated, here's the full ddwrt dmesg.
After that, I tried flashing ddwrt-r27858's asus_rt-ac56u-firmware.trx to mtd4 above (please don't try this at home!). dmesg:
Code:
/tmp/var/config # image_writer asus_rt-ac56u-firmware.trx /dev/mtd4
/dev/mtd4: CRC OK
/tmp/var/config # nvram set bootpartition=1
/tmp/var/config # nvram commit
/tmp/var/config # nvram show | egrep -i boot
size: 6956 bytes (58580 left)
bootpartition=1
boot_wait=on
maxpartialboots=3
nvram_reboot=0
partialboots=1
/tmp/var/config # reboot
/tmp/var/config # system is going down
wifi, sysevent received: wifi-stop
wifi, service_stop()
committing syscfg
system is going down in 7 sec
wifi, user vap eth1 is down
wifi, user vap eth2 is down
Guest access control is down
killall: cannot kill pid 5363: No such process
killall: cannot kill pid 5448: No such process
killall: cannot kill pid 5450: No such process
killall: cannot kill pid 5451: No such process
killall: cannot kill pid 5452: No such process
Jul 28 17:32:51 mDNSResponder (Engineering Build) (Jul 30 2013 15:50:26) [5138]g
umount: /dev/mtdblock6 busy - remounted read-only
umount: none busy - remounted read-only
umount: mdev busy - remounted read-only
umount: devtmpfs busy - remounted read-only
system is going down now
The system is going down NOW!
Sent SIGTERM to all processes
SentRestarting system.
Decompressing...done
Decompressing...done
Found a Samsung NAND flash:
Total size: 128MB
Block size: 128KB
Page Size: 2048B
OOB Size: 64B
Sector size: 512B
Spare size: 16B
ECC level: 8-bit
Device ID: 0xec 0xf1 0x00 0x95 0x40
find_devinfo: devinfo block found at 0x00180000!
Press Ctrl+C to stop in CFE
CFE version 6.39.163.14 (r374748) based on BBP 1.0.37 for BCM947XX (32bit,SP,)
Build Date: Tue Jun 11 11:59:51 CST 2013 (proc@f8acerpro), for the WG9116FAC22_d
Copyright (C) 2000-2008 Broadcom Corporation.
Copyright (C) 2013 Arcadyan Corporation.
WG9116FAC22_88 board, flashing LED...
Init Arena
Init Devs.
Boot partition size = 262144(0x40000)
DDR Clock: 400 MHz
Info: DDR frequency set from clkfreq=800,*400*
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.39.163.14 (r374748)
CPU type 0x0: 800MHz
Tot mem: 131072 KBytes
Device eth0: hwaddr 98-FC-11-F9-5A-6D, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Loader:raw, invalid tftp target filename (:)!
Could not load :: Invalid parameter
Booting(1): boot -raw -z -addr=0x8000 -max=0xef8000 nflash0.os2:
Loader:raw Filesys:raw Dev:nflash0.os2 File: Options:(null)
Loading: .. 1452376 bytes read
Entry at 0x00008000
Closing network.
Starting program at 0x00008000
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Linux version 3.10.89 (root@nmndev) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-5
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Northstar Prototype
Ignoring unrecognised tag 0x00000000
Memory policy: ECC disabled, Data cache writealloc
map io
MPCORE found at 19020000 (VIRT d9020000) 18000000 d8000000
PERCPU: Embedded 7 pages/cpu @c057e000 s6400 r8192 d14080 u32768
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: console=ttyS0,115200 panic=10 root=/dev/mtdblock3 earlyprih
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 125276k/125276k available, 5796k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xc8800000 - 0xff000000 ( 872 MB)
lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc03abda4 (3728 kB)
.init : 0xc03ac000 - 0xc03e6900 ( 235 kB)
.data : 0xc03e8000 - 0xc041aa20 ( 203 kB)
.bss : 0xc041aa20 - 0xc047aee4 ( 386 kB)
Hierarchical RCU implementation.
CONFIG_RCU_FANOUT set to non-default value of 2
NR_IRQS:256
MPCORE GIC init
External imprecise Data abort at addr=0x0, fsr=0x1c06 ignored.
MPCORE Global Timer Clock 400000000Hz on IRQ 27
sched_clock: 32 bits at 400MHz, resolution 2ns, wraps every 10737ms
register local timer
smp_twd: clock not found -2
Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Calibrating local timer... 399.69MHz.
2 cores has been found
Setting up static identity map for 0xc00126d0 - 0xc0012704
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x7a530000, Cache size: 262144 B
CPU1: failed to boot: -38
Brought up 1 CPUs
SMP: Total of 1 processors activated (1594.16 BogoMIPS).
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
Found a Samsung NAND flash:
Total size: 128MB
Block size: 128KB
Page Size: 2048B
OOB Size: 64B
Sector size: 512B
Spare size: 16B
ECC level: 8 (8-bit)
Device ID: 0xec 0xf1 0x 0 0x95 0x40 0xec
found nand nvram at 80000
CCA UART Clock Config: Sel=1 Ovr=1 Div=48
CCA UART Clock rate 100000000Hz
bio: create slab <bio-0> at 0
Switching to clocksource mpcore_gtimer
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP: reno registered
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
init gpio code
PCI: no core
PCI: no core
PCI: scanning bus 0
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io 0x0000-0xffffffff]
pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffff]
pci_bus 0000:00: root bus resource [bus 00-ff]
PCI: Fixing up bus 0
PCIE1 link=1
PCIE1 switching to GEN2
PCIE1 link=1
PCI host bridge to bus 0001:00
pci_bus 0001:00: root bus resource [mem 0x08000000-0x0fffffff]
pci_bus 0001:00: No busn resource found for root bus, will use [bus 00-ff]
PCI: Fixing up bus 0
PCI: bus0: Fast back to back transfers disabled
PCI: Fixing up bus 1
PCI: bus1: Fast back to back transfers disabled
pci 0001:00:00.0: BAR 8: assigned [mem 0x08000000-0x080fffff]
pci 0001:01:00.0: BAR 0: assigned [mem 0x08000000-0x08007fff 64bit]
pci 0001:00:00.0: PCI bridge to [bus 01]
pci 0001:00:00.0: bridge window [mem 0x08000000-0x080fffff]
PCIE2 link=1
PCIE2 switching to GEN2
PCIE2 link=1
PCI host bridge to bus 0002:00
pci_bus 0002:00: root bus resource [mem 0x40000000-0x47ffffff]
pci_bus 0002:00: No busn resource found for root bus, will use [bus 00-ff]
PCI: Fixing up bus 0
PCI: bus0: Fast back to back transfers disabled
PCI: Fixing up bus 1
PCI: bus1: Fast back to back transfers disabled
pci 0002:00:00.0: BAR 8: assigned [mem 0x40000000-0x400fffff]
pci 0002:01:00.0: BAR 0: assigned [mem 0x40000000-0x40007fff 64bit]
pci 0002:00:00.0: PCI bridge to [bus 01]
pci 0002:00:00.0: bridge window [mem 0x40000000-0x400fffff]
PCIE3 link=0
Error creating gpio class
squashfs: version 3.0 (2006/03/15) Phillip Lougher
msgmni has been set to 244
io scheduler noop registered (default)
io scheduler cfq registered
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x18000300 (irq = 117) is a 16550
console [ttyS0] enabled
serial8250.0: ttyS1 at MMIO 0x18000400 (irq = 117) is a 16550
brd: module loaded
loop: module loaded
bcmsflash: found no supported devices
The first offset=200000, 2nd offset=1f00000
Boot partition size = 524288(0x80000)
lookup_nflash_rootfs_offset: offset = 0x200000 size = 0x1d00000, 0x20000
found TRX Header on nflash!
lookup_nflash_rootfs_offset: offset = 0x1f00000 size = 0x100000, 0x20000
found TRX Header on nflash!
Creating 6 MTD partitions on "nflash":
0x000000000000-0x000000080000 : "boot"
0x000000080000-0x000000200000 : "nvram"
0x000001f00000-0x000002000000 : "linux"
0x000002080000-0x000102000000 : "rootfs"
mtd: partition "rootfs" extends beyond the end of device "nflash" -- size trunc0
0x000000200000-0x000001f00000 : "linux2"
0x000001f13650-0x000002000000 : "rootfs"
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
GACT probability NOT on
Mirror/redirect action on
Failed to load ipt action
Simple TC action Loaded
netem: version 1.3
u32 classifier
Performance counters on
input device check on
Actions configured
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (1957 buckets, 7828 max)
nf_conntrack_rtsp v0.6.21 loading
xt_time: kernel timezone is -0000
ip_set: protocol 6
gre: GRE over IPv4 demultiplexor driver
nf_nat_rtsp v0.6.21 loading
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP: bic registered
TCP: cubic registered
TCP: westwood registered
TCP: highspeed registered
TCP: hybla registered
TCP: htcp registered
TCP: vegas registered
TCP: veno registered
TCP: scalable registered
TCP: lp registered
TCP: yeah registered
TCP: illinois registered
NET: Registered protocol family 17
Bridge firewalling registered
8021q: 802.1Q VLAN Support v1.8
Key type encrypted registered
Northstar brcmnand NAND Flash Controller driver, Version 0.1 (c) Broadcom Inc. 2
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-b4
Spare area=64 eccbytes 56, ecc bytes located at:
2 3 4 5 6 7 8 9 10 11 12 13 14 15 18 19 20 21 22 23 24 25 26 27 28 29 30 31 343
Available 7 bytes at (off,len):
(1,1) (16,2) (32,2) (48,2) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0
Driver must set ecc.strength when using hardware ECC
Scanning device for bad blocks
Options: CACHEPRG,NO_SUBPAGE_WRITE,
Creating 1 MTD partitions on "brcmnand":
0x000002000000-0x000008000000 : "ddwrt"
VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
Freeing unused kernel memory: 232K (c03ac000 - c03e6000)
start service
starting Architecture code for northstar
udevtrigger[311]: parse_config_file: can't open '/etc/udev/udev.conf' as configy
sh: can't create /sys/class/net/lo/queues/tx-1/xps_cpus: nonexistent directory
sh: can't create /sys/class/net/teql0/queues/tx-1/xps_cpus: nonexistent directoy
sh: can't create /sys/class/net/teql0/queues/tx-2/xps_cpus: nonexistent directoy
sh: can't create /sys/class/net/teql0/queues/tx-3/xps_cpus: nonexistent directoy
sh: can't create /sys/class/net/lo/queues/tx-2/xps_cpus: nonexistent directory
sh: can't create /sys/class/net/teql0/queues/tx-4/xps_cpus: nonexistent directoy
sh: can't create /sys/class/net/lo/queues/tx-3/xps_cpus: nonexistent directory
sh: can't create /sys/class/net/teql0/queues/tx-5/xps_cpus: nonexistent directoy
1970-01-01 00:00:16 main: Sanity checks succeeded
sh: can't create /sys/class/net/lo/queues/tx-4/xps_cpus: nonexistent directory
sh: can't create /sys/class/net/teql0/queues/tx-6/xps_cpus: nonexistent directoy
sh: can't create /sys/class/net/lo/queues/tx-5/xps_cpus: nonexistent directory
sh: can't create /sys/class/net/teql0/queues/tx-7/xps_cpus: nonexistent directoy
sh: can't create /sys/class/net/lo/queues/tx-6/xps_cpus: nonexistent directory
sh: can't create /sys/class/net/lo/queues/tx-7/xps_cpus: nonexistent directory
length = 80000
try modules for ethernet adapters
et: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
et_module_init: passivemode set to 0x0
et_module_init: txworkq set to 0x0
et_module_init: et_txq_thresh set to 0x400
et_module_init: et_rxlazy_timeout set to 0x3e8
et_module_init: et_rxlazy_framecnt set to 0x20
eth0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 7.14.89.21 (r524987)
sh: can't create /sys/class/net/eth0/queues/tx-1/xps_cpus: nonexistent directory
sh: can't create /sys/class/net/eth0/queues/tx-2/xps_cpus: nonexistent directory
sh: can't create /sys/class/net/eth0/queues/tx-3/xps_cpus: nonexistent directory
sh: can't create /sys/class/net/eth0/queues/tx-4/xps_cpus: nonexistent directory
sh: can't create /sys/class/net/eth0/queues/tx-5/xps_cpus: nonexistent directory
sh: can't create /sys/class/net/eth0/queues/tx-6/xps_cpus: nonexistent directory
sh: can't create /sys/class/net/vlan1/queues/tx-1/xps_cpus: nonexistent directoy
sh: can't create /sys/class/net/eth0/queues/tx-7roboswitch: Probing device 'eth'
/xproboswitch: trying a 53011! at eth0
s_cdetected CPU Port is 5
pusroboswitch: found a 53011! at eth0
: ndetected CPU Port is 5
onexistent directory
sh: can't create /sys/class/net/vlan1/queues/tx-2/xps_cpus: nonexistent directoy
sh: can't create /sys/class/net/vlan2/queues/tx-1/xps_cpus: nonexistent directoy
sh: can't create /sys/class/net/vlan1/queues/tx-3/xps_cpus: nonexistent directoy
sh: can't create /sys/class/net/vlan2/queues/tx-2/xps_cpus: nonexistent directoy
sh: can't create /sys/class/net/vlan1/queues/tx-4/xps_cpus: nonexistent directoy
sh: can't create /sys/class/net/vlan2/queues/tx-3/xps_cpus: nonexistent directoy
sh: can't create /sys/class/net/vlan1/queues/tx-5/xps_cpus: nonexistent directoy
sh: can't create /sys/class/net/vlan2/queues/tx-4/xps_cpus: nonexistent directoy
sh: can't create /sys/class/net/vlan1/queues/tx-6/xps_cpus: nonexistent directoy
sh: can't create /sys/class/net/vlan2/queues/tx-5/xps_cpus: nonexistent directoy
sh: can't create /sys/class/net/vlan1/queues/tx-7/xps_cpus: nonexistent directoy
sh: can't create /sys/class/net/vlan2/queues/tx-6/xps_cpus: nonexistent directoy
sh: can't create /sys/class/net/vlan2/queues/tx-7/xps_cpus: nonexistent directoy
PCI: Enabling device 0002:01:00.0 (0140 -> 0142)
[USB] checking...
sh: can't create /sys/class/net/eth2/queues/tx-1/xps_cpus: nonexistent directory
sh: can't create /sys/class/net/eth1/queues/tx-1/xps_cpus: nonexistent directory
sh: can't create /sys/class/net/eth2/queues/tx-3/xps_cpus: nonexistent directory
sh: can't create /sys/class/net/eth1/queues/tx-2/xps_cpus: nonexistent directory
sh: can't create /sys/class/net/eth2/queues/tx-4/xps_cpus: nonexistent directory
sh: can't create /sys/class/net/eth1/queues/tx-3/xps_cpus: nonexistent directory
sh: can't create /sys/class/net/eth2/queues/tx-5/xps_cpus: nonexistent directory
sh: can't create /sys/class/net/eth1/queues/tx-4/xps_cpus: nonexistent directory
sh: can't create /sys/class/net/eth2/queues/tx-6/xps_cpus: nonexistent directory
sh: can't create /sys/class/net/eth1/queues/tx-5/xps_cpus: nonexistent directory
sh: can't create /sys/class/net/eth2/queues/tx-7/xps_cpus: nonexistent directory
sh: can't create /sys/class/net/eth1/queues/tx-6/xps_cpus: nonexistent directory
sh: can't create /sys/class/net/eth1/queues/tx-7/xps_cpus: nonexistent directory
umount: can't umount /mnt: No such file or directory
rmmod: usblp: No such file or directory
rmmod: printer: No such file or directory
rmmod: usb-storage: No such file or directory
rmmod: sr_mod: No such file or directory
rmmod: cdrom: No such file or directory
rmmod: sd_mod: No such file or directory
rmmod: scsi_wait_scan: No such file or directory
rmmod: scsi_mod: No such file or directory
rmmod: usbmisc_imx: No such file or directory
rmmod: ci13xxx_imx: No such file or directory
rmmod: ci_hdrc: No such file or directory
rmmod: phy-mxs-usb: No such file or directory
rmmod: fsl-mph-dr-of: No such file or directory
rmmod: usb-libusual: No such file or directory
rmmod: dwc_otg: No such file or directory
rmmod: xhci-pci: No such file or directory
rmmod: xhci-plat-hcd: No such file or directory
rmmod: xhci-hcd: No such file or directory
rmmod: usb-ohci: No such file or directory
rmmod: ohci-hcd: No such file or directory
rmmod: uhci-hcd: No such file or directory
rmmod: usb-uhci: No such file or directory
rmmod: ehci-pci: No such file or directory
rmmod: ehci-platform: No such file or directory
rmmod: ehci-hcd: No such file or directory
rmmod: fsl-mph-dr-of: No such file or directory
rmmod: usbcore: No such file or directory
rmmod: usb-common: No such file or directory
rmmod: xfs: No such file or directory
rmmod: msdos: No such file or directory
rmmod: vfat: No such file or directory
rmmod: fat: No such file or directory
rmmod: nls_utf8: No such file or directory
rmmod: nls_iso8859-2: No such file or directory
rmmod: nls_iso8859-1: No such file or directory
rmmod: nls_cp437: No such file or directory
rmmod: nls_cp932: No such file or directory
rmmod: nls_cp936: No such file or directory
rmmod: nls_cp950: No such file or directory
rmmod: nls_base: No such file or directory
rmmod: ext3: No such file or directory
rmmod: jbd: No such file or directory
rmmod: ext2: No such file or directory
rmmod: mbcache: No such file or directory
rmmod: fuse: No such file or directory
Name: lan_ifname Value: br0
Name: lan_ifnames Value: vlan1 vlan2 eth1 eth2
Name: wan_ifname Value: vlan2
Name: wan_ifname2 Value: vlan2
Name: wan_ifnames Value: vlan2
Name: wan_default Value: vlan2
vconfig: ioctl error for add: File exists
vconfig: ioctl error for add: File exists
eth0: mixed HW and IP checksum settings.
sh: can't create /sys/class/net/vlan0/queues/tx-1/xps_cpus: nonexistent directoy
sh: can't create /sys/class/net/vlan0/queues/tx-2/xps_cpus: nonexistent directoy
sh: can't create /sys/class/net/vlan0/queues/tx-3/xps_cpus: nonexistent directoy
sh: can't create /sys/class/net/vlan0/queues/tx-4/xps_cpus: nonexistent directoy
sh: can't create /sys/class/net/vlan0/queues/tx-5/xps_cpus: nonexistent directoy
sh: can't create /sys/class/net/vlan0/queues/tx-6/xps_cpus: nonexistent directoy
sh: can't create /sys/class/net/vlan0/queues/tx-7/xps_cpus: nonexistent directoy
sorry, your unit does not support resetbutton feature
Couldn't change bridge bridge_forward_delay
killall: ead: no process killed
sh: can't create /sys/class/net/br0/queues/tx-6/xps_cpus: nonexistent directory
sh: can't create /sys/class/net/br0/queues/tx-7/xps_cpus: nonexistent directory
br0: Invalid argument
device vlan1 entered promiscuous mode
device eth0 entered promiscuous mode
br0: Invalid argument
eth1: Not supported
base addr 98:FC:11:F9:5A:6F
local bit addr 9A:FC:11:F9:5A:6F
eth1: Invalid argument
eth1: Not supported
eth1: Operation not permitted
nbw = 20
channel 6, val 20
C000, 1000, 0, 6
spec D006
eth1: Invalid argument
eth1: Not supported
eth1: Not supported
eth1: Not supported
eth1: Not supported
eth1: Not supported
eth1: Not supported
eth1: Not supported
eth1: Not supported
eth1: Not supported
eth1: Not supported
eth1: Not supported
eth1: Not supported
eth1: Not supported
eth1: Not supported
eth1: Not supported
eth1: Not supported
eth1: Not supported
eth1: Not supported
eth1: Not supported
eth1: Not supported
eth1: Not supported
eth1: Not supported
eth1: Not supported
eth1: Not supported
eth1: Not supported
eth1: Not supported
eth1: Not supported
eth1: Not supported
eth1: Not supported
eth1: Not supported
enable bss eth1 0 (0)
eth1: Not supported
eth1: Not supported
wl: Unsupported
device eth1 entered promiscuous mode
br0: Invalid argument
eth2: Not supported
base addr 98:FC:11:F9:5A:6F
local bit addr 9A:FC:11:F9:5A:6F
eth2: Invalid argument
eth2: Not supported
eth2: Operation not permitted
eth2: Invalid argument
eth2: Not supported
eth2: Not supported
eth2: Not supported
eth2: Not supported
eth2: Not supported
eth2: Not supported
eth2: Not supported
eth2: Not supported
eth2: Not supported
eth2: Not supported
eth2: Not supported
eth2: Not supported
eth2: Not supported
eth2: Not supported
eth2: Not supported
eth2: Not supported
eth2: Not supported
eth2: Not supported
eth2: Not supported
eth2: Not supported
eth2: Not supported
eth2: Not supported
eth2: Not supported
eth2: Not supported
eth2: Not supported
eth2: Not supported
eth2: Not supported
eth2: Not supported
eth2: Not supported
enable bss eth2 0 (0)
wl: Unsupported
device eth2 entered promiscuous mode
sh: ead: nobr0: port 3(eth2) entered forwarding state
t fbr0: port 3(eth2) entered forwarding state
ounbr0: port 2(eth1) entered forwarding state
d
br0: port 2(eth1) entered forwarding state
br0: port 1(vlan1) entered forwarding state
br0: port 1(vlan1) entered forwarding state
device br0 left promiscuous mode
device br0 entered promiscuous mode
ifconfig: ioctl 0x8914 failed: Address not available
device br0 left promiscuous mode
rmmod: bonding: No such file or directory
function start_hwmon not found
cp: can't stat '/tmp/mycron.d/*': No such file or directory
cp: can't stat '/jffs/mycron.d/*': No such file or directory
cp: can't stat '/mmc/mycron.d/*': No such file or directory
rmmod: n_hdlc: No such file or directory
device vlan2 entered promiscuous mode
insmod: iptable_raw.ko: module not found
insmod: iptable_mangle.ko: module not found
insmod: nf_conntrack_h323.ko: module not found
insmod: xt_NFLOG.ko: module not found
insmod: xt_length.ko: module not found
insmod: xt_REDIRECT.ko: module not found
insmod: xt_CT.ko: module not found
insmod: xt_limit.ko: module not found
insmod: xt_TCPMSS.ko: module not found
insmod: xt_connbytes.ko: module not found
insmod: xt_connlimit.ko: module not found
insmod: xt_CLASSIFY.ko: module not found
insmod: xt_recent.ko: module not found
insmod: xt_conntrack.ko: module not found
insmod: xt_state.ko: module not found
insmod: xt_string.ko: module not found
insmod: xt_LOG.ko: module not found
insmod: xt_iprange.ko: module not found
insmod: xt_tcpmss.ko: module not found
insmod: xt_NETMAP.ko: module not found
insmod: compat_xtables.ko: module not found
insmod: ipt_MASQUERADE.ko: module not found
insmod: iptable_filter.ko: module not found
insmod: nf_reject_ipv4.ko: module not found
insmod: ipt_REJECT.ko: module not found
insmod: nf_nat_h323.ko: module not found
insmod: ipt_TRIGGER.ko: module not found
insmod: nf_nat_masquerade_ipv4.ko: module not found
insmod: ipt_ah.ko: module not found
modprobe: module ip_tables not found
modprobe: failed to load module ip_tables: No such file or directory
modprobe: module ip_tables not found
modprobe: failed to load module ip_tables: No such file or directory
modprobe: module ip_tables not found
modprobe: failed to load module ip_tables: No such file or directory
modprobe: module ip_tables not found
modprobe: failed to load module ip_tables: No such file or directory
sh: can't create /proc/sys/net/ipv4/netfilter/ip_conntrack_udp_timeouts: nonexiy
device vlan2 left promiscuous mode
udhcpc (v1.23.2) started
Sending discover...
Sending discover...
Sending discover...
Duplicate configuration request
Duplicate configuration request
/opt/etc/init.d/rcS: No such file or directory
/jffs/etc/init.d/rcS: No such file or directory
/mmc/etc/init.d/rcS: No such file or directory
sorry, your unit does not support resetbutton feature
nvram was changed, needs commit, waiting 10 sec.
The Milkfish Router Services
ERROR: Necessary service setting not found: milkfish_username - aborting.
killall: proxywatchdog.sh: no process killed
/mnt/smbshare
umount: can't umount /mnt/smbshare: No such file or directory
rmmod: cifs: No such file or directory
rmmod: fscache: No such file or directory
The Milkfish Router Services
Restoring SIP ddsubscriber database from NVRAM...
killall: schedulerb.sh: no process killed
Empty.
The Milkfish Router Services
Restoring SIP ddaliases database from NVRAM...
Empty.
killall: shatd: no process killed
killall: wdswatchdog.sh: no process killed
br0: port 3(eth2) entered forwarding state
br0: port 2(eth1) entered forwarding state
br0: port 1(vlan1) entered forwarding state
Sending discover...
Sending discover...
Sending discover...
Sending discover...
root@DD-WRT:~# cat /proc/cpuinfo
model name : ARMv7 Processor rev 0 (v7l)
processor : 0
BogoMIPS : 1594.16
Features : swp half thumb fastmult edsp tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc09
CPU revision : 0
stock firmware, and ddwrt seem to be confused about where "nvram" starts and ends. Both seem to think that it starts and ends at:
Code:
0x000000080000-0x000000200000 : "nvram"
Whereas openwrt seems to be doing a better job at detecting the "hidden board data" partition 0x000000180000-0x000000200000 which seems to be embedded into the "nvram" partition:
i just opened up a new ea6200 to attempt dd-wrt also, but needed to make sure i retained all relevant board info.
the original cfe and firmware retain a 'devinfo' partition that has the board data. i have the dump from 'devinfo show' on the native router serial port if anyone needs it.
can someone direct me about commands to use from the cfe prompt to safe the nflash0.devinfo partiton to a memory location (form which i can export it using tftp)?
Posted: Mon Oct 05, 2015 17:22 Post subject: Getting devinfo out.
ghoffman, the stock firmware has dd and BusyBox ftpput utility that you can use to get the information out. I don't think CFE allows you to do that - it's not designed for that. I have tried something like below successfully:
The "devinfo" will be at offset 1MiB (0x00100000) in that file. The first portion will be the actual nvram data, obviously.
Also, putting devinfo back onto the devide will require JTAG I'm assuming, because even CFE will not complete if you nuke the devinfo partition. I know because I have one in that state right now ...
Last edited by lowlymortal on Tue Oct 06, 2015 15:56; edited 1 time in total
lowlymortal -
thank you for the dd suggestion. i *think* that the devinfo partition is mapped out of accessible range once the firmware loads, but i will check.
from the cfe, it is possible to reload devinfo.
there is a 'devinfo' command that has the same format as 'nvram' except that it reads/writes the devinfo partition:
devinfo show
devinfo set ....
...
devinfo set ....
devinfo commit
i have text-edited a file containing all the devinfo values to prepend 'devinfo set ' before each line, then cut and pasted the text into the cfe command line, devinfo committed, and restored my brick.
Posted: Tue Oct 06, 2015 16:00 Post subject: CFE devinfo command ...
Thanks ghoffman, I was already aware of CFE's devinfo command. I will try it and see if I can unbrick my ea6200.
Still, having "nvram" partition cover both the actual nvram partition, and the devinfo partition is asking for trouble.
Is it safe to say that nvram partition is 1MiB and devinfo partition is 512KiB for this router? Can ddwrt (or openwrt) use the full 1MiB space of the nvram partition?
I do understand that devinfo should be considered read-only for all practical purposes.
Posted: Wed Oct 07, 2015 15:49 Post subject: Cannot break into CFE on bricked ea6200.
This is all I get, and then it sits there forever. I tried breaking into CFE with Ctrl+C and Esc keys, but was not able to. Any suggestions welcome.
Code:
Decompressing...done
Found a Samsung NAND flash:
Total size: 128MB
Block size: 128KB
Page Size: 2048B
OOB Size: 64B
Sector size: 512B
Spare size: 16B
ECC level: 8-bit
Device ID: 0xec 0xf1 0x00 0x95 0x40
Corrupted NVRAM found, default devinfo copied into NVRAM.
find_nvram: no nvram found
find_devinfo: devinfo block not found!
No devinfo, committing devinfo...
find_devinfo: devinfo corrupted, using embedded devinfo at 0x1c180000!
Corrupted NVRAM found, default devinfo copied into NVRAM.
find_nvram: no nvram found
CFE version 6.39.163.14 (r374748) based on BBP 1.0.37 for BCM947XX (32bit,SP,)
Build Date: Tue Jun 11 11:59:51 CST 2013 (proc@f8acerpro), for the WG9116FAC22_d
Copyright (C) 2000-2008 Broadcom Corporation.
Copyright (C) 2013 Arcadyan Corporation.
WG9116FAC22_88 board, flashing LED...
Init Arena
Init Devs.
Boot partition size = 262144(0x40000)
DDR Clock: 333 MHz
Warning: invalid DDR setting of 0 MHz ignored. DDR frequency will be set to 333.
Corrupted NVRAM found, default devinfo copied into NVRAM.
find_nvram: no nvram found
Corrupted NVRAM found, default devinfo copied into NVRAM.
find_nvram: no nvram found
Corrupted NVRAM found, default devinfo copied into NVRAM.
find_nvram: no nvram found
i don't know what i'm doing wrong but the only build i can flash without the router restoring its factory firmware is 26138 _________________ DD-WRT w/ Superchannel, Ubiquiti RS Pro @800Mhz, Ubiquiti SR71-A a/n,g/n
Posted: Wed Nov 11, 2015 6:59 Post subject: Re: Previous post got truncated, here's the full ddwrt dmesg
lowlymortal wrote:
Whereas openwrt seems to be doing a better job at detecting the "hidden board data" partition 0x000000180000-0x000000200000 which seems to be embedded into the "nvram" partition:
No it does not do a good job, as it creates two mtds with the same name. Now if you do an erase nvram it will clear cfe nvram instead of the regular nvram.
In fact, CFE reads this hidden partition to initialize the board data, and if this gets erased accidentally, the board is bricked.[/quote]
If there is a special nvram area for cfe, then dd-wrt creates an mtd with name nvram_cfe
.
But you are the smart guy, you flashed a build for asus to linksys, then ran erase nvram and thus wipe cfe_nvram.
The only problem I can see is, that you have no clue and mess with things.
Also I noted it multiple times, unless a developer verified that erase nvram works on a unit(I do this for all units I port) you should never run erase nvram. The webif reset works different, it does not erase the whole mtd.
The EA6200 and EA6300 (first version without version number) have been discontinued but may still be available in some shops at a heavily discounted price.
EA6350 is their successor and it is hardware wise 100% compatible with the others.
It looks like the 32K nvram bug is corrected in the EA6350 CFE and this CFE can be used in EA6200/EA6300
without any modification. _________________ Kernel panic: Aiee, killing interrupt handler!
Posted: Fri Nov 13, 2015 15:07 Post subject: Thanks Kong.
First of all, thanks for responding, Kong.
What I meant to say is that openwrt _detected_ the "hidden" devinfo partition embedded into the "nvram" partition on the ea6200. ddwrt seems to take what the CFE(?) tells it. In any case, Linksys should not have done something like this it in the first place!
Some of us are not Gurus in this area (vz. embedded programming), but we are not skill-less. Some of us are trying to learn this craft, and so it should be obvious that we make mistakes from time to time.
Yes, I knowingly flashed ac56u builds on the ea6200 because it is an economical way for us to learn. The price was one dead router, which is ok. Even that death may be temporary, if I can learn how to write to flash directly using external hardware tools. BTW, I just flashed r28112 on one of the ea6200s I have.
I can send one ea6200 to a ddwrt developer as long as they are in the US, as I don't want to deal with customs. Send me a message if anyone is interested.
I can send the dead ea6200 as well, including the backup of the mtd partitions taken from it prior to the bricking, so that it can be recovered by someone who has access to the required tools.
LOM, would you be able to post the ea6350 CFE? BTW, can we run CFE from CFE, i.e. run it in RAM first to try it out, and then flash it to mtd0 once we know it works?