ramips: W306R V2.0 - GPIO and Network fixes
authorGabor Juhos <juhosg@openwrt.org>
Wed, 2 May 2012 19:17:59 +0000 (19:17 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 2 May 2012 19:17:59 +0000 (19:17 +0000)
commit0161c3989fe7798d2eca91d55fb6b814e59c33f7
treea888cb44f72cd81a5bd8e63e9045c70ce20940c4
parent930980102ac68882a7ace6a5ffe39b088f69cbce
ramips: W306R V2.0 - GPIO and Network fixes

Fixed: GPIO typos and confirmed GPIO_BUTTON_RESET
Fixed: Lan & Wan reversed: swaped "eth0.2" with "eth0.1" by
       removing a line(default is correct), and reversed the
       Lan/wan layout LLLLW to WLLLL.

Added: image/Makefile now builds -factory.bin files. I am
       unsure of the accepted way to change the makefile but
       the name of the image needs to be 'linkn Kernel Image'
       in order to be accepted by the OEM firmware.

Known issue: eth0 (internal switch i think has mac address:
       00:11:22:33:44:55  but i think it should be same as
       the lan).
Known issue: Pressing the reset button has no noticable effect,
       i would expect the router to boot failsafe if being
       pressed on boot, reboot if short press and reset all
       to default if long press.

[juhosg: remove mtdlayout_W306R and use mtdlayout_4M instead]

Signed-off-by: David Pearce <david_18051985@hotmail.com>
SVN-Revision: 31557
target/linux/ramips/base-files/etc/diag.sh
target/linux/ramips/base-files/etc/uci-defaults/network
target/linux/ramips/files/arch/mips/ralink/rt305x/mach-w306r-v20.c
target/linux/ramips/image/Makefile