我有一个需要使用AST2600的BMC项目。我刚开始处理你的靴子。当我进入吹风指令时。我犯了个错误。
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的项目
似乎我错过了一个工具链的手臂-openbmc-linux-gnueabi-gcc。有人有主意吗?
发布于 2022-02-25 22:24:44
从openbmc的角度来看,我几乎从来没有独立于bitbake/yocto项目之外构建uboot,(当我这样做时,我用x86构建项目)手动构建应该可以工作,但是openbmc (使用bitbake/yocto)已经有了一个自动化的过程,可以使用gcc工具链构建这个项目,该工具链适用于AST2600 这里和这里。
如果您计划使用openbmc,我将从这些指示开始。
bitbake u-boot-aspeed-sdk_2019.04,或者您可以构建整个映像,它需要更长的时间,但您将有一个uboot副本。如果你还有更多的问题,可以在公开的bmc电子邮件列表https://lists.ozlabs.org/listinfo/openbmc或我们的不和谐https://discord.gg/69Km47zH98中联系我们。
https://stackoverflow.com/questions/71261602
复制相似问题