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

Information to Dev A chinese webpage for OrangePi-3b Panfrost Enabling #954

Closed
defencedog opened this issue Jul 28, 2024 · 2 comments
Closed

Comments

@defencedog
Copy link

I have recently seen this webpage (translated pdf attached)

One of the steps author did is different & not documented anywhere.

rk35xx/arch/arm64/boot/dts/rockchip/rk3566-orangepi-3b.dts"修改如下:

删除第1075行:cursor-win-id = <ROCKCHIP_VOP2_CLUSTER0>;
在340行下面:&gpu {
增加第341行:clock-names = "gpu", "bus";
增加第342行:interrupt-names = "gpu", "mmu", "job";
-----------------------

Orangepi-3B rk3566 编译5.10.160内核panfrost驱动 - 哔哩哔哩.pdf

@defencedog
Copy link
Author

Another interesting thing I found by this author.
According to the image attached some modifications are to be done kernel/orange-pi-5.10-rk35xx/arch/arm64/boot/dts/rockchip/rk3568.dtsi

Have to comment out // lines 1391、1396、1401、1406、1415、1424 having content opp-support-hw = <0xfb 0xffff>

This will remove following dmesg errors

Jul  8 01:05:20 orangepicm4 kernel: 【    7.148588】 panfrost fde60000.gpu: clock rate = 594000000
Jul  8 01:05:20 orangepicm4 kernel: 【    7.148608】 panfrost fde60000.gpu: bus_clock rate = 500000000
Jul  8 01:05:20 orangepicm4 kernel: 【    7.149663】 panfrost fde60000.gpu: Looking up mali-supply from device tree
Jul  8 01:05:20 orangepicm4 kernel: 【    7.149893】 panfrost fde60000.gpu: _of_add_opp_table_v2: no supported OPPs
Jul  8 01:05:20 orangepicm4 kernel: 【    7.150872】 panfrost fde60000.gpu: devfreq init failed -2
Jul  8 01:05:20 orangepicm4 kernel: 【    7.150893】 panfrost fde60000.gpu: Fatal error during GPU init
Jul  8 01:05:20 orangepicm4 kernel: 【    7.151072】 panfrost: probe of fde60000.gpu failed with error -2

bug

@defencedog
Copy link
Author

defencedog commented Aug 5, 2024

Detailed instruction & prebuilt .deb available [here](https://github.com/defencedog/orangepi3b_v2.1/tree/main/Orangepi-3B rk3566-5.10.160-panfrost)

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

1 participant