[openwrt/openwrt] qualcommbe: ipq95xx: Make RPM partition read-only

LEDE Commits lede-commits at lists.infradead.org
Thu Apr 10 06:01:31 PDT 2025


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/692459dd4e4a6e553b7faa558a982599399a9dca

commit 692459dd4e4a6e553b7faa558a982599399a9dca
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Thu Jan 30 16:55:57 2025 +0100

    qualcommbe: ipq95xx: Make RPM partition read-only
    
    Make the RPM partition read-only. This was a mistake and a leftover from
    staging branch but I can take this mistake as an excuse to document the
    current problem with RPM.
    
    It might happen that a board ship with a broken RPM .mbn, broken not in
    the sense that the board doesn't boot or it's a brick but broken in the
    sense that it's outdaed and suffer from a bug fixed in new version.
    
    This bug consist in a problem with the regulators between USB and NSS.
    The old RPM mess with the NSS regulator (l2) and change the voltage for
    it while configuring the USB regulator (l5).
    This cause the ethernet subsystem to malfunction with the port not
    working.
    
    To workaround this, it's needed to disable RPM handling and CPUFreq.
    With these 2 disabled, the old RPM doesn't touch regulators and Ethernet
    works correctly.
    
    New RPM correctly handle regulators for USB (l5) and doesn't suffer from
    this problem. A solution for this is getting discussed with QCOM hoping
    to get some good feedback for it.
    
    Link: https://github.com/openwrt/openwrt/pull/17788
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 .../303-arm64-dts-qcom-add-partition-table-for-ipq9574-rdp-c.patch      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/qualcommbe/patches-6.6/303-arm64-dts-qcom-add-partition-table-for-ipq9574-rdp-c.patch b/target/linux/qualcommbe/patches-6.6/303-arm64-dts-qcom-add-partition-table-for-ipq9574-rdp-c.patch
index 526d559e34..c45cc9811c 100644
--- a/target/linux/qualcommbe/patches-6.6/303-arm64-dts-qcom-add-partition-table-for-ipq9574-rdp-c.patch
+++ b/target/linux/qualcommbe/patches-6.6/303-arm64-dts-qcom-add-partition-table-for-ipq9574-rdp-c.patch
@@ -104,7 +104,7 @@ Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
 +			partition at 4d0000 {
 +				label = "0:rpm";
 +				reg = <0x4d0000 0x20000>;
-+				// read-only;
++				read-only;
 +			};
 +
 +			partition at 4f0000 {




More information about the lede-commits mailing list