Firefly开源社区
标题:
rk3588内核编译缺少函数以及更新sdk编译生成固件电脑显示器不亮
[打印本页]
作者:
王11
时间:
2024-4-8 17:01
标题:
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[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);
tchip_askquestions
log.txt
2024-4-8 17:01 上传
点击文件名下载附件
下载积分: 灯泡 -1 , 经验 -1
1.38 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1
欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/)
Powered by Discuz! X3.1