JiaY-shi / openwrt

This repository is a mirror of https://git.openwrt.org/openwrt/openwrt.git It is for reference only and is not active for check-ins. We will continue to accept Pull Requests here. They will be merged via staging trees then into openwrt.git.
Other
129 stars 109 forks source link

非nss分支编译完cpu调频缺少ondemand powersave模式 #28

Open m0eak opened 5 months ago

m0eak commented 5 months ago

Describe the bug

非nss分支编译完cpu调频缺少ondemand powersave模式,一样的config进行编译的 ,只调整了这两个patch sed -i '49s/0x3/0xf/;56s/0x3/0xf/;63s/0x1/0xf/' ./target/linux/qualcommax/patches-6.6/0054-v6.8-arm64-dts-qcom-ipq6018-use-CPUFreq-NVMEM.patch

sed -i '39s/0x3/0xf/;47s/0x3/0xf/;55s/0x1/0xf/' ./target/linux/qualcommax/patches-6.6/0910-arm64-dts-qcom-ipq6018-change-voltage-to-perf-levels.patch

OpenWrt version

23.05

OpenWrt release

1

OpenWrt target/subtarget

1

Device

1

Image kind

Self-built image

Steps to reproduce

No response

Actual behaviour

No response

Expected behaviour

No response

Additional info

No response

Diffconfig

No response

Terms

github-actions[bot] commented 5 months ago

Invalid Version reported. 23.05 Is this from a clean repository?

github-actions[bot] commented 5 months ago

Invalid Release reported. 1 Is this from a clean repository?

github-actions[bot] commented 5 months ago

Invalid Target/Subtarget reported. 1 Is this from a supported device?

breeze303 commented 5 months ago

你这样改patch会生效?

m0eak commented 5 months ago

你这样改patch会生效?

会啊,这和手改不一样吗

breeze303 commented 5 months ago

你这样改patch会生效?

会啊,这和手改不一样吗

不应该是make target/linux/{clean,prepare} V=s QUILT=1之后用quilt打包吗,之前试过直接手改貌似不生效不知道为啥

breeze303 commented 5 months ago

https://github.com/breeze303/ipq60xx-6.6/blob/main/target/linux/qualcommax/patches-6.6/0054-v6.8-arm64-dts-qcom-ipq6018-use-CPUFreq-NVMEM.patch https://github.com/breeze303/ipq60xx-6.6/blob/main/target/linux/qualcommax/patches-6.6/0910-arm64-dts-qcom-ipq6018-change-voltage-to-perf-levels.patch 你可以用这两个替换试试

m0eak commented 5 months ago

https://github.com/breeze303/ipq60xx-6.6/blob/main/target/linux/qualcommax/patches-6.6/0054-v6.8-arm64-dts-qcom-ipq6018-use-CPUFreq-NVMEM.patch https://github.com/breeze303/ipq60xx-6.6/blob/main/target/linux/qualcommax/patches-6.6/0910-arm64-dts-qcom-ipq6018-change-voltage-to-perf-levels.patch 你可以用这两个替换试试

但是我编译完调频是有的,而且coremark和aes跑分也会随我设置的频率变化,就是没有ondemand和powersave只有performance和schedutil,nss分支是有的

breeze303 commented 5 months ago

https://github.com/breeze303/ipq60xx-6.6/blob/main/target/linux/qualcommax/patches-6.6/0054-v6.8-arm64-dts-qcom-ipq6018-use-CPUFreq-NVMEM.patch https://github.com/breeze303/ipq60xx-6.6/blob/main/target/linux/qualcommax/patches-6.6/0910-arm64-dts-qcom-ipq6018-change-voltage-to-perf-levels.patch 你可以用这两个替换试试

但是我编译完调频是有的,而且coremark和aes跑分也会随我设置的频率变化,就是没有ondemand和powersave只有performance和schedutil,nss分支是有的

那你可以看下这个插件相关的代码,看看是不是package缺少了什么,又或者是linux的patch不一样

JiaY-shi commented 5 months ago

删除这个补丁试试 0910-arm64-dts-qcom-ipq6018-change-voltage-to-perf-levels.patch

m0eak commented 5 months ago

好的

----- 原始邮件 -----

发件人:shi @.***>

@.***>等3人

主题:Re:_[JiaY-shi/openwrt]_非nss分支编译完cpu调频缺少ondemandpowersave模式(Issue_#28)

日期:2024年04月14日 16:43:40

删除这个补丁试试 0910-arm64-dts-qcom-ipq6018-change-voltage-to-perf-levels.patch — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

m0eak commented 5 months ago

删除这个补丁试试 0910-arm64-dts-qcom-ipq6018-change-voltage-to-perf-levels.patch

好像还是没有