0

我有一个需要使用 AST2600 的 BMC 项目。我刚开始处理u-boot。当我进入打击指令。制作时出现错误。

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 的工具链。有人知道吗?

4

1 回答 1

0

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

如果您打算使用 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

于 2022-02-25T22:24:44.940 回答