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