ucentral: development update

* add tplink archer c50-v4 support

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2021-06-07 07:00:50 +02:00
parent 4f20c642a5
commit de4eb9c7d2
3 changed files with 79 additions and 4 deletions

View File

@@ -1,15 +1,15 @@
From 4c0d4870b8b7d2d816346b47e9e7f311366dedfc Mon Sep 17 00:00:00 2001
From bc6e353902d5fc17c3fcb194d43cb29ed2f6d6ec Mon Sep 17 00:00:00 2001
From: John Crispin <john@phrozen.org>
Date: Sun, 23 May 2021 09:59:53 +0200
Subject: [PATCH 1/4] certificates: add ability to persistently store
certificates
Subject: [PATCH] certificates: add ability to persistently store certificates
Signed-off-by: John Crispin <john@phrozen.org>
---
package/base-files/files/lib/upgrade/nand.sh | 9 +++++++++
.../files/arch/arm/boot/dts/qcom-ipq4019-xx8300.dtsi | 3 +--
.../linux/ramips/dts/mt7628an_tplink_8m-split-uboot.dtsi | 7 ++++++-
.../linux/realtek/dts/rtl8392_edgecore_ecs4100-12ph.dts | 8 ++++++--
3 files changed, 16 insertions(+), 4 deletions(-)
4 files changed, 22 insertions(+), 5 deletions(-)
diff --git a/package/base-files/files/lib/upgrade/nand.sh b/package/base-files/files/lib/upgrade/nand.sh
index ab3db4cdf2..36977244bc 100644
@@ -53,6 +53,24 @@ index 8f971e505c..0f1f083a5b 100644
};
};
};
diff --git a/target/linux/ramips/dts/mt7628an_tplink_8m-split-uboot.dtsi b/target/linux/ramips/dts/mt7628an_tplink_8m-split-uboot.dtsi
index b6ce7b1f56..471be72001 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_8m-split-uboot.dtsi
+++ b/target/linux/ramips/dts/mt7628an_tplink_8m-split-uboot.dtsi
@@ -43,7 +43,12 @@
partition@50000 {
compatible = "tplink,firmware";
label = "firmware";
- reg = <0x50000 0x770000>;
+ reg = <0x50000 0x760000>;
+ };
+
+ partition@7b0000 {
+ label = "certificates";
+ reg = <0x7b0000 0x10000>;
};
partition@7c0000 {
diff --git a/target/linux/realtek/dts/rtl8392_edgecore_ecs4100-12ph.dts b/target/linux/realtek/dts/rtl8392_edgecore_ecs4100-12ph.dts
index 303b79ac83..7a228aea86 100644
--- a/target/linux/realtek/dts/rtl8392_edgecore_ecs4100-12ph.dts

View File

@@ -0,0 +1,8 @@
---
profile: tplink_archer-c50-v4
target: ramips
subtarget: mt76x8
description: Build image for the TPLink Archer C50 (v4)
image: bin/targets/ath79/generic/openwrt-ath79-generic-tplink_cpe210-v3-squashfs-sysupgrade.bin
include:
- ucentral-ap-medium

View File

@@ -0,0 +1,49 @@
---
description: Add the ucentral dependencies
feeds:
- name: ucentral
path: ../../feeds/ucentral
- name: tip
path: ../../feeds/tip
packages:
- cJSON
- curl
- dnsmasq-full
- dynamic-vlan
- firstcontact
- ip-bridge
- maverick
- ratelimit
- rtty-openssl
- tcpdump
- tip-defaults
- ucentral-client
- ucentral-event
- ucentral-schema
- ucentral-wifi
- ucentral-tools
- ucode
- udhcpsnoop
- usteer
- udevmand
- hostapd-openssl
diffconfig: |
CONFIG_OPENSSL_ENGINE=y
CONFIG_OPENSSL_PREFER_CHACHA_OVER_GCM=y
CONFIG_OPENSSL_WITH_ASM=y
CONFIG_OPENSSL_WITH_CHACHA_POLY1305=y
CONFIG_OPENSSL_WITH_CMS=y
CONFIG_OPENSSL_WITH_DEPRECATED=y
CONFIG_OPENSSL_WITH_ERROR_MESSAGES=y
CONFIG_OPENSSL_WITH_PSK=y
CONFIG_OPENSSL_WITH_SRP=y
CONFIG_OPENSSL_WITH_TLS13=y
# CONFIG_PACKAGE_wpad is not set
# CONFIG_PACKAGE_wpad-basic-wolfssl is not set
# CONFIG_PACKAGE_dnsmasq is not set
CONFIG_IMAGEOPT=y
CONFIG_PREINITOPT=y
CONFIG_TARGET_PREINIT_SUPPRESS_STDERR=y
CONFIG_TARGET_PREINIT_DISABLE_FAILSAFE=y
# CONFIG_BATMAN_ADV_BATMAN_V is not set