mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 17:42:41 +00:00
48 lines
1.6 KiB
Diff
48 lines
1.6 KiB
Diff
From 643d734b0d05bc9e5fe1b4588bf0876c9fd87bd4 Mon Sep 17 00:00:00 2001
|
|
From: John Crispin <john@phrozen.org>
|
|
Date: Wed, 30 Jun 2021 11:36:13 +0200
|
|
Subject: [PATCH 26/43] ath79: tl-wpa8630p fixes
|
|
|
|
* a certificates partition and change default port mapping
|
|
|
|
Signed-off-by: John Crispin <john@phrozen.org>
|
|
---
|
|
target/linux/ath79/dts/qca9563_tplink_tl-wpa8630p-v2.dtsi | 7 ++++++-
|
|
.../linux/ath79/generic/base-files/etc/board.d/02_network | 2 +-
|
|
2 files changed, 7 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630p-v2.dtsi b/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630p-v2.dtsi
|
|
index 9e6d23de4e..c39dbc515b 100644
|
|
--- a/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630p-v2.dtsi
|
|
+++ b/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630p-v2.dtsi
|
|
@@ -24,7 +24,12 @@
|
|
partition@40000 {
|
|
compatible = "tplink,firmware";
|
|
label = "firmware";
|
|
- reg = <0x040000 0x5e0000>;
|
|
+ reg = <0x040000 0x5d0000>;
|
|
+ };
|
|
+
|
|
+ partition@610000 {
|
|
+ label = "certificates";
|
|
+ reg = <0x610000 0x10000>;
|
|
};
|
|
};
|
|
|
|
diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network
|
|
index 31c0f11861..3ba3d72abc 100755
|
|
--- a/target/linux/ath79/generic/base-files/etc/board.d/02_network
|
|
+++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network
|
|
@@ -385,7 +385,7 @@ ath79_setup_interfaces()
|
|
tplink,tl-wpa8630p-v2.1-eu)
|
|
# port 5 (internal) is the power-line port
|
|
ucidef_add_switch "switch0" \
|
|
- "0@eth0" "2:lan:3" "3:lan:2" "4:lan:1" "5:lan:4"
|
|
+ "0@eth0" "2:wan:3" "3:wan:2" "5:wan:4" "4:lan:1"
|
|
;;
|
|
tplink,tl-wr842n-v2)
|
|
ucidef_set_interface_wan "eth1"
|
|
--
|
|
2.25.1
|
|
|