./build.sh kernel
./build.sh recovery
./mkfirmware.sh
./build.sh rawimg
3. use balena-etcher-electron-1.4.9-linux-x64 flash to SD, then power on the board
4. after boot, insmod bifrost_kbase.ko
encounter follow error:
dev_pm_opp_set_regulators: no regulator (shadercores) found: -19
devfreq fde60000.gpu: Couldn’t update frequency transition information.
and can’t run glmark2-es2:
arm_release_ver of this libmali is ‘g2p0-01eac0’, rk_so_ver is ‘4’.
arm_release_ver of this libmali is ‘g2p0-01eac0’, rk_so_ver is ‘4’.
Error: eglInitialize() failed with error: 0x3001
arm_release_ver of this libmali is ‘g2p0-01eac0’, rk_so_ver is ‘4’.
Error: eglInitialize() failed with error: 0x3001
Error: main: Could not initialize canvas
补充信息:
用模块加载的方式,在dmesg搜到的mali相关的打印和built-in的打印是一样的:
[ 700.571013] mali fde60000.gpu: Kernel DDK version g7p1-01bet0
[ 700.571365] mali fde60000.gpu: Looking up mali-supply from device tree
[ 700.571451] mali fde60000.gpu: Linked as a consumer to regulator.18
[ 700.571457] mali fde60000.gpu: Looking up shadercores-supply from device tree
[ 700.571467] mali fde60000.gpu: Looking up shadercores-supply property in node /gpu@fde60000 failed
[ 700.571532] mali fde60000.gpu: Looking up mali-supply from device tree
[ 700.571571] mali fde60000.gpu: Looking up shadercores-supply from device tree
[ 700.571579] mali fde60000.gpu: Looking up shadercores-supply property in node /gpu@fde60000 failed
[ 700.571603] mali fde60000.gpu: dev_pm_opp_set_regulators: no regulator (shadercores) found: -19
[ 700.571720] mali fde60000.gpu: leakage=6
[ 700.572173] mali fde60000.gpu: avs=0
[ 700.572186] W : [File] : drivers/gpu/arm/bifrost/platform/rk/mali_kbase_config_rk.c; [Line] : 112; [Func] : kbase_platform_rk_init(); power-off-delay-ms not available.
[ 700.572603] mali fde60000.gpu: GPU identified as 0x2 arch 7.4.0 r1p0 status 0
[ 700.572685] mali fde60000.gpu: No priority control manager is configured
[ 700.572692] mali fde60000.gpu: No memory group manager is configured
[ 700.573412] mali fde60000.gpu: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0
[ 700.577607] mali fde60000.gpu: Probed as mali0
arm_release_ver of this libmali is ‘g2p0-01eac0’, rk_so_ver is ‘4’.
arm_release_ver of this libmali is ‘g2p0-01eac0’, rk_so_ver is ‘4’.
Error: eglInitialize() failed with error: 0x3001
arm_release_ver of this libmali is ‘g2p0-01eac0’, rk_so_ver is ‘4’.
Error: eglInitialize() failed with error: 0x3001
Error: main: Could not initialize canvas