Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kiddin9 committed Dec 1, 2024
1 parent 1609a63 commit 8341fa8
Showing 1 changed file with 0 additions and 105 deletions.
105 changes: 0 additions & 105 deletions devices/mediatek_filogic/patches/27-tplink-tl-xdr.patch
Original file line number Diff line number Diff line change
@@ -1,108 +1,3 @@
--- a/target/linux/mediatek/dts/mt7986a-tplink-tl-xdr-common.dtsi
+++ b/target/linux/mediatek/dts/mt7986a-tplink-tl-xdr-common.dtsi
@@ -171,64 +171,49 @@
spi-tx-bus-width = <4>;
spi-rx-bus-width = <4>;

+ mediatek,nmbm;
+ mediatek,bmt-max-ratio = <1>;
+ mediatek,bmt-max-reserved-blocks = <64>;
+
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

partition@0 {
- label = "bl2";
- reg = <0x000000 0x0100000>;
- read-only;
- };
-
- config: partition@100000 {
- label = "config";
- reg = <0x100000 0x0060000>;
- read-only;
-
- nvmem-layout {
- compatible = "fixed-layout";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_config_1c: macaddr@1c {
- compatible = "mac-base";
- reg = <0x1c 0x6>;
- #nvmem-cell-cells = <1>;
- };
- };
- };
-
- factory: partition@160000 {
- label = "factory";
- reg = <0x160000 0x0060000>;
- read-only;
- };
-
- partition@1c0000 {
- label = "reserved";
- reg = <0x1c0000 0x01c0000>;
- read-only;
- };
-
- partition@380000 {
- label = "fip";
- reg = <0x380000 0x0200000>;
- read-only;
- };
-
- partition@580000 {
- compatible = "linux,ubi";
- reg = <0x580000 0x7800000>;
- label = "ubi";
-
- volumes {
- ubi_rootdisk: ubi-volume-fit {
- volname = "fit";
- };
- };
- };
+ label = "bl2";
+ reg = <0x000000 0x0100000>;
+ // read-only;
+ };
+
+ partition@100000 {
+ label = "config";
+ reg = <0x100000 0x0060000>;
+ read-only;
+ };
+
+ Factory: partition@160000 {
+ label = "Factory";
+ reg = <0x160000 0x00a0000>;
+ read-only;
+ };
+
+ partition@200000 {
+ label = "reserved";
+ reg = <0x200000 0x0180000>;
+ read-only;
+ };
+
+ partition@380000 {
+ label = "fip";
+ reg = <0x380000 0x0180000>;
+ // read-only;
+ };
+
+ partition@500000 {
+ label = "ubi";
+ reg = <0x500000 0x7300000>;
+ };
};
};
};

--- a/target/linux/mediatek/image/filogic.mk
+++ b/target/linux/mediatek/image/filogic.mk
@@ -1130,23 +1130,13 @@ define Device/tplink_tl-xdr-common
Expand Down

0 comments on commit 8341fa8

Please sign in to comment.