User Tools

Site Tools


toh:netgear:wndr3800

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
toh:netgear:wndr3800 [2014/08/08 15:03]
aind
toh:netgear:wndr3800 [2015/08/01 11:26] (current)
tmomas Dataentry removed (is now located on separate page)
Line 10: Line 10:
  
 ===== Hardware Highlights ===== ===== Hardware Highlights =====
-^ CPU ^ Ram ^ Flash ^ Network ^ USB ^ Serial ^ JTag ^ +^ Version ​^ CPU ^ Ram ^ Flash ^ Network ​^ Wireless ​^ USB ^ Serial ^ JTag ^ Wiki ^ FCC 
-| Atheros AR7161 rev 2 680 MHz | 128MiB | 16MiB | 4 x 1| Yes | Yes | Yes | +| v1 | Atheros AR7161 rev 2 680MHz ​| 128MiB | 16MiB | 1 WAN + 4x LAN (GBit) | AR9220 [an 2x2:2] + AR9223 [bgn 2x2:​2] ​| Yes | Yes | Yes | [[https://​wikidevi.com/​wiki/​Netgear_WNDR3800|here]] | [[https://​apps.fcc.gov/​oetcf/​eas/​reports/​ViewExhibitReport.cfm?​mode=Exhibits&​RequestTimeout=500&​calledFromFrame=N&​application_id=278475&​fcc_id='​PY308300092'​|here]] |
  
 ===== Installation ===== ===== Installation =====
 1. First, it is need to select OpenWRT firmware, please consult ->​[[doc:​howto:​obtain.firmware]] ​ 1. First, it is need to select OpenWRT firmware, please consult ->​[[doc:​howto:​obtain.firmware]] ​
  
-This device is supported in Backfire 10.03.1 and above. Manually building OpenWrt is not required. Quickest way is to download a precompiled [[http://​downloads.openwrt.org/​backfire/10.03.1/​ar71xx/​|stable image]], look for wndr3800 factory (SquashFS is recommended):​ +This device is supported in Backfire 10.03.1 and above. Manually building OpenWrt is not required. Quickest way is to download a precompiled [[http://​downloads.openwrt.org/​barrier_breaker/14.07/ar71xx/generic/|last stable image]] ​(Barrier Breaker 14.07), look for wndr3800 factory (SquashFS is recommended):​ 
-  * [[http://​downloads.openwrt.org/​backfire/10.03.1/​ar71xx/​openwrt-ar71xx-wndr3800-squashfs-factory.img|openwrt-ar71xx-wndr3800-squashfs-factory.img]] ​      21-Dec-2011 01:03             ​3080325 +  * [[http://​downloads.openwrt.org/​barrier_breaker/14.07/ar71xx/generic/​openwrt-ar71xx-generic-wndr3800-squashfs-factory.img|openwrt-ar71xx-wndr3800-squashfs-factory.img]] 
-You also may try last trunk image: +You also may try Chaos Calmer 15.05 (pre-release) or last trunk image: 
-  * [[http://​downloads.openwrt.org/​snapshots/​trunk/​ar71xx/​openwrt-ar71xx-generic-wndr3800-squashfs-factory.img|openwrt-ar71xx-generic-wndr3800-squashfs-factory.img]]+  * [[http://​downloads.openwrt.org/​chaos_calmer/​15.05-rc3/​ar71xx/​generic/​openwrt-15.05-rc3-ar71xx-generic-wndr3800-squashfs-factory.img|openwrt-15.05-rc3-ar71xx-generic-wndr3800-squashfs-factory.img]] 
 +  * [[http://​downloads.openwrt.org/​snapshots/​trunk/​ar71xx/generic/​openwrt-ar71xx-generic-wndr3800-squashfs-factory.img|openwrt-ar71xx-generic-wndr3800-squashfs-factory.img]]
  
 2. Second, please consult ->​[[doc:​howto:​generic.flashing|Installing OpenWrt (generic)]] and additionally the instructions on this page and/or the one for the [[toh:​netgear:​WNDR3700]]. 2. Second, please consult ->​[[doc:​howto:​generic.flashing|Installing OpenWrt (generic)]] and additionally the instructions on this page and/or the one for the [[toh:​netgear:​WNDR3700]].
Line 27: Line 27:
  
 ==== Flash Layout ==== ==== Flash Layout ====
-See the example ->[[doc:techref:​Flash Layout]] to understand OpenWrt better.+Original layout of WNDR3800:
  
-''​cat /​proc/​mtd ​+''​cat /proc/mtd
 dev:    size   ​erasesize ​ name dev:    size   ​erasesize ​ name
 mtd0: 00050000 00010000 "​uboot"​ mtd0: 00050000 00010000 "​uboot"​
Line 41: Line 41:
 mtd8: 00010000 00010000 "​caldata"​ mtd8: 00010000 00010000 "​caldata"​
 mtd9: 00e3ffc0 00010000 "​mount_fs"''​ mtd9: 00e3ffc0 00010000 "​mount_fs"''​
-  ​Netgear WNDR3800 ​ Flash Layout ​          ​^^^^^^^^^^^ + ​Original ​Netgear WNDR3800 ​ Flash Layout ​ ^^^^^^^^^^^ 
-^ Layer0 ​      ​| ​ 16384KiB ​ |||||||||| +^ Layer0 ​      ​| ​ 16384KiB ​(16MiB) ​ ​|||||||||| 
-Size in KiB  | 320KiB | 128KiB | 14592KiB | 64KiB | 64KiB | 64KiB | 64KiB | 1024KiB | 64KiB | 14591,​9375KiB ​+Layer1 ​ ​| ​ 320KiB ​  128KiB ​  14592KiB ​ ||  ​64KiB   64KiB   64KiB   64KiB   1024KiB ​  64KiB  
-^ Name         | **//​uboot//​** | **//env//** | **//​rootfs//​** | **//​config//​** | **//​config_bak//​** | **//pot//** | **//​traffic_meter//​** | **//​language//​** | **//​caldata//​** | **//​mount_fs//​**| +^ Name         | **//​uboot//​** | **//env//** | **//​rootfs//​** ​|| **//​config//​** | **//​config_bak//​** | **//pot//** | **//​traffic_meter//​** | **//​language//​** | **//​caldata//​** | 
-^ mountpoint ​  ​| ​   |    |  /  |    |    |    |    |    |    |    ​| +^ Layer2 ​      ​| ​ |  |  64B  |  14591,​9375KiB ​ |    |    |    |    |    |    | 
-^ filesystem ​  ​| ​   |    |  SquashFS? ​ |    |    |    |    |    |    |    |+^ Name       ​| ​ |  |   ​|  ​**//​mount_fs//​** ​ ​| ​   |    |    |    |    |    ​
 +^ mountpoint ​  ​| ​   |    | /   ​| ​   |    |    |    |    |    |     
 +^ filesystem ​  ​| ​   |    | SquashFS? ​ |    |    |    |    |    |    ​
 + 
 +  * config and config_bak -- NVRAM with configuration 
 +  * traffic_meter -- collected data of traffic 
 + 
 + 
 +OpenWRT layout for WNDR3800: 
 + 
 +''​OpenWRT:/#​ cat /​proc/​cmdline  
 + ​board=WNDR3700 console=ttyS0,​115200 mtdparts=spi0.0:​320k(u-boot)ro,​128k(u-boot-env)ro,​15872k(firmware),​64k(art)ro rootfstype=squashfs,​jffs2 noinitrd 
 +OpenWRT:/# cat /proc/mtd  
 +dev:    size   ​erasesize ​ name 
 +mtd0: 00050000 00010000 "​u-boot"​ 
 +mtd1: 00020000 00010000 "​u-boot-env"​ 
 +mtd2: 00f80000 00010000 "​firmware"​ 
 +mtd3: 00105440 00010000 "​kernel"​ 
 +mtd4: 00e7abc0 00010000 "​rootfs"​ 
 +mtd5: 00cc0000 00010000 "​rootfs_data"​ 
 +mtd6: 00010000 00010000 "​art"''​ 
 + 
 +^   ​Netgear WNDR3800 ​ Flash Layout with OpenWRT ​ ^^^^^^^ 
 +^ Layer0 ​      ​| ​ 16MiB  |||||| 
 +^ Layer1 ​      ​| ​ 320KiB ​ |  128KiB ​ |  15872KiB ​ |||  64KiB  | 
 +^ Name         ​| ​ **//​uboot//​** ​ |  **//​u-boot-env//​** ​ |  **//​firmware//​** ​ |||  **//​art//​** ​ | 
 +^ Layer2 ​      ​| ​   |    |  1070144B (~1MiB) ​ |  15182784B (~14,​5MiB) ​ ||    | 
 +^ Name         ​| ​   |    |  **//​kernel//​** ​ |  **//​rootfs//​** ​ ||    | 
 +^ Layer3 ​      ​| ​   |    |   ​| ​ 1813440B (~1,​73MiB) ​ |  12,​75MiB ​ |    | 
 +^ Name         ​| ​   |    |   ​| ​   |  **//​rootfs-data//​** ​ |    | 
 +^ Filesystem ​  ​| ​   |    |   ​| ​ squashfs ​ |  jffs  |    | 
 +^ mountpoint ​  ​| ​   |    |   ​| ​ /  |  /​overlay  ​|    |
  
 +See the example ->​[[doc:​techref:​Flash.Layout]] to understand OpenWrt better.
  
 ==== OEM easy installation ==== ==== OEM easy installation ====
Line 87: Line 119:
 ==== Original firmware Boot Log ==== ==== Original firmware Boot Log ====
 serial console log of original firmware (modified OpenWRT Kamikaze): serial console log of original firmware (modified OpenWRT Kamikaze):
 +<​HTML>​
 +<p style="​padding:​ 10px;​border:​1px solid grey;​height:​200px;​font:​10px/​14px Georgia, Garamond, Serif;​overflow:​Auto;​background-color:#​FFFFFF">​
 <​code>​Linux version 2.6.15 (josn@dnisw3) (gcc version 3.4.4 (OpenWrt-2.0)) #1 Wed Sep 28 10:41:57 CST 2011 <​code>​Linux version 2.6.15 (josn@dnisw3) (gcc version 3.4.4 (OpenWrt-2.0)) #1 Wed Sep 28 10:41:57 CST 2011
 flash_size passed from bootloader = 16 flash_size passed from bootloader = 16
Line 274: Line 308:
 br0: port 1(eth0) entering forwarding state br0: port 1(eth0) entering forwarding state
 </​code>​ </​code>​
 +</p>
 +</​HTML>​
 +
 +
  
 ==== OpenWRT Boot Log ==== ==== OpenWRT Boot Log ====
 ''​dmesg''​ for the trunk OpenWRT at Nov 23, 2012: ''​dmesg''​ for the trunk OpenWRT at Nov 23, 2012:
 +<​HTML>​
 +<p style="​padding:​ 10px;​border:​1px solid grey;​height:​200px;​font:​10px/​14px Georgia, Garamond, Serif;​overflow:​Auto;​background-color:#​FFFFFF">​
 <​code>​[ ​   0.000000] Linux version 3.3.8 (openwrt@snapon) (gcc version 4.6.4 20121106 (prerelease) (Linaro GCC 4.6-2012.11) ) <​code>​[ ​   0.000000] Linux version 3.3.8 (openwrt@snapon) (gcc version 4.6.4 20121106 (prerelease) (Linaro GCC 4.6-2012.11) )
  #1 Fri Nov 23 04:16:29 PST 2012  #1 Fri Nov 23 04:16:29 PST 2012
Line 460: Line 500:
 [   ​14.670000] br-lan: port 1(eth0.1) entered forwarding state [   ​14.670000] br-lan: port 1(eth0.1) entered forwarding state
 </​code>​ </​code>​
 +</p>
 +</​HTML>​
 +
 +
  
 ===== Basic configuration ===== ===== Basic configuration =====
Line 560: Line 604:
   - Wait until the router is listening on 192.168.1.1 (this takes 45-60 seconds; to confirm, you can ping 192.168.1.1,​ and see if it responds; it's best to start a sequence of ping requests above, before your hands get busy with the factory reset button).   - Wait until the router is listening on 192.168.1.1 (this takes 45-60 seconds; to confirm, you can ping 192.168.1.1,​ and see if it responds; it's best to start a sequence of ping requests above, before your hands get busy with the factory reset button).
   - Release the factory reset button. (If you happen to have a serial cable connected, you'll see that the system is in firmware recovery mode and that it will be waiting for you to upload firmware. But you don't need the serial cable at all.)   - Release the factory reset button. (If you happen to have a serial cable connected, you'll see that the system is in firmware recovery mode and that it will be waiting for you to upload firmware. But you don't need the serial cable at all.)
-  - Run a tftp CLIENT on your computer (enter no hostname on the command line), set trasfer ​mode to binary and retransmit timeout to one second (optional), next put firmware image to router. +  - Run a tftp CLIENT on your computer (enter no hostname on the command line), set transfer ​mode to binary and retransmit timeout to one second (optional), next put firmware image to router. 
-For the linux tftp client enter the following (note "rexmt 1"! Some people do not see "​1"​ and enter "​binary"​ as the value for rexmt, thus they do not switch to the binary mode, and upload doesn'​t start):<​code bash>+For the linux tftp client enter the following (note "rexmt 1"! Some people do not see "​1"​ and enter "​binary"​ as the value for rexmt, thus they do not switch to the binary mode, and upload doesn'​t start): 
 +<code bash>
 verbose verbose
 trace trace
Line 578: Line 623:
  
 ===== Resources ===== ===== Resources =====
-  ​OEM source code and toolchain: ftp://​downloads.netgear.com/​files/​GPL/​+  ​OEM source code and toolchain: ftp://​downloads.netgear.com/​files/​GPL/​
  
 ===== Custom OpenWrt image with LuCi integrated ===== ===== Custom OpenWrt image with LuCi integrated =====
  
 http://​www.superwrt.eu/​en/​firmware/​netgear-wndr3800/​ http://​www.superwrt.eu/​en/​firmware/​netgear-wndr3800/​
- 
  
 ===== Tags ===== ===== Tags =====
-{{tag>​GigabitEthernet 5Port 2PHY USB 1USB JTAG 802.11bgn ath9k 802.11abgn_simultan 128RAM 16Flash MIPS MIPS32 24Kc}}+{{tag>​GigabitEthernet 5Port 2NIC USB 1USB JTAG 802.11bgn ath9k 802.11abgn_simultan 128RAM 16Flash MIPS MIPS32 24Kc}}
toh/netgear/wndr3800.1407502986.txt.bz2 · Last modified: 2014/08/08 15:03 by aind