aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/base-files
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
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')
-rwxr-xr-xtarget/linux/ipq806x/base-files/etc/board.d/01_leds1
-rwxr-xr-xtarget/linux/ipq806x/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata2
-rw-r--r--target/linux/ipq806x/base-files/lib/ipq806x.sh3
-rw-r--r--target/linux/ipq806x/base-files/lib/upgrade/platform.sh2
5 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ipq806x/base-files/etc/board.d/01_leds b/target/linux/ipq806x/base-files/etc/board.d/01_leds
index 17f1a28abc..12d9e7b1b7 100755
--- a/target/linux/ipq806x/base-files/etc/board.d/01_leds
+++ b/target/linux/ipq806x/base-files/etc/board.d/01_leds
@@ -20,6 +20,7 @@ c2600)
;;
d7800 |\
r7500 |\
+r7500v2 |\
r7800)
ucidef_set_led_usbdev "usb1" "USB 1" "${board}:white:usb1" "1-1"
ucidef_set_led_usbdev "usb2" "USB 2" "${board}:white:usb3" "3-1"
diff --git a/target/linux/ipq806x/base-files/etc/board.d/02_network b/target/linux/ipq806x/base-files/etc/board.d/02_network
index 16cc13cfc0..b72045538a 100755
--- a/target/linux/ipq806x/base-files/etc/board.d/02_network
+++ b/target/linux/ipq806x/base-files/etc/board.d/02_network
@@ -17,6 +17,7 @@ ap148 |\
c2600 |\
d7800 |\
r7500 |\
+r7500v2 |\
r7800)
ucidef_add_switch "switch0" \
"1:lan" "2:lan" "3:lan" "4:lan" "6@eth1" "5:wan" "0@eth0"
diff --git a/target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
index a23dd80a00..c7977e6375 100644
--- a/target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
+++ b/target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
@@ -56,6 +56,7 @@ case "$FIRMWARE" in
hw_mac_addr=$(mtd_get_mac_ascii devinfo hw_mac_addr)
ath10kcal_extract "art" 4096 12064
;;
+ r7500v2 |\
r7800)
ath10kcal_extract "art" 4096 12064
;;
@@ -71,6 +72,7 @@ case "$FIRMWARE" in
hw_mac_addr=$(mtd_get_mac_ascii devinfo hw_mac_addr)
ath10kcal_extract "art" 20480 12064
;;
+ r7500v2 |\
r7800)
ath10kcal_extract "art" 20480 12064
;;
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"
;;