From de4eb9c7d28df666589d1610797f756fad1b7836 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 7 Jun 2021 07:00:50 +0200 Subject: [PATCH] ucentral: development update * add tplink archer c50-v4 support Signed-off-by: John Crispin --- ...-ability-to-persistently-store-certi.patch | 26 ++++++++-- profiles/tplink_archer_c50_v4.yml | 8 +++ profiles/ucentral-ap-medium.yml | 49 +++++++++++++++++++ 3 files changed, 79 insertions(+), 4 deletions(-) create mode 100644 profiles/tplink_archer_c50_v4.yml create mode 100644 profiles/ucentral-ap-medium.yml diff --git a/patches/0036-certificates-add-ability-to-persistently-store-certi.patch b/patches/0036-certificates-add-ability-to-persistently-store-certi.patch index 6495b30f5..324e0dcda 100644 --- a/patches/0036-certificates-add-ability-to-persistently-store-certi.patch +++ b/patches/0036-certificates-add-ability-to-persistently-store-certi.patch @@ -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 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 --- 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 diff --git a/profiles/tplink_archer_c50_v4.yml b/profiles/tplink_archer_c50_v4.yml new file mode 100644 index 000000000..892b0e6b3 --- /dev/null +++ b/profiles/tplink_archer_c50_v4.yml @@ -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 diff --git a/profiles/ucentral-ap-medium.yml b/profiles/ucentral-ap-medium.yml new file mode 100644 index 000000000..329e9913a --- /dev/null +++ b/profiles/ucentral-ap-medium.yml @@ -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