首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >手臂-openbmc-linux-gnueabi-gcc:命令找不到

手臂-openbmc-linux-gnueabi-gcc:命令找不到
EN

Stack Overflow用户
提问于 2022-02-25 05:51:12
回答 1查看 427关注 0票数 0

我有一个需要使用AST2600的BMC项目。我刚开始处理你的靴子。当我进入吹风指令时。我犯了个错误。

代码语言:javascript
复制
export ARCH=arm

export CROSS_COMPILE=arm-openbmc-linux-gnueabi-

make ast2600_openbmc_defconfig

make

结果:

代码语言:javascript
复制
make: arm-openbmc-linux-gnueabi-gcc: Command not found
/bin/sh: 1: arm-openbmc-linux-gnueabi-gcc: not found
dirname: missing operand
Try 'dirname --help' for more information.
scripts/kconfig/conf  --syncconfig Kconfig
  CHK     include/config.h
  CFG     u-boot.cfg
/bin/sh: 1: arm-openbmc-linux-gnueabi-gcc: not found
make[1]: *** [scripts/Makefile.autoconf:77: u-boot.cfg] Error 1
make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.release'.  Stop.

来自https://github.com/AspeedTech-BMC/u-boot的项目

似乎我错过了一个工具链的手臂-openbmc-linux-gnueabi-gcc。有人有主意吗?

EN

回答 1

Stack Overflow用户

发布于 2022-02-25 22:24:44

从openbmc的角度来看,我几乎从来没有独立于bitbake/yocto项目之外构建uboot,(当我这样做时,我用x86构建项目)手动构建应该可以工作,但是openbmc (使用bitbake/yocto)已经有了一个自动化的过程,可以使用gcc工具链构建这个项目,该工具链适用于AST2600 这里这里

如果您计划使用openbmc,我将从这些指示开始。

  • 在步骤3中,请确保使用ast2600指定一个平台(如evb-ast2600)。
  • 然后,在步骤4中,您可以构建uboot而不是完整的映像。类似于bitbake u-boot-aspeed-sdk_2019.04,或者您可以构建整个映像,它需要更长的时间,但您将有一个uboot副本。

如果你还有更多的问题,可以在公开的bmc电子邮件列表https://lists.ozlabs.org/listinfo/openbmc或我们的不和谐https://discord.gg/69Km47zH98中联系我们。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/71261602

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档