Firefly开源社区

打印 上一主题 下一主题

[技术讨论] 为什么编译ROC-RK3308B-CC-PLUS出现文件不存在

34

积分

0

威望

0

贡献

技术小白

积分
34

为什么编译ROC-RK3308B-CC-PLUS出现文件不存在

发表于 2020-10-29 18:28:26      浏览:7467 | 回复:4        打印      只看该作者   [复制链接] 楼主
pzw@haitu-PowerEdge-R720:~/share/RK3308$ git remote -v
gitlab  git@gitlab.com:TeeFirefly/rk3308-linux.git (fetch)
gitlab  git@gitlab.com:TeeFirefly/rk3308-linux.git (push)
pzw@haitu-PowerEdge-R720:~/share/RK3308$ git remote set-url gitlab https://gitlab.com/TeeFirefly/rk3308-linux.git
pzw@haitu-PowerEdge-R720:~/share/RK3308$
pzw@haitu-PowerEdge-R720:~/share/RK3308$
pzw@haitu-PowerEdge-R720:~/share/RK3308$
pzw@haitu-PowerEdge-R720:~/share/RK3308$ cd ./.git/
pzw@haitu-PowerEdge-R720:~/share/RK3308/.git$ ./build.sh roc-rk3308b-cc-plus_release_BoardConfig.mk
-bash: ./build.sh: No such file or directory
pzw@haitu-PowerEdge-R720:~/share/RK3308/.git$ ./build.sh roc-rk3308b-cc-plus_release_BoardConfig.mk
-bash: ./build.sh: No such file or directory
pzw@haitu-PowerEdge-R720:~/share/RK3308/.git$ ./build.sh roc-rk3308b-cc-plus_release_BoardConfig.mk
回复

使用道具 举报

1万

积分

18

威望

20

贡献

神级创客

Rank: 8Rank: 8

积分
10851

突出贡献

发表于 2020-10-29 18:47:19        只看该作者  沙发
本帖最后由 zyk 于 2020-10-29 19:24 编辑

当前目录下是否有build.sh文件? 编译参考http://wiki.t-firefly.com/zh_CN/Core-3308Y/sdkbuilding.html
回复

使用道具 举报

34

积分

0

威望

0

贡献

技术小白

积分
34
发表于 2020-10-30 09:17:39        只看该作者  板凳
zyk 发表于 2020-10-29 18:47
当前目录下是否有build.sh文件? 编译参考http://wiki.t-firefly.com/zh_CN/Core-3308Y/sdkbuilding.html

还是不行
pzw@haitu-PowerEdge-R720:~/share/RK3308$ source envsetup.sh                                   
Top of tree: /home/pzw/share/RK3308

You're building on Linux
Lunch menu...pick a combo:

1. firefly_rk3308_release
2. firefly_rk3308_recovery
3. firefly_rk3308_pcba

Which would you like? [1] 1
===========================================

#TARGET_BOARD=rk3308
#BUILD_TYPE=64
#OUTPUT_DIR=output/firefly_rk3308_release
#CONFIG=firefly_rk3308_release_defconfig

===========================================
make: Entering directory '/home/pzw/share/RK3308/buildroot'
  GEN     /home/pzw/share/RK3308/buildroot/output/firefly_rk3308_release/Makefile
/home/pzw/share/RK3308/buildroot/build/defconfig_hook.py -m /home/pzw/share/RK3308/buildroot/configs/firefly_rk3308_release_defconfig /home/pzw/share/RK3308/buildroot/output/firefly_rk3308_release/.rockchipconfig
BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/home/pzw/share/RK3308/buildroot/output/firefly_rk3308_release/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/pzw/share/RK3308/buildroot/output/firefly_rk3308_release/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/pzw/share/RK3308/buildroot/output/firefly_rk3308_release/build/buildroot-config/tristate.config BR2_CONFIG=/home/pzw/share/RK3308/buildroot/output/firefly_rk3308_release/.config HOST_GCC_VERSION="5" BUILD_DIR=/home/pzw/share/RK3308/buildroot/output/firefly_rk3308_release/build SKIP_LEGACY= BR2_DEFCONFIG=/home/pzw/share/RK3308/buildroot/configs/firefly_rk3308_release_defconfig /home/pzw/share/RK3308/buildroot/output/firefly_rk3308_release/build/buildroot-config/conf --defconfig=/home/pzw/share/RK3308/buildroot/output/firefly_rk3308_release/.rockchipconfig Config.in
/home/pzw/share/RK3308/buildroot/output/firefly_rk3308_release/.rockchipconfig:145:warning: override: reassigning to symbol BR2_PACKAGE_NTP
/home/pzw/share/RK3308/buildroot/output/firefly_rk3308_release/.rockchipconfig:146:warning: override: reassigning to symbol BR2_PACKAGE_NTP_NTPDATE
#
# configuration written to /home/pzw/share/RK3308/buildroot/output/firefly_rk3308_release/.config
#
make: Leaving directory '/home/pzw/share/RK3308/buildroot'
relink.....
pzw@haitu-PowerEdge-R720:~/share/RK3308$ ./build.sh roc-rk3308b-cc-plus_release_BoardConfig.mk
Can't found build config, please check again
====USAGE: build.sh modules====
uboot              -build uboot
kernel             -build kernel
modules            -build kernel modules
rootfs             -build default rootfs, currently build buildroot as default
buildroot          -build buildroot rootfs
ramboot            -build ramboot image
yocto              -build yocto rootfs, currently build ros as default
ros                -build ros rootfs
debian             -build debian rootfs
pcba               -build pcba
recovery           -build recovery
all                -build uboot, kernel, rootfs, recovery image
cleanall           -clean uboot, kernel, rootfs, recovery
firmware           -pack all the image we need to boot up system
updateimg          -pack update image
otapackage         -pack ab update otapackage image
save               -save images, patches, commands used to debug
default            -build all modules
pzw@haitu-PowerEdge-R720:~/share/RK3308$
回复

使用道具 举报

1万

积分

18

威望

20

贡献

神级创客

Rank: 8Rank: 8

积分
10851

突出贡献

发表于 2020-10-30 14:14:41        只看该作者  地板
请问你有没有改过build.sh文件,pull拉取一下更新看看
回复

使用道具 举报

34

积分

0

威望

0

贡献

技术小白

积分
34
发表于 2020-10-30 15:13:33        只看该作者  5#
zyk 发表于 2020-10-30 14:14
请问你有没有改过build.sh文件,pull拉取一下更新看看

已经解决了,谢谢
回复

使用道具 举报

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

本版积分规则

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