2
0
forked from Ivasoft/openwrt

ipq806x: Add support for Netgear D7800

Signed-off-by: Tathagata Das <tathagata@alumnux.com>

SVN-Revision: 48360
This commit is contained in:
John Crispin
2016-01-19 10:16:36 +00:00
parent f51f92d7e9
commit 78a6a9aec3
7 changed files with 413 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ board_config_update
board=$(ipq806x_board_name)
case "$board" in
d7800 |\
r7500)
ucidef_set_led_usbdev "usb1" "USB 1" "r7500:white:usb1" "1-1"
ucidef_set_led_usbdev "usb2" "USB 2" "r7500:white:usb3" "3-1"

View File

@@ -13,6 +13,7 @@ board=$(ipq806x_board_name)
case "$board" in
ap148 |\
d7800 |\
r7500)
ucidef_add_switch "switch0" \
"1:lan" "2:lan" "3:lan" "4:lan" "6@eth1" "5:wan" "0@eth0"

View File

@@ -17,6 +17,9 @@ ipq806x_board_detect() {
*"AP148")
name="ap148"
;;
*"D7800")
name="d7800"
;;
*"DB149")
name="db149"
;;

View File

@@ -7,6 +7,7 @@ platform_check_image() {
case "$board" in
ap148 |\
d7800 |\
r7500)
nand_do_platform_check $board $1
return $?;
@@ -21,6 +22,7 @@ platform_pre_upgrade() {
case "$board" in
ap148 |\
d7800 |\
r7500)
nand_do_upgrade "$1"
;;