rk3588内核编译缺少函数以及更新sdk编译生成固件电脑显示器不亮
1、在 kernel 路径下使用 make menuconfig,按照如下方法将 timer trigger 驱动选中;2、使用./build.sh生成固件无trigger ,.config文件修改内容恢复,应该需要在kernel下make;
3、在kernel下make编译失败,错误如下
drivers/gpu/drm/rockchip/rockchip_drm_gem.c: In function 'rockchip_gem_alloc_secure':
drivers/gpu/drm/rockchip/rockchip_drm_gem.c:382:22: error: implicit declaration of function 'phys_to_page'; did you mean 'pmd_to_page'? [-Werror=implicit-function-declaration]
rk_obj->pages = phys_to_page(paddr);
^~~~~~~~~~~~
pmd_to_page
drivers/gpu/drm/rockchip/rockchip_drm_gem.c:382:20: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
rk_obj->pages = phys_to_page(paddr);
^
cc1: all warnings being treated as errors
scripts/Makefile.build:273: recipe for target 'drivers/gpu/drm/rockchip/rockchip_drm_gem.o' failed
make: *** Error 1
scripts/Makefile.build:516: recipe for target 'drivers/gpu/drm/rockchip' failed
make: *** Error 2
scripts/Makefile.build:516: recipe for target 'drivers/gpu/drm' failed
make: *** Error 2
scripts/Makefile.build:516: recipe for target 'drivers/gpu' failed
make: *** Error 2
Makefile:1939: recipe for target 'drivers' failed
make: *** Error 2
4、使用.repo/repo/repo sync -c --no-tags更新sdk,生成固件烧录板卡不能启动显示器(一开始官网下载的sdk也是启动不起来,现在是其他人那边copy的sdk);
页:
[1]