arm-openbmc-linux-gnueabi-gcc:找不到命令

发布于 2025-01-09 21:00:07 字数 920 浏览 2 评论 0原文

我有一个BMC项目需要使用AST2600。我刚刚开始处理u-boot。 当我输入打击指令时。我make的时候出错了。

export ARCH=arm

export CROSS_COMPILE=arm-openbmc-linux-gnueabi-

make ast2600_openbmc_defconfig

make

结果:

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

看来我错过了arm-openbmc-linux-gnueabi-gcc 的工具链。有人有想法吗?

I got a BMC project which need to use AST2600. I just start to handle u-boot.
When I enter blow instruction. I got a error when make.

export ARCH=arm

export CROSS_COMPILE=arm-openbmc-linux-gnueabi-

make ast2600_openbmc_defconfig

make

Result:

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.

The project from https://github.com/AspeedTech-BMC/u-boot

It seems like I miss a toolchain for arm-openbmc-linux-gnueabi-gcc. Does anyone have idea?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

甜扑 2025-01-16 21:00:07

从 openbmc 的角度来看,我几乎从不独立于 bitbake/yocto 项目构建 uboot,(当我这样做时,我在 x86 中构建项目)手动构建应该可以,但是 openbmc(使用 bitbake/yocto)已经有一个自动化过程用于使用适用于 AST2600 这里此处< /a>

如果您打算使用 openbmc 我会建议从这些说明开始。

  • 在步骤 3 中,确保指定一个带有 ast2600 的平台(例如
    evb-ast2600)
  • 然后在步骤 4 make 中,您可以只构建 uboot 而不是整个映像。像 bitbake u-boot-aspeed-sdk_2019.04 这样的东西,或者您可以构建整个映像,这需要更长的时间,但您将拥有 uboot 的副本。

如果您有任何其他问题,请随时通过开放的 bmc 电子邮件列表 https://lists 与我们联系。 ozlabs.org/listinfo/openbmc,或我们的不和谐 https://discord.gg/69Km47zH98

From an openbmc perspectives, I almost never build the uboots independently of from the bitbake/yocto project, (and when I do, I build projects in x86) Manually building should work, but openbmc (using bitbake/yocto) already has an automated process for building this project with the gcc tool chain that works for the AST2600 here and here

If you are planning on using openbmc I would recomened starting with these instructions.

  • In step 3 make sure to specify an platform with ast2600 (such as the
    evb-ast2600)
  • Then in step 4 make you can just built uboot rather then a whole image. Something like bitbake u-boot-aspeed-sdk_2019.04, or you can build the whole image, and it take longer but you will have a copy of uboot.

If you have any more question feel free to reach out us in the open bmc email list https://lists.ozlabs.org/listinfo/openbmc, or to our discord https://discord.gg/69Km47zH98.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文