ucentral: development update

* update mkits.sh to work with 2021.04 uboot
* add mediatek pstore

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2021-05-09 12:37:57 +02:00
parent 43e1a2d92f
commit d28a0c3d9d
3 changed files with 388 additions and 65 deletions

View File

@@ -87,29 +87,6 @@ index 0000000000..89ea4a438e
+ };
+
+ aliases {
diff --git a/target/linux/mediatek/patches-5.10/160-add-pstore-support.patch b/target/linux/mediatek/patches-5.10/160-add-pstore-support.patch
new file mode 100644
index 0000000000..6959fc09b3
--- /dev/null
+++ b/target/linux/mediatek/patches-5.10/160-add-pstore-support.patch
@@ -0,0 +1,17 @@
+Index: linux-5.10.16/arch/arm64/boot/dts/mediatek/mt7622.dtsi
+===================================================================
+--- linux-5.10.16.orig/arch/arm64/boot/dts/mediatek/mt7622.dtsi
++++ linux-5.10.16/arch/arm64/boot/dts/mediatek/mt7622.dtsi
+@@ -132,6 +132,12 @@
+ reg = <0 0x43000000 0 0x30000>;
+ no-map;
+ };
++
++ ramoops@50000000 {
++ compatible = "ramoops";
++ reg = <0 0x50000000 0 0x10000>;
++ record-size = <0x1000>;
++ };
+ };
+
+ thermal-zones {
--
2.25.1