[{"data":1,"prerenderedAt":1004},["ShallowReactive",2],{"\u002Fen\u002Fblogs\u002Fstart_openubmc":3,"content-doc-\u002Fzh\u002Fblogs\u002Fstart_openubmc":559,"surround-\u002Fzh\u002Fblogs\u002Fstart_openubmc":997},{"id":4,"title":5,"author":6,"body":10,"category":547,"company":548,"coverImage":65,"date":549,"description":20,"extension":550,"location":548,"logo":548,"logoDark":548,"meta":551,"navigation":554,"path":555,"seo":556,"stem":557,"version":548,"__hash__":558},"content\u002Fen\u002Fblogs\u002Fstart_openUBMC.md","Zero to Hero: Getting Started with openUBMC",[7],{"name":8,"description":9},"范信鑫","openUBMC community developer, focusing on making openUBMC easy to start with, developing the community, and creating new features.",{"type":11,"value":12,"toc":535},"minimark",[13,17,21,26,37,42,45,59,66,77,82,92,97,103,108,111,142,146,149,156,187,192,210,236,241,248,278,281,286,290,293,298,301,306,309,314,317,321,324,328,335,338,350,355,358,369,373,376,381,399,404,407,420,425,430,442,447,452,456,459,466,471,477,509,512,517,520,524,531],[14,15,5],"h1",{"id":16},"zero-to-hero-getting-started-with-openubmc",[18,19,20],"p",{},"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.",[22,23,25],"h2",{"id":24},"environment-setup-on-ubuntu","Environment Setup on Ubuntu",[18,27,28,29,36],{},"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 ",[30,31,35],"a",{"href":32,"rel":33},"https:\u002F\u002Fwww.openubmc.cn\u002Fdocs\u002Fen\u002Fdevelopment\u002Fquick_start\u002Fprepare_environment\u002Fdocker_env.html",[34],"nofollow","Docker Developer Environment Setup",".",[38,39,41],"h3",{"id":40},"_1-configuring-your-gitcode-account","1. Configuring Your GitCode Account",[18,43,44],{},"First, you need to configure access to the GitCode repository.",[46,47,48],"ol",{},[49,50,51,52,36],"li",{},"Go to the (project's homepage)",[53,54,55],"span",{},[30,56,57],{"href":57,"rel":58},"https:\u002F\u002Fgitcode.com\u002FopenUBMC\u002Fmanifest",[34],[18,60,61],{},[62,63],"img",{"alt":64,"src":65},"image","\u002Fcategory\u002Fblog\u002Fstart_openUBMC\u002Fimage0.png",[46,67,69],{"start":68},2,[49,70,71,72,76],{},"Click ",[73,74,75],"code",{},"Clone",". A dialog will show you how to configure your GitCode account and clone the repository.",[18,78,79],{},[62,80],{"alt":64,"src":81},"\u002Fcategory\u002Fblog\u002Fstart_openUBMC\u002Fimage1-en.png",[46,83,85],{"start":84},3,[49,86,87,88,91],{},"Execute the recommended ",[73,89,90],{},"git config"," commands in your Ubuntu terminal.",[18,93,94],{},[62,95],{"alt":64,"src":96},"\u002Fcategory\u002Fblog\u002Fstart_openUBMC\u002Fimage2.png",[46,98,100],{"start":99},4,[49,101,102],{},"Set up your SSH public key by following steps 2 and 3 as prompted by GitCode.",[18,104,105],{},[62,106],{"alt":64,"src":107},"\u002Fcategory\u002Fblog\u002Fstart_openUBMC\u002Fimage1.png",[18,109,110],{},"Note: We recommend using SSH instead of HTTPS for downloading. This avoids complex HTTPS token configuration. Execute this command:",[112,113,118],"pre",{"className":114,"code":115,"language":116,"meta":117,"style":117},"language-shell shiki shiki-themes github-light github-dark monokai","git config --global url.\"git@gitcode.com:\".insteadof \"https:\u002F\u002Fgitcode.com\u002F\"\n","shell","",[73,119,120],{"__ignoreMap":117},[53,121,124,128,132,136,139],{"class":122,"line":123},"line",1,[53,125,127],{"class":126},"srTi1","git",[53,129,131],{"class":130},"sstjo"," config",[53,133,135],{"class":134},"s7F3e"," --global",[53,137,138],{"class":130}," url.\"git@gitcode.com:\".insteadof",[53,140,141],{"class":130}," \"https:\u002F\u002Fgitcode.com\u002F\"\n",[38,143,145],{"id":144},"_2-downloading-the-manifest-repository","2. Downloading the Manifest Repository",[18,147,148],{},"The manifest repository is your key to setting up the openUBMC environment automatically.",[46,150,151,154],{},[49,152,153],{},"Create a workspace and clone the repository:",[49,155],{},[112,157,159],{"className":114,"code":158,"language":116,"meta":117,"style":117},"mkdir workspace\ncd workspace\ngit clone git@gitcode.com:openUBMC\u002Fmanifest.git\n",[73,160,161,169,177],{"__ignoreMap":117},[53,162,163,166],{"class":122,"line":123},[53,164,165],{"class":126},"mkdir",[53,167,168],{"class":130}," workspace\n",[53,170,171,175],{"class":122,"line":68},[53,172,174],{"class":173},"sTrkL","cd",[53,176,168],{"class":130},[53,178,179,181,184],{"class":122,"line":84},[53,180,127],{"class":126},[53,182,183],{"class":130}," clone",[53,185,186],{"class":130}," git@gitcode.com:openUBMC\u002Fmanifest.git\n",[18,188,189],{},[62,190],{"alt":64,"src":191},"\u002Fcategory\u002Fblog\u002Fstart_openUBMC\u002Fimage4.png",[46,193,194,207],{"start":68},[49,195,196,197,200,201,206],{},"Before initialization, download ",[73,198,199],{},"bmc_sdk.zip"," from the ",[30,202,205],{"href":203,"rel":204},"https:\u002F\u002Fopenubmc.cn\u002Fen\u002Fmarketplace\u002Fbmcsdk",[34],"openUBMC community software application center"," and place it inside your cloned manifest directory.",[49,208,209],{},"Execute the environment initialization script:",[112,211,213],{"className":114,"code":212,"language":116,"meta":117,"style":117},"cd manifest\npython3 init.py -path .\u002Fbmc_sdk.zip\n",[73,214,215,222],{"__ignoreMap":117},[53,216,217,219],{"class":122,"line":123},[53,218,174],{"class":173},[53,220,221],{"class":130}," manifest\n",[53,223,224,227,230,233],{"class":122,"line":68},[53,225,226],{"class":126},"python3",[53,228,229],{"class":130}," init.py",[53,231,232],{"class":134}," -path",[53,234,235],{"class":130}," .\u002Fbmc_sdk.zip\n",[18,237,238],{},[62,239],{"alt":64,"src":240},"\u002Fcategory\u002Fblog\u002Fstart_openUBMC\u002Fimage5.png",[18,242,243,244,247],{},"The ",[73,245,246],{},"init.py"," script performs a comprehensive setup, including:",[249,250,251,254,257,260,263,266,269,272,275],"ul",{},[49,252,253],{},"Setting environment proxies.",[49,255,256],{},"Acquiring sudo permissions.",[49,258,259],{},"Configuring Ubuntu package mirrors (using Huawei mirror sites).",[49,261,262],{},"Installing necessary Ubuntu packages (such as python3, gcc, and dbus).",[49,264,265],{},"Installing the openUBMC developer suite (including RTOS build tools, SDK, and lua-format).",[49,267,268],{},"Installing Node and npm.",[49,270,271],{},"Installing the openUBMC build tool, bingo.",[49,273,274],{},"Configuring Conan remote repositories.",[49,276,277],{},"Installing QEMU development and runtime dependencies.",[18,279,280],{},"The successful completion is marked by the final output printout. You have now completed your development environment setup!",[18,282,283],{},[62,284],{"alt":64,"src":285},"\u002Fcategory\u002Fblog\u002Fstart_openUBMC\u002Fimage6.png",[38,287,289],{"id":288},"_3-configuring-your-conan-user","3. Configuring Your Conan User",[18,291,292],{},"The openUBMC documentation requires you to configure the Conan user with your openUBMC community username.",[18,294,295],{},[62,296],{"alt":64,"src":297},"\u002Fcategory\u002Fblog\u002Fstart_openUBMC\u002Fimage7.png",[18,299,300],{},"Execute the necessary configuration command. You will see a success message upon completion.",[18,302,303],{},[62,304],{"alt":64,"src":305},"\u002Fcategory\u002Fblog\u002Fstart_openUBMC\u002Fimage8.png",[18,307,308],{},"Verify the configuration using the conan search command.",[18,310,311],{},[62,312],{"alt":64,"src":313},"\u002Fcategory\u002Fblog\u002Fstart_openUBMC\u002Fimage9.png",[18,315,316],{},"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.",[22,318,320],{"id":319},"start-your-openubmc-journey","Start Your openUBMC Journey",[18,322,323],{},"Now that the environment is rea dy, let's explore building and running openUBMC.",[38,325,327],{"id":326},"_1-building-the-openubmc-firmware-update-package","1. Building the openUBMC Firmware Update Package",[18,329,330,331,334],{},"The manifest repository can also perform an automated full-package build using the openUBMC-provided ",[73,332,333],{},"bingo"," tool.",[18,336,337],{},"From the manifest directory, run:",[112,339,341],{"className":114,"code":340,"language":116,"meta":117,"style":117},"bingo build\n",[73,342,343],{"__ignoreMap":117},[53,344,345,347],{"class":122,"line":123},[53,346,333],{"class":126},[53,348,349],{"class":130}," build\n",[18,351,352],{},[62,353],{"alt":64,"src":354},"\u002Fcategory\u002Fblog\u002Fstart_openUBMC\u002Fimage11.png",[18,356,357],{},"The output shows the build has started. The build process typically takes about 4 to 6 minutes (depending on your host CPU).",[18,359,360,361,364,365,368],{},"The final firmware update package (",[73,362,363],{},".hpm"," file) will be located at ",[73,366,367],{},"manifest\u002Foutput\u002Frootfs_openUBMC.hpm",". This package is used to update the BMC firmware on a server.",[38,370,372],{"id":371},"_2-starting-openubmc-simulation-qemu","2. Starting openUBMC Simulation (QEMU)",[18,374,375],{},"Hardware debugging resources are often scarce. openUBMC provides a QEMU-based simulation for easier development.",[46,377,378],{},[49,379,380],{},"Build the QEMU simulation firmware package:",[112,382,384],{"className":114,"code":383,"language":116,"meta":117,"style":117},"bingo build -sc qemu\n",[73,385,386],{"__ignoreMap":117},[53,387,388,390,393,396],{"class":122,"line":123},[53,389,333],{"class":126},[53,391,392],{"class":130}," build",[53,394,395],{"class":134}," -sc",[53,397,398],{"class":130}," qemu\n",[18,400,401],{},[62,402],{"alt":64,"src":403},"\u002Fcategory\u002Fblog\u002Fstart_openUBMC\u002Fimage12.png",[18,405,406],{},"Once the personal task is reported successful, the simulation firmware package is complete.",[46,408,409],{"start":68},[49,410,411,412,415,416,419],{},"Find ",[73,413,414],{},"openUBMC_25.00.00.01_qemu.cpio.gz"," in the ",[73,417,418],{},"manifest\u002Foutput\u002Fpacket\u002Finner"," directory.",[18,421,422],{},[62,423],{"alt":64,"src":424},"\u002Fcategory\u002Fblog\u002Fstart_openUBMC\u002Fimage13.png",[46,426,427],{"start":84},[49,428,429],{},"Start the openUBMC simulation environment with a single command:",[112,431,433],{"className":114,"code":432,"language":116,"meta":117,"style":117},"python3 build\u002Fworks\u002Fpacket\u002Fqemu_shells\u002Fvemake_1711.py\n",[73,434,435],{"__ignoreMap":117},[53,436,437,439],{"class":122,"line":123},[53,438,226],{"class":126},[53,440,441],{"class":130}," build\u002Fworks\u002Fpacket\u002Fqemu_shells\u002Fvemake_1711.py\n",[18,443,444],{},[62,445],{"alt":64,"src":446},"\u002Fcategory\u002Fblog\u002Fstart_openUBMC\u002Fimage14.png",[46,448,449],{"start":99},[49,450,451],{},"Wait 5 to 10 minutes (depending on your host performance). The simulated openUBMC environment will be ready!",[38,453,455],{"id":454},"interacting-with-openubmc","Interacting with openUBMC",[18,457,458],{},"Once the simulation starts, you can interact with openUBMC via its interfaces.",[18,460,461,465],{},[462,463,464],"strong",{},"WebUI",": Access openUBMC through its WebUI. Log in with the username and password and explore the various features available.",[18,467,468],{},[62,469],{"alt":64,"src":470},"\u002Fcategory\u002Fblog\u002Fstart_openUBMC\u002Fimage16.png",[18,472,473,476],{},[462,474,475],{},"SSH CLI",": Connect to the CLI via SSH:",[112,478,480],{"className":114,"code":479,"language":116,"meta":117,"style":117},"ssh Administrator@\u003Cyour ip>:10022\n",[73,481,482],{"__ignoreMap":117},[53,483,484,487,490,494,497,500,503,506],{"class":122,"line":123},[53,485,486],{"class":126},"ssh",[53,488,489],{"class":130}," Administrator@",[53,491,493],{"class":492},"sC2Qs","\u003C",[53,495,496],{"class":130},"your",[53,498,499],{"class":130}," i",[53,501,18],{"class":502},"sMOD_",[53,504,505],{"class":492},">",[53,507,508],{"class":130},":10022\n",[18,510,511],{},"Enter the password to access the CLI and start executing commands.",[18,513,514],{},[62,515],{"alt":64,"src":516},"\u002Fcategory\u002Fblog\u002Fstart_openUBMC\u002Fimage17.png",[18,518,519],{},"You are now set up to develop and test with openUBMC!",[14,521,523],{"id":522},"reference","Reference",[18,525,526],{},[30,527,530],{"href":528,"rel":529},"https:\u002F\u002Fwww.openubmc.cn\u002Fdocs\u002Fzh\u002Fdevelopment\u002Fquick_start\u002Fexplore_openubmc.html",[34],"Exploring openUBMC",[532,533,534],"style",{},"html pre.shiki code .srTi1, html code.shiki .srTi1{--shiki-default:#6F42C1;--shiki-dark:#B392F0;--shiki-sepia:#A6E22E}html pre.shiki code .sstjo, html code.shiki .sstjo{--shiki-default:#032F62;--shiki-dark:#9ECBFF;--shiki-sepia:#E6DB74}html pre.shiki code .s7F3e, html code.shiki .s7F3e{--shiki-default:#005CC5;--shiki-dark:#79B8FF;--shiki-sepia:#AE81FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .sepia .shiki span {color: var(--shiki-sepia);background: var(--shiki-sepia-bg);font-style: var(--shiki-sepia-font-style);font-weight: var(--shiki-sepia-font-weight);text-decoration: var(--shiki-sepia-text-decoration);}html.sepia .shiki span {color: var(--shiki-sepia);background: var(--shiki-sepia-bg);font-style: var(--shiki-sepia-font-style);font-weight: var(--shiki-sepia-font-weight);text-decoration: var(--shiki-sepia-text-decoration);}html pre.shiki code .sTrkL, html code.shiki .sTrkL{--shiki-default:#005CC5;--shiki-dark:#79B8FF;--shiki-sepia:#66D9EF}html pre.shiki code .sC2Qs, html code.shiki .sC2Qs{--shiki-default:#D73A49;--shiki-dark:#F97583;--shiki-sepia:#F92672}html pre.shiki code .sMOD_, html code.shiki .sMOD_{--shiki-default:#24292E;--shiki-dark:#E1E4E8;--shiki-sepia:#F8F8F2}",{"title":117,"searchDepth":99,"depth":99,"links":536},[537,542],{"id":24,"depth":68,"text":25,"children":538},[539,540,541],{"id":40,"depth":84,"text":41},{"id":144,"depth":84,"text":145},{"id":288,"depth":84,"text":289},{"id":319,"depth":68,"text":320,"children":543},[544,545,546],{"id":326,"depth":84,"text":327},{"id":371,"depth":84,"text":372},{"id":454,"depth":84,"text":455},"guide",null,"2025\u002F05\u002F10","md",{"sig":552,"archives":553},"sig-docs","2025-05",true,"\u002Fen\u002Fblogs\u002Fstart_openubmc",{"title":5,"description":20},"en\u002Fblogs\u002Fstart_openUBMC","ak0JFt-e0aXCILHtfpM8jsAJ19Gcxo1_Kra_ZAmk-bA",{"id":560,"title":561,"author":562,"body":565,"category":547,"company":548,"coverImage":65,"date":549,"description":963,"extension":550,"location":548,"logo":548,"logoDark":548,"meta":992,"navigation":554,"path":993,"seo":994,"stem":995,"version":548,"__hash__":996},"content\u002Fzh\u002Fblogs\u002Fstart_openUBMC.md","从零开始，玩转openUBMC",[563],{"name":8,"description":564},"openUBMC社区开发者范信鑫。专注于为openUBMC开发者提供舒适又快捷的上手流程，同时又致力于openUBMC的社区和新特性开发。",{"type":11,"value":566,"toc":980},[567,570,573,576,579,588,592,596,608,612,615,619,625,629,632,636,639,655,659,662,686,690,702,705,725,729,735,770,773,777,780,784,787,791,794,798,801,805,814,819,823,827,833,836,846,850,860,864,867,881,885,898,902,905,915,919,922,926,929,932,936,939,961,964,968,971,978],[14,568,561],{"id":569},"从零开始玩转openubmc",[14,571,572],{"id":572},"前言",[18,574,575],{},"openUBMC是一款架构领先、开发友好、开放标准的算力设备开源管理软件。在本博客中，我们将从零开始带你玩转openUBMC。",[14,577,578],{"id":578},"环境准备",[18,580,581,582,587],{},"openUBMC的官网中介绍了多种环境准备的方法，本博客将会介绍自由度最高的Ubuntu安装方式。如果想要体验更快捷的安装方法，可以使用Docker来安装，参考",[30,583,586],{"href":584,"rel":585},"https:\u002F\u002Fopenubmc.cn\u002Fdocs\u002Fzh\u002Fdevelopment\u002Fquick_start\u002Fprepare_environment\u002Fdocker_env.html",[34],"Docker开发环境搭建 | openUBMC","。",[22,589,591],{"id":590},"ubuntu-准备openubmc环境","Ubuntu 准备openUBMC环境",[38,593,595],{"id":594},"_1配置gitcode账户","1、配置gitcode账户",[18,597,598,599,603,604,607],{},"进入",[30,600,602],{"href":57,"rel":601},[34],"项目首页 - manifest:manifest - GitCode","，然后点击",[73,605,606],{},"clone","按钮",[18,609,610],{},[62,611],{"alt":64,"src":65},[18,613,614],{},"会弹出如何配置gitcode账户和clone仓库的方法。",[18,616,617],{},[62,618],{"alt":64,"src":107},[18,620,621,622,624],{},"根据gitcode提供的配置，在Ubuntu命令行中执行",[73,623,90],{},"命令",[18,626,627],{},[62,628],{"alt":64,"src":96},[18,630,631],{},"除此之外，还需要配置ssh公钥，根据如下的步骤2和步骤3提示完成即可",[18,633,634],{},[62,635],{"alt":64,"src":107},[18,637,638],{},"根据openUBMC中的推荐，使用ssh替换https下载，此步将跳过https的Token的复杂配置。",[112,640,641],{"className":114,"code":115,"language":116,"meta":117,"style":117},[73,642,643],{"__ignoreMap":117},[53,644,645,647,649,651,653],{"class":122,"line":123},[53,646,127],{"class":126},[53,648,131],{"class":130},[53,650,135],{"class":134},[53,652,138],{"class":130},[53,654,141],{"class":130},[38,656,658],{"id":657},"_2下载manifest仓库","2、下载manifest仓库",[18,660,661],{},"分别执行如下命令：",[112,663,664],{"className":114,"code":158,"language":116,"meta":117,"style":117},[73,665,666,672,678],{"__ignoreMap":117},[53,667,668,670],{"class":122,"line":123},[53,669,165],{"class":126},[53,671,168],{"class":130},[53,673,674,676],{"class":122,"line":68},[53,675,174],{"class":173},[53,677,168],{"class":130},[53,679,680,682,684],{"class":122,"line":84},[53,681,127],{"class":126},[53,683,183],{"class":130},[53,685,186],{"class":130},[18,687,688],{},[62,689],{"alt":64,"src":191},[18,691,692,693,698,699,701],{},"进入到manifest仓库中，执行其环境初始化命令。在执行之前需要先从",[30,694,697],{"href":695,"rel":696},"https:\u002F\u002Fopenubmc.cn\u002Fzh\u002Fmarketplace\u002Fbmcsdk",[34],"openUBMC社区软件应用中心","中下载",[73,700,199],{},"，并放在manifest代码目录下。",[18,703,704],{},"执行",[112,706,707],{"className":114,"code":212,"language":116,"meta":117,"style":117},[73,708,709,715],{"__ignoreMap":117},[53,710,711,713],{"class":122,"line":123},[53,712,174],{"class":173},[53,714,221],{"class":130},[53,716,717,719,721,723],{"class":122,"line":68},[53,718,226],{"class":126},[53,720,229],{"class":130},[53,722,232],{"class":134},[53,724,235],{"class":130},[18,726,727],{},[62,728],{"alt":64,"src":240},[18,730,731,732,734],{},"在",[73,733,246],{},"中, 完成了如下的环境配置：",[249,736,737,740,743,746,749,752,755,758,761,764,767],{},[49,738,739],{},"环境代理配置",[49,741,742],{},"sudo权限获取",[49,744,745],{},"Ubuntu 镜像配置 （使用华为镜像源）",[49,747,748],{},"安装Ubuntu软件包（例如 python3、gcc、dbus等等）",[49,750,751],{},"python镜像源配置（使用华为镜像源）",[49,753,754],{},"安装openUBMC开发者套件（RTOS编译工具、SDK、lua-format等）",[49,756,757],{},"安装node和npm",[49,759,760],{},"openUBMC构建工具bingo安装",[49,762,763],{},"conan远程仓库配置",[49,765,766],{},"Qemu开发依赖安装",[49,768,769],{},"Qemu运行时依赖安装",[18,771,772],{},"最终执行完成的标志为如下的输出：",[18,774,775],{},[62,776],{"alt":64,"src":285},[18,778,779],{},"至此已经完成了下载manifest和使用manifest配置openUBMC的开发环境。",[38,781,783],{"id":782},"_3-配置conan用户","3. 配置conan用户",[18,785,786],{},"在openUBMC的文档中提到要使用openUBMC社区用户名来完成配置。",[18,788,789],{},[62,790],{"alt":64,"src":297},[18,792,793],{},"因此在命令行中执行该配置，配置成功后会有如下的打印。",[18,795,796],{},[62,797],{"alt":64,"src":305},[18,799,800],{},"当然我们也能够通过conan的一些搜索命令来查看是否配置正确。",[18,802,803],{},[62,804],{"alt":64,"src":313},[18,806,807,808,813],{},"NOTE：如果你不知道openUBMC社区用户名如何获取，请登录",[30,809,812],{"href":810,"rel":811},"https:\u002F\u002Fopenubmc.cn\u002Fzh",[34],"openUBMC官网",",并查看红色框内的内容，此为你的openUBMC社区用户名。",[18,815,816],{},[62,817],{"alt":64,"src":818},"\u002Fcategory\u002Fblog\u002Fstart_openUBMC\u002Fimage10.png",[22,820,822],{"id":821},"开始你的openubmc之旅","开始你的openUBMC之旅",[38,824,826],{"id":825},"openubmc固件升级包构建","openUBMC固件升级包构建",[18,828,829,830,832],{},"在上一小节中，我们已经完成了openUBMC的开发环境的搭建。可以使用该环境开始开发openUBMC。manifest仓库除了能够一键初始化环境外，还能够自动化地完成openUBMC的整包构建。利用openUBMC提供的",[73,831,333],{},"工具，能够完成此项。",[18,834,835],{},"进入到manifest目录中，并执行如下命令：",[112,837,838],{"className":114,"code":340,"language":116,"meta":117,"style":117},[73,839,840],{"__ignoreMap":117},[53,841,842,844],{"class":122,"line":123},[53,843,333],{"class":126},[53,845,349],{"class":130},[18,847,848],{},[62,849],{"alt":64,"src":354},[18,851,852,853,855,856,859],{},"出现如上的输出及表示openUBMC的整包构建开始了。构建等待时间预计等待4~6分钟（Intel(R) Xeon(R) Gold 6161 CPU @ 2.20GHz 云服务），即可在",[73,854,367],{},"找到用于openUBMC固件升级的",[73,857,858],{},"hpm","包。该包能够让BMC服务器完成固件升级。",[38,861,863],{"id":862},"openubmc仿真启动","openUBMC仿真启动",[18,865,866],{},"通常硬件调试资源比较紧缺，一次次地在硬件服务器上进行调试会变成非常的困难。openUBMC也提供了仿真启动方式，采用Qemu进行模拟openUBMC运行环境。在manifest中中执行如下命令，可构建出Qemu仿真启动的固件包。",[112,868,869],{"className":114,"code":383,"language":116,"meta":117,"style":117},[73,870,871],{"__ignoreMap":117},[53,872,873,875,877,879],{"class":122,"line":123},[53,874,333],{"class":126},[53,876,392],{"class":130},[53,878,395],{"class":134},[53,880,398],{"class":130},[18,882,883],{},[62,884],{"alt":64,"src":403},[18,886,887,888,891,892,894,895,897],{},"当提示",[73,889,890],{},"任务 personal执行成功","后，表示固件包构建完成。同时能够在",[73,893,418],{},"目录下找到",[73,896,414],{},",此为openUBMC仿真所需的固件包，其格式与hpm包有些差异，但内含的文件系统是一致的。",[18,899,900],{},[62,901],{"alt":64,"src":424},[18,903,904],{},"执行如下的命令，一键启动openUBMC的仿真环境：",[112,906,907],{"className":114,"code":432,"language":116,"meta":117,"style":117},[73,908,909],{"__ignoreMap":117},[53,910,911,913],{"class":122,"line":123},[53,912,226],{"class":126},[53,914,441],{"class":130},[18,916,917],{},[62,918],{"alt":64,"src":446},[18,920,921],{},"等待5~10分钟（视启动宿主机性能而定），可以通过ssh\u002Fweb\u002Fredfish\u002Fipmi等方法与openUBMC进行交互。",[38,923,925],{"id":924},"openubmc使用","openUBMC使用",[18,927,928],{},"当我们启动了openUBMC之后，可以通过web界面访问openUBMC。",[18,930,931],{},"输入用户名密码登录后，可以看到openUBMC的主界面，更多的内容可以尝试在该界面中点击。",[18,933,934],{},[62,935],{"alt":64,"src":470},[18,937,938],{},"除此之外，还可以通过ssh连接进入到openUBMC的CLI界面。通过在命令行中执行：",[112,940,941],{"className":114,"code":479,"language":116,"meta":117,"style":117},[73,942,943],{"__ignoreMap":117},[53,944,945,947,949,951,953,955,957,959],{"class":122,"line":123},[53,946,486],{"class":126},[53,948,489],{"class":130},[53,950,493],{"class":492},[53,952,496],{"class":130},[53,954,499],{"class":130},[53,956,18],{"class":502},[53,958,505],{"class":492},[53,960,508],{"class":130},[18,962,963],{},"并输入密码即可进入。",[18,965,966],{},[62,967],{"alt":64,"src":516},[14,969,970],{"id":970},"参考资料",[18,972,973],{},[30,974,977],{"href":975,"rel":976},"https:\u002F\u002Fopenubmc.cn\u002Fdocs\u002Fzh\u002Fdevelopment\u002Fquick_start\u002Fexplore_openubmc.html",[34],"探索openUBMC | openUBMC",[532,979,534],{},{"title":117,"searchDepth":99,"depth":99,"links":981},[982,987],{"id":590,"depth":68,"text":591,"children":983},[984,985,986],{"id":594,"depth":84,"text":595},{"id":657,"depth":84,"text":658},{"id":782,"depth":84,"text":783},{"id":821,"depth":68,"text":822,"children":988},[989,990,991],{"id":825,"depth":84,"text":826},{"id":862,"depth":84,"text":863},{"id":924,"depth":84,"text":925},{"sig":552,"archives":553},"\u002Fzh\u002Fblogs\u002Fstart_openubmc",{"title":561,"description":117},"zh\u002Fblogs\u002Fstart_openUBMC","g-P66jlc9PWfF0zBYUW6ZVXj5vVQdjJnwLt5xmuxOg0",[998,1001],{"path":999,"title":1000},"\u002Fzh\u002Fblogs\u002Fsouth-component-driver-netcard-adapt-guide","南向网卡驱动适配指南",{"path":1002,"title":1003},"\u002Fzh\u002Fblogs\u002Fubmc-ai","openUBMC： 基于BMC的AI故障预测系统构建及应用",1793275603256]