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

Panfrost freezes the boot process on OrangePi Zero 2 #436

Open
iliaalizadee opened this issue Jan 14, 2025 · 3 comments
Open

Panfrost freezes the boot process on OrangePi Zero 2 #436

iliaalizadee opened this issue Jan 14, 2025 · 3 comments

Comments

@iliaalizadee
Copy link

iliaalizadee commented Jan 14, 2025

Hi. When I enable the Panfrost driver using "use-mailine-graphics" the boot process halts (no more messages through UART) after these 2 messages:

panfrost 1800000.gpu: clock rate = 432000000
panfrost 1800000.gpu: bus_clock rate = 200000000

My target is the mainline kernel "6.6.28" and Styhead branch. No additional patches are involved and the image is built using core-image-base. Does Panfrost crash my kernel or possibly forces the board to poweroff or it just disables UART(ttyS0)? I think the board doesn't shut down because it stays relatively warm. Any help would be much appreciated.

@nandra
Copy link
Collaborator

nandra commented Jan 15, 2025

Sorry I don't have board to test it locally. Maybe @ludiazv can have an idea?

@iliaalizadee
Copy link
Author

I made a buildsystem using Buildroot and tested the same case using 6.12.9 kernel. still the same problem. Tried blacklisting panfrost and manually loading it using modprobe, no difference. I thought the device tree specifications might be problematic, so I used my device tree with the official Debian Bookworm image (6.1.31 kernel) but panfrost worked fine so device tree is fine. Maybe sunxi patched something in the kernel or newer kernels are problematic? I don't know.

@nandra
Copy link
Collaborator

nandra commented Jan 17, 2025

@iliaalizadee you can try to ask on linux mailing list about that issue and maybe try latest 6.13-rc7 (I can make a branch if you want) to verify and then report on linux mailing list to get some insights. Thanks.

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