能在WSL上编译SDK吗
最近我打算在 WSL (Windows Subsystem for Linux) 上编译 固件,可是 总是在莫名其妙的地方 失败请问大神 有 在 WSL 上 尝试过 开发吗? 我在 解压 Firefly_Linux_SDK 分卷压缩包 之后,没有生成 rootfs目录!
应该生成吗? 求解 我没有export RK_ROOTFS_IMG=ubuntu_rootfs/rk3399_ubuntu_rootfs.img
应该在 哪里 下载呢 参考http://m.elecfans.com/article/1099834.html sudoapt install expect apt-get install bison flex kernel/arch/arm64/configs/firefly_linux_defconfig 是编译用的
make menucofig 写的是 .config
.config 会被 覆盖 drivers/media/platform/rockchip-tsp/rockchip_tsp.c:43:30: fatal error: linux/rk_tsp_api.h: No such file or directory
#include <linux/rk_tsp_api.h>
^
compilation terminated.
scripts/Makefile.build:277: recipe for target 'drivers/media/platform/rockchip-tsp/rockchip_tsp.o' failed
make: *** Error 1
scripts/Makefile.build:484: recipe for target 'drivers/media/platform/rockchip-tsp' failed
make: *** Error 2 root@firefly:~/mpp_linux_cpp# ./mpp_linux_demo
mpp: mpp_info: mpp version: 3fedc6cd author: zouxf 2020-10-23 Merge remote-tracking branch 'firefly-linux/firefly'
mpp: mpp_rt: NOT found ion allocator
mpp: mpp_rt: found drm allocator
failed to open rga dev /dev/v4l/by-path/platform-ff680000.rga-video-index0.
failed to exec mRGA->init -1.
failed to init codec
mpp: mpp_meta: Assertion list_empty(&mlist_meta) failed at ~MppMetaService:112
mpp: mpp_buffer: ~MppBufferService cleaning leaked group
mpp: mpp_buffer: ~MppBufferService cleaning leaked buffer
free(): invalid pointer
Aborted (core dumped) 所以WSL成功编译这个SDK?
页:
[1]