aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/linux/mediatek/files-4.19/arch/arm64/boot/dts/mediatek/mt7622-elecom-wrc-2533gent.dts4
-rw-r--r--target/linux/mediatek/files-4.19/arch/arm64/boot/dts/mediatek/mt7622-lynx-rfb1.dts16
-rw-r--r--target/linux/mediatek/files-4.19/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts16
-rw-r--r--target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7622-elecom-wrc-2533gent.dts2
-rwxr-xr-xtarget/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh2
-rw-r--r--target/linux/mediatek/mt7622/config-4.191
6 files changed, 24 insertions, 17 deletions
diff --git a/target/linux/mediatek/files-4.19/arch/arm64/boot/dts/mediatek/mt7622-elecom-wrc-2533gent.dts b/target/linux/mediatek/files-4.19/arch/arm64/boot/dts/mediatek/mt7622-elecom-wrc-2533gent.dts
index 7a5814e3f6..3945f26e16 100644
--- a/target/linux/mediatek/files-4.19/arch/arm64/boot/dts/mediatek/mt7622-elecom-wrc-2533gent.dts
+++ b/target/linux/mediatek/files-4.19/arch/arm64/boot/dts/mediatek/mt7622-elecom-wrc-2533gent.dts
@@ -524,7 +524,7 @@
#size-cells = <1>;
partition@0 {
- label = "Preloader";
+ label = "preloader";
reg = <0x00000 0x0080000>;
read-only;
};
@@ -554,7 +554,7 @@
};
partition@200000 {
- label = "Kernel";
+ label = "firmware";
reg = <0x200000 0x2000000>;
};
diff --git a/target/linux/mediatek/files-4.19/arch/arm64/boot/dts/mediatek/mt7622-lynx-rfb1.dts b/target/linux/mediatek/files-4.19/arch/arm64/boot/dts/mediatek/mt7622-lynx-rfb1.dts
index 1045851509..895491098e 100644
--- a/target/linux/mediatek/files-4.19/arch/arm64/boot/dts/mediatek/mt7622-lynx-rfb1.dts
+++ b/target/linux/mediatek/files-4.19/arch/arm64/boot/dts/mediatek/mt7622-lynx-rfb1.dts
@@ -526,7 +526,7 @@
#size-cells = <1>;
partition@0 {
- label = "Preloader";
+ label = "preloader";
reg = <0x00000 0x0080000>;
read-only;
};
@@ -534,30 +534,34 @@
partition@80000 {
label = "ATF";
reg = <0x80000 0x0040000>;
+ read-only;
};
partition@c0000 {
- label = "Bootloader";
+ label = "uboot";
reg = <0xc0000 0x0080000>;
+ read-only;
};
partition@140000 {
- label = "Config";
+ label = "uboot-env";
reg = <0x140000 0x0080000>;
+ read-only;
};
partition@1c0000 {
- label = "Factory";
+ label = "factory";
reg = <0x1c0000 0x0040000>;
+ read-only;
};
partition@200000 {
- label = "Kernel";
+ label = "firmware";
reg = <0x200000 0x2000000>;
};
partition@2200000 {
- label = "User_data";
+ label = "reserved";
reg = <0x2200000 0x4000000>;
};
};
diff --git a/target/linux/mediatek/files-4.19/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts b/target/linux/mediatek/files-4.19/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
index ecd344c956..04829f6397 100644
--- a/target/linux/mediatek/files-4.19/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
+++ b/target/linux/mediatek/files-4.19/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
@@ -526,7 +526,7 @@
#size-cells = <1>;
partition@0 {
- label = "Preloader";
+ label = "preloader";
reg = <0x00000 0x0080000>;
read-only;
};
@@ -534,30 +534,34 @@
partition@80000 {
label = "ATF";
reg = <0x80000 0x0040000>;
+ read-only;
};
partition@c0000 {
- label = "Bootloader";
+ label = "uboot";
reg = <0xc0000 0x0080000>;
+ read-only;
};
partition@140000 {
- label = "Config";
+ label = "uboot-env";
reg = <0x140000 0x0080000>;
+ read-only;
};
partition@1c0000 {
- label = "Factory";
+ label = "factory";
reg = <0x1c0000 0x0040000>;
+ read-only;
};
partition@200000 {
- label = "Kernel";
+ label = "firmware";
reg = <0x200000 0x2000000>;
};
partition@2200000 {
- label = "User_data";
+ label = "reserved";
reg = <0x2200000 0x4000000>;
};
};
diff --git a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7622-elecom-wrc-2533gent.dts b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7622-elecom-wrc-2533gent.dts
index 7a5814e3f6..f178b94766 100644
--- a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7622-elecom-wrc-2533gent.dts
+++ b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7622-elecom-wrc-2533gent.dts
@@ -554,7 +554,7 @@
};
partition@200000 {
- label = "Kernel";
+ label = "firmware";
reg = <0x200000 0x2000000>;
};
diff --git a/target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh b/target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh
index c5b4cf306b..42903f75a2 100755
--- a/target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh
+++ b/target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh
@@ -8,7 +8,7 @@ platform_do_upgrade() {
esac
}
-PART_NAME=Kernel
+PART_NAME=firmware
platform_check_image() {
local board=$(board_name)
diff --git a/target/linux/mediatek/mt7622/config-4.19 b/target/linux/mediatek/mt7622/config-4.19
index a6c492c43c..e102308a98 100644
--- a/target/linux/mediatek/mt7622/config-4.19
+++ b/target/linux/mediatek/mt7622/config-4.19
@@ -381,7 +381,6 @@ CONFIG_MTD_NAND_MTK=y
CONFIG_MTD_SPI_NAND=y
CONFIG_MTD_SPI_NOR=y
CONFIG_MTD_SPLIT_FIRMWARE=y
-CONFIG_MTD_SPLIT_FIRMWARE_NAME="Kernel"
CONFIG_MTD_SPLIT_FIT_FW=y
CONFIG_MTD_SPLIT_UIMAGE_FW=y
# CONFIG_MTK_AAL_SUPPORT is not set