Linksys E1000
Linksys E1000 v1 is an 802.11n router. It has the same hardware as Linksys WRT160Nv3 and Cisco Valet M10 v1.
Supported Versions
Hardware Highlights
Installation
→ Install OpenWrt (generic explanation)
Use the brcm47xx-mips74k-linksys-e1000-v1-v2-v2.1-squashfs.bin
firmware image as shown above.
OEM installation using the TFTP method: Does not work, because of some kind of misconfiguration in the bootloader; use serial-initiated TFTP flashing instead (REQUIRES TTL SERIAL ACCESS).
TFTP flashing initiated via serial: works;
flash -noheader : flash1.trx
at CFE prompt.
Serial
The serial pins are labeled JP12 thru JP16.
VCC | JP12 |
TX | JP13 |
RX | JP14 |
Gnd | JP16 |
Bootlogs
OEM bootlog
Decompressing using gzip...........done Start to blink diag led ... CFE version 1.0.37 for BCM947XX (32bit,SP,LE) Build Date: 01/13/10 11:50:36 CST (root@chungzi_pc) Copyright (C) 2000-2008 Broadcom Corporation. Initializing Arena Initializing Devices. No DPN This is a Serial Flash Boot partition size = 262144(0x40000) Found a 4MB ST compatible serial flash Partition information: boot #00 00000000 -> 0003FFFF (262144) trx #01 00040000 -> 0004001B (28) os #02 0004001C -> 003F7FFF (3899364) nvram #03 003F8000 -> 003FFFFF (32768) Partition information: boot #00 00000000 -> 0003FFFF (262144) trx #01 00040000 -> 003F7FFF (3899392) nvram #02 003F8000 -> 003FFFFF (32768) BCM47XX_GMAC_ID et0: Broadcom BCM47XX GMAC Mbps Ethernet Controller 5.10.56.51 CPU type 0x19749: 300MHz Total memory: 32768 KBytes CFE mem: 0x80700000 - 0x807A4A90 (674448) Data: 0x8073AB10 - 0x8073DDF0 (13024) BSS: 0x8073DDF0 - 0x8073EA90 (3232) Heap: 0x8073EA90 - 0x807A2A90 (409600) Stack: 0x807A2A90 - 0x807A4A90 (8192) Text: 0x80700000 - 0x8073AB08 (240392) Boot version: v5.1.4 The boot is CFE mac_init(): Find mac [<mac addr>] in location 0 Nothing... ### CLKDIV= 0x80a082c, SFlashClkDiv=8 clkdivsf=4 ### ### Change it to 0x40a082c (4) ### CMD: [ifconfig eth0 -addr=192.168.1.1 -mask=255.255.255.0] Device eth0: hwaddr <mac-addr>, ipaddr 192.168.1.1, mask 255.255.255.0 gateway not set, nameserver not set CMD: [go;] Check CRC of image1 Len: 0xF2400 (992256) (0xBC040000) Offset0: 0x1C (28) (0xBC04001C) Offset1: 0x960 (2400) (0xBC040960) Offset2: 0xF2400 (992256) (0xBC132400) Header CRC: 0x5B8ED1BF Calculate CRC: 0x5B8ED1BF Image 1 is OK Try to load image 1. Waiting for 3 seconds to upgrade ... CMD: [load -raw -addr=0x807a4a90 -max=0x185b570 :] Loader:raw Filesys:tftp Dev:eth0 File:: Options:(null) Loading: _tftpd_open(): retries=0/3 _tftpd_open(): retries=1/3 _tftpd_open(): retries=2/3 ### Start=127656200 E=609091646 Delta=481435446 ### Failed. Could not load :: Timeout occured CMD: [boot -raw -z -addr=0x80001000 -max=0x6ff000 flash0.os:] Loader:raw Filesys:raw Dev:flash0.os File: Options:(null) Loading: .. 3780 bytes read ### Start=613833403 E=615969434 Delta=2136031 ### Entry at 0x80001000 Closing network. Starting program at 0x80001000
OpenWrt bootlog
Starting program at 0x80001000 [ 0.000000] Linux version 3.3.8 (blogic@Debian-60-squeeze-64-minimal) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #3 Mon Sep 3 16:16:20 UTC 2012 [ 0.000000] CPU revision is: 00019749 (MIPS 74Kc) [ 0.000000] bcm47xx: using bcma bus [ 0.000000] bcma: bus0: Found chip with id 0xB83A, rev 0x00 and package 0x02 [ 0.000000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x1F, class 0x0) [ 0.000000] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C, rev 0x02, class 0x0) [ 0.000000] bcma: bus0: Initializing MIPS core... [ 0.000000] bcma: bus0: IRQ reconfiguration done [ 0.000000] bcma: core 0x0800, irq : 2(S)* 3 4 5 6 D I [ 0.000000] bcma: core 0x082c, irq : 2(S)* 3 4 5 6 D I [ 0.000000] bcma: bus0: found serial flash. [ 0.000000] bcma: bus0: Early bus registered [ 0.000000] gpiochip_add: registered GPIOs 0 to 15 on device: bcm47xx [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 02000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone PFN ranges: [ 0.000000] Normal 0x00000000 -> 0x00002000 [ 0.000000] Movable zone start PFN for each node [ 0.000000] Early memory PFN ranges [ 0.000000] 0: 0x00000000 -> 0x00002000 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 [ 0.000000] Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200 [ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes) [ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.000000] Writing ErrCtl register=00000100 [ 0.000000] Readback ErrCtl register=00000100 [ 0.000000] Memory: 29228k/32768k available (2521k kernel code, 3540k reserved, 381k data, 168k init, 0k highmem) [ 0.000000] NR_IRQS:128 [ 0.000000] Calibrating delay loop... 149.50 BogoMIPS (lpj=299008) [ 0.032000] pid_max: default: 32768 minimum: 301 [ 0.032000] Mount-cache hash table entries: 512 [ 0.032000] NET: Registered protocol family 16 [ 0.056000] bio: create slab <bio-0> at 0 [ 0.064000] Switching to clocksource MIPS [ 0.072000] NET: Registered protocol family 2 [ 0.076000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.076000] TCP established hash table entries: 1024 (order: 1, 8192 bytes) [ 0.076000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.076000] TCP: Hash tables configured (established 1024 bind 1024) [ 0.076000] TCP reno registered [ 0.076000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.076000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.076000] NET: Registered protocol family 1 [ 0.080000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x11, class 0x0) [ 0.080000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x01, class 0x0) [ 0.080000] bcma: bus0: Core 4 found: DDR1/DDR2 Memory Controller (manuf 0x4BF, id 0x82E, rev 0x01, class 0x0) [ 0.080000] bcma: bus0: Initializing MIPS core... [ 0.080000] bcma: bus0: set_irq: core 0x0812, irq 3 => 3 [ 0.080000] bcma: bus0: set_irq: core 0x082d, irq 4 => 4 [ 0.080000] bcma: bus0: IRQ reconfiguration done [ 0.080000] bcma: core 0x0800, irq : 2(S)* 3 4 5 6 D I [ 0.080000] bcma: core 0x082c, irq : 2(S)* 3 4 5 6 D I [ 0.080000] bcma: core 0x0812, irq : 2(S) 3* 4 5 6 D I [ 0.080000] bcma: core 0x082d, irq : 2(S) 3 4* 5 6 D I [ 0.080000] bcma: core 0x082e, irq : 2(S)* 3 4 5 6 D I [ 0.080000] can not parse nvram name et0phyaddr with value 1f got -22 [ 0.092000] Unsupported SPROM revision 0 detected. Will extract v1 [ 0.112000] bcma: bus0: Bus registered [ 0.116000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.116000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.116000] msgmni has been set to 57 [ 0.116000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) [ 0.116000] io scheduler noop registered [ 0.116000] io scheduler deadline registered (default) [ 0.116000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.152000] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 2) is a U6_16550A [ 0.564000] console [ttyS0] enabled [ 0.572000] bcm47xx_pflash: error registering platform driver: -19 [ 0.580000] bcm47xx_sflash: found serial flash: blocksize=64KB, numblocks=64, size=4096KB [ 0.588000] bcm47xx_part: bootloader size: 262144 [ 0.596000] bcm47xx_part: Looking for dual image [ 0.608000] bcm47xx_part: TRX offset : 0 [ 0.612000] 4 bcm47xx partitions found on MTD device bcm47xx-sflash [ 0.616000] Creating 4 MTD partitions on "bcm47xx-sflash": [ 0.624000] 0x000000000000-0x000000040000 : "cfe" [ 0.632000] 0x000000040000-0x0000003f0000 : "linux" [ 0.640000] 0x000000132400-0x0000003f0000 : "rootfs" [ 0.644000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 0.660000] mtd: partition "rootfs" set to be root filesystem [ 0.668000] mtd: partition "rootfs_data" created automatically, ofs=300000, len=F0000 [ 0.676000] 0x000000300000-0x0000003f0000 : "rootfs_data" [ 0.684000] 0x0000003f0000-0x000000400000 : "nvram" [ 0.696000] bcm47xx_nflash: error registering platform driver: -19 [ 0.704000] BCM47xx Watchdog Timer enabled (30 seconds, nowayout) [ 0.712000] TCP cubic registered [ 0.716000] NET: Registered protocol family 17 [ 0.720000] 8021q: 802.1Q VLAN Support v1.8 [ 0.736000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2. [ 0.744000] Freeing unused kernel memory: 168k freed [ 3.664000] diag: Detected 'Linksys WRT54G/GS/GL' [ 4.792000] roboswitch: Probing device eth0: No such device [ 4.796000] roboswitch: Probing device eth1: No such device [ 4.800000] roboswitch: Probing device eth2: No such device [ 4.808000] roboswitch: Probing device eth3: No such device - preinit - Press the [f] key and hit [enter] to enter failsafe mode - regular preinit - [ 11.412000] JFFS2 notice: (302) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 5 of xref (0 dead, 2 orphan) found. switching to jffs2 - init - Please press Enter to activate this console. [ 15.132000] Compat-wireless backport release: compat-wireless-2012-07-13 [ 15.140000] Backport based on wireless-testing.git master-2012-07-16 [ 15.144000] compat.git: wireless-testing.git [ 15.196000] cfg80211: Calling CRDA to update world regulatory domain [ 15.200000] cfg80211: World regulatory domain updated: [ 15.208000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 15.216000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 15.224000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 15.232000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 15.240000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 15.248000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 15.372000] roboswitch: Probing device eth0: No such device [ 15.380000] roboswitch: Probing device eth1: No such device [ 15.384000] roboswitch: Probing device eth2: No such device [ 15.392000] roboswitch: Probing device eth3: No such device [ 16.060000] b43-phy0: Broadcom 47162 WLAN found (core revision 17) [ 16.068000] Broadcom 43xx driver loaded [ Features: PNL ] [ 16.120000] Broadcom 43xx-legacy driver loaded [ Features: PLID ] [ 16.480000] PPP generic driver version 2.4.2 [ 16.888000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 17.080000] NET: Registered protocol family 24 [ 17.116000] nf_conntrack version 0.5.0 (459 buckets, 1836 max) BusyBox v1.19.4 (2012-08-26 00:44:50 UTC) built-in shell (ash) Enter 'help' for a list of built-in commands. _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- ATTITUDE ADJUSTMENT (12.09-beta, r33312) ----------------------------------------------------- * 1/4 oz Vodka Pour all ingredients into mixing * 1/4 oz Gin tin with ice, strain into glass. * 1/4 oz Amaretto * 1/4 oz Triple sec * 1/4 oz Peach schnapps * 1/4 oz Sour mix * 1 splash Cranberry juice ----------------------------------------------------- root@OpenWrt:/# ##Note: The error about et0phyaddr is because I changed that nvram var.