aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/base-files/lib
diff options
context:
space:
mode:
authorAlexis Green <agreen@cococorp.com>2016-08-19 13:56:24 -0700
committerJo-Philipp Wich <jo@mein.io>2016-08-22 17:24:48 +0200
commitc34f953fefe8ad57dc9f259e074f83df5688d776 (patch)
treed52b87ee1c4ce61178dcb4a3a5a15d6c6f0ca6e9 /target/linux/ipq806x/base-files/lib
parentd7e040f8bccec06b64c82963be6435101423dbf1 (diff)
downloadupstream-c34f953fefe8ad57dc9f259e074f83df5688d776.tar.gz
upstream-c34f953fefe8ad57dc9f259e074f83df5688d776.tar.bz2
upstream-c34f953fefe8ad57dc9f259e074f83df5688d776.zip
ipq806x: Build image for Netgear Nighthawk X4 R7500v2
Signed-off-by: Alexis Green <alexis@cessp.it> [Jo-Philipp Wich: add missing DEVICE_TITLE, fix model name in commit title] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'target/linux/ipq806x/base-files/lib')
-rw-r--r--target/linux/ipq806x/base-files/lib/ipq806x.sh3
-rw-r--r--target/linux/ipq806x/base-files/lib/upgrade/platform.sh2
2 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ipq806x/base-files/lib/ipq806x.sh b/target/linux/ipq806x/base-files/lib/ipq806x.sh
index adac916f6b..0b11b721a7 100644
--- a/target/linux/ipq806x/base-files/lib/ipq806x.sh
+++ b/target/linux/ipq806x/base-files/lib/ipq806x.sh
@@ -29,6 +29,9 @@ ipq806x_board_detect() {
*"R7500")
name="r7500"
;;
+ *"R7500v2")
+ name="r7500v2"
+ ;;
*"Linksys EA8500"*)
name="ea8500"
;;
diff --git a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
index cfd7cd7ed6..7726abb91f 100644
--- a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
@@ -10,6 +10,7 @@ platform_check_image() {
d7800 |\
ea8500 |\
r7500 |\
+ r7500v2 |\
r7800)
nand_do_platform_check $board $1
return $?;
@@ -34,6 +35,7 @@ platform_pre_upgrade() {
ap148 |\
d7800 |\
r7500 |\
+ r7500v2 |\
r7800)
nand_do_upgrade "$1"
;;