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[4]: *** [drivers/gpu/drm/rockchip/rockchip_drm_gem.o] Error 1 scripts/Makefile.build:516: recipe for target 'drivers/gpu/drm/rockchip' failed make[3]: *** [drivers/gpu/drm/rockchip] Error 2 scripts/Makefile.build:516: recipe for target 'drivers/gpu/drm' failed make[2]: *** [drivers/gpu/drm] Error 2 scripts/Makefile.build:516: recipe for target 'drivers/gpu' failed make[1]: *** [drivers/gpu] Error 2 Makefile:1939: recipe for target 'drivers' failed make: *** [drivers] Error 2 4、使用.repo/repo/repo sync -c --no-tags更新sdk,生成固件烧录板卡不能启动显示器(一开始官网下载的sdk也是启动不起来,现在是其他人那边copy的sdk); |
-
1.38 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1