diff options
Diffstat (limited to 'target/linux')
4 files changed, 11 insertions, 3 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds index 41dd8c52ea..882849f0dc 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -673,7 +673,8 @@ rb-2011l|\ rb-2011uas|\ rb-2011uas-2hnd|\ rb-2011uias|\ -rb-2011uias-2hnd) +rb-2011uias-2hnd|\ +rb-2011uias-2hnd-r2) ucidef_set_led_switch "eth6" "ETH6" "rb:green:eth6" "switch1" "0x20" ucidef_set_led_switch "eth7" "ETH7" "rb:green:eth7" "switch1" "0x10" ucidef_set_led_switch "eth8" "ETH8" "rb:green:eth8" "switch1" "0x08" diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index 68874e0c2e..b06ec4b5f6 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -335,12 +335,14 @@ ar71xx_setup_interfaces() rb-2011uas|\ rb-2011uas-2hnd|\ rb-2011uias|\ - rb-2011uias-2hnd) + rb-2011uias-2hnd|\ + rb-2011uias-2hnd-r2) case "$board" in rb-2011ils|\ rb-2011uas*|\ rb-2011uias|\ - rb-2011uias-2hnd) + rb-2011uias-2hnd|\ + rb-2011uias-2hnd-r2) ucidef_add_switch "switch0" \ "0@eth0" "2:lan" "3:lan" "4:lan" "5:lan" "1:wan" "6:sfp" ;; diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 990683a55b..2ef16fe4f9 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -1024,6 +1024,9 @@ ar71xx_board_detect() { *"RouterBOARD 2011UiAS-2HnD") name="rb-2011uias-2hnd" ;; + *"RouterBOARD 2011UiAS-2HnD r2") + name="rb-2011uias-2hnd-r2" + ;; *"RouterBOARD 411/A/AH") name="rb-411" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 81735017e5..d0690dbaf4 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -568,6 +568,7 @@ platform_check_image() { rb-2011uas-2hnd|\ rb-2011uias|\ rb-2011uias-2hnd|\ + rb-2011uias-2hnd-r2|\ rb-sxt2n|\ rb-sxt5n) nand_do_platform_check routerboard $1 @@ -891,6 +892,7 @@ platform_do_upgrade() { rb-2011uas-2hnd|\ rb-2011uias|\ rb-2011uias-2hnd|\ + rb-2011uias-2hnd-r2|\ rb-sxt2n|\ rb-sxt5n|\ wi2a-ac200i|\ |