From 27bbe8544262b30e516160f2a7f2c144b4f732ec Mon Sep 17 00:00:00 2001 From: garypang13 <48883331+garypang13@users.noreply.github.com> Date: Fri, 25 Dec 2020 13:08:49 +0800 Subject: [PATCH] update --- .../k2p-32m-usb/patches/Patch-K2P-32M.patch | 22 +++++-------------- .../phicomm-k2p/patches/Patch-K2P-16M.patch | 18 +++------------ 2 files changed, 8 insertions(+), 32 deletions(-) diff --git a/devices/k2p-32m-usb/patches/Patch-K2P-32M.patch b/devices/k2p-32m-usb/patches/Patch-K2P-32M.patch index 510545995f75..06b6126b7c37 100644 --- a/devices/k2p-32m-usb/patches/Patch-K2P-32M.patch +++ b/devices/k2p-32m-usb/patches/Patch-K2P-32M.patch @@ -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>; }; }; }; @@ -39,5 +27,5 @@ - IMAGE_SIZE := 32128k + IMAGE_SIZE := 32448k DEVICE_VARIANT := 32M - SUPPORTED_DEVICES += k2p-32M + SUPPORTED_DEVICES += k2p-32m endef diff --git a/devices/phicomm-k2p/patches/Patch-K2P-16M.patch b/devices/phicomm-k2p/patches/Patch-K2P-16M.patch index 3dd5855d976f..f78149b0e115 100644 --- a/devices/phicomm-k2p/patches/Patch-K2P-16M.patch +++ b/devices/phicomm-k2p/patches/Patch-K2P-16M.patch @@ -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>;