ar71xx: add support for dlink dir-615-e1
Dlink dir-615-e1 can use dir-600-a1's image, but the image can't be uploaded through dlink's normal firmware update web page. Add profile for dir-615-e1 so the generated image can be uploaded through the firmware update web page. Signed-off-by: Zhao, Gang <gamerh2o@gmail.com> SVN-Revision: 40969
This commit is contained in:
parent
897b2e4b98
commit
60ec05fdcb
@ -48,6 +48,7 @@ get_status_led() {
|
|||||||
;;
|
;;
|
||||||
dir-505-a1 |\
|
dir-505-a1 |\
|
||||||
dir-600-a1 |\
|
dir-600-a1 |\
|
||||||
|
dir-615-e1 |\
|
||||||
dir-615-e4)
|
dir-615-e4)
|
||||||
status_led="d-link:green:power"
|
status_led="d-link:green:power"
|
||||||
;;
|
;;
|
||||||
|
@ -85,6 +85,7 @@ dir-505-a1)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
dir-600-a1|\
|
dir-600-a1|\
|
||||||
|
dir-615-e1|\
|
||||||
dir-615-e4)
|
dir-615-e4)
|
||||||
ucidef_set_led_netdev "wan" "WAN" "d-link:green:wan" "eth1"
|
ucidef_set_led_netdev "wan" "WAN" "d-link:green:wan" "eth1"
|
||||||
ucidef_set_led_switch "lan1" "LAN1" "d-link:green:lan1" "switch0" "0x02"
|
ucidef_set_led_switch "lan1" "LAN1" "d-link:green:lan1" "switch0" "0x02"
|
||||||
|
@ -287,6 +287,7 @@ ap96 |\
|
|||||||
airrouter |\
|
airrouter |\
|
||||||
dir-600-a1 |\
|
dir-600-a1 |\
|
||||||
dir-615-c1 |\
|
dir-615-c1 |\
|
||||||
|
dir-615-e1 |\
|
||||||
dir-615-e4 |\
|
dir-615-e4 |\
|
||||||
ja76pf |\
|
ja76pf |\
|
||||||
mynet-n600 |\
|
mynet-n600 |\
|
||||||
|
@ -58,6 +58,7 @@ ap96|\
|
|||||||
airrouter|\
|
airrouter|\
|
||||||
dir-600-a1|\
|
dir-600-a1|\
|
||||||
dir-615-c1|\
|
dir-615-c1|\
|
||||||
|
dir-615-e1|\
|
||||||
dir-615-e4|\
|
dir-615-e4|\
|
||||||
ja76pf|\
|
ja76pf|\
|
||||||
rb-750|\
|
rb-750|\
|
||||||
|
@ -280,6 +280,9 @@ ar71xx_board_detect() {
|
|||||||
*"DIR-600 rev. A1")
|
*"DIR-600 rev. A1")
|
||||||
name="dir-600-a1"
|
name="dir-600-a1"
|
||||||
;;
|
;;
|
||||||
|
*"DIR-615 rev. E1")
|
||||||
|
name="dir-615-e1"
|
||||||
|
;;
|
||||||
*"DIR-615 rev. E4")
|
*"DIR-615 rev. E4")
|
||||||
name="dir-615-e4"
|
name="dir-615-e4"
|
||||||
;;
|
;;
|
||||||
|
@ -146,6 +146,7 @@ platform_check_image() {
|
|||||||
dir-505-a1 | \
|
dir-505-a1 | \
|
||||||
dir-600-a1 | \
|
dir-600-a1 | \
|
||||||
dir-615-c1 | \
|
dir-615-c1 | \
|
||||||
|
dir-615-e1 | \
|
||||||
dir-615-e4 | \
|
dir-615-e4 | \
|
||||||
dir-825-c1 | \
|
dir-825-c1 | \
|
||||||
dir-835-a1 | \
|
dir-835-a1 | \
|
||||||
|
@ -141,6 +141,14 @@ static void __init dir_600_a1_setup(void)
|
|||||||
MIPS_MACHINE(ATH79_MACH_DIR_600_A1, "DIR-600-A1", "D-Link DIR-600 rev. A1",
|
MIPS_MACHINE(ATH79_MACH_DIR_600_A1, "DIR-600-A1", "D-Link DIR-600 rev. A1",
|
||||||
dir_600_a1_setup);
|
dir_600_a1_setup);
|
||||||
|
|
||||||
|
static void __init dir_615_e1_setup(void)
|
||||||
|
{
|
||||||
|
dir_600_a1_setup();
|
||||||
|
}
|
||||||
|
|
||||||
|
MIPS_MACHINE(ATH79_MACH_DIR_615_E1, "DIR-615-E1", "D-Link DIR-615 rev. E1",
|
||||||
|
dir_615_e1_setup);
|
||||||
|
|
||||||
static void __init dir_615_e4_setup(void)
|
static void __init dir_615_e4_setup(void)
|
||||||
{
|
{
|
||||||
dir_600_a1_setup();
|
dir_600_a1_setup();
|
||||||
|
@ -60,6 +60,16 @@ endef
|
|||||||
|
|
||||||
$(eval $(call Profile,DIR615C1))
|
$(eval $(call Profile,DIR615C1))
|
||||||
|
|
||||||
|
define Profile/DIR615E1
|
||||||
|
NAME:=D-Link DIR-615 rev. E1
|
||||||
|
PACKAGES:=
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Profile/DIR615E1/Description
|
||||||
|
Package set optimized for the D-Link DIR-615 rev. E1.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call Profile,DIR615E1))
|
||||||
|
|
||||||
define Profile/DIR615E4
|
define Profile/DIR615E4
|
||||||
NAME:=D-Link DIR-615 rev. E4
|
NAME:=D-Link DIR-615 rev. E4
|
||||||
|
@ -1025,6 +1025,7 @@ $(eval $(call SingleProfile,CameoAP91,64kraw,DIR600A1,dir-600-a1,DIR-600-A1,ttyS
|
|||||||
$(eval $(call SingleProfile,CameoAP91,64kraw,DIR601A1,dir-601-a1,DIR-600-A1,ttyS0,115200,"AP91-AR7240-RT-090223-02"))
|
$(eval $(call SingleProfile,CameoAP91,64kraw,DIR601A1,dir-601-a1,DIR-600-A1,ttyS0,115200,"AP91-AR7240-RT-090223-02"))
|
||||||
$(eval $(call SingleProfile,CameoAP91,64kraw,FR54RTR,fr-54rtr,DIR-600-A1,ttyS0,115200,"AP91-AR7240-RT-090223-01"))
|
$(eval $(call SingleProfile,CameoAP91,64kraw,FR54RTR,fr-54rtr,DIR-600-A1,ttyS0,115200,"AP91-AR7240-RT-090223-01"))
|
||||||
|
|
||||||
|
$(eval $(call SingleProfile,CameoAP99,64kraw,DIR615E1,dir-615-e1,DIR-615-E1,ttyS0,115200,"AP93-AR7240-RT-081028-00"))
|
||||||
$(eval $(call SingleProfile,CameoAP99,64kraw,DIR615E4,dir-615-e4,DIR-615-E4,ttyS0,115200,"AP99-AR7240-RT-091105-05"))
|
$(eval $(call SingleProfile,CameoAP99,64kraw,DIR615E4,dir-615-e4,DIR-615-E4,ttyS0,115200,"AP99-AR7240-RT-091105-05"))
|
||||||
|
|
||||||
$(eval $(call SingleProfile,CameoAP81,64kraw-nojffs,A02RBW300N,a02-rb-w300n,TEW-632BRP,ttyS0,115200,"AP81-AR9130-RT-070614-03"))
|
$(eval $(call SingleProfile,CameoAP81,64kraw-nojffs,A02RBW300N,a02-rb-w300n,TEW-632BRP,ttyS0,115200,"AP81-AR9130-RT-070614-03"))
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
+ ATH79_MACH_DIR_505_A1, /* D-Link DIR-505 rev. A1 */
|
+ ATH79_MACH_DIR_505_A1, /* D-Link DIR-505 rev. A1 */
|
||||||
+ ATH79_MACH_DIR_600_A1, /* D-Link DIR-600 rev. A1 */
|
+ ATH79_MACH_DIR_600_A1, /* D-Link DIR-600 rev. A1 */
|
||||||
+ ATH79_MACH_DIR_615_C1, /* D-Link DIR-615 rev. C1 */
|
+ ATH79_MACH_DIR_615_C1, /* D-Link DIR-615 rev. C1 */
|
||||||
|
+ ATH79_MACH_DIR_615_E1, /* D-Link DIR-615 rev. E1 */
|
||||||
+ ATH79_MACH_DIR_615_E4, /* D-Link DIR-615 rev. E4 */
|
+ ATH79_MACH_DIR_615_E4, /* D-Link DIR-615 rev. E4 */
|
||||||
+ ATH79_MACH_DIR_825_B1, /* D-Link DIR-825 rev. B1 */
|
+ ATH79_MACH_DIR_825_B1, /* D-Link DIR-825 rev. B1 */
|
||||||
+ ATH79_MACH_DIR_825_C1, /* D-Link DIR-825 rev. C1 */
|
+ ATH79_MACH_DIR_825_C1, /* D-Link DIR-825 rev. C1 */
|
||||||
@ -423,7 +424,7 @@
|
|||||||
+ select ATH79_NVRAM
|
+ select ATH79_NVRAM
|
||||||
+
|
+
|
||||||
+config ATH79_MACH_DIR_600_A1
|
+config ATH79_MACH_DIR_600_A1
|
||||||
+ bool "D-Link DIR-600 A1/DIR-615 E4 support"
|
+ bool "D-Link DIR-600 A1/DIR-615 E1/DIR-615 E4 support"
|
||||||
+ select SOC_AR724X
|
+ select SOC_AR724X
|
||||||
+ select ATH79_DEV_AP9X_PCI if PCI
|
+ select ATH79_DEV_AP9X_PCI if PCI
|
||||||
+ select ATH79_DEV_ETH
|
+ select ATH79_DEV_ETH
|
||||||
|
Loading…
Reference in New Issue
Block a user