Netgear WNR854T - OpenWRT and kernel addons - Linux 3.3.6 !

20 May 2012 : Linux 3.3.6 (r31819)
The build now includes a full diff from openwrt git master branch

You can download the release here.

[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Linux version 3.3.6 (hudson@epsybox) (gcc version 4.6.2 (GCC) ) #2 Sun May 20 02:01:03 CEST 2012
[    0.000000] CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=a0053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Netgear WNR854T
[    0.000000] Clearing invalid memory bank 0KB@0xffffffff
[    0.000000] Clearing invalid memory bank 0KB@0xffffffff
[    0.000000] Clearing invalid memory bank 0KB@0xffffffff
[    0.000000] Ignoring tag cmdline (using the default kernel command line)
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat c0275fd8, node_mem_map c0283000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8128 pages, LIFO batch:0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: root=/dev/mtdblock1 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] Memory: 32MB = 32MB total
[    0.000000] Memory: 29872k/29872k available, 2896k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc2800000 - 0xff000000   ( 968 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0246000   (2296 kB)
[    0.000000]       .init : 0xc0246000 - 0xc0262000   ( 112 kB)
[    0.000000]       .data : 0xc0262000 - 0xc0276680   (  82 kB)
[    0.000000]        .bss : 0xc02766a4 - 0xc0282ca8   (  50 kB)
[    0.000000] NR_IRQS:64
[    0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: orion_gpio0
[    0.000000] sched_clock: 32 bits at 166MHz, resolution 5ns, wraps every 25769ms
[   18.306770] Calibrating delay loop... 331.77 BogoMIPS (lpj=1658880)
[   18.366641] pid_max: default: 32768 minimum: 301
[   18.366961] Mount-cache hash table entries: 512
[   18.367542] CPU: Testing write buffer coherency: ok
[   18.368071] Setting up static identity map for 0x1fcdb8 - 0x1fcdf4
[   18.370715] NET: Registered protocol family 16
[   18.374685] Orion ID: MV88F5181-Rev-B1. TCLK=166666667.
[   18.375116] initial MPP regs: 00000003 11111110 00000000
[   18.375163]   final MPP regs: 00000003 11110010 00001111
[   18.377565] WNR854T: Reset Button using gpio-keys
[   18.378343] Applying Orion-1/Orion-NAS PCIe config read transaction workaround
[   18.378828] PCI host bridge to bus 0000:00
[   18.378866] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff]
[   18.378900] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[   18.378973] pci 0000:00:00.0: [11ab:5181] type 0 class 0x000580
[   18.379028] pci 0000:00:00.0: reg 10: [mem 0xf1000000-0xf10fffff 64bit pref]
[   18.379070] pci 0000:00:00.0: reg 18: [mem 0x00000000-0x01ffffff]
[   18.379213] PCI: bus0: Fast back to back transfers disabled
[   18.380218] PCI host bridge to bus 0000:01
[   18.380256] pci_bus 0000:01: root bus resource [io  0x100000-0x1fffff]
[   18.380291] pci_bus 0000:01: root bus resource [mem 0xe8000000-0xefffffff]
[   18.380367] pci 0000:01:00.0: [11ab:5181] type 0 class 0x000580
[   18.380432] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x01ffffff 64bit pref]
[   18.380479] pci 0000:01:00.0: reg 18: [mem 0x10000000-0x1fffffff 64bit pref]
[   18.380526] pci 0000:01:00.0: reg 20: [mem 0xf1000000-0xf10fffff 64bit]
[   18.380569] pci 0000:01:00.0: reg 30: [mem 0xe0000000-0xe7ffffff pref]
[   18.380641] pci 0000:01:00.0: supports D1 D2
[   18.380669] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot
[   18.380784] pci 0000:01:07.0: [168c:0027] type 0 class 0x000280
[   18.380837] pci 0000:01:07.0: reg 10: [mem 0x40000000-0x4000ffff]
[   18.380936] pci 0000:01:07.0: PME# supported from D0 D3hot
[   18.381046] PCI: bus1: Fast back to back transfers enabled
[   18.382153] pci 0000:01:07.0: BAR 0: assigned [mem 0xe8000000-0xe800ffff]
[   18.389250] bio: create slab <bio-0> at 0
[   18.394052] Switching to clocksource orion_clocksource
[   18.399214] NET: Registered protocol family 2
[   18.399512] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[   18.400061] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[   18.400141] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[   18.400192] TCP: Hash tables configured (established 1024 bind 1024)
[   18.400219] TCP reno registered
[   18.400251] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   18.400310] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   18.400720] NET: Registered protocol family 1
[   18.400823] PCI: CLS 32 bytes, default 32
[   18.404231] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[   18.404269] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[   18.405112] msgmni has been set to 58
[   18.405194] io scheduler noop registered
[   18.405220] io scheduler deadline registered (default)
[   18.634026] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   18.656394] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 3) is a 16550A
[   19.032785] console [ttyS0] enabled
[   19.039205] physmap platform flash device: 00800000 at f4000000
[   19.045501] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x000017
[   19.055817] Intel/Sharp Extended Query Table at 0x0031
[   19.060959] Intel/Sharp Extended Query Table at 0x0031
[   19.066131] Using buffer write method
[   19.069790] cfi_cmdset_0001: Erase suspend on write enabled
[   19.075390] erase region 0: offset=0x0,size=0x20000,blocks=64
[   19.076558] Creating 4 MTD partitions on "physmap-flash.0":
[   19.082148] 0x000000000000-0x000000100000 : "kernel"
[   19.089683] 0x000000100000-0x000000760000 : "rootfs"
[   19.097267] mtd: partition "rootfs" set to be root filesystem
[   19.103045] mtd: partition "rootfs_data" created automatically, ofs=2E0000, len=480000 
[   19.111100] 0x0000002e0000-0x000000760000 : "rootfs_data"
[   19.119053] 0x000000760000-0x0000007a0000 : "uboot"
[   19.126592] 0x000000000000-0x000000760000 : "image"
[   19.134535] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   19.141758] mv643xx_eth smi: probed
[   19.147246] mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address 00:00:00:00:51:81
[   19.157446] i2c /dev entries driver
[   19.162148] Registered led device: power:green
[   19.162612] Registered led device: wan:green
[   19.163309] TCP westwood registered
[   19.166864] NET: Registered protocol family 17
[   19.171479] Bridge firewalling registered
[   19.175620] Distributed Switch Architecture driver version 0.1
[   19.181582] eth0[0]: detected a Marvell 88E6131 switch
[   19.249162] dsa slave smi: probed
[   19.264777] 8021q: 802.1Q VLAN Support v1.8
[   19.269392] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[   19.282909] VFS: Mounted root (squashfs filesystem) readonly on device 31:1.
[   19.290681] Freeing init memory: 112K
[   26.044975] jffs2_scan_eraseblock(): End of filesystem marker found at 0x20000
[   26.052208] jffs2_build_filesystem(): unlocking the mtd device... done.
[   43.295972] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[   64.441848] JFFS2 notice: (1348) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   87.437602] PPP generic driver version 2.4.2
[   87.546359] ip_tables: (C) 2000-2006 Netfilter Core Team
[   87.719974] NET: Registered protocol family 24
[   87.765162] nf_conntrack version 0.5.0 (468 buckets, 1872 max)
[   88.208344] xt_time: kernel timezone is -0000
[   88.669784] Orion Watchdog Timer: Initial timeout 25 sec
[   94.540183] mv643xx_eth_port mv643xx_eth_port.0: eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   94.555184] device lan1 entered promiscuous mode
[   94.555217] device eth0 entered promiscuous mode
[   94.625217] device lan2 entered promiscuous mode
[   94.675194] device lan3 entered promiscuous mode
[   95.225372] device lan4 entered promiscuous mode
[   95.354557] lan4: link up, 100 Mb/s, full duplex, flow control disabled
[   95.354789] wan: link up, 100 Mb/s, full duplex, flow control disabled
[   95.355014] lan1: link up, 1000 Mb/s, full duplex, flow control disabled
[   95.355176] lan2: link up, 1000 Mb/s, full duplex, flow control disabled
[   95.374930] br-lan: port 4(lan4) entered forwarding state
[   95.375007] br-lan: port 4(lan4) entered forwarding state
[   95.376370] br-lan: port 1(lan1) entered forwarding state
[   95.376445] br-lan: port 1(lan1) entered forwarding state
[   95.377674] br-lan: port 2(lan2) entered forwarding state
[   95.377750] br-lan: port 2(lan2) entered forwarding state
[   97.374164] br-lan: port 4(lan4) entered forwarding state
[   97.374238] br-lan: port 1(lan1) entered forwarding state
[   97.374286] br-lan: port 2(lan2) entered forwarding state
[  151.835099] Compat-wireless backport release: compat-wireless-2012-04-17-2-r31813
[  151.835137] Backport based on wireless-testing.git master-2012-04-17
[  151.883828] cfg80211: Calling CRDA to update world regulatory domain
[  163.435130] cfg80211: World regulatory domain updated:
[  163.435164] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[  163.435203] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[  163.435238] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[  163.435273] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[  163.435309] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[  163.435344] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[  166.871472] ath: EEPROM regdomain: 0x37
[  166.871498] ath: EEPROM indicates we should expect a direct regpair map
[  166.871528] ath: Country alpha2 being used: AW
[  166.871548] ath: Regpair used: 0x37
[  166.879912] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[  166.882146] Registered led device: ath9k-phy0
[  166.882206] ieee80211 phy0: Atheros AR9160 MAC/BB Rev:1 AR2133 RF Rev:b0 mem=0xc3a60000, irq=36
[  166.886299] cfg80211: Calling CRDA for country: AW
[  167.191899] cfg80211: Regulatory domain changed to country: AW
[  167.191933] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[  167.191970] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[  167.192003] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[  167.192036] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[  167.192069] cfg80211:   (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
[  167.888378] cfg80211: Calling CRDA for country: FR
[  167.955487] cfg80211: Regulatory domain changed to country: FR
[  167.955521] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[  167.955558] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[  167.955591] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[  167.955624] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[  167.955657] cfg80211:   (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
[  171.095820] device wlan0 entered promiscuous mode
[  171.460466] br-lan: port 5(wlan0) entered forwarding state
[  171.460554] br-lan: port 5(wlan0) entered forwarding state
[  173.454135] br-lan: port 5(wlan0) entered forwarding state
[  186.458693] NET: Registered protocol family 10
[  186.460745] ADDRCONF(NETDEV_UP): lan3: link is not ready
[  194.122266] ip6_tables: (C) 2000-2006 Netfilter Core Team
[  196.484142] lan4: no IPv6 routers present
[  196.504150] lan1: no IPv6 routers present
[  196.604145] wlan0: no IPv6 routers present
 
....
 
BusyBox v1.19.4 (2012-05-20 00:37:34 CEST) 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 (Bleeding Edge, r31819)
 -----------------------------------------------------
  * 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@WNR854T:~#

31 Jul 2011 : Linux 3.0
8 jun 2011 :
Special update for the IPv6 World Day.

The last build was compatible with IPv6 (r27011), and i've made a new release (r27132) for this special geek day :)

The Netgear WNR854T is a Mimo Gigabit router based on Marvell Orion Platform. The SoC is ARM v5TE(J) compatible (like android phones).

For the information, Marvell bought the Intel ARM Xscale (PXA) technology.

I've also updated OpenWRT Wiki's page.

OpenWRT is running fine on it, but the work was not finished. Leds and buttons were not fully implemented, and the Marvell Topdog Mini-PCI wifi card is not really supported by Linux kernel.

I submitted patches to enhance this model on Openwrt Mailing list, but the team seems to be focused on others things, so i created this page to publish news and updates easily.

EEOL_2007JAN09_RFD_NETD_NP.jpg

This router has support in linux kernel sources (since 2.6.27), but is limited to the minimum (no leds or reset button support).

You can download here the completed wnr854t-setup.c (made for current 2.6.37 openwrt) which supports the leds and reset button.

Place this file in target/linux/orion/files/arch/arm/mach-orion5x or download my full orion directory.

root@WNR854T:~# dmesg
Linux version 2.6.37.6 (root@epsybox) (gcc version 4.5.4 20110505 (prerelease) (Linaro GCC 4.5-2011.05-0) ) #2 Wed Jun 8 15:12:42 CEST 2011
CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=a0053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Netgear WNR854T
Clearing invalid memory bank 0KB@0xffffffff
Clearing invalid memory bank 0KB@0xffffffff
Clearing invalid memory bank 0KB@0xffffffff
U-Boot command line: console=ttyS0,115200=init=/sbin/init rootfstype=squashfs,jffs2 root=/dev/mtdblock1 rw ip=192.168.10.190:192.168.10.110:::DB88FXX81:eth0:none
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 8192
free_area_init_node: node 0, pgdat c0249468, node_mem_map c0258000
  Normal zone: 64 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 8128 pages, LIFO batch:0
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: root=/dev/mtdblock1 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 30048k/30048k available, 2720k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xc2800000 - 0xfd800000   ( 944 MB)
    lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0021000   ( 100 kB)
      .text : 0xc0021000 - 0xc0237000   (2136 kB)
      .data : 0xc0238000 - 0xc0249b20   (  71 kB)
NR_IRQS:64
Calibrating delay loop... 332.59 BogoMIPS (lpj=1662976)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Orion ID: MV88F5181-Rev-B1. TCLK=166666667.
WNR854T: Reset Button IRQ 33 enabled
Applying Orion-1/Orion-NAS PCIe config read transaction workaround
pci 0000:00:00.0: [11ab:5181] type 0 class 0x000580
pci 0000:00:00.0: reg 10: [mem 0xf1000000-0xf10fffff 64bit pref]
pci 0000:00:00.0: reg 18: [mem 0x00000000-0x01ffffff]
PCI: bus0: Fast back to back transfers disabled
pci 0000:01:00.0: [11ab:5181] type 0 class 0x000580
pci 0000:01:00.0: reg 10: [mem 0x00000000-0x01ffffff 64bit pref]
pci 0000:01:00.0: reg 18: [mem 0x10000000-0x1fffffff 64bit pref]
pci 0000:01:00.0: reg 20: [mem 0xf1000000-0xf10fffff 64bit]
pci 0000:01:00.0: reg 30: [mem 0xe0000000-0xe7ffffff pref]
pci 0000:01:00.0: supports D1 D2
pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot
pci 0000:01:00.0: PME# disabled
pci 0000:01:07.0: [168c:0013] type 0 class 0x000200
pci 0000:01:07.0: reg 10: [mem 0x40000000-0x4000ffff]
PCI: bus1: Fast back to back transfers enabled
pci 0000:01:07.0: BAR 0: assigned [mem 0xe8000000-0xe800ffff]
pci 0000:01:07.0: BAR 0: set to [mem 0xe8000000-0xe800ffff] (PCI address [0xe8000000-0xe800ffff])
bio: create slab <bio-0> at 0
Switching to clocksource orion_clocksource
NET: Registered protocol family 2
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
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
PCI: CLS 32 bytes, default 32
squashfs: version 4.0 (2009/01/31) Phillip Lougher
JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
msgmni has been set to 58
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 3) is a 16550A
console [ttyS0] enabled
physmap platform flash device: 00800000 at f4000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x000017
Intel/Sharp Extended Query Table at 0x0031
Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
erase region 0: offset=0x0,size=0x20000,blocks=64
cmdlinepart partition parsing not available
RedBoot partition parsing not available
Using physmap partition information
Creating 4 MTD partitions on "physmap-flash.0":
0x000000000000-0x000000100000 : "kernel"
0x000000100000-0x000000760000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=2C0000, len=4A0000 
0x0000002c0000-0x000000760000 : "rootfs_data"
0x000000760000-0x0000007a0000 : "uboot"
0x000000000000-0x000000760000 : "image"
MV-643xx 10/100/1000 ethernet driver version 1.4
mv643xx_eth smi: probed
net eth0: port 0 with MAC address 00:1b:2f:d6:ce:e6
i2c /dev entries driver
Registered led device: wnr854t:green:power
Registered led device: wnr854t:blink:power
Registered led device: wnr854t:green:wan
TCP westwood registered
NET: Registered protocol family 17
Bridge firewalling registered
Distributed Switch Architecture driver version 0.1
eth0[0]: detected a Marvell 88E6131 switch
dsa slave smi: probed
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
VFS: Mounted root (squashfs filesystem) readonly on device 31:1.
Freeing init memory: 100K
JFFS2 notice: (1308) jffs2_build_xattr_subsystem: complete building xattr subsystem, 23 of xdatum (1 unchecked, 22 orphan) and 25 of xref (0 dead, 22 orphan) found.
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
eth0: link up, 1000 Mb/s, full duplex, flow control disabled
ADDRCONF(NETDEV_UP): lan3: link is not ready
device lan3 entered promiscuous mode
device eth0 entered promiscuous mode
ADDRCONF(NETDEV_UP): lan4: link is not ready
device lan4 entered promiscuous mode
ADDRCONF(NETDEV_UP): wan: link is not ready
ADDRCONF(NETDEV_UP): wan: link is not ready
wan: link up, 1000 Mb/s, full duplex, flow control disabled
ADDRCONF(NETDEV_CHANGE): wan: link becomes ready
ADDRCONF(NETDEV_UP): lan1: link is not ready
device lan1 entered promiscuous mode
ADDRCONF(NETDEV_UP): lan2: link is not ready
device lan2 entered promiscuous mode
Compat-wireless backport release: compat-wireless-2011-05-23
Backport based on wireless-testing.git master-2011-05-27
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
eth0: no IPv6 routers present
nf_conntrack version 0.5.0 (471 buckets, 1884 max)
xt_time: kernel timezone is -0000
ip6_tables: (C) 2000-2006 Netfilter Core Team
ath_hal: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
ath_hal: 2009-05-08 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, REGOPS_FUNC, XR)
ath_pci: trunk
wlan: trunk
wlan: mac acl policy registered
ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)
ath_rate_minstrel: look around rate set to 10%
ath_rate_minstrel: EWMA rolloff level set to 75%
ath_rate_minstrel: max segment size in the mrr set to 6000 us
Atheros HAL provided by OpenWrt, DD-WRT and MakSat Technologies
wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
ath_pci: wifi0: Atheros 5212: mem=0xe8000000, irq=36
Orion Watchdog Timer: Initial timeout 25 sec
device ath0 entered promiscuous mode
br-wifi0: port 1(ath0) entering forwarding state

You can download my lastest compiled firmwares and packages here : http://tanguy.fr.to/wnr854t/

These firmware images contains the luci web interface.

wide_openwrt.png wide_openwrt_leds.png wide_openwrt_traffic.png

Platform OpenWrt Forum Thread

Fichier attachéTailleDownloadsLast Download
wnr854t-setup.c7.85 Ko6683il y a 1 semaine 1 jour
orion.tar.bz2 (openwrt r26044 orion source tree)12.79 Ko5931il y a 1 semaine 1 jour
.config (openwrt r26044)72.1 Ko6674il y a 1 semaine 1 jour
102-wnr854t_leds_and_resetbutton.patch (for r26963) for original openwrt tree just add this in target/linux/orion/patches5.26 Ko204865il y a 2 semaines 6h
102-wnr854t_leds_and_resetbutton.patch (for r27840, Linux 3.0) 4.93 Ko204865il y a 2 semaines 6h
diff_master.patch (r31819) also included in tar.bz2106.68 Ko2490il y a 1 semaine 1 jour
102-wnr854t-blinking-leds-and-reset-button.patch (for r31819, Linux 3.3.6) 6.1 Ko2378il y a 1 semaine 1 jour

Commentaires

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur "Sauvegarder les paramètres" pour activer vos changements.

i need your help tanguy

hi friend
first of all...thanks for your great job,you are the best,really...your is an hard job....
so...before i find your internet site i flash on my WNR854T an open wrt firwmare,but the leds not work and wifi card not recognize.
so i try to flash your firmware in LUCI web interface but i have this message:

The uploaded image file does not contain a supported format. Make sure that you choose the generic image format for your platform.

why?
in which way i can flash your image?
please write me when you have some time...
i'm waiting for you
have a nice day
carlo from italy

Dead WNR854T

Thanks a lot for your help!

Non draft N Cards

I'm sorry, i never tested these newer cards, most of the final N cards are now in PCX format.

atheros mini pci module

Thanks for the link. I saw the page but the suggested atheros modula are all draft-n . Do you know if any atheros full N mini pci module are compatibile with the openwrt a9k driver/kernel module? According to http://wikidevi.com/wiki/Atheros there are mini pci module that are full n (AR922x).

Thanks
Satjuice

wifi card

wifi pci replacement module

What wifi mini pci replacement module do you suggest ?
I mean, AR5416/5008 is a draft N card and not N.

thanks
satjuice

sysupgrade -c

sysupgrade -c openwrt-wnr854t-squashfs.img does not work "Invalid option: -c"
otherwise i get this error "Invalid image type 8519. Image check 'platform_check_image' failed."
Please can you help me

how to install atheros 9160 drivers

I keep getting unknown package error.

u-boot.bin WNR854T

Hello,

Here you can find the U-boot.bin
http://kb.netgear.com/app/answers/detail/a_id/2649/~/open-source-code-fo...

go for the latest source of the WNR854T, open the file with 7zip and go in images\5181L\LE\ and tka the GE one ( I haven't tested it yet)

Have fun

Unbrick WNR854T

Hello Tanguy!

Unfortunately my WNR854T is dead now. Seems I did something wrong and now nothing comes from serial/ttl port.
Where I can get a u-boot.bin to reflash this unit over JTAG? What else I can do to unbrick it? Can I reflash you made firmware directly?

Thanks & regards,
Chingiz.

wifi

Hello!
Can you help me with wifi? Please!

I'm flash openwrt-wnr854t-squashfs-webupgrade.img from r31819
Next my step: install ath9k package
With ath9k automaticly installed some packages
And now i dont know what next? I'm don't see wifi setting and can't add this

You need a serial cable to do

You need a serial cable to do that, check the openwrt wiki page of the device

JTAG Cable for WNR854T

I am looking for JTAG cable for my router WNR854T. Can you please help me find it ? or some other way to reflash my router using serial cable. Then I need serial cable.

Thanks

Amir

changer le mot de passe

apparemment un problème avec le "fichier shadow" serait a l'origine du problème de changement de mot de passe ...
Impossible de résoudre le problème de mon coté =/

U-BOOT

Hi, after updated uImage via TTL, my router broken down, it seems I did mistake caused U-BOOT broken.
Now, I can't get any message from TTL.
Could you send me a u-boot.bin, so I can debrick the router via JTAG.
Thank you.

passwd

en telnet ou ssh, taper "passwd" pour définir le mot de passe root

mot de passe dans luci r31819

Bonjour,

J'ai installé la version r31819 mais dans l'interface lorsque que je veux changer le mot de passe
il n'est pas pris en compte.

avez vous une idée .
Comment regler ce probleme ?

Badre

ssh pass

hi ))
I'm newbe on OPenWRT. Yesterday I've flashed my 854t router to (r31819). Great firmware! Good Job! WiFi works perfect with AR5416 (ath9k).
I have 2 questions:
1) I have some troubles with passwords for web interface and ssh. System can't save my password. After a password changing on Luci I can use any pass to log on. Another problem is SSH connection. I can't log on using my password (User name:root, passes I've tried: my pass and default passes like: root, 1234, 123456, password, admin etc.)- I got "Access denied"

May be you know solution?

2) Is it possible to install Russian language for Luci? (I have found only 4 language packages)

Thank you very much.

Replace mini pci wireless card

Hi,

Tanguy spoke about working Atheros mini pci card for 5 euros on ebay?
As someone found a such card for the WNR854T?

Regards,

Here i place extracted

Here i place extracted archive on an internal webserver then :

root@WNR854T:/tmp# cat /etc/myupdate.sh
cd /tmp
wget http://192.168.10.110:88/orion/openwrt-wnr854t-squashfs.img
sysupgrade -c openwrt-wnr854t-squashfs.img

And ive also another script to install packages after update :

root@WNR854T:/tmp# cat /etc/setup.sh
#!/bin/sh
opkg update
 
opkg install kmod-crypto-hash
opkg install iftop
 
#atheros 5xxx
#opkg install kmod-madwifi
 
#atheros 9160 or 5416
opkg install kmod-cfg80211
opkg install kmod-mac80211 --force-depends
opkg install kmod-ath --force-depends
opkg install kmod-ath9k --force-depends
 
wifi up
 
opkg install kmod-nls-base
opkg install kmod-fs-cifs
 
opkg install luci-app-ntpc
opkg install luci-app-ddns
opkg install luci-app-upnp

can't update firmware

I tried flashing firmware through LUCI, openwrt-wnr854t-squashfs.img , but I got this:

The uploaded image file does not contain a supported format. Make sure that you choose the generic image format for your platform.

I'm a newbie. Thanks.

Like you can see on the

Like you can see on the dmesg, the cross compiler is no more Linaro one like 2.6.37 kernels

You need to select the new GCC which works

i use the git tree with a few tweeks in config which are rebased on update... I think all you need to compile yourself is present in tar.bz2 archives and on this page

For the the router Mac address, yes you need to set it "once" in uboot environment with an usb to serial module... (5$) and 3 wires

Toolchain

Hi Tanguy!
You did a great job in improving the openwrtversion for the wnr854t.
Thanks!

I was wondering how you created the toolchain... crosstool doesn't work for me.
(i tried building it under arch-linux, debian squeeze and (shitty) cygwin differend versions of gcc etc...)
You even managed to run Kernel 3.0.0 on this router which is pretty impressive!

Maybe you have some ideas how I can build my own toolchain..

Regarts André

/etc/uci-defaults/hardware.2 patches

Hi Tanguy,

Are you going to put out a build with the /etc/uci-defaults/hardware.2 patches to fix the mac assignments. I f you do, what would be the process to make it actually work correctly. Would the mac have to set in a serial acces uboot session first?

Thanks for your great work.

Charles

A priori il n'en existe

A priori il n'en existe pas... Il existe des firmwares pour le mode client que je n'ai pas reussi à faire fonctionner correctement...
Il sont inclus dans les drivers windows de cartes similaires.

solution : changer la carte mini-pci pour une atheros, on en trouve sur ebay a partir de 5 euros :p

wnr854t

Salut :)

cfg80211: Calling CRDA to update world regulatory domain
Marvell TOPDOG(R) 802.11 Wireless Network Driver version 0.12
0000:01:07.0: Error requesting helper fw mwl8k/helper_8363.fw

Where can I get these .fw files from? I can't seem to find the correct cab to pull them from.

merci bien,
Rob