From 156d9255f2c621ffe58321d73b737613f70e0503 Mon Sep 17 00:00:00 2001 From: Ron Angeles Date: Mon, 27 Mar 2017 18:55:48 -0700 Subject: ar71xx: add userspace support for Mikrotik RB2011iL Kernel/hardware support for this board has been implemented since Chaos Calmer. This set of patches is to get the board identified in userland. This will allow support for things like sysupgrade, configuring initial LED state, configuring initial switch state, etc. Signed-off-by: Ron Angeles --- target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++ target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 2 ++ 2 files changed, 5 insertions(+) (limited to 'target/linux/ar71xx/base-files/lib') diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 25f6b01c18..547e0e408e 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -824,6 +824,9 @@ ar71xx_board_detect() { *"Rocket M XW") name="rocket-m-xw" ;; + *"RouterBOARD 2011iL") + name="rb-2011il" + ;; *"RouterBOARD 2011L") name="rb-2011l" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index fb582091ce..27b0f8afec 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -508,6 +508,7 @@ platform_check_image() { rb-951g-2hnd|\ rb-951ui-2hnd|\ rb-2011l|\ + rb-2011il|\ rb-2011uas|\ rb-2011uias|\ rb-2011uas-2hnd|\ @@ -682,6 +683,7 @@ platform_pre_upgrade() { rb-912uag-5hpnd|\ rb-951g-2hnd|\ rb-951ui-2hnd|\ + rb-2011il|\ rb-2011l|\ rb-2011uas|\ rb-2011uias|\ -- cgit v1.2.3