arm-openbmc-linux-gnueabi-gcc:找不到命令
我有一个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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从 openbmc 的角度来看,我几乎从不独立于 bitbake/yocto 项目构建 uboot,(当我这样做时,我在 x86 中构建项目)手动构建应该可以,但是 openbmc(使用 bitbake/yocto)已经有一个自动化过程用于使用适用于 AST2600 这里和此处< /a>
如果您打算使用 openbmc 我会建议从这些说明开始。
evb-ast2600)
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.
evb-ast2600)
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.