Firefly开源社区

标题: 为什么编译ROC-RK3308B-CC-PLUS出现文件不存在 [打印本页]

作者: PeterPanZ    时间: 2020-10-29 18:28
标题: 为什么编译ROC-RK3308B-CC-PLUS出现文件不存在
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
作者: zyk    时间: 2020-10-29 18:47
本帖最后由 zyk 于 2020-10-29 19:24 编辑

当前目录下是否有build.sh文件? 编译参考http://wiki.t-firefly.com/zh_CN/Core-3308Y/sdkbuilding.html
作者: PeterPanZ    时间: 2020-10-30 09:17
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$
作者: zyk    时间: 2020-10-30 14:14
请问你有没有改过build.sh文件,pull拉取一下更新看看
作者: PeterPanZ    时间: 2020-10-30 15:13
zyk 发表于 2020-10-30 14:14
请问你有没有改过build.sh文件,pull拉取一下更新看看

已经解决了,谢谢




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1