gpu驱动加载

固件类型:自行编译的固件
SDK包名称:rk356x_linux_release_20211019
SDK修改内容:arch/arm64/boot/dts/rockchip/rk3568-firefly-port.dtsi
Log日志:rk3568-firefly-port.dtsi.log

本帖最后由 qianqian321 于 2022-8-1 14:47 编辑

  1. cd kernel,
    make menuconfig CONFIG_MALI_BIFROST=m
  2. cd ../
    ./build.sh uboot

./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 err:
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

tchip_askquestions
rk3568-firefly-port.dtsi.log (4.02 KB)

抱歉,这个帖子的所属板子信息错了,但是我不知道如何删除,烦请管理者删除下,谢谢!