From b0449ccf04eae59aec6f90493d5a563fa8b15eea Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Wed, 2 May 2012 19:17:59 +0000 Subject: 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 SVN-Revision: 31557 --- target/linux/ramips/base-files/etc/diag.sh | 2 +- target/linux/ramips/base-files/etc/uci-defaults/network | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'target/linux/ramips/base-files') diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 43fda2f172..78c9e945b3 100755 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -82,7 +82,7 @@ get_status_led() { status_led="v22rw-2x2:green:security" ;; w306r-v20) - status_led="w306r:green:sys" + status_led="w306r-v20:green:sys" ;; w502u) status_led="alfa:blue:wps" diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network index c987a2567d..43d5726921 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/network +++ b/target/linux/ramips/base-files/etc/uci-defaults/network @@ -59,7 +59,6 @@ ramips_setup_interfaces() ;; freestation5 | \ - w306r-v20 | \ wcr-150gn) ucidef_set_interfaces_lan_wan "eth0.2" "eth0.1" ;; -- cgit v1.2.3