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

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

Closed
1 task done
m0eak opened this issue Apr 12, 2024 · 12 comments
Closed
1 task done

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

m0eak opened this issue Apr 12, 2024 · 12 comments
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@m0eak
Copy link

m0eak commented Apr 12, 2024

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

  • I am reporting an issue for OpenWrt, not an unsupported fork.
@m0eak m0eak added the bug Something isn't working label Apr 12, 2024
Copy link

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

Copy link

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

Copy link

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

@github-actions github-actions bot added the invalid This doesn't seem right label Apr 12, 2024
@breeze303
Copy link

你这样改patch会生效?

@m0eak
Copy link
Author

m0eak commented Apr 12, 2024

你这样改patch会生效?

会啊,这和手改不一样吗

@breeze303
Copy link

你这样改patch会生效?

会啊,这和手改不一样吗

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

@m0eak
Copy link
Author

m0eak commented Apr 12, 2024

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
Copy link

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
Copy link
Owner

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

@m0eak
Copy link
Author

m0eak commented Apr 14, 2024 via email

@m0eak
Copy link
Author

m0eak commented Apr 15, 2024

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

好像还是没有

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants