Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修改RAM运存的方法, #23

Open
openwrt-1983 opened this issue Nov 14, 2022 · 2 comments
Open

修改RAM运存的方法, #23

openwrt-1983 opened this issue Nov 14, 2022 · 2 comments

Comments

@openwrt-1983
Copy link

根据这个方法修改,
OpenStick/OpenStick#7

./target/linux/msm89xx/patches-5.10/0083-arm64-dts-add-support-for-Handsome-Openstick-Family.patch
-----------原 运存 385M -----------
73-87行

  •   mpss_mem: gps_mem: mpss@86800000 {
    
  •   	status = "disabled";
    
  •   	reg = <0x0 0x86800000 0x0 0x5500000>;
    
  •   	no-map;
    
  •   };
    
  •   wcnss_mem: wcnss@8df00000 {
    
  •   	reg = <0x0 0x8df00000 0x0 0x600000>;
    
  •   	no-map;
    
  •   };
    
  •   venus_mem: venus@8e500000 {
    
  •   	reg = <0x0 0x8e500000 0x0 0x500000>;
    
  •   	no-map;
    
  •   };
    

-----------原-----------

mpss_mem: mpss@86800000 {这个是4G模块
gps_mem: gps@8bd00000 {这个是GPS
wcnss_mem: wcnss@8bf00000 {这个是WiFi
venus_mem: venus@8c500000 {这个是是显卡

wcnss_mem据说和WiFi有关,不能修改,wcnss_mem: wcnss@8bf00000 {
修改mpss_mem和venus_mem,0x100000 这个是把内存设置成1M,

搜索 0x5500000 修改

-----------修改 运存 473M -----------
73-87行

  •   mpss_mem: gps_mem: mpss@86800000 {
    
  •   	status = "disabled";
    
  •   	reg = <0x0 0x86800000 0x0 0x100000>;
    
  •   	no-map;
    
  •   };
    
  •   wcnss_mem: wcnss@8df00000 {
    
  •   	reg = <0x0 0x8df00000 0x0 0x600000>;
    
  •   	no-map;
    
  •   };
    
  •   venus_mem: venus@8e500000 {
    
  •   	reg = <0x0 0x8e500000 0x0 0x100000>;
    
  •   	no-map;
    
  •   };
    

-----------修改-----------

@AiShenYi
Copy link

AiShenYi commented Feb 2, 2024

您好 这个补丁怎么用呀

@openwrt-1983
Copy link
Author

您好 这个补丁怎么用呀

修改源码

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants