summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-04-26 11:43:01 +0000
committerJohn Crispin <john@openwrt.org>2016-04-26 11:43:01 +0000
commite55d86ef323377b40d35cf9d927cd2370e8d4842 (patch)
tree2b7b2f4e2cf2e3eafe827dbc6aa3d0f18845b227 /target/linux/ramips/base-files
parent83ca0efb3e1e5b765d8b8a6bcb2e681f51b7a944 (diff)
downloadmtk-20170518-e55d86ef323377b40d35cf9d927cd2370e8d4842.zip
mtk-20170518-e55d86ef323377b40d35cf9d927cd2370e8d4842.tar.gz
mtk-20170518-e55d86ef323377b40d35cf9d927cd2370e8d4842.tar.bz2
ramips: add support for Planex CS-QR10
CS-QR10 is MT7620A based IP Camera. the camera and sound does not work with kernel 4.4. - camera chip is sn9c291. - sound chip is wm8960. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 49234
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
5 files changed, 8 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index e3b8500..367801d 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -30,7 +30,8 @@ br-6475nd|\
mzk-w300nh2)
set_wifi_led "$board:amber:wlan"
;;
-a5-v11)
+a5-v11|\
+cs-qr10)
ucidef_set_led_default "power" "POWER" "$board:red:power" "1"
;;
ai-br100)
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index 3c958ae..dc3d1bc 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -160,6 +160,7 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "9@eth0"
;;
+ cs-qr10|\
d105|\
hpm|\
na930|\
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index bd0ff05..2d43f54 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -33,6 +33,7 @@ get_status_led() {
status_led="$board:green:power"
;;
a5-v11|\
+ cs-qr10|\
d105|\
dcs-930l-b1|\
ex2700|\
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 550ec55..73dd599 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -88,6 +88,9 @@ ramips_board_detect() {
*"CF-WR800N")
name="cf-wr800n"
;;
+ *"CS-QR10")
+ name="cs-qr10"
+ ;;
*"CY-SWR1100")
name="cy-swr1100"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 73ba6e6..f153b02 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -34,6 +34,7 @@ platform_check_image() {
broadway|\
carambola|\
cf-wr800n|\
+ cs-qr10|\
d105|\
dap-1350|\
db-wrt01|\