【发布时间】:2019-08-06 16:41:40
【问题描述】:
我是 yocto 的新手,我正在尝试为 nanopi-neo-air 硬件构建一个基本图像,我遇到了一个我在这里分享的错误,请解决它。 提前谢谢你。
nano/poky/build/tmp/work/nanopi_neo_air-poky-linux-gnueabi/u-boot/1_friendlyarm-r0/git/scripts/Makefile.build obj=scripts/basic
| GEN ./Makefile
| /nano/poky/build/tmp/work/nanopi_neo_air-poky-linux-gnueabi/u-boot/1_friendlyarm-r0/git/scripts/dtc-version.sh: line 17:
dtc: command not found
| /nano/poky/build/tmp/work/nanopi_neo_air-poky-linux-gnueabi/u-boot/1_friendlyarm-r0/git/scripts/dtc-version.sh: line 18:
dtc: command not found
| rm -f .tmp_quiet_recordmcount
| *** Your dtc is too old, please upgrade to dtc 1.4 or newer
| /nano/poky/build/tmp/work/nanopi_neo_air-poky-linux-gnueabi/u-boot/1_friendlyarm-r0/git/Makefile:1411: recipe for target 'checkdtc' failed
| make[1]: *** [checkdtc] Error 1
| make[1]: *** Waiting for unfinished jobs....
| make[1]: Leaving directory
'/nano/poky/build/tmp/work/nanopi_neo_air-poky-linux-gnueabi/u-boot/1_friendlyarm-r0/build'
| Makefile:150: recipe for target 'sub-make' failed
| make: *** [sub-make] Error 2
| make: Leaving directory '
/nano/poky/build/tmp/work/nanopi_neo_air-poky-linux-gnueabi/u-boot/1_friendlyarm-r0/git'
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/harris/nano/poky/build/tmp/work/nanopi_neo_air-poky-linux-gnueabi/u-boot/1_friendlyarm-r0/temp/log.do_compile.10821)
ERROR: Task (/home/harris/nano/poky/meta-nanopi-neo-air/recipes-bsp/u-boot/u-boot_friendlyarm.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3253 tasks of which 3242 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/harris/nano/poky/meta-nanopi-neo-air/recipes-bsp/u-boot/u-boot_friendlyarm.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
【问题讨论】:
-
您使用的是哪个版本的 poky?
-
它不是任何分支。 “git branch -a”仅在 master 分支中显示。 * 主遥控器/origin/HEAD -> origin/master 遥控器/origin/bernard 遥控器/origin/blinky 遥控器/origin/clyde 遥控器/origin/daisy 遥控器/origin/danny 遥控器/origin/danny-next 遥控器/origin/denzil 遥控器/origin/dizzy 遥控器/origin/dora 遥控器/origin/dora-toaster 遥控器/origin/dylan 遥控器/origin/edison 遥控器/origin/elroy 遥控器/origin/fido 遥控器/origin/green 遥控器/origin/jethro 遥控器/origin/克罗戈斯
-
你使用的是哪个 yocto 分支?
标签: yocto device-tree