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

clover: fix venus region location #49

Merged

Conversation

kubntd
Copy link

@kubntd kubntd commented Jan 12, 2025

Current venus region location overlaps with ramoops region:

[    0.000000] OF: reserved mem: OVERLAP DETECTED!
[    0.000000] venus@9f800000 (0x000000009f800000--0x00000000a0000000) overlaps with ramoops@9fe00000 (0x000000009fe00000--0x000000009ff00000)

New location is taken from downstream kernel:
venus: loading from 0x000000009cc00000 to 0x000000009d100000

@minlexx
Copy link
Member

minlexx commented Jan 13, 2025

My TWRP of course does not load .mdt for venus, but reserved region is there -

clover:/ # dmesg | grep -i venus
[    0.000000] Reserved memory: allocated memory for 'venus_fw_region' node: base 0x000000009cc00000, size 8 MiB

8 MiB is 0x800000, so 0x9cc00000 + 0x800000 = 0x9d400000 which matches what I see here.. Thanks!

@minlexx
Copy link
Member

minlexx commented Jan 13, 2025

The only question can be only if regular clover also has the same, but hopefully it is so..

@minlexx minlexx merged commit cec4cb7 into qcom-sdm660-6.11.y Jan 13, 2025
1 check passed
@minlexx minlexx deleted the kubntd/qcom-sdm660-6.11.y-clover-venus-region-fix branch January 13, 2025 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants