mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-02 03:17:48 +00:00
mt7621: add insta1/2 partitions for yuncore ax820
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -45,7 +45,8 @@ sonicfi,rap7*)
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
udaya,a5-id2)
|
udaya,a5-id2|\
|
||||||
|
yuncore,ax820)
|
||||||
mtd=$(find_mtd_index certificates)
|
mtd=$(find_mtd_index certificates)
|
||||||
if [ "$(head -c 4 /dev/mtd$mtd)" == "hsqs" ]; then
|
if [ "$(head -c 4 /dev/mtd$mtd)" == "hsqs" ]; then
|
||||||
mount -t squashfs /dev/mtdblock$mtd /mnt
|
mount -t squashfs /dev/mtdblock$mtd /mnt
|
||||||
|
|||||||
@@ -21,7 +21,8 @@ sonicfi,rap7110c-341x)
|
|||||||
mmc_dev=$(echo $(find_mmc_part $part) | sed 's/^.\{5\}//')
|
mmc_dev=$(echo $(find_mmc_part $part) | sed 's/^.\{5\}//')
|
||||||
dd if=/tmp/certs.tar of=/dev/$mmc_dev
|
dd if=/tmp/certs.tar of=/dev/$mmc_dev
|
||||||
;;
|
;;
|
||||||
udaya,a5-id2)
|
udaya,a5-id2|\
|
||||||
|
yuncore,ax820)
|
||||||
cd /certificates
|
cd /certificates
|
||||||
tar cf /tmp/certs.tar .
|
tar cf /tmp/certs.tar .
|
||||||
part=$(tar_part_lookup "insta1" "insta2")
|
part=$(tar_part_lookup "insta1" "insta2")
|
||||||
|
|||||||
36
patches/0097-yuncore_ax820-add-insta1-2-partitions.patch
Normal file
36
patches/0097-yuncore_ax820-add-insta1-2-partitions.patch
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
From 3ceb72aaffa13375c049d161702e9d9f55da38c8 Mon Sep 17 00:00:00 2001
|
||||||
|
From: John Crispin <john@phrozen.org>
|
||||||
|
Date: Mon, 4 Aug 2025 08:34:50 +0200
|
||||||
|
Subject: [PATCH] yuncore_ax820: add insta1/2 partitions
|
||||||
|
|
||||||
|
Signed-off-by: John Crispin <john@phrozen.org>
|
||||||
|
---
|
||||||
|
target/linux/ramips/dts/mt7621_yuncore_ax820.dts | 12 +++++++++++-
|
||||||
|
1 file changed, 11 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/target/linux/ramips/dts/mt7621_yuncore_ax820.dts b/target/linux/ramips/dts/mt7621_yuncore_ax820.dts
|
||||||
|
index b2f55b9be0..cc1b59340b 100644
|
||||||
|
--- a/target/linux/ramips/dts/mt7621_yuncore_ax820.dts
|
||||||
|
+++ b/target/linux/ramips/dts/mt7621_yuncore_ax820.dts
|
||||||
|
@@ -120,7 +120,17 @@
|
||||||
|
partition@90000 {
|
||||||
|
compatible = "denx,uimage";
|
||||||
|
label = "firmware";
|
||||||
|
- reg = <0x90000 0xf60000>;
|
||||||
|
+ reg = <0x90000 0xf40000>;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ partition@fd0000 {
|
||||||
|
+ label = "insta1";
|
||||||
|
+ reg = <0xfd0000 0x10000>;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ partition@fe0000 {
|
||||||
|
+ label = "insta2";
|
||||||
|
+ reg = <0xfe0000 0x10000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@ff0000 {
|
||||||
|
--
|
||||||
|
2.34.1
|
||||||
|
|
||||||
Reference in New Issue
Block a user