Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kiddin9 committed Dec 25, 2020
1 parent 5045148 commit 27bbe85
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 32 deletions.
22 changes: 5 additions & 17 deletions devices/k2p-32m-usb/patches/Patch-K2P-32M.patch
Original file line number Diff line number Diff line change
@@ -1,31 +1,19 @@
--- a/target/linux/ramips/dts/mt7621_phicomm_k2p-32m.dts
+++ b/target/linux/ramips/dts/mt7621_phicomm_k2p-32m.dts
@@ -8,5 +8,5 @@
};

&firmware {
- reg = <0xa0000 0x1f60000>;
+ reg = <0x50000 0x1fb0000>;
};

--- a/target/linux/ramips/dts/mt7621_phicomm_k2p_default.dtsi
+++ b/target/linux/ramips/dts/mt7621_phicomm_k2p_default.dtsi
@@ -80,16 +80,10 @@
read-only;
@@ -39,15 +39,9 @@
};

- partition@50000 {
partition@50000 {
- label = "permanent_config";
- reg = <0x50000 0x50000>;
- read-only;
- };
-
- firmware: partition@a0000 {
+ firmware: partition@50000 {
- partition@a0000 {
compatible = "denx,uimage";
label = "firmware";
- reg = <0xa0000 0xf60000>;
+ reg = <0x50000 0x1fb0000>;
+ reg = <0x50000 0xfb0000>;
};
};
};
Expand All @@ -39,5 +27,5 @@
- IMAGE_SIZE := 32128k
+ IMAGE_SIZE := 32448k
DEVICE_VARIANT := 32M
SUPPORTED_DEVICES += k2p-32M
SUPPORTED_DEVICES += k2p-32m
endef
18 changes: 3 additions & 15 deletions devices/phicomm-k2p/patches/Patch-K2P-16M.patch
Original file line number Diff line number Diff line change
@@ -1,27 +1,15 @@
--- a/target/linux/ramips/dts/mt7621_phicomm_k2p.dts
+++ b/target/linux/ramips/dts/mt7621_phicomm_k2p.dts
@@ -3,5 +3,5 @@
#include "mt7621_phicomm_k2p_default.dtsi"

&firmware {
- reg = <0xa0000 0xf60000>;
+ reg = <0x50000 0xfb0000>;
};

--- a/target/linux/ramips/dts/mt7621_phicomm_k2p_default.dtsi
+++ b/target/linux/ramips/dts/mt7621_phicomm_k2p_default.dtsi
@@ -80,16 +80,10 @@
read-only;
@@ -39,15 +39,9 @@
};

- partition@50000 {
partition@50000 {
- label = "permanent_config";
- reg = <0x50000 0x50000>;
- read-only;
- };
-
- firmware: partition@a0000 {
+ firmware: partition@50000 {
- partition@a0000 {
compatible = "denx,uimage";
label = "firmware";
- reg = <0xa0000 0xf60000>;
Expand Down

0 comments on commit 27bbe85

Please sign in to comment.