Files
wlan-ap/patches-24.10/0045-ramips-add-certificates-partitions.patch
John Crispin 53bbf45c48 patches: carry forward ramips certificates partition (0045)
Adds certificates partition to ramips device tree for secure storage.

Renumbered from patches/0057.

Signed-off-by: John Crispin <john@phrozen.org>
2025-10-19 00:00:00 +02:00

51 lines
1.5 KiB
Diff

From 24059df8c4c19daf57ac65077c12031817dbab1f Mon Sep 17 00:00:00 2001
From: John Crispin <john@phrozen.org>
Date: Sat, 15 Jul 2023 15:16:57 +0200
Subject: [PATCH 45/55] ramips: add certificates partitions
Signed-off-by: John Crispin <john@phrozen.org>
---
target/linux/ramips/dts/mt7621_yuncore_ax820.dts | 7 ++++++-
target/linux/ramips/dts/mt7621_yuncore_fap640.dts | 7 ++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/target/linux/ramips/dts/mt7621_yuncore_ax820.dts b/target/linux/ramips/dts/mt7621_yuncore_ax820.dts
index 3bdcfe439c..b8062ceaeb 100644
--- a/target/linux/ramips/dts/mt7621_yuncore_ax820.dts
+++ b/target/linux/ramips/dts/mt7621_yuncore_ax820.dts
@@ -140,7 +140,12 @@
partition@90000 {
compatible = "denx,uimage";
label = "firmware";
- reg = <0x90000 0xf70000>;
+ reg = <0x90000 0xf60000>;
+ };
+
+ partition@ff0000 {
+ label = "certificates";
+ reg = <0xff0000 0x10000>;
};
};
};
diff --git a/target/linux/ramips/dts/mt7621_yuncore_fap640.dts b/target/linux/ramips/dts/mt7621_yuncore_fap640.dts
index 5e18ded9b0..7f28e8f474 100644
--- a/target/linux/ramips/dts/mt7621_yuncore_fap640.dts
+++ b/target/linux/ramips/dts/mt7621_yuncore_fap640.dts
@@ -155,7 +155,12 @@
partition@90000 {
compatible = "denx,uimage";
label = "firmware";
- reg = <0x90000 0xf70000>;
+ reg = <0x90000 0xf60000>;
+ };
+
+ partition@ff0000 {
+ label = "certificates";
+ reg = <0xff0000 0x10000>;
};
};
};
--
2.34.1