Hello,
I accidently bought a TP-Link TL-WR840n V1 (BCM5357) for OpenWRT purposes, but it seeams that this particular version is not supported directly by OpenWRT. Is there a any change get this working? Web UI won't accept OpenWRT firmware images. I was able to hook up a serial connection. According to the boot log, the router should have 4MB flash and 32MB ram, please see bellow. Boot sequence ends up on login prompt, asking for username and password. Standard TP-Link passwords don't work. I'll post some images later on.
Decompressing...done
CFE version 5.100.138.2202 based on BBP 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Thu Aug 29 14:38:19 CST 2013 (tplink@localhost.localdomain)
Copyright (C) 2000-2008 Broadcom Corporation.
Init Arena
Init Devs.
Boot partition size = 131072(0x20000)
Found an ST compatible serial flash with 64 64KB blocks; total size 4MB
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.100.138.2202
CPU type 0x19749: 300MHz
Tot mem: 32768 KBytes
CFE mem: 0x80700000 - 0x80798440 (623680)
Data: 0x8072E260 - 0x807314B0 (12880)
BSS: 0x807314B0 - 0x80732440 (3984)
Heap: 0x80732440 - 0x80796440 (409600)
Stack: 0x80796440 - 0x80798440 (8192)
Text: 0x80700000 - 0x8072E25C (189020)
Device eth0: hwaddr 10-FE-ED-A2-B5-DA, ipaddr 192.168.0.1, mask 255.255.255.0
gateway not set, nameserver not set
Loader:raw Filesys:tftp Dev:eth0 File:: Options:(null)
Loading: Failed.
Could not load :: Timeout occured
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: ..... 2633862 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000
Linux version 2.6.22 (tplink@localhost.localdomain) (gcc version 4.2.3) #1 PREEMPT Thu Aug 29 14:43:45 CST 2013
CPU revision is: 00019749
Found an ST compatible serial flash with 64 64KB blocks; total size 4MB
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
Normal 0 -> 8192
early_node_map[1] active PFN ranges
0: 0 -> 8192
Built 1 zonelists. Total pages: 8192
Kernel command line: root=/dev/mtdblock2 console=ttyS0,115200 init=/sbin/preinit
Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, linesize 32 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
PID hash table entries: 256 (order: 8, 1024 bytes)
CPU: BCM53572 rev 1 at 300 MHz
Using 150.000 MHz high precision timer.
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 28972k/32768k available (2092k kernel code, 3780k reserved, 295k data, 184k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
PCI: no core
PCI: no core
PCI: Fixing up bus 0
NET: Registered protocol family 2
Time: MIPS clocksource has been installed.
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
io scheduler noop registered (default)
Serial: 8250/16550 driver $Revision: 1.1.1.1 $ 1 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x0 (irq = 8) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
PPP generic driver version 2.4.2
NET: Registered protocol family 24
pflash: found no supported devices
sflash: squash filesystem with lzma found at block 18
Creating 4 MTD partitions on "sflash":
0x00000000-0x00020000 : "boot"
0x00020000-0x003f0000 : "linux"
0x00120000-0x003e0000 : "rootfs"
0x003f0000-0x00400000 : "nvram"
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (256 buckets, 2048 max)
Ooops, why the devices couldn't been initialed?
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 184k freed
Failed to execute /init
Failed to execute /sbin/preinit. Attempting defaults...
init started: BusyBox v1.01 (2013.08.29-06:47+0000) multi-call binary
Algorithmics/MIPS FPU Emulator v1.5
mount: Mounting devpts on /dev/pts failed: No such device
This board use 2.6.22
ctf: module license 'Proprietary' taints kernel.
et_module_init: passivemode set to 0x0
et_module_init: et_txq_thresh set to 0x200
eth0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.100.138.2202
xt_time: kernel timezone is -0000
PPPoL2TP kernel driver, V0.17
PPTP driver version 0.8.3
(none) mips #1 PREEMPT Thu Aug 29 14:43:45 CST 2013 (none)
(none) login: device eth0.1 entered promiscuous mode
eth0.1: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
br0: port 1(eth0.1) entering learning state
br0: topology change detected, propagating
br0: port 1(eth0.1) entering forwarding state
eth0.2: Setting MAC address to 10 fe ed a2 b5 db.
br0: port 1(eth0.1) entering disabled state
br0: port 1(eth0.1) entering learning state
br0: topology change detected, propagating
br0: port 1(eth0.1) entering forwarding state
br0: port 1(eth0.1) entering disabled state
eth0.1: Setting MAC address to 10 fe ed a2 b5 da.
VLAN (eth0.1): Underlying device (eth0) has same MAC, not checking promiscious mode.
br0: port 1(eth0.1) entering learning state
br0: topology change detected, propagating
br0: port 1(eth0.1) entering forwarding state
br0: port 1(eth0.1) entering disabled state
eth0.1: dev_set_promiscuity(master, 1)
br0: port 1(eth0.1) entering learning state
br0: topology change detected, propagating
br0: port 1(eth0.1) entering forwarding state
eth0.2: dev_set_promiscuity(master, 1)
====>>>>DHCP start.dhcpc.c,dhcpcStart,1079
====>>>>DHCP end.dhcpc.c,dhcpcStart,1139
nf_conntrack_rtsp v0.6.21 loading
nf_nat_rtsp v0.6.21 loading
====>>>>Find test flag:5357!
wl_module_init: passivemode set to 0x0
eth1: Broadcom BCM4329 802.11 Wireless Controller 5.100.138.2202 (WLTEST)
device eth1 entered promiscuous mode
br0: port 2(eth1) entering learning state
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
COEX: downgraded chanspec 0x2e05 to 0x2b07: channel 1 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 3 used by exiting BSSs
====>>>>wlanBootupAll:760, wlan start over!
wl0: HAMMERING info, CNT = 3
wlc_do_hammer:wl0: flush tx queues.
wl0: skip hammer 0.
wl0: HAMMERING info, CNT = 3
wlc_do_hammer:wl0: flush tx queues.
wl0: skip hammer 1.
wl0: HAMMERING info, CNT = 3
wlc_do_hammer:wl0: flush tx queues.
wl0: skip hammer 2.
COEX: downgraded chanspec 0x2e05 to 0x2b07: channel 1 used by exiting BSSs
COEX: downgraded chanspec 0x2e05 to 0x2b07: channel 1 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 3 used by exiting BSSs
COEX: downgraded chanspec 0x2e05 to 0x2b07: channel 1 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 3 used by exiting BSSs
COEX: downgraded chanspec 0x2e05 to 0x2b07: channel 6 used by exiting BSSs
COEX: downgraded chanspec 0x2e05 to 0x2b07: channel 1 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 3 used by exiting BSSs
COEX: downgraded chanspec 0x2e05 to 0x2b07: channel 6 used by exiting BSSs
COEX: downgraded chanspec 0x2e05 to 0x2b07: channel 1 used by exiting BSSs
COEX: downgraded chanspec 0x2d03 to 0x2b01: channel 3 used by exiting BSSs