在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:OpenBMC开源软件地址:https://gitee.com/xbpuligo/openbmc开源软件介绍:OpenBMCOpenBMC is an open software framework to build a complete Linux image for a Board Management Controller (BMC). OpenBMC uses the Yocto Project as the underlying building and distro generation framework.
ContentsThis repository includes 3 set of layers:
File structureThe Yocto naming pattern is used in this repository. A " The recipes for OpenBMC common layer are found in The BMC SoC layer and board specific layer are grouped together based on the vendor/manufacturer name. For example, all Facebook boards specific code should be in How to build
$ git clone -b fido https://git.yoctoproject.org/git/poky
$ cd poky$ git clone -b fido https://github.com/openembedded/meta-openembedded.git$ git clone -b fido https://git.yoctoproject.org/git/meta-security$ git clone https://github.com/facebook/openbmc.git meta-openbmc Note that this project does not use Yocto release branch names.
$ export TEMPLATECONF=meta-openbmc/meta-facebook/meta-wedge/conf$ source oe-init-build-env Choose between
$ bitbake wedge-image The build process automatically fetches all necessary packages and builds the complete image. The final build results are in Build Artifacts
Yocto ConfigurationIt is recommended to setup a new Yocto distribution (a checkout of poky). The initialization script If you have previously set up and built poky, you may change your local configuration: When using the example meta-openbmc/meta-facebook/meta-wedge/conf The layers config BBPATH = "${TOPDIR}"BBFILES ?= ""BBLAYERS ?= " \ /PREFIX/poky/meta \ /PREFIX/poky/meta-yocto \ /PREFIX/poky/meta-yocto-bsp \ /PREFIX/poky/meta-openembedded/meta-oe \ /PREFIX/poky/meta-openembedded/meta-networking \ /PREFIX/poky/meta-openembedded/meta-python \ /PREFIX/poky/meta-openbmc \ /PREFIX/poky/meta-openbmc/meta-aspeed \ /PREFIX/poky/meta-openbmc/meta-facebook/meta-wedge \ "BBLAYERS_NON_REMOVABLE ?= " \ /PREFIX/poky/meta \ /PREFIX/poky/meta-yocto \ " And finally the # Machine SelectionMACHINE ??= "wedge"# OpenBMC distro settingsDISTRO ?= "openbmc-fb" How can I contributeIf you have an application that can be used by different BMCs, you can contribute your application to the OpenBMC common layer. If you are a BMC SoC vendor, you can contribute your SoC specific drivers to the BMC SoC layer. If you are a board vendor, you can contribute your board specific configurations and tools to the Board specific layer. If the board uses a new BMC SoC that is not part of the BMC SoC layer, the SoC specific driver contribution to the BMC SoC layer is also required. |
请发表评论