User Tools

Site Tools


toh:netgear:wnr1000_v2

Netgear WNR1000 v2

WNR1000-100PES - very similar to WNR2000v3 / WNR612v2

Supported Versions

Hardware Highlights

Model VersionSoCCPU MHzFlash MBRAM MBWLAN HardwareWLAN2.4WLAN5.0100M portsGbit portsModemUSB
WNR1000v2Atheros AR7240400432Atheros AR9285b/g/n-5---
WNR1000v2-VCAtheros AR7240400432Atheros AR9285b/g/n-5---

Installation

Install OpenWrt (generic explanation)

FIXME Please add the installation procedure here.

I tried web-interface upload of v2.img linked above, router complained 2x about image, using ambiguous language about cause of failure; filename pattern violation, or image content, or checksum..

1. alert/modal/popup “Firmware upload failed, please check your file” I dismiss that, and click ok/yes 2. another error, now inserted into web-page <div>, text refreshes away before I can copy-paste it

Telnet enable

Hardware

Serial

port.serial general information about the serial port, serial port cable, etc.

The serial port is found at JP2. Pin 1 is marked with dot.

Pin Description
1 VCC
2 RX
3 TX
4 GND

GPIO

GPIO LEDs and buttons on this device are connected to either AR7240 SoC or AR9285 wireless chip, so not all of them are accessible to stock version of OpenWrt 15.05 (generic ath9k driver does not register AR9285 GPIOs in kernel). Please read more in Patches section below about current status of addressing these issues.

Controlled by AR7240 SoC (18 GPIOs total, LAN LEDs shared with built-in Ethernet switch) :

Type Function GPIO Polarity Notes
LED WAN AMBER 0 (0, 0) active low
LED TEST AMBER 1 (0, 1) active low aka POWER AMBER - see note [3]
LED LAN1 AMBER 6 (0, 6) active low shared with JTAG - see note [0]
LED LAN2 AMBER 7 (0, 7) active low shared with JTAG - see note [0]
LED LAN3 AMBER 8 (0, 8) active low shared with JTAG - see note [0]
LED POWER GREEN 11 (0, 11) active low
LED LAN4 AMBER 12 (0, 12) active low
LED LAN1 GREEN 13 (0, 13) active low link activity - see note [1]
LED LAN2 GREEN 14 (0, 14) active low link activity - see note [1]
LED LAN3 GREEN 15 (0, 15) active low link activity - see note [1]
LED LAN4 GREEN 16 (0, 16) active low link activity - see note [1]
LED WAN GREEN 17 (0, 17) active low link activity - see note [1]

Controlled by AR9285 wireless chip (12 GPIOs total, unaccessible with default ath9k driver, see Patches section below) :

Type Function GPIO Polarity Notes
LED WLAN BLUE 53 (1, 1) active low not all triggers work - see note [2]
LED WPS GREEN 57 (1, 5) active low
Button WPS 58 (1, 6) active low
Button RESET 59 (1, 7) active low
Button RFKILL 60 (1, 8) active low

Notes:

  • [0] - needs reprogramming of SoC to deallocate GPIO pins from JTAG
  • [1] - needs reprogramming of SoC to deallocate GPIO pins from built-in Ethernet switch; required for different link speed colors
  • [2] - 'phy0radio' trigger does not work, use default 'phy0tpt' or 'wlan0' netdevice instead
  • [3] - this is amber light on power LED (labelled TEST in u-boot sources)

Patches

Patches providing full GPIO support on WNR2000v3 / WNR612v2 / WNR1000v2 have been submitted to trunk (https://patchwork.ozlabs.org/project/openwrt/list/?submitter=68145). They are included in OpenWrt starting from version r49077.
All above patches and their versions backported to Chaos Chalmer (15.05) are available at https://micu.webserwer.pl/pmwiki/pmwiki.php?n=OpenWRT.Patches.

GPIO in OpenWrt

# cat /sys/kernel/debug/gpio
GPIOs 0-17, ath79:
 gpio-0   (netgear:amber:wan   ) out hi    
 gpio-1   (netgear:amber:test  ) out hi    
 gpio-6   (netgear:amber:lan1  ) out hi    
 gpio-7   (netgear:amber:lan2  ) out hi    
 gpio-8   (netgear:amber:lan3  ) out hi    
 gpio-11  (netgear:green:power ) out lo    
 gpio-12  (netgear:amber:lan4  ) out hi    
 gpio-13  (netgear:green:lan1  ) out lo    
 gpio-14  (netgear:green:lan2  ) out lo    
 gpio-15  (netgear:green:lan3  ) out lo    
 gpio-16  (netgear:green:lan4  ) out lo    
 gpio-17  (netgear:green:wan   ) out lo    

GPIOs 52-63, ath9k-phy0:
 gpio-53  (netgear:blue:wlan   ) out hi    
 gpio-57  (netgear:green:wps   ) out hi    
 gpio-58  (wps                 ) in  hi    
 gpio-59  (reset               ) in  hi    
 gpio-60  (rfkill              ) in  hi    

Tags

toh/netgear/wnr1000_v2.txt · Last modified: 2018/10/17 20:39 by jimbo