Firefly开源社区

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

34

积分

0

威望

0

贡献

技术小白

积分
34
发表于 2020-10-29 18:28:26     
pzw@haitu-PowerEdge-R720:~/share/RK3308$ git remote -v
9 K( A1 s& o) F0 kgitlab  git@gitlab.com:TeeFirefly/rk3308-linux.git (fetch)
6 q+ f0 D, n% n. h$ Q0 D. Y+ Vgitlab  git@gitlab.com:TeeFirefly/rk3308-linux.git (push)
! i8 X* a& \! x2 L# v% V2 Fpzw@haitu-PowerEdge-R720:~/share/RK3308$ git remote set-url gitlab https://gitlab.com/TeeFirefly/rk3308-linux.git
. q! N' V4 _, w# @pzw@haitu-PowerEdge-R720:~/share/RK3308$   G* r' F- [) b( ?* A) c: Y
pzw@haitu-PowerEdge-R720:~/share/RK3308$
, ~: X% O4 k- a6 |. d) m1 cpzw@haitu-PowerEdge-R720:~/share/RK3308$ 4 s; M; L) W# ]1 C; f7 E/ `
pzw@haitu-PowerEdge-R720:~/share/RK3308$ cd ./.git/9 j* ?: v6 I( c# ~
pzw@haitu-PowerEdge-R720:~/share/RK3308/.git$ ./build.sh roc-rk3308b-cc-plus_release_BoardConfig.mk2 S" W$ B  F7 ?3 m/ I
-bash: ./build.sh: No such file or directory" B$ R- f7 V: ~( g
pzw@haitu-PowerEdge-R720:~/share/RK3308/.git$ ./build.sh roc-rk3308b-cc-plus_release_BoardConfig.mk
! g5 _+ I) k% P0 V* L* S-bash: ./build.sh: No such file or directory% r- Y) c; F+ l1 h
pzw@haitu-PowerEdge-R720:~/share/RK3308/.git$ ./build.sh roc-rk3308b-cc-plus_release_BoardConfig.mk
回复

使用道具 举报

360

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
360
发表于 2020-10-29 18:47:19     
本帖最后由 zyk 于 2020-10-29 19:24 编辑 / t& w7 d0 H0 e+ k  v/ r3 T

& k7 i9 N% |8 b8 p! ~9 i当前目录下是否有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:476 x2 U9 s' M( @5 |1 Y( L  Q- z
当前目录下是否有build.sh文件? 编译参考http://wiki.t-firefly.com/zh_CN/Core-3308Y/sdkbuilding.html
8 d9 V4 S2 D6 ?: C
还是不行
; `1 Q# e" P$ y, _4 t! \$ S* Epzw@haitu-PowerEdge-R720:~/share/RK3308$ source envsetup.sh                                   
" u  M& p4 A* }2 w' nTop of tree: /home/pzw/share/RK33089 f) B7 ~6 r# H5 y! t+ \
! Y! A0 l4 F3 |8 Z3 q* t
You're building on Linux
3 r! t! r8 `; |; s; b9 t$ oLunch menu...pick a combo:
! V; T3 F2 \  |: \. s: T+ @  k
" N" I1 ?' h6 G8 `, [( Z1. firefly_rk3308_release
% g& r: E/ Y6 Q0 y0 e2. firefly_rk3308_recovery
) x; ]( s9 V0 H6 L! e+ t3. firefly_rk3308_pcba
1 w$ m: G) }# a/ q9 K1 E0 W- d4 `6 }6 b5 ]' A: I* z
Which would you like? [1] 1! [. K; X+ C( w# ~1 v/ p) n
===========================================
3 a; v: a% I" \% O* u- y5 {4 g/ ]$ |2 M( Z  U' Z5 Z  h) X& B: s' }+ U& Q
#TARGET_BOARD=rk3308
6 B' K2 H( J" u# {; T0 `+ i#BUILD_TYPE=64
* F7 P. o3 G3 e2 T4 R7 V#OUTPUT_DIR=output/firefly_rk3308_release: N* o2 _7 h, N
#CONFIG=firefly_rk3308_release_defconfig
; d9 X1 j: n( C# L: @- Q) @' ^, R# H3 W0 V! [( U( ]
===========================================, U& j- U2 }; G) ^* G, e
make: Entering directory '/home/pzw/share/RK3308/buildroot'3 G6 ?/ M% q3 t2 y
  GEN     /home/pzw/share/RK3308/buildroot/output/firefly_rk3308_release/Makefile
# s7 D* J/ [% A, U% _; m- F  U/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
- t! Y: f" K" U4 LBR2_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* o1 S" M6 t7 `' e
/home/pzw/share/RK3308/buildroot/output/firefly_rk3308_release/.rockchipconfig:145:warning: override: reassigning to symbol BR2_PACKAGE_NTP7 t. x% s4 z6 W5 ]: h) u) d
/home/pzw/share/RK3308/buildroot/output/firefly_rk3308_release/.rockchipconfig:146:warning: override: reassigning to symbol BR2_PACKAGE_NTP_NTPDATE
3 ^. `6 o# I5 S4 c#
( d/ T7 Z3 o3 V. `3 f* x! u# configuration written to /home/pzw/share/RK3308/buildroot/output/firefly_rk3308_release/.config
& c1 x, j! A  |2 C  H#
: S' v- V3 k5 x2 A) dmake: Leaving directory '/home/pzw/share/RK3308/buildroot'
4 o, G( i( Z9 L5 W; K  W7 G- \relink.....1 k( {& K8 G+ l
pzw@haitu-PowerEdge-R720:~/share/RK3308$ ./build.sh roc-rk3308b-cc-plus_release_BoardConfig.mk
8 [9 b3 w8 ^3 ~' l, S7 ACan't found build config, please check again
4 O& O  k, Y( A0 T2 T" ]7 r; z5 T. c====USAGE: build.sh modules====& P" M* z3 Y! n# `9 b: t  Q+ q; w
uboot              -build uboot
  k  c+ X6 q0 o6 d- {  [, Ckernel             -build kernel
0 [, o: D: b8 K+ J! ~4 f% rmodules            -build kernel modules- l) |! y3 I. d4 L4 A# `8 J/ {
rootfs             -build default rootfs, currently build buildroot as default
4 u/ I  Z* C' w- Z+ [$ D! Bbuildroot          -build buildroot rootfs
8 [+ [) S$ c! L( L8 Tramboot            -build ramboot image
8 ]  E8 Z) y9 V, L3 s+ v4 l7 ^, tyocto              -build yocto rootfs, currently build ros as default1 I  E+ k; t; D+ T
ros                -build ros rootfs
( q# f2 r. Q7 f3 L1 l& O/ udebian             -build debian rootfs
( t# W: ~6 D6 T. o2 Npcba               -build pcba
5 ~/ T. h; D3 E1 Xrecovery           -build recovery( U+ Q' Q2 f. t+ v2 C% G! J: l
all                -build uboot, kernel, rootfs, recovery image
/ h; q4 P2 J  P9 m+ Q+ X. h- Fcleanall           -clean uboot, kernel, rootfs, recovery3 f/ @/ Z" `' T" \- |
firmware           -pack all the image we need to boot up system4 O" {& g5 I1 b: N/ |  d2 O/ s
updateimg          -pack update image1 g2 f" F$ g" ]: [, f! H' \9 u
otapackage         -pack ab update otapackage image
  i+ B' O6 d8 Esave               -save images, patches, commands used to debug& ]5 H( S1 `, y* a7 @$ d% m" ~" Q
default            -build all modules$ [; v- K5 Q: h" N6 h
pzw@haitu-PowerEdge-R720:~/share/RK3308$
回复

使用道具 举报

360

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
360
发表于 2020-10-30 14:14:41     
请问你有没有改过build.sh文件,pull拉取一下更新看看
回复

使用道具 举报

34

积分

0

威望

0

贡献

技术小白

积分
34
发表于 2020-10-30 15:13:33     
zyk 发表于 2020-10-30 14:14
9 T3 e. f  W+ V请问你有没有改过build.sh文件,pull拉取一下更新看看
4 E: H+ Y% h) X/ P) R( a
已经解决了,谢谢
回复

使用道具 举报

*滑块验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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