【新手求救】kernel4.4 firefly-rk3288版本编译通不过,friefly-rk3288.dtb error
从github下载了kernel4.4后编译发生问题https://github.com/T-Firefly/kernel_4.4/tree/firefly-rk3288
哪位大侠出来指导下
make -f ./scripts/Makefile.build obj=arch/arm/boot/dts MACHINE= arch/arm/boot/dts/firefly-rk3288.dtb
make: *** No rule to make target 'arch/arm/boot/dts/firefly-rk3288.dtb'.Stop.
详细日志如下
make -f ./scripts/Makefile.build obj=scripts/basic
set -e;echo 'HOSTCCscripts/basic/bin2c'; gcc -Wp,-MD,scripts/basic/.bin2c.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89 -o scripts/basic/bin2c scripts/basic/bin2c.c; scripts/basic/fixdep scripts/basic/.bin2c.d scripts/basic/bin2c 'gcc -Wp,-MD,scripts/basic/.bin2c.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89 -o scripts/basic/bin2c scripts/basic/bin2c.c' > scripts/basic/.bin2c.tmp; rm -f scripts/basic/.bin2c.d; mv -f scripts/basic/.bin2c.tmp scripts/basic/.bin2c.cmd
:
rm -f .tmp_quiet_recordmcount
make -f ./scripts/Makefile.asm-generic \
src=asm obj=arch/arm/include/generated/asm
:
make -f ./scripts/Makefile.asm-generic \
src=uapi/asm obj=arch/arm/include/generated/uapi/asm
:
make -f ./scripts/Makefile.build obj=scripts
make -f ./scripts/Makefile.build obj=scripts/dtc
set -e;echo 'HOSTLDscripts/dtc/dtc'; gcc-o scripts/dtc/dtc scripts/dtc/dtc.o scripts/dtc/flattree.o scripts/dtc/fstree.o scripts/dtc/data.o scripts/dtc/livetree.o scripts/dtc/treesource.o scripts/dtc/srcpos.o scripts/dtc/checks.o scripts/dtc/util.o scripts/dtc/dtc-lexer.lex.o scripts/dtc/dtc-parser.tab.o; printf '%s\n' 'cmd_scripts/dtc/dtc := gcc-o scripts/dtc/dtc scripts/dtc/dtc.o scripts/dtc/flattree.o scripts/dtc/fstree.o scripts/dtc/data.o scripts/dtc/livetree.o scripts/dtc/treesource.o scripts/dtc/srcpos.o scripts/dtc/checks.o scripts/dtc/util.o scripts/dtc/dtc-lexer.lex.o scripts/dtc/dtc-parser.tab.o' > scripts/dtc/.dtc.cmd
:
make -f ./scripts/Makefile.build obj=scripts/mod
set -e;echo 'MKELF scripts/mod/elfconfig.h'; scripts/mod/mk_elfconfig < scripts/mod/empty.o > scripts/mod/elfconfig.h; printf '%s\n' 'cmd_scripts/mod/elfconfig.h := scripts/mod/mk_elfconfig < scripts/mod/empty.o > scripts/mod/elfconfig.h' > scripts/mod/.elfconfig.h.cmd
set -e;echo 'HOSTCCscripts/mod/modpost.o'; gcc -Wp,-MD,scripts/mod/.modpost.o.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89 -c -o scripts/mod/modpost.o scripts/mod/modpost.c; scripts/basic/fixdep scripts/mod/.modpost.o.d scripts/mod/modpost.o 'gcc -Wp,-MD,scripts/mod/.modpost.o.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89 -c -o scripts/mod/modpost.o scripts/mod/modpost.c' > scripts/mod/.modpost.o.tmp; rm -f scripts/mod/.modpost.o.d; mv -f scripts/mod/.modpost.o.tmp scripts/mod/.modpost.o.cmd
set -e;echo 'GEN scripts/mod/devicetable-offsets.h'; (set -e; echo "#ifndef __DEVICETABLE_OFFSETS_H__"; echo "#define __DEVICETABLE_OFFSETS_H__"; echo "/*"; echo " * DO NOT MODIFY."; echo " *"; echo " * This file was generated by Kbuild"; echo " *"; echo " */"; echo ""; sed -ne "/^->/{s:->#\(.*\):/* \1 */:; s:^->\([^ ]*\) [\$#]*\([-0-9]*\) \(.*\):#define \1 \2 /* \3 */:; s:^->\([^ ]*\) [\$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}" scripts/mod/devicetable-offsets.s; echo ""; echo "#endif" ) > scripts/mod/devicetable-offsets.h; printf '%s\n' 'cmd_scripts/mod/devicetable-offsets.h := (set -e; echo "\#ifndef __DEVICETABLE_OFFSETS_H__"; echo "\#define __DEVICETABLE_OFFSETS_H__"; echo "/*"; echo " * DO NOT MODIFY."; echo " *"; echo " * This file was generated by Kbuild"; echo " *"; echo " */"; echo ""; sed -ne "/^->/{s:->\#\(.*\):/* \1 */:; s:^->\([^ ]*\) [\$$\#]*\([-0-9]*\) \(.*\):\#define \1 \2 /* \3 */:; s:^->\([^ ]*\) [\$$\#]*\([^ ]*\) \(.*\):\#define \1 \2 /* \3 */:; s:->::; p;}" scripts/mod/devicetable-offsets.s; echo ""; echo "\#endif" ) > scripts/mod/devicetable-offsets.h' > scripts/mod/.devicetable-offsets.h.cmd
set -e;echo 'HOSTCCscripts/mod/file2alias.o'; gcc -Wp,-MD,scripts/mod/.file2alias.o.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89 -c -o scripts/mod/file2alias.o scripts/mod/file2alias.c; scripts/basic/fixdep scripts/mod/.file2alias.o.d scripts/mod/file2alias.o 'gcc -Wp,-MD,scripts/mod/.file2alias.o.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89 -c -o scripts/mod/file2alias.o scripts/mod/file2alias.c' > scripts/mod/.file2alias.o.tmp; rm -f scripts/mod/.file2alias.o.d; mv -f scripts/mod/.file2alias.o.tmp scripts/mod/.file2alias.o.cmd
set -e;echo 'HOSTCCscripts/mod/sumversion.o'; gcc -Wp,-MD,scripts/mod/.sumversion.o.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89 -c -o scripts/mod/sumversion.o scripts/mod/sumversion.c; scripts/basic/fixdep scripts/mod/.sumversion.o.d scripts/mod/sumversion.o 'gcc -Wp,-MD,scripts/mod/.sumversion.o.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89 -c -o scripts/mod/sumversion.o scripts/mod/sumversion.c' > scripts/mod/.sumversion.o.tmp; rm -f scripts/mod/.sumversion.o.d; mv -f scripts/mod/.sumversion.o.tmp scripts/mod/.sumversion.o.cmd
set -e;echo 'HOSTLDscripts/mod/modpost'; gcc-o scripts/mod/modpost scripts/mod/modpost.o scripts/mod/file2alias.o scripts/mod/sumversion.o; printf '%s\n' 'cmd_scripts/mod/modpost := gcc-o scripts/mod/modpost scripts/mod/modpost.o scripts/mod/file2alias.o scripts/mod/sumversion.o' > scripts/mod/.modpost.cmd
:
:
make -f ./scripts/Makefile.build obj=arch/arm/boot/dts MACHINE= arch/arm/boot/dts/firefly-rk3288.dtb
make: *** No rule to make target 'arch/arm/boot/dts/firefly-rk3288.dtb'.Stop.
arch/arm/Makefile:335: recipe for target 'firefly-rk3288.dtb' failed
make: *** Error 2
make rk3288-firefly.dtb倒是成功的
~/UbuntuDev/firefly-4.4$ make rk3288-firefly.dtb
DTC arch/arm/boot/dts/rk3288-firefly.dtb
kernel4.4编译的不一样,可以尝试如下:
make rk3288-firefly_linux_defconfig
make rk3288-firefly.img -j4 编译成功了,命令和3.14的有点不一样,make -j8 rk3288-firefly.img。
make -j4 rk3288-firefly.img也可以成功,但是接下来的mkrnlimg会遇到问题:input open NG,暂时没解决。
开发板现在变砖了,还在想办法呢 可以参考wiki
http://wiki.t-firefly.com/index.php/Firefly-RK3288/MaskRom maplblue 发表于 2017-3-7 19:59
编译成功了,命令和3.14的有点不一样,make -j8 rk3288-firefly.img。
make -j4 rk3288-firefly.img也可以 ...
正下载4.4kernel,编译步骤是怎样的呢 maplblue 发表于 2017-3-7 19:59
编译成功了,命令和3.14的有点不一样,make -j8 rk3288-firefly.img。
make -j4 rk3288-firefly.img也可以 ...
应该是你加了 -a参数吧!我记得应该是不要加参数才能成功。 chaokun 发表于 2017-3-8 10:27
正下载4.4kernel,编译步骤是怎样的呢
用的哪个config文件呢 maplblue 发表于 2017-3-7 19:59
编译成功了,命令和3.14的有点不一样,make -j8 rk3288-firefly.img。
make -j4 rk3288-firefly.img也可以 ...
make用的哪个config文件呢 jpchen 发表于 2017-3-8 09:39
可以参考wiki
http://wiki.t-firefly.com/index.php/Firefly-RK3288/MaskRom
达人,你确定4.4版本的有rk3288的编译配置。
我找了没有此类配置。应该如何解决。