Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| toh:netgear:wnr2200 [2019/10/29 16:42] – + Custom u-boot sefralgon | toh:netgear:wnr2200 [2019/11/05 13:06] – tftp method can work on 16M model sefralgon | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| align : c, | align : c, | ||
| filter | filter | ||
| + | sort : ^Flash MB | ||
| ---- | ---- | ||
| Line 16: | Line 17: | ||
| align : c, | align : c, | ||
| filter | filter | ||
| + | sort : ^Flash MB | ||
| ---- | ---- | ||
| Line 25: | Line 27: | ||
| align : c,c,c | align : c,c,c | ||
| filter | filter | ||
| + | sort : ^Flash MB | ||
| ---- | ---- | ||
| Line 55: | Line 58: | ||
| ==== Flashing from OpenWrt ==== | ==== Flashing from OpenWrt ==== | ||
| - | The OpenWrt web interface has an option to flash new firmware over it, but I did not get it working yet. | + | The OpenWrt web interface has an option to flash new firmware over it. If it doesn' |
| - | So to flash OpenWrt manually over tftp (without a serial console), you'll have to boot into recovery mode. So, let's get started. | + | |
| + | Update can also be done manually by flashing **sysupgrade.bin** image onto " | ||
| + | |||
| + | If you want to flash official firmware from OpenWRT you need to strip 128 byte-long header first. | ||
| + | |||
| + | ==== Flashing from Bootloader ==== | ||
| + | |||
| + | So to flash OpenWrt manually over tftp (without a serial console), you'll have to boot into recovery mode. (Using Reset button is not necessarily mandatory, probably other hardware buttons will work as well). | ||
| - Turn the router off | - Turn the router off | ||
| - Use a long, thin object (e.g. a toothpick) to hold down the button marked " | - Use a long, thin object (e.g. a toothpick) to hold down the button marked " | ||
| Line 85: | Line 95: | ||
| Make sure, that tftp.exe doesn' | Make sure, that tftp.exe doesn' | ||
| - | **Final steps** | + | === Final steps=== |
| Once you've done all of this, wait around 3 to 7 minutes (you can see that the update is in progress, when a pairs of yellow leds goes on; its finished, when the power led turns solid green) and then reconnect to your router. If all goes well, you should be able to access your router using telnet on 192.168.1.1: | Once you've done all of this, wait around 3 to 7 minutes (you can see that the update is in progress, when a pairs of yellow leds goes on; its finished, when the power led turns solid green) and then reconnect to your router. If all goes well, you should be able to access your router using telnet on 192.168.1.1: | ||
| Line 630: | Line 640: | ||
| serial | serial | ||
| </ | </ | ||
| + | |||
| + | === Flashing 16M RU/CN model via bootloader === | ||
| + | |||
| + | There are indications that NMRP protocol can be used to flash it. TFTP recovery method might also work, but can be tricky. Try to watch for power LED, if it starts flashing dimly it is indication, that router is in recovery/ | ||
| ==== Serial ==== | ==== Serial ==== | ||
| Line 644: | Line 658: | ||
| ==== GPIO ==== | ==== GPIO ==== | ||
| - | GPIO LEDs and buttons on this device are connected to either | + | GPIO LEDs and buttons on this device are connected to GPIO controllers on AR7241 SoC and AR9287 wireless chip. |
| Controlled by **AR7241** SoC (20 GPIOs total, some shared with JTAG or built-in Ethernet switch) : | Controlled by **AR7241** SoC (20 GPIOs total, some shared with JTAG or built-in Ethernet switch) : | ||
| Line 661: | Line 675: | ||
| | | | | ||
| - | Controlled by **AR9287** wireless chip (11 GPIOs total, unaccessible with default ath9k driver, see __Patches__ section below) : | + | Controlled by **AR9287** wireless chip (11 GPIOs total) : |
| ^ | ^ | ||
| | | | | ||
| - | | | + | | |
| | | | | ||
| | Button | | Button | ||
| Line 677: | Line 691: | ||
| *//[2] - ' | *//[2] - ' | ||
| *//[3] - this is amber light on power LED (labelled TEST in u-boot sources)// | *//[3] - this is amber light on power LED (labelled TEST in u-boot sources)// | ||
| - | |||
| - | === Patches === | ||
| - | |||
| - | Patches providing full GPIO support on WNR2200 have been submitted to trunk ([[https:// | ||
| - | All above patches and their versions backported to Chaos Chalmer (15.05) are available at [[https:// | ||
| === GPIO in OpenWrt === | === GPIO in OpenWrt === | ||
| Line 709: | Line 718: | ||
| </ | </ | ||
| - | ==== Custom u-boot ==== | + | ===== Custom u-boot |
| There is a project allowing to build custom u-boot image https:// | There is a project allowing to build custom u-boot image https:// | ||
| Line 909: | Line 918: | ||
| ===== Tags ===== | ===== Tags ===== | ||
| [[meta: | [[meta: | ||
| - | {{tag> | + | {{tag> |