BMC开发六 - 编译镜像

发布时间 2023-07-12 16:06:10作者: 球球小世界

OpenBMC编译镜像

1. 开发环境

  • OS: 
    • Ubuntu 18.04, 20.04, 22.04 (LTS)
    • Fedora 36, 37
    • AlmaLinux 8.7, 9.1
    • Debian GNU/Linux 11.x (Bullseye)
    • OpenSUSE Leap 15.3 15.4
  • Software Requirements
    • Git 1.8.3.1 or greater
    • tar 1.28 or greater
    • Python 3.8.0 or greater
    • GNU make 4.0 or greater
    • gcc 8.0 or greater

2. 下载OpenBmc代码

  git clone https://github.com/openbmc/openbmc

  cd openbmc

3. 查找可用编译配置

  find . -name local.conf.sample

    .  setup

 4.  选定你的目标硬件环境, 比如

  .  setup romulus

  bitbake obmc-phosphor-image