W dniu 13.05.2020 o 11:21, Marcin Juszkiewicz pisze:
Some time ago I bought Rockpro64 board from Pine64. To check how
EBBR
works, how PCIe works on SBCs, Mali Panfrost driver etc.
Board arrived yesterday. I connected serial cable (CB2102 dongles suxx,
FT2232HL works fine at 1.5Mbps serial), Ethernet, HDMI and booted.
Boot fails each time at same place (whole boot log attached):
[ 29.043106] panfrost ff9a0000.gpu: clock rate = 500000000
[ 29.053073] rockchip-vop ff8f0000.vop: Adding to iommu group 1
[ 29.058099] panfrost ff9a0000.gpu: mali-t860 id 0x860 major 0x2 minor
0x0 status 0x0
[ 29.058948] panfrost ff9a0000.gpu: features: 00000000,100e77bf,
issues: 00000000,24040400
[ 29.059820] panfrost ff9a0000.gpu: Features: L2:0x07120206
Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7
[ 29.061053] panfrost ff9a0000.gpu: shader_present=0xf l2_present=0x1
[ 29.063559] rockchip-vop ff900000.vop: Adding to iommu group 2
[ 29.147966] panfrost ff9a0000.gpu: devfreq_add_device: Unable to find
governor for the device
[ 29.151244] panfrost ff9a0000.gpu: [drm:panfrost_devfreq_init
[panfrost]] *ERROR* Couldn't initialize GPU devfreq
[ 29.173499] panfrost ff9a0000.gpu: Fatal error during devfreq init
Same effect with F32 and it's 5.6.6 kernel and with rawhide and 5.7-rc4 one.
Board boots to login when I blacklist "panfrost" driver with
"rd.driver.blacklist=panfrost" kernel argument.
Any suggestions what to look at? It's been a while since I did kernel
debugging.
Turns out that DEVFREQ_GOV_SIMPLE_ONDEMAND module needs to be loaded
before Panfrost.