Skip to content
Permalink
Browse files

ipq40xx: init G-DOCK 2.0 (P&W R619AC) support

support p2w_r619ac
support p2w_r619ac-128m

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
  • Loading branch information
ptpt52 committed Nov 6, 2019
1 parent 1a2e015 commit c1ac0ca52a46b13a493035d08d41d32898752d4a
@@ -26,6 +26,7 @@ endef
ALLWIFIBOARDS:= \
avm_fritzrepeater-1200 \
linksys_ea8300 \
p2w_r619ac \
qxwlan_e2600ac

ALLWIFIPACKAGES:=$(foreach BOARD,$(ALLWIFIBOARDS),ipq-wifi-$(BOARD))
@@ -91,6 +92,7 @@ endef

$(eval $(call generate-ipq-wifi-package,avm_fritzrepeater-1200,AVM FRITZRepeater 1200))
$(eval $(call generate-ipq-wifi-package,linksys_ea8300,Linksys EA8300))
$(eval $(call generate-ipq-wifi-package,p2w_r619ac,P&W R619AC))
$(eval $(call generate-ipq-wifi-package,qxwlan_e2600ac,Qxwlan E2600AC))

$(foreach PACKAGE,$(ALLWIFIPACKAGES),$(eval $(call BuildPackage,$(PACKAGE))))
Binary file not shown.
@@ -61,6 +61,8 @@ ipq40xx_setup_interfaces()
ucidef_add_switch "switch0" \
"0t@eth0" "3:lan" "4:lan" "5:wan"
;;
p2w,r619ac-128m|\
p2w,r619ac|\
zyxel,nbg6617)
ucidef_add_switch "switch0" \
"0t@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5:wan:5"
@@ -77,7 +79,9 @@ ipq40xx_setup_macs()

case "$board" in
asus,rt-acrh17|\
asus,rt-ac58u)
asus,rt-ac58u|\
p2w,r619ac-128m|\
p2w,r619ac)
lan_mac=$(cat /sys/class/net/eth0/address)
wan_mac=$(macaddr_add "$lan_mac" 1)
;;
@@ -51,6 +51,8 @@ case "$FIRMWARE" in
alfa-network,ap120c-ac |\
glinet,gl-b1300 |\
linksys,ea6350v3 |\
p2w,r619ac-128m |\
p2w,r619ac |\
qcom,ap-dk01.1-c1)
caldata_extract "ART" 0x1000 0x2f20
;;
@@ -117,6 +119,8 @@ case "$FIRMWARE" in
alfa-network,ap120c-ac |\
glinet,gl-b1300 |\
linksys,ea6350v3 |\
p2w,r619ac-128m |\
p2w,r619ac |\
qcom,ap-dk01.1-c1)
caldata_extract "ART" 0x5000 0x2f20
;;
@@ -193,7 +193,9 @@ platform_do_upgrade() {
asus_nand_upgrade_tar 20951040 "$1"
fi
;;
compex,wpj419)
compex,wpj419|\
p2w,r619ac-128m|\
p2w,r619ac)
nand_do_upgrade "$1"
;;
linksys,ea6350v3 |\
@@ -0,0 +1,19 @@
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

#include "qcom-ipq4019-r619ac.dtsi"

/ {
model = "P&W R619AC 128M";
compatible = "p2w,r619ac-128m";
};

&kernel_unused {
label = "kernel";
};

&rootfs_part1 {
label = "ubi";
reg = <0x0 0x8000000>;
};

/delete-node/ &rootfs_part2;
@@ -0,0 +1,12 @@
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

#include "qcom-ipq4019-r619ac.dtsi"

/ {
model = "P&W R619AC";
compatible = "p2w,r619ac";

chosen {
bootargs-append = " root=/dev/ubiblock0_1 rootfstype=squashfs";
};
};

0 comments on commit c1ac0ca

Please sign in to comment.
You can’t perform that action at this time.