Differences

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

toh:netgear:wndap360 [2013/05/07 16:24]
jaceq
toh:netgear:wndap360 [2014/03/04 11:00] (current)
jaceq
Line 3: Line 3:
===== Supported Versions ===== ===== Supported Versions =====
^ Version/Model ^ Launch Date ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^ ^ Version/Model ^ Launch Date ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^
-| v1  |  2011-05-04? | - | r36156 + [[http://www.multiupload.nl/3H7Z4909VI|PATCH]] (or download from here: [[http://pastebin.com/fwJrR3kq|PATCH]]) | Initial flash via uBoot only, than sysupgrade possible |+| v1  |  2011-05-04? | - | [[https://dev.openwrt.org/changeset/37193|r37193]] | Initial installation via uBoot only |
===== Hardware Highlights ===== ===== Hardware Highlights =====
Line 10: Line 10:
-==== Keep the articles modular ==== +===== Installation ===== 
-| Please include only model specific information, omit bla,bla and put everything generic into separate articles  | +==== BEFORE YOU START!!! ====
-| [[doc/howto/generic.overview]] if you have no time to write certain stuff link to this | +
-| [[doc/howto/basic.config]] should lead the way, do not explain this again  | +
-| DO NOT provide a complete howto here! Instead //groom// the general HowTos.  |+
 +  * Backup your var, ART and manufacturing-data partitions. You will need var, manufacturing-data partitions to restore original firmware if needed
-===== INITIAL Installation ===== +  * Due to the fact that I moved partitions this has to be flashed via uboot! (only first flash, then sysupgrade is possible)
-**BEFORE YOU START!!! Backup your var, ART and manufacturing-data partitions. You will need var, manufacturing-data partitions to restore original firmware if needed**+
-** Due to the fact that I moved partitions and sysupgrade is not implemented yet this has to be flashed via uboot! **+==== Get Image Files ====  
 +  * You can checkout latest code from trunck and make your own images.  
 +  * If you want to re-use the images I have created (built with DNSAMAQ, Firewall, IPV6 support and LuCI with SSL), you can [[https://www.dropbox.com/sh/akvrwilfgel1i8f/IcQVxfy0ik |download the .bin files]] and skip to Section 2 / step 7.
-1. Get trunk checked out 
-2. Download [[http://www.multiupload.nl/YMNDN6COBO|PATCH]] and unzip it+==== Section 1: Make Images ==== 
 +1. Get trunk checked out (since r37193 no patching is needed, all is included in trunk)
-3. Apply patch: +4. (Optional) Build and Install Feeds if required. eg, LuCI  (refer to [[http://wiki.openwrt.org/doc/devel/feeds|generic documentation]] how to install feeds)
 +  cd <trunk folder>
 +  ./scripts/feeds update
 +  ./scripts/feeds install luci
-  cd <trunk folcer> +5. Run menuconfig 
-  patch -p0 </path/to/patch+   
 +  make menuconfig
-4. Run 'make menuconfig'+  * Select target system: 'AR71xx' 
 +  * Select target profile: 'Netgear WNDAP360' 
 +  * Add other packages you want eg. luci (for web GUI).
-5. Select target system: 'AR71xx'+6. Make images. Images will be generated under /trunk/bin folder.
-6. Select target profile: 'Netgear WNDAP360'+  make
-7. Add other packages you want (eg. luci, refer to generic documentation how to install feeds etc)+==== Section 2: Load Images to Router ====
-8. Make images.+7. Connect to your AP console and break booting sequence (press enter when prompted 
 +  * You need a Cisco Console Cable (and a RJ232 to USB if you donot have a console port) 
 +  * On windows you can use [[http://www.esoft.com/support/knowledge-base/connect-to-the-serial-console-port-via-putty/ | PuTTY to connect to console]] and screen on Mac / Linux. (Use the 9600,8,N,1 jack of the router)
-9. Connect to your AP console and break booting sequence (press enter when prompted)+8. At this stage you need a tftp server with static ip 192.168.1.1 //(This IP/subnet is different than the defualt IP your router in factory condition. This is the IP router assumes while in uBoot)// 
 +  * put openwrt-ar71xx-generic-wndap360-kernel.bin and openwrt-ar71xx-generic-wndap360-rootfs-squashfs.bin in it  
 +  * Connect the router to your PC/Mac using network cable.
-10. At this stage you need a tftp server with static ip 192.168.1.1, put openwrt-ar71xx-generic-wndap360-kernel.bin and openwrt-ar71xx-generic-wndap360-rootfs-squashfs.bin in it +9 Go to your router and download kernel to memory:
- +
-11. Go to your router and download kernel to memory:+
  tftpboot 0x80010000 openwrt-ar71xx-generic-wndap360-kernel.bin   tftpboot 0x80010000 openwrt-ar71xx-generic-wndap360-kernel.bin
-**Take a note how long file was (it will be in output at the end of command). In my case it was: hex (160000)**+Output: 
 +  Trying eth0 
 +  Using eth0 device 
 +  TFTP from server 192.168.1.1; our IP address is 192.168.1.100 
 +  Filename 'openwrt-ar71xx-generic-wndap360-kernel.bin'. 
 +  Load address: 0x80010000 
 +  Loading: ################################################################# 
 +          ################################################################# 
 +          ################################################################# 
 +          ################################################################# 
 +          ###################### 
 +  done 
 +  Bytes transferred = 1441792 (160000 hex)
-12. Erase flash and copy in place (**!!! IMPORTANT replace 160000 with the size you got if different!!**)+**NOTE**: Take a note how long file was. It will be in output at the end of command; in my case it was: **(160000 hex) ** 
 + 
 +10. Erase flash and copy in place (**IMPORTANT** replace 160000 with the size you got if different!!)
  erase 0xbf050000 +0x160000   erase 0xbf050000 +0x160000
  cp.b 0x80010000 0xbf050000 0x160000   cp.b 0x80010000 0xbf050000 0x160000
-13. Do the same with rootfs, also **keep in mind that size may and probably will vary (in my case it was hex (200000))**+Output: 
 +  ar7100> erase 0xbf050000 +0x160000 
 +  Erase Flash from 0xbf050000 to 0xbf1affff in Bank # 1 
 +  First 0x5 last 0x1a sector size 0x10000 
 +  Erased 22 sectors 
 + 
 +  ar7100> cp.b 0x80010000 0xbf050000 0x160000 
 +  Copy to Flash... write addr: bf050000 
 +  done 
 + 
 + 
 +11. Do the same with rootfs. **IMPORTANT** keep in mind that size may and probably will vary. In my case it was **(220000 hex)**
  tftpboot 0x80010000 openwrt-ar71xx-generic-wndap360-rootfs-squashfs.bin   tftpboot 0x80010000 openwrt-ar71xx-generic-wndap360-rootfs-squashfs.bin
-  erase 0xbf200000 +0x200000 +  erase 0xbf200000 +0x220000 
-  cp.b 0x80010000 0xbf200000 0x200000 +  cp.b 0x80010000 0xbf200000 0x220000  
 + 
 +Output: 
 + 
 +  ar7100> tftpboot 0x80010000 openwrt-ar71xx-generic-wndap360-rootfs-squashfs.bin 
 +  Trying eth0 
 +  Using eth0 device 
 +  TFTP from server 192.168.1.1; our IP address is 192.168.1.100 
 +  Filename 'openwrt-ar71xx-generic-wndap360-rootfs-squashfs.bin'. 
 +  Load address: 0x80010000 
 +  Loading: ################################################################# 
 +          ################################################################# 
 +          ################################################################# 
 +          ################################################################# 
 +          ################################################################# 
 +          ################################################################# 
 +          ############################################## 
 +  done 
 +  Bytes transferred = 2228224 (220000 hex) 
 + 
 + 
 +  ar7100> erase 0xbf200000 +0x220000 
 +  Erase Flash from 0xbf200000 to 0xbf41ffff in Bank # 1 
 +  First 0x20 last 0x41 sector size 0x10000 
 +  Erased 34 sectors 
 + 
 + 
 +  ar7100> cp.b 0x80010000 0xbf200000 0x220000 
 +  Copy to Flash... write addr: bf200000 
 +  done 
 + 
 +14. Once all is done, either type boot or reboot AP
-14. Once all is done, either type boot or reboot AP (uboot will be throwing CRC error information on boot but this doesn't break anything) +15. Once the router reboots, you can acces LuCI on http://192.168.1.1  
 +  * you will need to change your computer's IP to may be 192.168.1.2 before accessing LuCi
==== Flash Layout ==== ==== Flash Layout ====
Line 219: Line 283:
<code> <code>
netgear9729A8#cat /proc/cpuinfo netgear9729A8#cat /proc/cpuinfo
-system type : Atheros AR7100 (hydra) +system type   : Atheros AR7100 (hydra) 
-processor : 0 +processor   : 0 
-cpu model : MIPS 24K V7.4 +cpu model   : MIPS 24K V7.4 
-BogoMIPS : 450.56 +BogoMIPS   : 450.56 
-wait instruction : yes +wait instruction : yes 
-microsecond timers : yes +microsecond timers : yes 
-tlb_entries : 16 +tlb_entries   : 16 
-extra interrupt vector : yes +extra interrupt vector : yes 
-hardware watchpoint : yes +hardware watchpoint : yes 
-ASEs implemented : mips16 +ASEs implemented : mips16 
-VCED exceptions : not available +VCED exceptions   : not available 
-VCEI exceptions : not available+VCEI exceptions   : not available
</code> </code>
Line 530: Line 594:
For some Help with the Tags, please have a look here: [[meta/tags]] For some Help with the Tags, please have a look here: [[meta/tags]]
-{{tag>GigabitEthernet FastEthernet 5Port 2PHY USB 2USB ath9k DetachableAntenna 32RAM 8Flash MIPS MIPS32 34K}}+{{tag>GigabitEthernet 2NIC 2WNIC 5Port USB 2USB ath9k DetachableAntenna 32RAM 8Flash MIPS MIPS32 34K}}

Back to top

toh/netgear/wndap360.1367936656.txt.bz2 · Last modified: 2013/05/07 16:24 by jaceq