Blog Detail
  • Downloads
  • Development
  • Docs
  • Learning
  • Support
  • Community
  • What's New
Repositories
Repositories
Zero to Hero: Getting Started with openUBMC

Zero to Hero: Getting Started with openUBMC

新手指引

2025/05/10
范信鑫

Zero to Hero: Getting Started with openUBMC

openUBMC is a leading, open-standard, and developer-friendly open source management software for computing devices. In this blog, we'll guide you step-by-step to get started with openUBMC from scratch.

Environment Setup on Ubuntu

The openUBMC official website offers several setup methods. We'll use the Ubuntu installation, which offers the highest level of flexibility. (For a faster start, see the Docker Developer Environment Setup.

1. Configuring Your GitCode Account

First, you need to configure access to the GitCode repository.

  1. Go to the (project's homepage)https://gitcode.com/openUBMC/manifest.

image

  1. Click Clone. A dialog will show you how to configure your GitCode account and clone the repository.

image

  1. Execute the recommended git config commands in your Ubuntu terminal.

image

  1. Set up your SSH public key by following steps 2 and 3 as prompted by GitCode.

image

Note: We recommend using SSH instead of HTTPS for downloading. This avoids complex HTTPS token configuration. Execute this command:

git config --global url."git@gitcode.com:".insteadof "https://gitcode.com/"

2. Downloading the Manifest Repository

The manifest repository is your key to setting up the openUBMC environment automatically.

  1. Create a workspace and clone the repository:
mkdir workspace
cd workspace
git clone git@gitcode.com:openUBMC/manifest.git

image

  1. Before initialization, download bmc_sdk.zip from the openUBMC community software application center and place it inside your cloned manifest directory.
  2. Execute the environment initialization script:
cd manifest
python3 init.py -path ./bmc_sdk.zip

image

The init.py script performs a comprehensive setup, including:

  • Setting environment proxies.
  • Acquiring sudo permissions.
  • Configuring Ubuntu package mirrors (using Huawei mirror sites).
  • Installing necessary Ubuntu packages (such as python3, gcc, and dbus).
  • Installing the openUBMC developer suite (including RTOS build tools, SDK, and lua-format).
  • Installing Node and npm.
  • Installing the openUBMC build tool, bingo.
  • Configuring Conan remote repositories.
  • Installing QEMU development and runtime dependencies.

The successful completion is marked by the final output printout. You have now completed your development environment setup!

image

3. Configuring Your Conan User

The openUBMC documentation requires you to configure the Conan user with your openUBMC community username.

image

Execute the necessary configuration command. You will see a success message upon completion.

image

Verify the configuration using the conan search command.

image

Note: To find your openUBMC community username, log in to the openUBMC official website and look for the name displayed in the upper right corner.

Start Your openUBMC Journey

Now that the environment is rea dy, let's explore building and running openUBMC.

1. Building the openUBMC Firmware Update Package

The manifest repository can also perform an automated full-package build using the openUBMC-provided bingo tool.

From the manifest directory, run:

bingo build

image

The output shows the build has started. The build process typically takes about 4 to 6 minutes (depending on your host CPU).

The final firmware update package (.hpm file) will be located at manifest/output/rootfs_openUBMC.hpm. This package is used to update the BMC firmware on a server.

2. Starting openUBMC Simulation (QEMU)

Hardware debugging resources are often scarce. openUBMC provides a QEMU-based simulation for easier development.

  1. Build the QEMU simulation firmware package:
bingo build -sc qemu

image

Once the personal task is reported successful, the simulation firmware package is complete.

  1. Find openUBMC_25.00.00.01_qemu.cpio.gz in the manifest/output/packet/inner directory.

image

  1. Start the openUBMC simulation environment with a single command:
python3 build/works/packet/qemu_shells/vemake_1711.py

image

  1. Wait 5 to 10 minutes (depending on your host performance). The simulated openUBMC environment will be ready!

Interacting with openUBMC

Once the simulation starts, you can interact with openUBMC via its interfaces.

WebUI: Access openUBMC through its WebUI. Log in with the username and password and explore the various features available.

image

SSH CLI: Connect to the CLI via SSH:

ssh Administrator@<your ip>:10022

Enter the password to access the CLI and start executing commands.

image

You are now set up to develop and test with openUBMC!

Reference

Exploring openUBMC

【版权声明】Copyright © 2026 openUBMC Community。本文由openUBMC社区首发,欢迎遵照CC-BY-SA 4.0协议规定转载。转载时敬请在正文注明并保留原文链接和作者信息。

【免责声明】本文仅代表作者本人观点,与本网站无关。本网站对文中陈述、观点判断保持中立,不对所包含内容的准确性、可靠性或完整性提供任何明示或暗示的保证。本文仅供读者参考,由此产生的所有法律责任均由读者本人承担。

关于作者

范信鑫

openUBMC community developer, focusing on making openUBMC easy to start with, developing the community, and creating new features.