Firefly开源社区

[Linux] 能在WSL上编译SDK吗

55

积分

0

威望

0

贡献

技术小白

积分
55
发表于 2021-7-9 15:34:59     
最近我打算在 WSL (Windows Subsystem for Linux) 上编译 固件,可是 总是在莫名其妙的地方 失败

请问大神 有 在 WSL 上 尝试过 开发吗?
回复

使用道具 举报

55

积分

0

威望

0

贡献

技术小白

积分
55
发表于 2021-7-9 16:43:20     
我在 解压 Firefly_Linux_SDK 分卷压缩包 之后,  没有生成   rootfs  目录!

应该生成吗? 求解
回复

使用道具 举报

55

积分

0

威望

0

贡献

技术小白

积分
55
发表于 2021-7-9 17:09:18     
我没有  export RK_ROOTFS_IMG=ubuntu_rootfs/rk3399_ubuntu_rootfs.img  

应该在 哪里 下载呢
回复

使用道具 举报

55

积分

0

威望

0

贡献

技术小白

积分
55
发表于 2021-7-9 17:39:53     
回复

使用道具 举报

55

积分

0

威望

0

贡献

技术小白

积分
55
发表于 2021-7-9 17:45:11     
sudo  apt install expect
回复

使用道具 举报

55

积分

0

威望

0

贡献

技术小白

积分
55
发表于 2021-7-12 16:56:09     
apt-get install bison flex
回复

使用道具 举报

55

积分

0

威望

0

贡献

技术小白

积分
55
发表于 2021-7-21 11:25:24     
kernel/arch/arm64/configs/firefly_linux_defconfig   是编译用的

make menucofig 写的是 .config

.config 会被 覆盖
回复

使用道具 举报

55

积分

0

威望

0

贡献

技术小白

积分
55
发表于 2021-7-21 14:06:40     
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[4]: *** [drivers/media/platform/rockchip-tsp/rockchip_tsp.o] Error 1
scripts/Makefile.build:484: recipe for target 'drivers/media/platform/rockchip-tsp' failed
make[3]: *** [drivers/media/platform/rockchip-tsp] Error 2
回复

使用道具 举报

55

积分

0

威望

0

贡献

技术小白

积分
55
发表于 2021-7-22 16:01:08     
root@firefly:~/mpp_linux_cpp# ./mpp_linux_demo
mpp[4672]: mpp_info: mpp version: 3fedc6cd author: zouxf         2020-10-23 Merge remote-tracking branch 'firefly-linux/firefly'
mpp[4672]: mpp_rt: NOT found ion allocator
mpp[4672]: 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[4672]: mpp_meta: Assertion list_empty(&mlist_meta) failed at ~MppMetaService:112
mpp[4672]: mpp_buffer: ~MppBufferService cleaning leaked group
mpp[4672]: mpp_buffer: ~MppBufferService cleaning leaked buffer
free(): invalid pointer
Aborted (core dumped)
回复

使用道具 举报

85

积分

0

威望

0

贡献

技术小白

积分
85
发表于 2021-9-7 00:34:17     
所以WSL成功编译这个SDK?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表