Firefly开源社区

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

34

积分

0

威望

0

贡献

技术小白

积分
34
发表于 2020-10-29 18:28:26     
pzw@haitu-PowerEdge-R720:~/share/RK3308$ git remote -v
1 M" R4 V: H$ P1 s1 {4 _: Y1 mgitlab  git@gitlab.com:TeeFirefly/rk3308-linux.git (fetch)
% G. i3 o* K# g( X. hgitlab  git@gitlab.com:TeeFirefly/rk3308-linux.git (push)
; v3 b8 v' l$ d$ ?9 T. y1 Zpzw@haitu-PowerEdge-R720:~/share/RK3308$ git remote set-url gitlab https://gitlab.com/TeeFirefly/rk3308-linux.git& r& J+ V7 {. h) l8 h( ~
pzw@haitu-PowerEdge-R720:~/share/RK3308$
8 y  w3 P9 K  ?8 m: e) l4 Cpzw@haitu-PowerEdge-R720:~/share/RK3308$ , {- Z4 t* a+ r. \. P; p5 o) v
pzw@haitu-PowerEdge-R720:~/share/RK3308$ ; `3 ]: f' H8 j6 k
pzw@haitu-PowerEdge-R720:~/share/RK3308$ cd ./.git/9 \" Z1 n/ O& [) b
pzw@haitu-PowerEdge-R720:~/share/RK3308/.git$ ./build.sh roc-rk3308b-cc-plus_release_BoardConfig.mk+ J8 k6 ^1 d! l2 y
-bash: ./build.sh: No such file or directory' }) t# k2 F5 q5 M  x9 A9 K  V
pzw@haitu-PowerEdge-R720:~/share/RK3308/.git$ ./build.sh roc-rk3308b-cc-plus_release_BoardConfig.mk% J) e4 Q4 U% h) x+ x
-bash: ./build.sh: No such file or directory
9 s! `8 |# I; `( Ipzw@haitu-PowerEdge-R720:~/share/RK3308/.git$ ./build.sh roc-rk3308b-cc-plus_release_BoardConfig.mk
回复

使用道具 举报

372

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
372
发表于 2020-10-29 18:47:19     
本帖最后由 zyk 于 2020-10-29 19:24 编辑 / W* m0 Y7 t. N! [

) K- r, g4 E4 |) ?$ T6 W# r当前目录下是否有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
" G; X# F" m% i) y; k当前目录下是否有build.sh文件? 编译参考http://wiki.t-firefly.com/zh_CN/Core-3308Y/sdkbuilding.html

" _3 A/ f8 m# H& O# _) t/ j$ J还是不行
2 a3 F) k0 U2 X1 m8 \9 vpzw@haitu-PowerEdge-R720:~/share/RK3308$ source envsetup.sh                                   * Q0 Z: `* B; F2 B7 f' R
Top of tree: /home/pzw/share/RK3308  ^; G; o  h; p6 T) t$ X' Y

' x& u1 g2 Z9 V+ e0 n  `8 }- uYou're building on Linux/ w6 `' t6 R5 Z4 [
Lunch menu...pick a combo:0 `6 j8 p* n& ]

, x7 c( ]; o8 U1. firefly_rk3308_release
( \; A7 M4 p; J8 [7 }+ S2. firefly_rk3308_recovery
& L; B4 t5 O/ Y( g1 v3. firefly_rk3308_pcba
) @7 R# E' O; u; M( E  q6 P/ W5 B( ~, S) p. L- a) K
Which would you like? [1] 1
: q( ?- K8 o" f0 g% \/ n0 r===========================================
6 Q4 p" j7 f8 b. M
) X2 X6 Y' V5 p, g5 e+ T#TARGET_BOARD=rk3308$ z2 g' d/ I* }% W* P5 U5 r: V& C
#BUILD_TYPE=641 s: T* P' O8 H% ~/ X# ?8 M
#OUTPUT_DIR=output/firefly_rk3308_release) s: t* e+ h8 ~9 c$ D
#CONFIG=firefly_rk3308_release_defconfig$ p  d3 V" T5 M2 N& Y

7 u) r* E/ @0 w) s' g===========================================9 l" s) ^! C& O" ^! O; m; Y
make: Entering directory '/home/pzw/share/RK3308/buildroot'
! Z: u2 m$ ]; I7 h  GEN     /home/pzw/share/RK3308/buildroot/output/firefly_rk3308_release/Makefile
: X3 B& b9 w( `( `/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* L8 [4 t7 `! M+ N- ]4 v$ P* I
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
1 g; n- p2 J3 P% G# D/home/pzw/share/RK3308/buildroot/output/firefly_rk3308_release/.rockchipconfig:145:warning: override: reassigning to symbol BR2_PACKAGE_NTP
8 r! j- U: c2 o" `7 ]# Z* N5 q/home/pzw/share/RK3308/buildroot/output/firefly_rk3308_release/.rockchipconfig:146:warning: override: reassigning to symbol BR2_PACKAGE_NTP_NTPDATE
& J( D! ^" [, n) }7 ]#
  m2 a1 {! y8 D7 p# configuration written to /home/pzw/share/RK3308/buildroot/output/firefly_rk3308_release/.config+ C: Y+ F! v/ L& j0 s
#' X0 c' m% x. {- w( v. b
make: Leaving directory '/home/pzw/share/RK3308/buildroot'7 f- h) U1 K; T7 L7 B* \  M& p
relink.....9 i1 X1 S5 U5 G0 t, T# P
pzw@haitu-PowerEdge-R720:~/share/RK3308$ ./build.sh roc-rk3308b-cc-plus_release_BoardConfig.mk0 \# P& X) O: e1 d5 N1 y# n
Can't found build config, please check again0 \- B+ {( D) R7 E+ h& v, ~0 Z
====USAGE: build.sh modules====
! C" P( U% F4 a, g* M: suboot              -build uboot7 M: K" z. T5 E7 j) [2 F1 \
kernel             -build kernel
; c3 K, F6 h; E( e) ymodules            -build kernel modules5 m: C6 X( P  Y7 c) H. u1 j- K
rootfs             -build default rootfs, currently build buildroot as default
; C1 H! H0 Y: N: `1 rbuildroot          -build buildroot rootfs0 {# g2 M! s7 g- e7 S; {
ramboot            -build ramboot image
* N9 v4 |/ B# ?8 m( e* o% kyocto              -build yocto rootfs, currently build ros as default
) {0 A- A+ |2 b7 s1 K9 N/ Jros                -build ros rootfs8 q2 b( a/ R, Q& w1 |  `) g. w
debian             -build debian rootfs0 W6 q3 [" t" `0 e; Q* o; t
pcba               -build pcba7 x- S( ^0 A8 O: e8 X- m
recovery           -build recovery
+ h/ o& X0 c3 c" {: S6 S9 ~all                -build uboot, kernel, rootfs, recovery image
8 L1 Q& b8 N2 \% q: L2 Tcleanall           -clean uboot, kernel, rootfs, recovery
0 j' X  q7 X% Y4 K# v3 Y8 c! kfirmware           -pack all the image we need to boot up system
9 @' y# n, s: b( y- \updateimg          -pack update image
& I. \6 E; G3 j: R, F; |: K4 hotapackage         -pack ab update otapackage image4 Z& ~7 e# P! }) d! v3 ]
save               -save images, patches, commands used to debug
5 \; t" s1 h6 y' b1 n- rdefault            -build all modules) O4 j# p+ z7 P
pzw@haitu-PowerEdge-R720:~/share/RK3308$
回复

使用道具 举报

372

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
372
发表于 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$ J  V8 D+ S( U1 l
请问你有没有改过build.sh文件,pull拉取一下更新看看

! Z" x$ A+ O3 {* Z: @# H( l已经解决了,谢谢
回复

使用道具 举报

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

本版积分规则

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