[{"data":1,"prerenderedAt":7046},["ShallowReactive",2],{"\u002Fzh\u002Fblogs\u002FMigration_system":3,"content-doc-\u002Fen\u002Fblogs\u002FMigration_system":3304,"surround-\u002Fen\u002Fblogs\u002FMigration_system":7044},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"sig":11,"archives":12,"category":13,"author":14,"body":18,"_type":3296,"_id":3297,"_source":3298,"_file":3299,"_stem":3300,"_extension":3301,"coverImage":223,"plainText":3302,"authorNames":3303},"\u002Fzh\u002Fblogs\u002FMigration_system","blogs",false,"","Hi3093开发板上手教学","当前openUBMC已支持Qemu仿真调试能力，但针对硬件相关调试，仍缺乏高效的调试手段。笔者在尝试多种开发板后，总结了一套基于的openUBMC启动心得，供社区开发者学习和参考。","2025\u002F07\u002F12","sig-docs","2025-07","case",[15],{"name":16,"description":17},"范信鑫","openUBMC社区开发者范信鑫。专注于为openUBMC开发者提供舒适又快捷的上手流程，同时又致力于openUBMC的社区和新特性开发。",{"type":19,"children":20,"toc":3265},"root",[21,30,36,53,58,88,93,98,111,118,136,148,153,158,197,216,225,237,251,264,276,284,327,334,339,344,349,356,361,366,371,378,383,388,393,400,405,412,417,422,429,434,441,447,452,490,495,500,507,512,788,793,798,803,808,814,825,832,838,843,850,855,862,869,874,881,894,901,927,934,941,946,951,1538,1551,1576,1582,1587,1594,1599,1629,1656,1668,1673,1680,1687,1694,1699,1706,1718,1725,1730,1806,1816,1823,1840,1925,1932,1937,1944,1950,1955,1962,1967,1974,1979,1986,1991,1997,2002,2186,2207,2643,2648,2654,2659,2790,2796,2801,2806,2814,2833,2950,2963,2969,2981,2987,2993,3002,3018,3029,3036,3041,3208,3219,3225,3232,3238,3259],{"type":22,"tag":23,"props":24,"children":26},"element","h1",{"id":25},"hi3093开发板上手教学环境搭建",[27],{"type":28,"value":29},"text","Hi3093开发板上手教学环境搭建",{"type":22,"tag":31,"props":32,"children":34},"h2",{"id":33},"前言",[35],{"type":28,"value":33},{"type":22,"tag":37,"props":38,"children":39},"p",{},[40,42,51],{"type":28,"value":41},"当前openUBMC已支持Qemu仿真调试能力，但针对硬件相关调试，仍缺乏高效的调试手段。笔者在尝试多种开发板后，总结了一套基于",{"type":22,"tag":43,"props":44,"children":48},"a",{"href":45,"rel":46},"https:\u002F\u002Fwww.myir.cn\u002Fshows\u002F136\u002F71.html",[47],"nofollow",[49],{"type":28,"value":50},"米尔电子MYC-LHi3093开发板",{"type":28,"value":52},"的openUBMC启动心得，供社区开发者学习和参考。",{"type":22,"tag":31,"props":54,"children":56},{"id":55},"物料准备",[57],{"type":28,"value":55},{"type":22,"tag":59,"props":60,"children":61},"ul",{},[62,68,73,78,83],{"type":22,"tag":63,"props":64,"children":65},"li",{},[66],{"type":28,"value":67},"Hi3093核心板",{"type":22,"tag":63,"props":69,"children":70},{},[71],{"type":28,"value":72},"核心板电源适配器",{"type":22,"tag":63,"props":74,"children":75},{},[76],{"type":28,"value":77},"网线",{"type":22,"tag":63,"props":79,"children":80},{},[81],{"type":28,"value":82},"typeC-USB线",{"type":22,"tag":63,"props":84,"children":85},{},[86],{"type":28,"value":87},"8GB以上的SD卡（用于必要时恢复openeuler环境）",{"type":22,"tag":31,"props":89,"children":91},{"id":90},"环境准备",[92],{"type":28,"value":90},{"type":22,"tag":37,"props":94,"children":95},{},[96],{"type":28,"value":97},"鉴于 Hi3093 核心板出厂默认搭载 openEuler 操作系统，须将其替换为 openUBMC RTOS。为此，需依次完成以下前置工作：",{"type":22,"tag":59,"props":99,"children":100},{},[101,106],{"type":22,"tag":63,"props":102,"children":103},{},[104],{"type":28,"value":105},"定制并构建 openUBMC RTOS 镜像；",{"type":22,"tag":63,"props":107,"children":108},{},[109],{"type":28,"value":110},"规划并格式化核心板存储分区，确保与 openUBMC 分区表兼容。",{"type":22,"tag":112,"props":113,"children":115},"h3",{"id":114},"openubmc-rtos-镜像制作",[116],{"type":28,"value":117},"openUBMC RTOS 镜像制作",{"type":22,"tag":37,"props":119,"children":120},{},[121,123,134],{"type":28,"value":122},"openUBMC 开发环境搭建请严格遵循官方文档  ",{"type":22,"tag":124,"props":125,"children":126},"strong",{},[127],{"type":22,"tag":43,"props":128,"children":131},{"href":129,"rel":130},"https:\u002F\u002Fwww.openubmc.cn\u002Fdocs\u002Fzh\u002Fdevelopment\u002Fquick_start\u002Fprepare_environment\u002Fubuntu_env.html",[47],[132],{"type":28,"value":133},"Ubuntu 开发环境搭建 | openUBMC",{"type":28,"value":135},"。",{"type":22,"tag":37,"props":137,"children":138},{},[139,141,146],{"type":28,"value":140},"为便于后续与核心板进行网络通信，",{"type":22,"tag":124,"props":142,"children":143},{},[144],{"type":28,"value":145},"建议采用虚拟机方式部署 Ubuntu 环境",{"type":28,"value":147},"，并在虚拟机内完成全部初始化步骤。本章节将采用VirtualBox进行openUBMC开发环境搭建。",{"type":22,"tag":37,"props":149,"children":150},{},[151],{"type":28,"value":152},"在VirtualBox，你需要遵守以下的步骤，完成环境搭建和openUBMC镜像制作：",{"type":22,"tag":37,"props":154,"children":155},{},[156],{"type":28,"value":157},"1、Ubuntu24.04 iso下载，并在VirtualBox中安装，建议预留50GB的存储空间。",{"type":22,"tag":37,"props":159,"children":160},{},[161,163,170,172,179,181,187,189,195],{"type":28,"value":162},"⭐ 如果不想自己出包的话，可以直接下载",{"type":22,"tag":43,"props":164,"children":167},{"href":165,"rel":166},"https:\u002F\u002Fgitcode.com\u002Ffxx551\u002FHi3093\u002Freleases\u002Fv1.2",[47],[168],{"type":28,"value":169},"Hi3093预制镜像",{"type":28,"value":171},"，下载后可直接跳过构建过程，将对应文件放置在下述的位置中。",{"type":22,"tag":173,"props":174,"children":176},"code",{"className":175},[],[177],{"type":28,"value":178},"2506_gx.zip",{"type":28,"value":180},"里面存放了烧录时所需的所有文件，",{"type":22,"tag":173,"props":182,"children":184},{"className":183},[],[185],{"type":28,"value":186},"*.hpm",{"type":28,"value":188},"为配套的固化开发板环境的",{"type":22,"tag":173,"props":190,"children":192},{"className":191},[],[193],{"type":28,"value":194},"hpm",{"type":28,"value":196},"包。",{"type":22,"tag":37,"props":198,"children":199},{},[200,202,208,210],{"type":28,"value":201},"❗ 如果是自己出包，且采用的是openUBMC 25.03版本，请确保在",{"type":22,"tag":173,"props":203,"children":205},{"className":204},[],[206],{"type":28,"value":207},"build\u002Fsubsys\u002Frc\u002Fsecurity.yml",{"type":28,"value":209},"中iam的版本",{"type":22,"tag":173,"props":211,"children":213},{"className":212},[],[214],{"type":28,"value":215},">=1.0.1",{"type":22,"tag":37,"props":217,"children":218},{},[219],{"type":22,"tag":220,"props":221,"children":224},"img",{"alt":222,"src":223},"alt text","\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage35.png",[],{"type":22,"tag":37,"props":226,"children":227},{},[228,230,235],{"type":28,"value":229},"2、根据 **",{"type":22,"tag":43,"props":231,"children":233},{"href":129,"rel":232},[47],[234],{"type":28,"value":133},{"type":28,"value":236},"**进行openUBMC环境搭建。",{"type":22,"tag":37,"props":238,"children":239},{},[240,242,249],{"type":28,"value":241},"3、安装openUBMC调试工具-- ",{"type":22,"tag":43,"props":243,"children":246},{"href":244,"rel":245},"https:\u002F\u002Fdiscuss.openubmc.cn\u002Ft\u002Ftopic\u002F415",[47],[247],{"type":28,"value":248},"busybox",{"type":28,"value":250},", 并集成到manifest中。",{"type":22,"tag":37,"props":252,"children":253},{},[254,256,262],{"type":28,"value":255},"4、在manifest目录下，执行",{"type":22,"tag":173,"props":257,"children":259},{"className":258},[],[260],{"type":28,"value":261},"bingo build",{"type":28,"value":263},"完成openUBMC镜像制作。",{"type":22,"tag":37,"props":265,"children":266},{},[267,269,275],{"type":28,"value":268},"最终在temp\u002Fbuild_openUBMC_debug_dev\u002Foutput可以找到对应的镜像文件",{"type":22,"tag":173,"props":270,"children":272},{"className":271},[],[273],{"type":28,"value":274},"rootfs_BMC.img",{"type":28,"value":135},{"type":22,"tag":37,"props":277,"children":278},{},[279],{"type":22,"tag":220,"props":280,"children":283},{"alt":281,"src":282},"image","\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage1.png",[],{"type":22,"tag":37,"props":285,"children":286},{},[287,289,295,297,303,305,311,313,318,320,325],{"type":28,"value":288},"同时还需要在",{"type":22,"tag":173,"props":290,"children":292},{"className":291},[],[293],{"type":28,"value":294},"temp",{"type":28,"value":296},"目录下取出",{"type":22,"tag":173,"props":298,"children":300},{"className":299},[],[301],{"type":28,"value":302},"initrd_boot.cpio.gz",{"type":28,"value":304},"还有",{"type":22,"tag":173,"props":306,"children":308},{"className":307},[],[309],{"type":28,"value":310},"uImage",{"type":28,"value":312},"文件。其中",{"type":22,"tag":173,"props":314,"children":316},{"className":315},[],[317],{"type":28,"value":302},{"type":28,"value":319},"是Linux系统的初始RAM磁盘镜像，",{"type":22,"tag":173,"props":321,"children":323},{"className":322},[],[324],{"type":28,"value":310},{"type":28,"value":326},"为Linux kernel内核镜像。",{"type":22,"tag":37,"props":328,"children":329},{},[330],{"type":22,"tag":220,"props":331,"children":333},{"alt":281,"src":332},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage2.png",[],{"type":22,"tag":31,"props":335,"children":337},{"id":336},"镜像烧录和分区表配置",[338],{"type":28,"value":336},{"type":22,"tag":112,"props":340,"children":342},{"id":341},"核心板连接",[343],{"type":28,"value":341},{"type":22,"tag":37,"props":345,"children":346},{},[347],{"type":28,"value":348},"现在我们需要通过串口等方式连接Hi3093核心板。核心板连接方式如下图所示：",{"type":22,"tag":37,"props":350,"children":351},{},[352],{"type":22,"tag":220,"props":353,"children":355},{"alt":281,"src":354},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage3.png",[],{"type":22,"tag":37,"props":357,"children":358},{},[359],{"type":28,"value":360},"❗ 连接过程中，需要严格按照图中的端口进行连接，否则后续的操作必定会失败。",{"type":22,"tag":112,"props":362,"children":364},{"id":363},"核心板启动",[365],{"type":28,"value":363},{"type":22,"tag":37,"props":367,"children":368},{},[369],{"type":28,"value":370},"核心板的启动采用EMMC启动模式，将SW2的开关如此设置。",{"type":22,"tag":37,"props":372,"children":373},{},[374],{"type":22,"tag":220,"props":375,"children":377},{"alt":281,"src":376},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage4.png",[],{"type":22,"tag":37,"props":379,"children":380},{},[381],{"type":28,"value":382},"⭐如果看不清晰，可以参考核心板提供的手册，里面详细介绍了如何通过EMMC启动。",{"type":22,"tag":112,"props":384,"children":386},{"id":385},"核心板串口连接",[387],{"type":28,"value":385},{"type":22,"tag":37,"props":389,"children":390},{},[391],{"type":28,"value":392},"通过typeC-USB线连接核心板后，可以通过串口连接软件进入核心板的串口界面。这里使用Xshell来建立连接：",{"type":22,"tag":37,"props":394,"children":395},{},[396],{"type":22,"tag":220,"props":397,"children":399},{"alt":281,"src":398},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage5.png",[],{"type":22,"tag":37,"props":401,"children":402},{},[403],{"type":28,"value":404},"选择SERIAL连接方式，并进入到串口页面。然后进行端口号配置。这里需要自己测试一下，看一下是使用COM多少。一般能用的话，会显示Connected的情况。",{"type":22,"tag":37,"props":406,"children":407},{},[408],{"type":22,"tag":220,"props":409,"children":411},{"alt":281,"src":410},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage6.png",[],{"type":22,"tag":112,"props":413,"children":415},{"id":414},"核心板启动与登录",[416],{"type":28,"value":414},{"type":22,"tag":37,"props":418,"children":419},{},[420],{"type":28,"value":421},"Xshell连接到串口后，打开核心板的开关。可以在Xshell的串口中看到打印显示：",{"type":22,"tag":37,"props":423,"children":424},{},[425],{"type":22,"tag":220,"props":426,"children":428},{"alt":281,"src":427},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage7.png",[],{"type":22,"tag":37,"props":430,"children":431},{},[432],{"type":28,"value":433},"串口刷屏结束后，会提示登录，如果登录串口是黑屏的话，尝试敲几次回车，看看能不能出现登录界面。首次登录的话，账号是root，密码需要手动设置（会有提示）",{"type":22,"tag":37,"props":435,"children":436},{},[437],{"type":22,"tag":220,"props":438,"children":440},{"alt":281,"src":439},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage8.png",[],{"type":22,"tag":112,"props":442,"children":444},{"id":443},"sd卡准备",[445],{"type":28,"value":446},"SD卡准备",{"type":22,"tag":37,"props":448,"children":449},{},[450],{"type":28,"value":451},"后续的操作会导致开发板的启动镜像发生改变，但同时SPI又不具备ssh连接的情况。所以需要提前准备一张sd卡进行镜像备份。步骤如下：",{"type":22,"tag":453,"props":454,"children":455},"ol",{},[456,467,480,485],{"type":22,"tag":63,"props":457,"children":458},{},[459,465],{"type":22,"tag":173,"props":460,"children":462},{"className":461},[],[463],{"type":28,"value":464},"fdisk -l",{"type":28,"value":466}," 查看可用分区，找到sd卡分区，然后进行初始化（初始化命令可在网上查询，例如mkfs.vfat都可以，只要开发板能识别就行）",{"type":22,"tag":63,"props":468,"children":469},{},[470,472,478],{"type":28,"value":471},"使用",{"type":22,"tag":173,"props":473,"children":475},{"className":474},[],[476],{"type":28,"value":477},"mount",{"type":28,"value":479},"将sd卡分区挂在到某个目录",{"type":22,"tag":63,"props":481,"children":482},{},[483],{"type":28,"value":484},"通过ssh上传米尔提供的SPI烧录文件，并拷贝到sd卡的分区中。",{"type":22,"tag":63,"props":486,"children":487},{},[488],{"type":28,"value":489},"后续spi恢复openeuler环境时，只需重新挂载sd卡即可。",{"type":22,"tag":112,"props":491,"children":493},{"id":492},"分区表配置",[494],{"type":28,"value":492},{"type":22,"tag":37,"props":496,"children":497},{},[498],{"type":28,"value":499},"为确保 openUBMC 启动后能够正确访问 eMMC 的 user 区域，需预先完成手动分区并固化分区表。最终的分区配置如下所示：",{"type":22,"tag":37,"props":501,"children":502},{},[503],{"type":22,"tag":220,"props":504,"children":506},{"alt":281,"src":505},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage9.png",[],{"type":22,"tag":37,"props":508,"children":509},{},[510],{"type":28,"value":511},"执行动作如下所示：",{"type":22,"tag":513,"props":514,"children":518},"pre",{"className":515,"code":516,"language":517,"meta":7,"style":7},"language-shell shiki shiki-themes github-light github-dark monokai","fdisk \u002Fdev\u002Fmmcblk0\n\n\u002Fdev\u002Fmmcblk0p1 : 先执行n，然后选择p创建主分区，StartLBA输入16，EndLBA输入2097167\n\n\u002Fdev\u002Fmmcblk0p2 : 先执行n，然后选择p创建主分区，StartLBA输入2097168，EndLBA输入9269839 , 然后执行t，输入c\n\n\u002Fdev\u002Fmmcblk0p3 : 先执行n，然后选择e创建扩展分区，StartLBA输入9269840，EndLBA输入12648447 \n\n\u002Fdev\u002Fmmcblk0p5 : 先执行n，然后选择l创建逻辑分区，StartLBA输入9269856，EndLBA输入9899001, 然后执行t，输入c\n\n\u002Fdev\u002Fmmcblk0p6 : 先执行n，然后选择l创建逻辑分区，StartLBA输入9899018，EndLBA输入11367023\n\n\u002Fdev\u002Fmmcblk0p7 : 先执行n，然后选择l创建逻辑分区，StartLBA输入11367040，EndLBA输入11891327\n\n\u002Fdev\u002Fmmcblk0p8 : 先执行n，然后选择l创建逻辑分区，StartLBA输入12615680，EndLBA输入12648447\n\n\u002Fdev\u002Fmmcblk0p9 : 先执行n，然后选择l创建逻辑分区，StartLBA输入11891344，EndLBA输入12615663\n\n然后执行w保存所有的配置。\n\n","shell",[519],{"type":22,"tag":173,"props":520,"children":521},{"__ignoreMap":7},[522,540,550,569,577,605,613,637,645,667,675,693,701,719,727,745,753,771,779],{"type":22,"tag":523,"props":524,"children":527},"span",{"class":525,"line":526},"line",1,[528,534],{"type":22,"tag":523,"props":529,"children":531},{"style":530},"--shiki-default:#6F42C1;--shiki-dark:#B392F0;--shiki-sepia:#A6E22E",[532],{"type":28,"value":533},"fdisk",{"type":22,"tag":523,"props":535,"children":537},{"style":536},"--shiki-default:#032F62;--shiki-dark:#9ECBFF;--shiki-sepia:#E6DB74",[538],{"type":28,"value":539}," \u002Fdev\u002Fmmcblk0\n",{"type":22,"tag":523,"props":541,"children":543},{"class":525,"line":542},2,[544],{"type":22,"tag":523,"props":545,"children":547},{"emptyLinePlaceholder":546},true,[548],{"type":28,"value":549},"\n",{"type":22,"tag":523,"props":551,"children":553},{"class":525,"line":552},3,[554,559,564],{"type":22,"tag":523,"props":555,"children":556},{"style":530},[557],{"type":28,"value":558},"\u002Fdev\u002Fmmcblk0p1",{"type":22,"tag":523,"props":560,"children":561},{"style":536},[562],{"type":28,"value":563}," :",{"type":22,"tag":523,"props":565,"children":566},{"style":536},[567],{"type":28,"value":568}," 先执行n，然后选择p创建主分区，StartLBA输入16，EndLBA输入2097167\n",{"type":22,"tag":523,"props":570,"children":572},{"class":525,"line":571},4,[573],{"type":22,"tag":523,"props":574,"children":575},{"emptyLinePlaceholder":546},[576],{"type":28,"value":549},{"type":22,"tag":523,"props":578,"children":580},{"class":525,"line":579},5,[581,586,590,595,600],{"type":22,"tag":523,"props":582,"children":583},{"style":530},[584],{"type":28,"value":585},"\u002Fdev\u002Fmmcblk0p2",{"type":22,"tag":523,"props":587,"children":588},{"style":536},[589],{"type":28,"value":563},{"type":22,"tag":523,"props":591,"children":592},{"style":536},[593],{"type":28,"value":594}," 先执行n，然后选择p创建主分区，StartLBA输入2097168，EndLBA输入9269839",{"type":22,"tag":523,"props":596,"children":597},{"style":536},[598],{"type":28,"value":599}," ,",{"type":22,"tag":523,"props":601,"children":602},{"style":536},[603],{"type":28,"value":604}," 然后执行t，输入c\n",{"type":22,"tag":523,"props":606,"children":608},{"class":525,"line":607},6,[609],{"type":22,"tag":523,"props":610,"children":611},{"emptyLinePlaceholder":546},[612],{"type":28,"value":549},{"type":22,"tag":523,"props":614,"children":616},{"class":525,"line":615},7,[617,622,626,631],{"type":22,"tag":523,"props":618,"children":619},{"style":530},[620],{"type":28,"value":621},"\u002Fdev\u002Fmmcblk0p3",{"type":22,"tag":523,"props":623,"children":624},{"style":536},[625],{"type":28,"value":563},{"type":22,"tag":523,"props":627,"children":628},{"style":536},[629],{"type":28,"value":630}," 先执行n，然后选择e创建扩展分区，StartLBA输入9269840，EndLBA输入12648447",{"type":22,"tag":523,"props":632,"children":634},{"style":633},"--shiki-default:#24292E;--shiki-dark:#E1E4E8;--shiki-sepia:#F8F8F2",[635],{"type":28,"value":636}," \n",{"type":22,"tag":523,"props":638,"children":640},{"class":525,"line":639},8,[641],{"type":22,"tag":523,"props":642,"children":643},{"emptyLinePlaceholder":546},[644],{"type":28,"value":549},{"type":22,"tag":523,"props":646,"children":648},{"class":525,"line":647},9,[649,654,658,663],{"type":22,"tag":523,"props":650,"children":651},{"style":530},[652],{"type":28,"value":653},"\u002Fdev\u002Fmmcblk0p5",{"type":22,"tag":523,"props":655,"children":656},{"style":536},[657],{"type":28,"value":563},{"type":22,"tag":523,"props":659,"children":660},{"style":536},[661],{"type":28,"value":662}," 先执行n，然后选择l创建逻辑分区，StartLBA输入9269856，EndLBA输入9899001,",{"type":22,"tag":523,"props":664,"children":665},{"style":536},[666],{"type":28,"value":604},{"type":22,"tag":523,"props":668,"children":670},{"class":525,"line":669},10,[671],{"type":22,"tag":523,"props":672,"children":673},{"emptyLinePlaceholder":546},[674],{"type":28,"value":549},{"type":22,"tag":523,"props":676,"children":678},{"class":525,"line":677},11,[679,684,688],{"type":22,"tag":523,"props":680,"children":681},{"style":530},[682],{"type":28,"value":683},"\u002Fdev\u002Fmmcblk0p6",{"type":22,"tag":523,"props":685,"children":686},{"style":536},[687],{"type":28,"value":563},{"type":22,"tag":523,"props":689,"children":690},{"style":536},[691],{"type":28,"value":692}," 先执行n，然后选择l创建逻辑分区，StartLBA输入9899018，EndLBA输入11367023\n",{"type":22,"tag":523,"props":694,"children":696},{"class":525,"line":695},12,[697],{"type":22,"tag":523,"props":698,"children":699},{"emptyLinePlaceholder":546},[700],{"type":28,"value":549},{"type":22,"tag":523,"props":702,"children":704},{"class":525,"line":703},13,[705,710,714],{"type":22,"tag":523,"props":706,"children":707},{"style":530},[708],{"type":28,"value":709},"\u002Fdev\u002Fmmcblk0p7",{"type":22,"tag":523,"props":711,"children":712},{"style":536},[713],{"type":28,"value":563},{"type":22,"tag":523,"props":715,"children":716},{"style":536},[717],{"type":28,"value":718}," 先执行n，然后选择l创建逻辑分区，StartLBA输入11367040，EndLBA输入11891327\n",{"type":22,"tag":523,"props":720,"children":722},{"class":525,"line":721},14,[723],{"type":22,"tag":523,"props":724,"children":725},{"emptyLinePlaceholder":546},[726],{"type":28,"value":549},{"type":22,"tag":523,"props":728,"children":730},{"class":525,"line":729},15,[731,736,740],{"type":22,"tag":523,"props":732,"children":733},{"style":530},[734],{"type":28,"value":735},"\u002Fdev\u002Fmmcblk0p8",{"type":22,"tag":523,"props":737,"children":738},{"style":536},[739],{"type":28,"value":563},{"type":22,"tag":523,"props":741,"children":742},{"style":536},[743],{"type":28,"value":744}," 先执行n，然后选择l创建逻辑分区，StartLBA输入12615680，EndLBA输入12648447\n",{"type":22,"tag":523,"props":746,"children":748},{"class":525,"line":747},16,[749],{"type":22,"tag":523,"props":750,"children":751},{"emptyLinePlaceholder":546},[752],{"type":28,"value":549},{"type":22,"tag":523,"props":754,"children":756},{"class":525,"line":755},17,[757,762,766],{"type":22,"tag":523,"props":758,"children":759},{"style":530},[760],{"type":28,"value":761},"\u002Fdev\u002Fmmcblk0p9",{"type":22,"tag":523,"props":763,"children":764},{"style":536},[765],{"type":28,"value":563},{"type":22,"tag":523,"props":767,"children":768},{"style":536},[769],{"type":28,"value":770}," 先执行n，然后选择l创建逻辑分区，StartLBA输入11891344，EndLBA输入12615663\n",{"type":22,"tag":523,"props":772,"children":774},{"class":525,"line":773},18,[775],{"type":22,"tag":523,"props":776,"children":777},{"emptyLinePlaceholder":546},[778],{"type":28,"value":549},{"type":22,"tag":523,"props":780,"children":782},{"class":525,"line":781},19,[783],{"type":22,"tag":523,"props":784,"children":785},{"style":530},[786],{"type":28,"value":787},"然后执行w保存所有的配置。\n",{"type":22,"tag":37,"props":789,"children":790},{},[791],{"type":28,"value":792},"分区完成之后，需要进行各个分区的格式化。",{"type":22,"tag":37,"props":794,"children":795},{},[796],{"type":28,"value":797},"对于Win95 FAT32的分区需要使用mkfs.vfat来格式化，例如mkfs.vfat \u002Fdev\u002Fmmcblk0p2",{"type":22,"tag":37,"props":799,"children":800},{},[801],{"type":28,"value":802},"其他分区需要使用mkfs.ext4来格式化，例如mkfs.ext4 \u002Fdev\u002Fmmcblk0p1",{"type":22,"tag":112,"props":804,"children":806},{"id":805},"镜像烧录",[807],{"type":28,"value":805},{"type":22,"tag":809,"props":810,"children":812},"h4",{"id":811},"核心板网络配置",[813],{"type":28,"value":811},{"type":22,"tag":37,"props":815,"children":816},{},[817,819],{"type":28,"value":818},"为了能够将相关的镜像文件烧录到核心板中，需要使用sftp等文件传输方式上传镜像文件到核心板中。首先在核心板中配置网络，执行",{"type":22,"tag":173,"props":820,"children":822},{"className":821},[],[823],{"type":28,"value":824},"ifconfig eth2 up 192.168.1.123",{"type":22,"tag":37,"props":826,"children":827},{},[828],{"type":22,"tag":220,"props":829,"children":831},{"alt":281,"src":830},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage10.png",[],{"type":22,"tag":112,"props":833,"children":835},{"id":834},"windows网络配置与镜像包上传",[836],{"type":28,"value":837},"Windows网络配置与镜像包上传",{"type":22,"tag":37,"props":839,"children":840},{},[841],{"type":28,"value":842},"打开windows的网络连接界面。选择以太网（这里需要自己确定是哪一个以太网，可以通过插拔网线的方式确定）",{"type":22,"tag":37,"props":844,"children":845},{},[846],{"type":22,"tag":220,"props":847,"children":849},{"alt":281,"src":848},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage11.png",[],{"type":22,"tag":37,"props":851,"children":852},{},[853],{"type":28,"value":854},"配置以太网的ip地址，使其与核心板在同一个网段。",{"type":22,"tag":37,"props":856,"children":857},{},[858],{"type":22,"tag":220,"props":859,"children":861},{"alt":281,"src":860},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage12.png",[],{"type":22,"tag":37,"props":863,"children":864},{},[865],{"type":22,"tag":220,"props":866,"children":868},{"alt":281,"src":867},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage121.png",[],{"type":22,"tag":37,"props":870,"children":871},{},[872],{"type":28,"value":873},"配置之后，在windows侧测试网络连接：",{"type":22,"tag":37,"props":875,"children":876},{},[877],{"type":22,"tag":220,"props":878,"children":880},{"alt":281,"src":879},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage13.png",[],{"type":22,"tag":37,"props":882,"children":883},{},[884,886,892],{"type":28,"value":885},"出现如上的连接则表示成功。之后就能够通过sftp的方式将镜像文件上传到核心板的",{"type":22,"tag":173,"props":887,"children":889},{"className":888},[],[890],{"type":28,"value":891},"\u002Ftmp",{"type":28,"value":893},"目录中。这里可以用Xshell的sftp，也可以用winscp的传输。这里以winscp工具为例：",{"type":22,"tag":37,"props":895,"children":896},{},[897],{"type":22,"tag":220,"props":898,"children":900},{"alt":281,"src":899},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage14.png",[],{"type":22,"tag":37,"props":902,"children":903},{},[904,906,911,913,918,920,926],{"type":28,"value":905},"连接成功之后，上传MYD-LHI3093-V2\\SoftwareFiles\\02-Images中的这四个文件。⭐这些文件来自于米尔电子提供的核心板资料。同时上传制作的openUBMC镜像包",{"type":22,"tag":173,"props":907,"children":909},{"className":908},[],[910],{"type":28,"value":274},{"type":28,"value":912},"到",{"type":22,"tag":173,"props":914,"children":916},{"className":915},[],[917],{"type":28,"value":891},{"type":28,"value":919},"目录中，并且重命名为",{"type":22,"tag":173,"props":921,"children":923},{"className":922},[],[924],{"type":28,"value":925},"Hi3093_ext4fs.img",{"type":28,"value":135},{"type":22,"tag":37,"props":928,"children":929},{},[930],{"type":22,"tag":220,"props":931,"children":933},{"alt":281,"src":932},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage15.png",[],{"type":22,"tag":37,"props":935,"children":936},{},[937],{"type":22,"tag":220,"props":938,"children":940},{"alt":281,"src":939},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage16.png",[],{"type":22,"tag":809,"props":942,"children":944},{"id":943},"镜像包烧录",[945],{"type":28,"value":943},{"type":22,"tag":37,"props":947,"children":948},{},[949],{"type":28,"value":950},"Hi3093提供了升级脚本，只需要在核心板串口按照如下的步骤执行升级即可完成升级。",{"type":22,"tag":513,"props":952,"children":954},{"className":515,"code":953,"language":517,"meta":7,"style":7},"qemu-aarch64 ~ # cd \u002Ftmp\u002F\nqemu-aarch64 \u002Ftmp # ls\nHi3093_ext4fs.img      hi3093_upgrade.sh  l1fw_rsa_4096.bin\nHi3093_ext4fs_cms.bin  l0fw_rsa_4096.bin  u-boot_rsa_4096.bin\nqemu-aarch64 \u002Ftmp # \u002Fhi3093_upgrade.sh 4096\n\u002Fdev\u002Fmmcblk0gp0\n\u002Fdev\u002Fmmcblk0gp2\n\u002Fdev\u002Fmmcblk0gp1\nupdate temp L0FW...\n70+1 records in\n70+1 records out\n72088 bytes (72 kB, 70 KiB) copied, 0.0156561 s, 4.6 MB\u002Fs\nupdate temp L1FW...\n178+1 records in\n178+1 records out\n182876 bytes (183 kB, 179 KiB) copied, 0.0365372 s, 5.0 MB\u002Fs\nupdate temp u-boot...\n504+1 records in\n504+1 records out\n516616 bytes (517 kB, 505 KiB) copied, 0.111703 s, 4.6 MB\u002Fs\nupdate temp rootfs_hdr...\n36+0 records in\n36+0 records out\n36864 bytes (37 kB, 36 KiB) copied, 0.00683788 s, 5.4 MB\u002Fs\nupdate temp rootfs...\n376+1 records in\n376+1 records out\n394268672 bytes (394 MB, 376 MiB) copied, 2.40696 s, 164 MB\u002Fs\nemmc update success, please reboot your board...\n",[955],{"type":22,"tag":173,"props":956,"children":957},{"__ignoreMap":7},[958,977,994,1011,1029,1045,1053,1061,1069,1087,1105,1121,1160,1176,1192,1207,1242,1258,1274,1289,1325,1342,1359,1375,1411,1428,1445,1461,1499],{"type":22,"tag":523,"props":959,"children":960},{"class":525,"line":526},[961,966,971],{"type":22,"tag":523,"props":962,"children":963},{"style":530},[964],{"type":28,"value":965},"qemu-aarch64",{"type":22,"tag":523,"props":967,"children":968},{"style":536},[969],{"type":28,"value":970}," ~",{"type":22,"tag":523,"props":972,"children":974},{"style":973},"--shiki-default:#6A737D;--shiki-dark:#6A737D;--shiki-sepia:#88846F",[975],{"type":28,"value":976}," # cd \u002Ftmp\u002F\n",{"type":22,"tag":523,"props":978,"children":979},{"class":525,"line":542},[980,984,989],{"type":22,"tag":523,"props":981,"children":982},{"style":530},[983],{"type":28,"value":965},{"type":22,"tag":523,"props":985,"children":986},{"style":536},[987],{"type":28,"value":988}," \u002Ftmp",{"type":22,"tag":523,"props":990,"children":991},{"style":973},[992],{"type":28,"value":993}," # ls\n",{"type":22,"tag":523,"props":995,"children":996},{"class":525,"line":552},[997,1001,1006],{"type":22,"tag":523,"props":998,"children":999},{"style":530},[1000],{"type":28,"value":925},{"type":22,"tag":523,"props":1002,"children":1003},{"style":536},[1004],{"type":28,"value":1005},"      hi3093_upgrade.sh",{"type":22,"tag":523,"props":1007,"children":1008},{"style":536},[1009],{"type":28,"value":1010},"  l1fw_rsa_4096.bin\n",{"type":22,"tag":523,"props":1012,"children":1013},{"class":525,"line":571},[1014,1019,1024],{"type":22,"tag":523,"props":1015,"children":1016},{"style":530},[1017],{"type":28,"value":1018},"Hi3093_ext4fs_cms.bin",{"type":22,"tag":523,"props":1020,"children":1021},{"style":536},[1022],{"type":28,"value":1023},"  l0fw_rsa_4096.bin",{"type":22,"tag":523,"props":1025,"children":1026},{"style":536},[1027],{"type":28,"value":1028},"  u-boot_rsa_4096.bin\n",{"type":22,"tag":523,"props":1030,"children":1031},{"class":525,"line":579},[1032,1036,1040],{"type":22,"tag":523,"props":1033,"children":1034},{"style":530},[1035],{"type":28,"value":965},{"type":22,"tag":523,"props":1037,"children":1038},{"style":536},[1039],{"type":28,"value":988},{"type":22,"tag":523,"props":1041,"children":1042},{"style":973},[1043],{"type":28,"value":1044}," # \u002Fhi3093_upgrade.sh 4096\n",{"type":22,"tag":523,"props":1046,"children":1047},{"class":525,"line":607},[1048],{"type":22,"tag":523,"props":1049,"children":1050},{"style":530},[1051],{"type":28,"value":1052},"\u002Fdev\u002Fmmcblk0gp0\n",{"type":22,"tag":523,"props":1054,"children":1055},{"class":525,"line":615},[1056],{"type":22,"tag":523,"props":1057,"children":1058},{"style":530},[1059],{"type":28,"value":1060},"\u002Fdev\u002Fmmcblk0gp2\n",{"type":22,"tag":523,"props":1062,"children":1063},{"class":525,"line":639},[1064],{"type":22,"tag":523,"props":1065,"children":1066},{"style":530},[1067],{"type":28,"value":1068},"\u002Fdev\u002Fmmcblk0gp1\n",{"type":22,"tag":523,"props":1070,"children":1071},{"class":525,"line":647},[1072,1077,1082],{"type":22,"tag":523,"props":1073,"children":1074},{"style":530},[1075],{"type":28,"value":1076},"update",{"type":22,"tag":523,"props":1078,"children":1079},{"style":536},[1080],{"type":28,"value":1081}," temp",{"type":22,"tag":523,"props":1083,"children":1084},{"style":536},[1085],{"type":28,"value":1086}," L0FW...\n",{"type":22,"tag":523,"props":1088,"children":1089},{"class":525,"line":669},[1090,1095,1100],{"type":22,"tag":523,"props":1091,"children":1092},{"style":530},[1093],{"type":28,"value":1094},"70+1",{"type":22,"tag":523,"props":1096,"children":1097},{"style":536},[1098],{"type":28,"value":1099}," records",{"type":22,"tag":523,"props":1101,"children":1102},{"style":536},[1103],{"type":28,"value":1104}," in\n",{"type":22,"tag":523,"props":1106,"children":1107},{"class":525,"line":677},[1108,1112,1116],{"type":22,"tag":523,"props":1109,"children":1110},{"style":530},[1111],{"type":28,"value":1094},{"type":22,"tag":523,"props":1113,"children":1114},{"style":536},[1115],{"type":28,"value":1099},{"type":22,"tag":523,"props":1117,"children":1118},{"style":536},[1119],{"type":28,"value":1120}," out\n",{"type":22,"tag":523,"props":1122,"children":1123},{"class":525,"line":695},[1124,1129,1134,1139,1144,1150,1155],{"type":22,"tag":523,"props":1125,"children":1126},{"style":530},[1127],{"type":28,"value":1128},"72088",{"type":22,"tag":523,"props":1130,"children":1131},{"style":536},[1132],{"type":28,"value":1133}," bytes",{"type":22,"tag":523,"props":1135,"children":1136},{"style":633},[1137],{"type":28,"value":1138}," (72 ",{"type":22,"tag":523,"props":1140,"children":1141},{"style":536},[1142],{"type":28,"value":1143},"kB,",{"type":22,"tag":523,"props":1145,"children":1147},{"style":1146},"--shiki-default:#005CC5;--shiki-dark:#79B8FF;--shiki-sepia:#AE81FF",[1148],{"type":28,"value":1149}," 70",{"type":22,"tag":523,"props":1151,"children":1152},{"style":536},[1153],{"type":28,"value":1154}," KiB",{"type":22,"tag":523,"props":1156,"children":1157},{"style":633},[1158],{"type":28,"value":1159},") copied, 0.0156561 s, 4.6 MB\u002Fs\n",{"type":22,"tag":523,"props":1161,"children":1162},{"class":525,"line":703},[1163,1167,1171],{"type":22,"tag":523,"props":1164,"children":1165},{"style":530},[1166],{"type":28,"value":1076},{"type":22,"tag":523,"props":1168,"children":1169},{"style":536},[1170],{"type":28,"value":1081},{"type":22,"tag":523,"props":1172,"children":1173},{"style":536},[1174],{"type":28,"value":1175}," L1FW...\n",{"type":22,"tag":523,"props":1177,"children":1178},{"class":525,"line":721},[1179,1184,1188],{"type":22,"tag":523,"props":1180,"children":1181},{"style":530},[1182],{"type":28,"value":1183},"178+1",{"type":22,"tag":523,"props":1185,"children":1186},{"style":536},[1187],{"type":28,"value":1099},{"type":22,"tag":523,"props":1189,"children":1190},{"style":536},[1191],{"type":28,"value":1104},{"type":22,"tag":523,"props":1193,"children":1194},{"class":525,"line":729},[1195,1199,1203],{"type":22,"tag":523,"props":1196,"children":1197},{"style":530},[1198],{"type":28,"value":1183},{"type":22,"tag":523,"props":1200,"children":1201},{"style":536},[1202],{"type":28,"value":1099},{"type":22,"tag":523,"props":1204,"children":1205},{"style":536},[1206],{"type":28,"value":1120},{"type":22,"tag":523,"props":1208,"children":1209},{"class":525,"line":747},[1210,1215,1219,1224,1228,1233,1237],{"type":22,"tag":523,"props":1211,"children":1212},{"style":530},[1213],{"type":28,"value":1214},"182876",{"type":22,"tag":523,"props":1216,"children":1217},{"style":536},[1218],{"type":28,"value":1133},{"type":22,"tag":523,"props":1220,"children":1221},{"style":633},[1222],{"type":28,"value":1223}," (183 ",{"type":22,"tag":523,"props":1225,"children":1226},{"style":536},[1227],{"type":28,"value":1143},{"type":22,"tag":523,"props":1229,"children":1230},{"style":1146},[1231],{"type":28,"value":1232}," 179",{"type":22,"tag":523,"props":1234,"children":1235},{"style":536},[1236],{"type":28,"value":1154},{"type":22,"tag":523,"props":1238,"children":1239},{"style":633},[1240],{"type":28,"value":1241},") copied, 0.0365372 s, 5.0 MB\u002Fs\n",{"type":22,"tag":523,"props":1243,"children":1244},{"class":525,"line":755},[1245,1249,1253],{"type":22,"tag":523,"props":1246,"children":1247},{"style":530},[1248],{"type":28,"value":1076},{"type":22,"tag":523,"props":1250,"children":1251},{"style":536},[1252],{"type":28,"value":1081},{"type":22,"tag":523,"props":1254,"children":1255},{"style":536},[1256],{"type":28,"value":1257}," u-boot...\n",{"type":22,"tag":523,"props":1259,"children":1260},{"class":525,"line":773},[1261,1266,1270],{"type":22,"tag":523,"props":1262,"children":1263},{"style":530},[1264],{"type":28,"value":1265},"504+1",{"type":22,"tag":523,"props":1267,"children":1268},{"style":536},[1269],{"type":28,"value":1099},{"type":22,"tag":523,"props":1271,"children":1272},{"style":536},[1273],{"type":28,"value":1104},{"type":22,"tag":523,"props":1275,"children":1276},{"class":525,"line":781},[1277,1281,1285],{"type":22,"tag":523,"props":1278,"children":1279},{"style":530},[1280],{"type":28,"value":1265},{"type":22,"tag":523,"props":1282,"children":1283},{"style":536},[1284],{"type":28,"value":1099},{"type":22,"tag":523,"props":1286,"children":1287},{"style":536},[1288],{"type":28,"value":1120},{"type":22,"tag":523,"props":1290,"children":1292},{"class":525,"line":1291},20,[1293,1298,1302,1307,1311,1316,1320],{"type":22,"tag":523,"props":1294,"children":1295},{"style":530},[1296],{"type":28,"value":1297},"516616",{"type":22,"tag":523,"props":1299,"children":1300},{"style":536},[1301],{"type":28,"value":1133},{"type":22,"tag":523,"props":1303,"children":1304},{"style":633},[1305],{"type":28,"value":1306}," (517 ",{"type":22,"tag":523,"props":1308,"children":1309},{"style":536},[1310],{"type":28,"value":1143},{"type":22,"tag":523,"props":1312,"children":1313},{"style":1146},[1314],{"type":28,"value":1315}," 505",{"type":22,"tag":523,"props":1317,"children":1318},{"style":536},[1319],{"type":28,"value":1154},{"type":22,"tag":523,"props":1321,"children":1322},{"style":633},[1323],{"type":28,"value":1324},") copied, 0.111703 s, 4.6 MB\u002Fs\n",{"type":22,"tag":523,"props":1326,"children":1328},{"class":525,"line":1327},21,[1329,1333,1337],{"type":22,"tag":523,"props":1330,"children":1331},{"style":530},[1332],{"type":28,"value":1076},{"type":22,"tag":523,"props":1334,"children":1335},{"style":536},[1336],{"type":28,"value":1081},{"type":22,"tag":523,"props":1338,"children":1339},{"style":536},[1340],{"type":28,"value":1341}," rootfs_hdr...\n",{"type":22,"tag":523,"props":1343,"children":1345},{"class":525,"line":1344},22,[1346,1351,1355],{"type":22,"tag":523,"props":1347,"children":1348},{"style":530},[1349],{"type":28,"value":1350},"36+0",{"type":22,"tag":523,"props":1352,"children":1353},{"style":536},[1354],{"type":28,"value":1099},{"type":22,"tag":523,"props":1356,"children":1357},{"style":536},[1358],{"type":28,"value":1104},{"type":22,"tag":523,"props":1360,"children":1362},{"class":525,"line":1361},23,[1363,1367,1371],{"type":22,"tag":523,"props":1364,"children":1365},{"style":530},[1366],{"type":28,"value":1350},{"type":22,"tag":523,"props":1368,"children":1369},{"style":536},[1370],{"type":28,"value":1099},{"type":22,"tag":523,"props":1372,"children":1373},{"style":536},[1374],{"type":28,"value":1120},{"type":22,"tag":523,"props":1376,"children":1378},{"class":525,"line":1377},24,[1379,1384,1388,1393,1397,1402,1406],{"type":22,"tag":523,"props":1380,"children":1381},{"style":530},[1382],{"type":28,"value":1383},"36864",{"type":22,"tag":523,"props":1385,"children":1386},{"style":536},[1387],{"type":28,"value":1133},{"type":22,"tag":523,"props":1389,"children":1390},{"style":633},[1391],{"type":28,"value":1392}," (37 ",{"type":22,"tag":523,"props":1394,"children":1395},{"style":536},[1396],{"type":28,"value":1143},{"type":22,"tag":523,"props":1398,"children":1399},{"style":1146},[1400],{"type":28,"value":1401}," 36",{"type":22,"tag":523,"props":1403,"children":1404},{"style":536},[1405],{"type":28,"value":1154},{"type":22,"tag":523,"props":1407,"children":1408},{"style":633},[1409],{"type":28,"value":1410},") copied, 0.00683788 s, 5.4 MB\u002Fs\n",{"type":22,"tag":523,"props":1412,"children":1414},{"class":525,"line":1413},25,[1415,1419,1423],{"type":22,"tag":523,"props":1416,"children":1417},{"style":530},[1418],{"type":28,"value":1076},{"type":22,"tag":523,"props":1420,"children":1421},{"style":536},[1422],{"type":28,"value":1081},{"type":22,"tag":523,"props":1424,"children":1425},{"style":536},[1426],{"type":28,"value":1427}," rootfs...\n",{"type":22,"tag":523,"props":1429,"children":1431},{"class":525,"line":1430},26,[1432,1437,1441],{"type":22,"tag":523,"props":1433,"children":1434},{"style":530},[1435],{"type":28,"value":1436},"376+1",{"type":22,"tag":523,"props":1438,"children":1439},{"style":536},[1440],{"type":28,"value":1099},{"type":22,"tag":523,"props":1442,"children":1443},{"style":536},[1444],{"type":28,"value":1104},{"type":22,"tag":523,"props":1446,"children":1448},{"class":525,"line":1447},27,[1449,1453,1457],{"type":22,"tag":523,"props":1450,"children":1451},{"style":530},[1452],{"type":28,"value":1436},{"type":22,"tag":523,"props":1454,"children":1455},{"style":536},[1456],{"type":28,"value":1099},{"type":22,"tag":523,"props":1458,"children":1459},{"style":536},[1460],{"type":28,"value":1120},{"type":22,"tag":523,"props":1462,"children":1464},{"class":525,"line":1463},28,[1465,1470,1474,1479,1484,1489,1494],{"type":22,"tag":523,"props":1466,"children":1467},{"style":530},[1468],{"type":28,"value":1469},"394268672",{"type":22,"tag":523,"props":1471,"children":1472},{"style":536},[1473],{"type":28,"value":1133},{"type":22,"tag":523,"props":1475,"children":1476},{"style":633},[1477],{"type":28,"value":1478}," (394 ",{"type":22,"tag":523,"props":1480,"children":1481},{"style":536},[1482],{"type":28,"value":1483},"MB,",{"type":22,"tag":523,"props":1485,"children":1486},{"style":1146},[1487],{"type":28,"value":1488}," 376",{"type":22,"tag":523,"props":1490,"children":1491},{"style":536},[1492],{"type":28,"value":1493}," MiB",{"type":22,"tag":523,"props":1495,"children":1496},{"style":633},[1497],{"type":28,"value":1498},") copied, 2.40696 s, 164 MB\u002Fs\n",{"type":22,"tag":523,"props":1500,"children":1502},{"class":525,"line":1501},29,[1503,1508,1513,1518,1523,1528,1533],{"type":22,"tag":523,"props":1504,"children":1505},{"style":530},[1506],{"type":28,"value":1507},"emmc",{"type":22,"tag":523,"props":1509,"children":1510},{"style":536},[1511],{"type":28,"value":1512}," update",{"type":22,"tag":523,"props":1514,"children":1515},{"style":536},[1516],{"type":28,"value":1517}," success,",{"type":22,"tag":523,"props":1519,"children":1520},{"style":536},[1521],{"type":28,"value":1522}," please",{"type":22,"tag":523,"props":1524,"children":1525},{"style":536},[1526],{"type":28,"value":1527}," reboot",{"type":22,"tag":523,"props":1529,"children":1530},{"style":536},[1531],{"type":28,"value":1532}," your",{"type":22,"tag":523,"props":1534,"children":1535},{"style":536},[1536],{"type":28,"value":1537}," board...\n",{"type":22,"tag":37,"props":1539,"children":1540},{},[1541,1543,1549],{"type":28,"value":1542},"出现上述的",{"type":22,"tag":173,"props":1544,"children":1546},{"className":1545},[],[1547],{"type":28,"value":1548},"emmc update success, please reboot your board...",{"type":28,"value":1550}," 表示烧录成功，但在执行重启之前，通过ssh把当前核心板上的\u002Fboot\u002Fhi1711_asci.dtb文件下载到windows中作为备份。",{"type":22,"tag":37,"props":1552,"children":1553},{},[1554,1556,1562,1564,1569,1570,1575],{"type":28,"value":1555},"执行",{"type":22,"tag":173,"props":1557,"children":1559},{"className":1558},[],[1560],{"type":28,"value":1561},"reboot",{"type":28,"value":1563},"命令，进行重启。注意重启并不代表完全升级openUBMC镜像成功，我们还需要修改Uboot配置，来加载openUBMC的",{"type":22,"tag":173,"props":1565,"children":1567},{"className":1566},[],[1568],{"type":28,"value":302},{"type":28,"value":304},{"type":22,"tag":173,"props":1571,"children":1573},{"className":1572},[],[1574],{"type":28,"value":310},{"type":28,"value":135},{"type":22,"tag":809,"props":1577,"children":1579},{"id":1578},"uboot配置修改",[1580],{"type":28,"value":1581},"Uboot配置修改",{"type":22,"tag":37,"props":1583,"children":1584},{},[1585],{"type":28,"value":1586},"因为我们在只修改了img文件，还没有修改Linux kernel的uImage文件，所以需要通过tftp的方式进行替换。重启后，一直敲回车键，进入Uboot配置界面：",{"type":22,"tag":37,"props":1588,"children":1589},{},[1590],{"type":22,"tag":220,"props":1591,"children":1593},{"alt":281,"src":1592},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage17.png",[],{"type":22,"tag":37,"props":1595,"children":1596},{},[1597],{"type":28,"value":1598},"配置之前，需要配置一下核心板的Uboot能够访问到Ubuntu开发服务器的tftp。首先在Ubuntu中安装tftpd",{"type":22,"tag":513,"props":1600,"children":1602},{"className":515,"code":1601,"language":517,"meta":7,"style":7},"sudo apt install tftpd-hpa\n",[1603],{"type":22,"tag":173,"props":1604,"children":1605},{"__ignoreMap":7},[1606],{"type":22,"tag":523,"props":1607,"children":1608},{"class":525,"line":526},[1609,1614,1619,1624],{"type":22,"tag":523,"props":1610,"children":1611},{"style":530},[1612],{"type":28,"value":1613},"sudo",{"type":22,"tag":523,"props":1615,"children":1616},{"style":536},[1617],{"type":28,"value":1618}," apt",{"type":22,"tag":523,"props":1620,"children":1621},{"style":536},[1622],{"type":28,"value":1623}," install",{"type":22,"tag":523,"props":1625,"children":1626},{"style":536},[1627],{"type":28,"value":1628}," tftpd-hpa\n",{"type":22,"tag":37,"props":1630,"children":1631},{},[1632,1634,1639,1641,1646,1648,1654],{"type":28,"value":1633},"安装之后把manifest准备阶段的",{"type":22,"tag":173,"props":1635,"children":1637},{"className":1636},[],[1638],{"type":28,"value":302},{"type":28,"value":1640},"和",{"type":22,"tag":173,"props":1642,"children":1644},{"className":1643},[],[1645],{"type":28,"value":310},{"type":28,"value":1647},"还有从核心板上下载下来的",{"type":22,"tag":173,"props":1649,"children":1651},{"className":1650},[],[1652],{"type":28,"value":1653},"dtb",{"type":28,"value":1655},"文件（重命名为hi3093.dtb）放置到\u002Fvar\u002Flib\u002Ftftproot中。",{"type":22,"tag":37,"props":1657,"children":1658},{},[1659,1661],{"type":28,"value":1660},"然后Virtual Box Ubuntu中还需要进行网络配置。更多细节可参考：",{"type":22,"tag":43,"props":1662,"children":1665},{"href":1663,"rel":1664},"https:\u002F\u002Fwww.cnblogs.com\u002Ffuzidage\u002Fp\u002F13718610.html",[47],[1666],{"type":28,"value":1667},"virtualbox网络配置实现PC、虚拟机、开发板互ping",{"type":22,"tag":37,"props":1669,"children":1670},{},[1671],{"type":28,"value":1672},"打开virtualbox的网络管理器，按照如下的指示进行配置。",{"type":22,"tag":37,"props":1674,"children":1675},{},[1676],{"type":22,"tag":220,"props":1677,"children":1679},{"alt":281,"src":1678},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage18.png",[],{"type":22,"tag":37,"props":1681,"children":1682},{},[1683],{"type":22,"tag":220,"props":1684,"children":1686},{"alt":281,"src":1685},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage19.png",[],{"type":22,"tag":37,"props":1688,"children":1689},{},[1690],{"type":22,"tag":220,"props":1691,"children":1693},{"alt":281,"src":1692},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage20.png",[],{"type":22,"tag":37,"props":1695,"children":1696},{},[1697],{"type":28,"value":1698},"完成上述配置之后，在windows ping一下，测试是否能够访问Ubuntu24.04所在的网络。",{"type":22,"tag":37,"props":1700,"children":1701},{},[1702],{"type":22,"tag":220,"props":1703,"children":1705},{"alt":281,"src":1704},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage21.png",[],{"type":22,"tag":37,"props":1707,"children":1708},{},[1709,1711,1717],{"type":28,"value":1710},"但此时还无法通过Uboot去ping Ubuntu，所以需要建立网桥。 在windows网络连接配置页面，选中虚拟网卡和与核心板连接的以太网，右键打开选中",{"type":22,"tag":173,"props":1712,"children":1714},{"className":1713},[],[1715],{"type":28,"value":1716},"桥接",{"type":28,"value":135},{"type":22,"tag":37,"props":1719,"children":1720},{},[1721],{"type":22,"tag":220,"props":1722,"children":1724},{"alt":281,"src":1723},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage22.png",[],{"type":22,"tag":37,"props":1726,"children":1727},{},[1728],{"type":28,"value":1729},"⭐ 完成上述配置后，在Uboot中配置核心板的ip和网关",{"type":22,"tag":513,"props":1731,"children":1733},{"className":515,"code":1732,"language":517,"meta":7,"style":7},"setenv ipaddr 192.168.1.123\nsetenv netmask 255.255.255.0\nsetenv gateway 192.168.1.1\nsetenv serverip 192.168.1.111\n",[1734],{"type":22,"tag":173,"props":1735,"children":1736},{"__ignoreMap":7},[1737,1755,1772,1789],{"type":22,"tag":523,"props":1738,"children":1739},{"class":525,"line":526},[1740,1745,1750],{"type":22,"tag":523,"props":1741,"children":1742},{"style":530},[1743],{"type":28,"value":1744},"setenv",{"type":22,"tag":523,"props":1746,"children":1747},{"style":536},[1748],{"type":28,"value":1749}," ipaddr",{"type":22,"tag":523,"props":1751,"children":1752},{"style":1146},[1753],{"type":28,"value":1754}," 192.168.1.123\n",{"type":22,"tag":523,"props":1756,"children":1757},{"class":525,"line":542},[1758,1762,1767],{"type":22,"tag":523,"props":1759,"children":1760},{"style":530},[1761],{"type":28,"value":1744},{"type":22,"tag":523,"props":1763,"children":1764},{"style":536},[1765],{"type":28,"value":1766}," netmask",{"type":22,"tag":523,"props":1768,"children":1769},{"style":1146},[1770],{"type":28,"value":1771}," 255.255.255.0\n",{"type":22,"tag":523,"props":1773,"children":1774},{"class":525,"line":552},[1775,1779,1784],{"type":22,"tag":523,"props":1776,"children":1777},{"style":530},[1778],{"type":28,"value":1744},{"type":22,"tag":523,"props":1780,"children":1781},{"style":536},[1782],{"type":28,"value":1783}," gateway",{"type":22,"tag":523,"props":1785,"children":1786},{"style":1146},[1787],{"type":28,"value":1788}," 192.168.1.1\n",{"type":22,"tag":523,"props":1790,"children":1791},{"class":525,"line":571},[1792,1796,1801],{"type":22,"tag":523,"props":1793,"children":1794},{"style":530},[1795],{"type":28,"value":1744},{"type":22,"tag":523,"props":1797,"children":1798},{"style":536},[1799],{"type":28,"value":1800}," serverip",{"type":22,"tag":523,"props":1802,"children":1803},{"style":1146},[1804],{"type":28,"value":1805}," 192.168.1.111\n",{"type":22,"tag":37,"props":1807,"children":1808},{},[1809,1811],{"type":28,"value":1810},"上述设置之后，需要ping 192.168.1.111确定一下，如果没法ping通，需要确定网络连接状态。排查方法可以看",{"type":22,"tag":43,"props":1812,"children":1814},{"href":1663,"rel":1813},[47],[1815],{"type":28,"value":1667},{"type":22,"tag":37,"props":1817,"children":1818},{},[1819],{"type":22,"tag":220,"props":1820,"children":1822},{"alt":281,"src":1821},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage23.png",[],{"type":22,"tag":37,"props":1824,"children":1825},{},[1826,1828,1833,1834,1839],{"type":28,"value":1827},"确认通信已建立后，在Uboot中通过tftp协议下载",{"type":22,"tag":173,"props":1829,"children":1831},{"className":1830},[],[1832],{"type":28,"value":310},{"type":28,"value":1640},{"type":22,"tag":173,"props":1835,"children":1837},{"className":1836},[],[1838],{"type":28,"value":302},{"type":28,"value":135},{"type":22,"tag":513,"props":1841,"children":1843},{"className":515,"code":1842,"language":517,"meta":7,"style":7},"setenv tftp_dtb \"tftp ${dtb_load_addr} hi3093.dtb\"\nrun tftp_dtb # 下载dtb文件\nrun tftp_network_boot # 执行之后，需要确定已下载\nrun run_linux # 执行此步后，会自动启动系统\n",[1844],{"type":22,"tag":173,"props":1845,"children":1846},{"__ignoreMap":7},[1847,1874,1891,1908],{"type":22,"tag":523,"props":1848,"children":1849},{"class":525,"line":526},[1850,1854,1859,1864,1869],{"type":22,"tag":523,"props":1851,"children":1852},{"style":530},[1853],{"type":28,"value":1744},{"type":22,"tag":523,"props":1855,"children":1856},{"style":536},[1857],{"type":28,"value":1858}," tftp_dtb",{"type":22,"tag":523,"props":1860,"children":1861},{"style":536},[1862],{"type":28,"value":1863}," \"tftp ${",{"type":22,"tag":523,"props":1865,"children":1866},{"style":633},[1867],{"type":28,"value":1868},"dtb_load_addr",{"type":22,"tag":523,"props":1870,"children":1871},{"style":536},[1872],{"type":28,"value":1873},"} hi3093.dtb\"\n",{"type":22,"tag":523,"props":1875,"children":1876},{"class":525,"line":542},[1877,1882,1886],{"type":22,"tag":523,"props":1878,"children":1879},{"style":530},[1880],{"type":28,"value":1881},"run",{"type":22,"tag":523,"props":1883,"children":1884},{"style":536},[1885],{"type":28,"value":1858},{"type":22,"tag":523,"props":1887,"children":1888},{"style":973},[1889],{"type":28,"value":1890}," # 下载dtb文件\n",{"type":22,"tag":523,"props":1892,"children":1893},{"class":525,"line":552},[1894,1898,1903],{"type":22,"tag":523,"props":1895,"children":1896},{"style":530},[1897],{"type":28,"value":1881},{"type":22,"tag":523,"props":1899,"children":1900},{"style":536},[1901],{"type":28,"value":1902}," tftp_network_boot",{"type":22,"tag":523,"props":1904,"children":1905},{"style":973},[1906],{"type":28,"value":1907}," # 执行之后，需要确定已下载\n",{"type":22,"tag":523,"props":1909,"children":1910},{"class":525,"line":571},[1911,1915,1920],{"type":22,"tag":523,"props":1912,"children":1913},{"style":530},[1914],{"type":28,"value":1881},{"type":22,"tag":523,"props":1916,"children":1917},{"style":536},[1918],{"type":28,"value":1919}," run_linux",{"type":22,"tag":523,"props":1921,"children":1922},{"style":973},[1923],{"type":28,"value":1924}," # 执行此步后，会自动启动系统\n",{"type":22,"tag":37,"props":1926,"children":1927},{},[1928],{"type":22,"tag":220,"props":1929,"children":1931},{"alt":281,"src":1930},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage24.png",[],{"type":22,"tag":37,"props":1933,"children":1934},{},[1935],{"type":28,"value":1936},"等待openUBMC RTOS系统启动，即可看到openUBMC的串口打印。",{"type":22,"tag":37,"props":1938,"children":1939},{},[1940],{"type":22,"tag":220,"props":1941,"children":1943},{"alt":281,"src":1942},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage25.png",[],{"type":22,"tag":31,"props":1945,"children":1947},{"id":1946},"openubmc环境配置",[1948],{"type":28,"value":1949},"openUBMC环境配置",{"type":22,"tag":37,"props":1951,"children":1952},{},[1953],{"type":28,"value":1954},"因为openUBMC的默认IP为 192.168.2.100，网关也是192.168.2.100。和我们之前的配置不在同一个网段，所以需要重新修改以太网的配置才能够登录openUBMC。在之前配置的网桥中取消核心板以太网的配置。",{"type":22,"tag":37,"props":1956,"children":1957},{},[1958],{"type":22,"tag":220,"props":1959,"children":1961},{"alt":281,"src":1960},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage26.png",[],{"type":22,"tag":37,"props":1963,"children":1964},{},[1965],{"type":28,"value":1966},"然后右键以太网，手动配置器ip地址。",{"type":22,"tag":37,"props":1968,"children":1969},{},[1970],{"type":22,"tag":220,"props":1971,"children":1973},{"alt":281,"src":1972},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage27.png",[],{"type":22,"tag":37,"props":1975,"children":1976},{},[1977],{"type":28,"value":1978},"配置之后能够通过telnet连接：",{"type":22,"tag":37,"props":1980,"children":1981},{},[1982],{"type":22,"tag":220,"props":1983,"children":1985},{"alt":281,"src":1984},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage28.png",[],{"type":22,"tag":37,"props":1987,"children":1988},{},[1989],{"type":28,"value":1990},"执行source \u002Fetc\u002Fprofile可开启busctl等命令。",{"type":22,"tag":112,"props":1992,"children":1994},{"id":1993},"openubmc密码生成",[1995],{"type":28,"value":1996},"openUBMC密码生成",{"type":22,"tag":37,"props":1998,"children":1999},{},[2000],{"type":28,"value":2001},"初始的BMC是没有密码的，可以通过cat \u002Fetc\u002Fshadow来查看是否有很长的一段加密信息，没有的话就需要手动去添加密码：",{"type":22,"tag":513,"props":2003,"children":2005},{"className":515,"code":2004,"language":517,"meta":7,"style":7},"# 激活busctl\nsource \u002Fetc\u002Fprofile\n\n# 修改密码\nbusctl --user call bmc.kepler.account \u002Fbmc\u002Fkepler\u002FAccountService\u002FAccounts\u002F2 bmc.kepler.AccountService.ManagerAccount ChangePwd a{ss}\nay 3 Interface Web UserName Administrator ClientAddr 127.0.0.1 10 65 100 109 105 110 64 57 48 48 48\n",[2006],{"type":22,"tag":173,"props":2007,"children":2008},{"__ignoreMap":7},[2009,2017,2031,2038,2046,2089],{"type":22,"tag":523,"props":2010,"children":2011},{"class":525,"line":526},[2012],{"type":22,"tag":523,"props":2013,"children":2014},{"style":973},[2015],{"type":28,"value":2016},"# 激活busctl\n",{"type":22,"tag":523,"props":2018,"children":2019},{"class":525,"line":542},[2020,2026],{"type":22,"tag":523,"props":2021,"children":2023},{"style":2022},"--shiki-default:#005CC5;--shiki-dark:#79B8FF;--shiki-sepia:#66D9EF",[2024],{"type":28,"value":2025},"source",{"type":22,"tag":523,"props":2027,"children":2028},{"style":536},[2029],{"type":28,"value":2030}," \u002Fetc\u002Fprofile\n",{"type":22,"tag":523,"props":2032,"children":2033},{"class":525,"line":552},[2034],{"type":22,"tag":523,"props":2035,"children":2036},{"emptyLinePlaceholder":546},[2037],{"type":28,"value":549},{"type":22,"tag":523,"props":2039,"children":2040},{"class":525,"line":571},[2041],{"type":22,"tag":523,"props":2042,"children":2043},{"style":973},[2044],{"type":28,"value":2045},"# 修改密码\n",{"type":22,"tag":523,"props":2047,"children":2048},{"class":525,"line":579},[2049,2054,2059,2064,2069,2074,2079,2084],{"type":22,"tag":523,"props":2050,"children":2051},{"style":530},[2052],{"type":28,"value":2053},"busctl",{"type":22,"tag":523,"props":2055,"children":2056},{"style":1146},[2057],{"type":28,"value":2058}," --user",{"type":22,"tag":523,"props":2060,"children":2061},{"style":536},[2062],{"type":28,"value":2063}," call",{"type":22,"tag":523,"props":2065,"children":2066},{"style":536},[2067],{"type":28,"value":2068}," bmc.kepler.account",{"type":22,"tag":523,"props":2070,"children":2071},{"style":536},[2072],{"type":28,"value":2073}," \u002Fbmc\u002Fkepler\u002FAccountService\u002FAccounts\u002F2",{"type":22,"tag":523,"props":2075,"children":2076},{"style":536},[2077],{"type":28,"value":2078}," bmc.kepler.AccountService.ManagerAccount",{"type":22,"tag":523,"props":2080,"children":2081},{"style":536},[2082],{"type":28,"value":2083}," ChangePwd",{"type":22,"tag":523,"props":2085,"children":2086},{"style":536},[2087],{"type":28,"value":2088}," a{ss}\n",{"type":22,"tag":523,"props":2090,"children":2091},{"class":525,"line":607},[2092,2097,2102,2107,2112,2117,2122,2127,2132,2137,2142,2147,2152,2157,2162,2167,2172,2177,2181],{"type":22,"tag":523,"props":2093,"children":2094},{"style":530},[2095],{"type":28,"value":2096},"ay",{"type":22,"tag":523,"props":2098,"children":2099},{"style":1146},[2100],{"type":28,"value":2101}," 3",{"type":22,"tag":523,"props":2103,"children":2104},{"style":536},[2105],{"type":28,"value":2106}," Interface",{"type":22,"tag":523,"props":2108,"children":2109},{"style":536},[2110],{"type":28,"value":2111}," Web",{"type":22,"tag":523,"props":2113,"children":2114},{"style":536},[2115],{"type":28,"value":2116}," UserName",{"type":22,"tag":523,"props":2118,"children":2119},{"style":536},[2120],{"type":28,"value":2121}," Administrator",{"type":22,"tag":523,"props":2123,"children":2124},{"style":536},[2125],{"type":28,"value":2126}," ClientAddr",{"type":22,"tag":523,"props":2128,"children":2129},{"style":1146},[2130],{"type":28,"value":2131}," 127.0.0.1",{"type":22,"tag":523,"props":2133,"children":2134},{"style":1146},[2135],{"type":28,"value":2136}," 10",{"type":22,"tag":523,"props":2138,"children":2139},{"style":1146},[2140],{"type":28,"value":2141}," 65",{"type":22,"tag":523,"props":2143,"children":2144},{"style":1146},[2145],{"type":28,"value":2146}," 100",{"type":22,"tag":523,"props":2148,"children":2149},{"style":1146},[2150],{"type":28,"value":2151}," 109",{"type":22,"tag":523,"props":2153,"children":2154},{"style":1146},[2155],{"type":28,"value":2156}," 105",{"type":22,"tag":523,"props":2158,"children":2159},{"style":1146},[2160],{"type":28,"value":2161}," 110",{"type":22,"tag":523,"props":2163,"children":2164},{"style":1146},[2165],{"type":28,"value":2166}," 64",{"type":22,"tag":523,"props":2168,"children":2169},{"style":1146},[2170],{"type":28,"value":2171}," 57",{"type":22,"tag":523,"props":2173,"children":2174},{"style":1146},[2175],{"type":28,"value":2176}," 48",{"type":22,"tag":523,"props":2178,"children":2179},{"style":1146},[2180],{"type":28,"value":2176},{"type":22,"tag":523,"props":2182,"children":2183},{"style":1146},[2184],{"type":28,"value":2185}," 48\n",{"type":22,"tag":37,"props":2187,"children":2188},{},[2189,2191,2197,2199,2205],{"type":28,"value":2190},"修改之后的密码就是 Admin@9000，当然也可以修改为自定义的密码，",{"type":22,"tag":173,"props":2192,"children":2194},{"className":2193},[],[2195],{"type":28,"value":2196},"65 100 109 105 110 64 57 48 48 48",{"type":28,"value":2198},"对应",{"type":22,"tag":173,"props":2200,"children":2202},{"className":2201},[],[2203],{"type":28,"value":2204},"Admin@9000",{"type":28,"value":2206},"的ASCII码，用户也能够根据此种方式自定义密码。 但此时还无法通过ssh登录。这是因为openssh缺少文件。但可以通过ipmi工具来测试密码是否正确：",{"type":22,"tag":513,"props":2208,"children":2210},{"className":515,"code":2209,"language":517,"meta":7,"style":7},"> .\\ipmitool.exe -H 192.168.2.100 -I lanplus -p 623 -U Administrator -P Admin@9000 -C 17 mc info\nDevice ID                 : 1\nDevice Revision           : 1\nFirmware Revision         : 25.00\nIPMI Version              : 2.0\nManufacturer ID           : 2011\nManufacturer Name         : Unknown (0x7DB)\nProduct ID                : 0 (0x0000)\nProduct Name              : Unknown (0x0)\nDevice Available          : yes\nProvides Device SDRs      : yes\nAdditional Device Support :\n    Sensor Device\n    SDR Repository Device\n    SEL Device\n    FRU Inventory Device\n    IPMB Event Generator\n    Chassis Device\nAux Firmware Rev Info     :\n    0x00\n    0x00\n    0x00\n    0x01\n",[2211],{"type":22,"tag":173,"props":2212,"children":2213},{"__ignoreMap":7},[2214,2238,2261,2282,2304,2327,2348,2374,2401,2425,2447,2474,2496,2509,2526,2538,2555,2573,2585,2613,2621,2628,2635],{"type":22,"tag":523,"props":2215,"children":2216},{"class":525,"line":526},[2217,2223,2228,2233],{"type":22,"tag":523,"props":2218,"children":2220},{"style":2219},"--shiki-default:#D73A49;--shiki-dark:#F97583;--shiki-sepia:#F92672",[2221],{"type":28,"value":2222},">",{"type":22,"tag":523,"props":2224,"children":2225},{"style":633},[2226],{"type":28,"value":2227}," .",{"type":22,"tag":523,"props":2229,"children":2230},{"style":1146},[2231],{"type":28,"value":2232},"\\i",{"type":22,"tag":523,"props":2234,"children":2235},{"style":633},[2236],{"type":28,"value":2237},"pmitool.exe -H 192.168.2.100 -I lanplus -p 623 -U Administrator -P Admin@9000 -C 17 mc info\n",{"type":22,"tag":523,"props":2239,"children":2240},{"class":525,"line":542},[2241,2246,2251,2256],{"type":22,"tag":523,"props":2242,"children":2243},{"style":530},[2244],{"type":28,"value":2245},"Device",{"type":22,"tag":523,"props":2247,"children":2248},{"style":536},[2249],{"type":28,"value":2250}," ID",{"type":22,"tag":523,"props":2252,"children":2253},{"style":536},[2254],{"type":28,"value":2255},"                 :",{"type":22,"tag":523,"props":2257,"children":2258},{"style":1146},[2259],{"type":28,"value":2260}," 1\n",{"type":22,"tag":523,"props":2262,"children":2263},{"class":525,"line":552},[2264,2268,2273,2278],{"type":22,"tag":523,"props":2265,"children":2266},{"style":530},[2267],{"type":28,"value":2245},{"type":22,"tag":523,"props":2269,"children":2270},{"style":536},[2271],{"type":28,"value":2272}," Revision",{"type":22,"tag":523,"props":2274,"children":2275},{"style":536},[2276],{"type":28,"value":2277},"           :",{"type":22,"tag":523,"props":2279,"children":2280},{"style":1146},[2281],{"type":28,"value":2260},{"type":22,"tag":523,"props":2283,"children":2284},{"class":525,"line":571},[2285,2290,2294,2299],{"type":22,"tag":523,"props":2286,"children":2287},{"style":530},[2288],{"type":28,"value":2289},"Firmware",{"type":22,"tag":523,"props":2291,"children":2292},{"style":536},[2293],{"type":28,"value":2272},{"type":22,"tag":523,"props":2295,"children":2296},{"style":536},[2297],{"type":28,"value":2298},"         :",{"type":22,"tag":523,"props":2300,"children":2301},{"style":1146},[2302],{"type":28,"value":2303}," 25.00\n",{"type":22,"tag":523,"props":2305,"children":2306},{"class":525,"line":579},[2307,2312,2317,2322],{"type":22,"tag":523,"props":2308,"children":2309},{"style":530},[2310],{"type":28,"value":2311},"IPMI",{"type":22,"tag":523,"props":2313,"children":2314},{"style":536},[2315],{"type":28,"value":2316}," Version",{"type":22,"tag":523,"props":2318,"children":2319},{"style":536},[2320],{"type":28,"value":2321},"              :",{"type":22,"tag":523,"props":2323,"children":2324},{"style":1146},[2325],{"type":28,"value":2326}," 2.0\n",{"type":22,"tag":523,"props":2328,"children":2329},{"class":525,"line":607},[2330,2335,2339,2343],{"type":22,"tag":523,"props":2331,"children":2332},{"style":530},[2333],{"type":28,"value":2334},"Manufacturer",{"type":22,"tag":523,"props":2336,"children":2337},{"style":536},[2338],{"type":28,"value":2250},{"type":22,"tag":523,"props":2340,"children":2341},{"style":536},[2342],{"type":28,"value":2277},{"type":22,"tag":523,"props":2344,"children":2345},{"style":1146},[2346],{"type":28,"value":2347}," 2011\n",{"type":22,"tag":523,"props":2349,"children":2350},{"class":525,"line":615},[2351,2355,2360,2364,2369],{"type":22,"tag":523,"props":2352,"children":2353},{"style":530},[2354],{"type":28,"value":2334},{"type":22,"tag":523,"props":2356,"children":2357},{"style":536},[2358],{"type":28,"value":2359}," Name",{"type":22,"tag":523,"props":2361,"children":2362},{"style":536},[2363],{"type":28,"value":2298},{"type":22,"tag":523,"props":2365,"children":2366},{"style":536},[2367],{"type":28,"value":2368}," Unknown",{"type":22,"tag":523,"props":2370,"children":2371},{"style":633},[2372],{"type":28,"value":2373}," (0x7DB)\n",{"type":22,"tag":523,"props":2375,"children":2376},{"class":525,"line":639},[2377,2382,2386,2391,2396],{"type":22,"tag":523,"props":2378,"children":2379},{"style":530},[2380],{"type":28,"value":2381},"Product",{"type":22,"tag":523,"props":2383,"children":2384},{"style":536},[2385],{"type":28,"value":2250},{"type":22,"tag":523,"props":2387,"children":2388},{"style":536},[2389],{"type":28,"value":2390},"                :",{"type":22,"tag":523,"props":2392,"children":2393},{"style":1146},[2394],{"type":28,"value":2395}," 0",{"type":22,"tag":523,"props":2397,"children":2398},{"style":633},[2399],{"type":28,"value":2400}," (0x0000)\n",{"type":22,"tag":523,"props":2402,"children":2403},{"class":525,"line":647},[2404,2408,2412,2416,2420],{"type":22,"tag":523,"props":2405,"children":2406},{"style":530},[2407],{"type":28,"value":2381},{"type":22,"tag":523,"props":2409,"children":2410},{"style":536},[2411],{"type":28,"value":2359},{"type":22,"tag":523,"props":2413,"children":2414},{"style":536},[2415],{"type":28,"value":2321},{"type":22,"tag":523,"props":2417,"children":2418},{"style":536},[2419],{"type":28,"value":2368},{"type":22,"tag":523,"props":2421,"children":2422},{"style":633},[2423],{"type":28,"value":2424}," (0x0)\n",{"type":22,"tag":523,"props":2426,"children":2427},{"class":525,"line":669},[2428,2432,2437,2442],{"type":22,"tag":523,"props":2429,"children":2430},{"style":530},[2431],{"type":28,"value":2245},{"type":22,"tag":523,"props":2433,"children":2434},{"style":536},[2435],{"type":28,"value":2436}," Available",{"type":22,"tag":523,"props":2438,"children":2439},{"style":536},[2440],{"type":28,"value":2441},"          :",{"type":22,"tag":523,"props":2443,"children":2444},{"style":536},[2445],{"type":28,"value":2446}," yes\n",{"type":22,"tag":523,"props":2448,"children":2449},{"class":525,"line":677},[2450,2455,2460,2465,2470],{"type":22,"tag":523,"props":2451,"children":2452},{"style":530},[2453],{"type":28,"value":2454},"Provides",{"type":22,"tag":523,"props":2456,"children":2457},{"style":536},[2458],{"type":28,"value":2459}," Device",{"type":22,"tag":523,"props":2461,"children":2462},{"style":536},[2463],{"type":28,"value":2464}," SDRs",{"type":22,"tag":523,"props":2466,"children":2467},{"style":536},[2468],{"type":28,"value":2469},"      :",{"type":22,"tag":523,"props":2471,"children":2472},{"style":536},[2473],{"type":28,"value":2446},{"type":22,"tag":523,"props":2475,"children":2476},{"class":525,"line":695},[2477,2482,2486,2491],{"type":22,"tag":523,"props":2478,"children":2479},{"style":530},[2480],{"type":28,"value":2481},"Additional",{"type":22,"tag":523,"props":2483,"children":2484},{"style":536},[2485],{"type":28,"value":2459},{"type":22,"tag":523,"props":2487,"children":2488},{"style":536},[2489],{"type":28,"value":2490}," Support",{"type":22,"tag":523,"props":2492,"children":2493},{"style":536},[2494],{"type":28,"value":2495}," :\n",{"type":22,"tag":523,"props":2497,"children":2498},{"class":525,"line":703},[2499,2504],{"type":22,"tag":523,"props":2500,"children":2501},{"style":530},[2502],{"type":28,"value":2503},"    Sensor",{"type":22,"tag":523,"props":2505,"children":2506},{"style":536},[2507],{"type":28,"value":2508}," Device\n",{"type":22,"tag":523,"props":2510,"children":2511},{"class":525,"line":721},[2512,2517,2522],{"type":22,"tag":523,"props":2513,"children":2514},{"style":530},[2515],{"type":28,"value":2516},"    SDR",{"type":22,"tag":523,"props":2518,"children":2519},{"style":536},[2520],{"type":28,"value":2521}," Repository",{"type":22,"tag":523,"props":2523,"children":2524},{"style":536},[2525],{"type":28,"value":2508},{"type":22,"tag":523,"props":2527,"children":2528},{"class":525,"line":729},[2529,2534],{"type":22,"tag":523,"props":2530,"children":2531},{"style":530},[2532],{"type":28,"value":2533},"    SEL",{"type":22,"tag":523,"props":2535,"children":2536},{"style":536},[2537],{"type":28,"value":2508},{"type":22,"tag":523,"props":2539,"children":2540},{"class":525,"line":747},[2541,2546,2551],{"type":22,"tag":523,"props":2542,"children":2543},{"style":530},[2544],{"type":28,"value":2545},"    FRU",{"type":22,"tag":523,"props":2547,"children":2548},{"style":536},[2549],{"type":28,"value":2550}," Inventory",{"type":22,"tag":523,"props":2552,"children":2553},{"style":536},[2554],{"type":28,"value":2508},{"type":22,"tag":523,"props":2556,"children":2557},{"class":525,"line":755},[2558,2563,2568],{"type":22,"tag":523,"props":2559,"children":2560},{"style":530},[2561],{"type":28,"value":2562},"    IPMB",{"type":22,"tag":523,"props":2564,"children":2565},{"style":536},[2566],{"type":28,"value":2567}," Event",{"type":22,"tag":523,"props":2569,"children":2570},{"style":536},[2571],{"type":28,"value":2572}," Generator\n",{"type":22,"tag":523,"props":2574,"children":2575},{"class":525,"line":773},[2576,2581],{"type":22,"tag":523,"props":2577,"children":2578},{"style":530},[2579],{"type":28,"value":2580},"    Chassis",{"type":22,"tag":523,"props":2582,"children":2583},{"style":536},[2584],{"type":28,"value":2508},{"type":22,"tag":523,"props":2586,"children":2587},{"class":525,"line":781},[2588,2593,2598,2603,2608],{"type":22,"tag":523,"props":2589,"children":2590},{"style":530},[2591],{"type":28,"value":2592},"Aux",{"type":22,"tag":523,"props":2594,"children":2595},{"style":536},[2596],{"type":28,"value":2597}," Firmware",{"type":22,"tag":523,"props":2599,"children":2600},{"style":536},[2601],{"type":28,"value":2602}," Rev",{"type":22,"tag":523,"props":2604,"children":2605},{"style":536},[2606],{"type":28,"value":2607}," Info",{"type":22,"tag":523,"props":2609,"children":2610},{"style":536},[2611],{"type":28,"value":2612},"     :\n",{"type":22,"tag":523,"props":2614,"children":2615},{"class":525,"line":1291},[2616],{"type":22,"tag":523,"props":2617,"children":2618},{"style":530},[2619],{"type":28,"value":2620},"    0x00\n",{"type":22,"tag":523,"props":2622,"children":2623},{"class":525,"line":1327},[2624],{"type":22,"tag":523,"props":2625,"children":2626},{"style":530},[2627],{"type":28,"value":2620},{"type":22,"tag":523,"props":2629,"children":2630},{"class":525,"line":1344},[2631],{"type":22,"tag":523,"props":2632,"children":2633},{"style":530},[2634],{"type":28,"value":2620},{"type":22,"tag":523,"props":2636,"children":2637},{"class":525,"line":1361},[2638],{"type":22,"tag":523,"props":2639,"children":2640},{"style":530},[2641],{"type":28,"value":2642},"    0x01\n",{"type":22,"tag":37,"props":2644,"children":2645},{},[2646],{"type":28,"value":2647},"显示mc info正常返回，表示账号和密码成功配置了",{"type":22,"tag":112,"props":2649,"children":2651},{"id":2650},"openubmc-ssh登录",[2652],{"type":28,"value":2653},"openUBMC ssh登录",{"type":22,"tag":37,"props":2655,"children":2656},{},[2657],{"type":28,"value":2658},"在使用ssh连接过程中，出现了输入正确密码一直报错的问题。该问题是由于openssh中pam认证失败导致。",{"type":22,"tag":513,"props":2660,"children":2662},{"className":515,"code":2661,"language":517,"meta":7,"style":7},"# 检查pam.d中ssh的依赖情况\nls -l \u002Fdata\u002Ftrust\u002Fpam_faillock \\\n      \u002Flib*\u002Fsecurity\u002Fpam_bmc_login.so \\\n      \u002Flib*\u002Fsecurity\u002Fpam_selinux.so\n      \n# 检查是否存在common-auth common-account common-passwd\n# 一般都是存在的，不存在的是\u002Fdata\u002Ftrust\u002Fpam_faillock,需要手动创建一下， 如果存在就不用去创建了\ntouch \u002Fdata\u002Ftrust\u002Fpam_faillock\nchmod 644 \u002Fdata\u002Ftrust\u002Fpam_faillock\n",[2663],{"type":22,"tag":173,"props":2664,"children":2665},{"__ignoreMap":7},[2666,2674,2697,2720,2736,2744,2752,2760,2773],{"type":22,"tag":523,"props":2667,"children":2668},{"class":525,"line":526},[2669],{"type":22,"tag":523,"props":2670,"children":2671},{"style":973},[2672],{"type":28,"value":2673},"# 检查pam.d中ssh的依赖情况\n",{"type":22,"tag":523,"props":2675,"children":2676},{"class":525,"line":542},[2677,2682,2687,2692],{"type":22,"tag":523,"props":2678,"children":2679},{"style":530},[2680],{"type":28,"value":2681},"ls",{"type":22,"tag":523,"props":2683,"children":2684},{"style":1146},[2685],{"type":28,"value":2686}," -l",{"type":22,"tag":523,"props":2688,"children":2689},{"style":536},[2690],{"type":28,"value":2691}," \u002Fdata\u002Ftrust\u002Fpam_faillock",{"type":22,"tag":523,"props":2693,"children":2694},{"style":1146},[2695],{"type":28,"value":2696}," \\\n",{"type":22,"tag":523,"props":2698,"children":2699},{"class":525,"line":552},[2700,2705,2711,2716],{"type":22,"tag":523,"props":2701,"children":2702},{"style":536},[2703],{"type":28,"value":2704},"      \u002Flib",{"type":22,"tag":523,"props":2706,"children":2708},{"style":2707},"--shiki-default:#005CC5;--shiki-dark:#79B8FF;--shiki-sepia:#FD971F",[2709],{"type":28,"value":2710},"*",{"type":22,"tag":523,"props":2712,"children":2713},{"style":536},[2714],{"type":28,"value":2715},"\u002Fsecurity\u002Fpam_bmc_login.so",{"type":22,"tag":523,"props":2717,"children":2718},{"style":1146},[2719],{"type":28,"value":2696},{"type":22,"tag":523,"props":2721,"children":2722},{"class":525,"line":571},[2723,2727,2731],{"type":22,"tag":523,"props":2724,"children":2725},{"style":536},[2726],{"type":28,"value":2704},{"type":22,"tag":523,"props":2728,"children":2729},{"style":2707},[2730],{"type":28,"value":2710},{"type":22,"tag":523,"props":2732,"children":2733},{"style":536},[2734],{"type":28,"value":2735},"\u002Fsecurity\u002Fpam_selinux.so\n",{"type":22,"tag":523,"props":2737,"children":2738},{"class":525,"line":579},[2739],{"type":22,"tag":523,"props":2740,"children":2741},{"style":633},[2742],{"type":28,"value":2743},"      \n",{"type":22,"tag":523,"props":2745,"children":2746},{"class":525,"line":607},[2747],{"type":22,"tag":523,"props":2748,"children":2749},{"style":973},[2750],{"type":28,"value":2751},"# 检查是否存在common-auth common-account common-passwd\n",{"type":22,"tag":523,"props":2753,"children":2754},{"class":525,"line":615},[2755],{"type":22,"tag":523,"props":2756,"children":2757},{"style":973},[2758],{"type":28,"value":2759},"# 一般都是存在的，不存在的是\u002Fdata\u002Ftrust\u002Fpam_faillock,需要手动创建一下， 如果存在就不用去创建了\n",{"type":22,"tag":523,"props":2761,"children":2762},{"class":525,"line":639},[2763,2768],{"type":22,"tag":523,"props":2764,"children":2765},{"style":530},[2766],{"type":28,"value":2767},"touch",{"type":22,"tag":523,"props":2769,"children":2770},{"style":536},[2771],{"type":28,"value":2772}," \u002Fdata\u002Ftrust\u002Fpam_faillock\n",{"type":22,"tag":523,"props":2774,"children":2775},{"class":525,"line":647},[2776,2781,2786],{"type":22,"tag":523,"props":2777,"children":2778},{"style":530},[2779],{"type":28,"value":2780},"chmod",{"type":22,"tag":523,"props":2782,"children":2783},{"style":1146},[2784],{"type":28,"value":2785}," 644",{"type":22,"tag":523,"props":2787,"children":2788},{"style":536},[2789],{"type":28,"value":2772},{"type":22,"tag":112,"props":2791,"children":2793},{"id":2792},"bmc-网页登录",[2794],{"type":28,"value":2795},"BMC 网页登录",{"type":22,"tag":37,"props":2797,"children":2798},{},[2799],{"type":28,"value":2800},"初始环境中，没有BMC的证书，可以通过openSSL进行证书的生成。有了此证书后，才能够完成Nginx的启动。",{"type":22,"tag":37,"props":2802,"children":2803},{},[2804],{"type":28,"value":2805},"证书准备文件有：",{"type":22,"tag":59,"props":2807,"children":2808},{},[2809],{"type":22,"tag":63,"props":2810,"children":2811},{},[2812],{"type":28,"value":2813},"SSL.p12",{"type":22,"tag":37,"props":2815,"children":2816},{},[2817,2819,2824,2826,2831],{"type":28,"value":2818},"通过sftp等方式，将",{"type":22,"tag":173,"props":2820,"children":2822},{"className":2821},[],[2823],{"type":28,"value":2813},{"type":28,"value":2825},"上传到openUBMC的",{"type":22,"tag":173,"props":2827,"children":2829},{"className":2828},[],[2830],{"type":28,"value":891},{"type":28,"value":2832},"目录下，然后导入证书:",{"type":22,"tag":513,"props":2834,"children":2836},{"className":515,"code":2835,"language":517,"meta":7,"style":7},"date -s \"2025-06-09\" && busctl --user call bmc.kepler.certificate \u002Fbmc\u002Fkepler\u002FCertificateService bmc.kepler.CertificateService ImportCertWithKey a{ss}isss 3 Interface Busctl UserName Adminitrator ClientAddr 127.0.0.1 1 URI \u002Ftmp\u002FSSL.p12 \"\"\n",[2837],{"type":22,"tag":173,"props":2838,"children":2839},{"__ignoreMap":7},[2840],{"type":22,"tag":523,"props":2841,"children":2842},{"class":525,"line":526},[2843,2848,2853,2858,2863,2867,2871,2875,2880,2885,2890,2895,2900,2904,2908,2913,2917,2922,2926,2930,2935,2940,2945],{"type":22,"tag":523,"props":2844,"children":2845},{"style":530},[2846],{"type":28,"value":2847},"date",{"type":22,"tag":523,"props":2849,"children":2850},{"style":1146},[2851],{"type":28,"value":2852}," -s",{"type":22,"tag":523,"props":2854,"children":2855},{"style":536},[2856],{"type":28,"value":2857}," \"2025-06-09\"",{"type":22,"tag":523,"props":2859,"children":2860},{"style":633},[2861],{"type":28,"value":2862}," && ",{"type":22,"tag":523,"props":2864,"children":2865},{"style":530},[2866],{"type":28,"value":2053},{"type":22,"tag":523,"props":2868,"children":2869},{"style":1146},[2870],{"type":28,"value":2058},{"type":22,"tag":523,"props":2872,"children":2873},{"style":536},[2874],{"type":28,"value":2063},{"type":22,"tag":523,"props":2876,"children":2877},{"style":536},[2878],{"type":28,"value":2879}," bmc.kepler.certificate",{"type":22,"tag":523,"props":2881,"children":2882},{"style":536},[2883],{"type":28,"value":2884}," \u002Fbmc\u002Fkepler\u002FCertificateService",{"type":22,"tag":523,"props":2886,"children":2887},{"style":536},[2888],{"type":28,"value":2889}," bmc.kepler.CertificateService",{"type":22,"tag":523,"props":2891,"children":2892},{"style":536},[2893],{"type":28,"value":2894}," ImportCertWithKey",{"type":22,"tag":523,"props":2896,"children":2897},{"style":536},[2898],{"type":28,"value":2899}," a{ss}isss",{"type":22,"tag":523,"props":2901,"children":2902},{"style":1146},[2903],{"type":28,"value":2101},{"type":22,"tag":523,"props":2905,"children":2906},{"style":536},[2907],{"type":28,"value":2106},{"type":22,"tag":523,"props":2909,"children":2910},{"style":536},[2911],{"type":28,"value":2912}," Busctl",{"type":22,"tag":523,"props":2914,"children":2915},{"style":536},[2916],{"type":28,"value":2116},{"type":22,"tag":523,"props":2918,"children":2919},{"style":536},[2920],{"type":28,"value":2921}," Adminitrator",{"type":22,"tag":523,"props":2923,"children":2924},{"style":536},[2925],{"type":28,"value":2126},{"type":22,"tag":523,"props":2927,"children":2928},{"style":1146},[2929],{"type":28,"value":2131},{"type":22,"tag":523,"props":2931,"children":2932},{"style":1146},[2933],{"type":28,"value":2934}," 1",{"type":22,"tag":523,"props":2936,"children":2937},{"style":536},[2938],{"type":28,"value":2939}," URI",{"type":22,"tag":523,"props":2941,"children":2942},{"style":536},[2943],{"type":28,"value":2944}," \u002Ftmp\u002FSSL.p12",{"type":22,"tag":523,"props":2946,"children":2947},{"style":536},[2948],{"type":28,"value":2949}," \"\"\n",{"type":22,"tag":37,"props":2951,"children":2952},{},[2953,2955,2961],{"type":28,"value":2954},"💥 上述命令描述的",{"type":22,"tag":173,"props":2956,"children":2958},{"className":2957},[],[2959],{"type":28,"value":2960},"2025-06-09",{"type":28,"value":2962},"需要设置为生成证书时间之后。否则会有导入错误。导入成功或Nginx和Web都能够正常使用了。即可通过网页登录openUBMC了。",{"type":22,"tag":112,"props":2964,"children":2966},{"id":2965},"openubmc系统固化-最后一步",[2967],{"type":28,"value":2968},"openUBMC系统固化 （最后一步）",{"type":22,"tag":37,"props":2970,"children":2971},{},[2972,2974,2979],{"type":28,"value":2973},"在Uboot中，我们配置了tftp下载内核文件等，但此过程无法固化，为此可以通过在网页中升级一次",{"type":22,"tag":173,"props":2975,"children":2977},{"className":2976},[],[2978],{"type":28,"value":194},{"type":28,"value":2980},"包，升级过程中，会把内核文件等烧录到emmc中，之后重启核心板就会依旧是openUBMC系统。同时也会具备主备分区等能力。",{"type":22,"tag":23,"props":2982,"children":2984},{"id":2983},"qa",[2985],{"type":28,"value":2986},"QA",{"type":22,"tag":31,"props":2988,"children":2990},{"id":2989},"如何回滚到openeuler系统",[2991],{"type":28,"value":2992},"如何回滚到openEuler系统？",{"type":22,"tag":37,"props":2994,"children":2995},{},[2996,2998],{"type":28,"value":2997},"1、进入SPI界面，进行环境烧录。参考HI3093提供的软件开发手册\n",{"type":22,"tag":220,"props":2999,"children":3001},{"alt":222,"src":3000},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage29.png",[],{"type":22,"tag":37,"props":3003,"children":3004},{},[3005,3007,3012,3016],{"type":28,"value":3006},"2、下载提供的Hi3093的原始启动文件压缩包 -> ",{"type":22,"tag":43,"props":3008,"children":3010},{"href":165,"rel":3009},[47],[3011],{"type":28,"value":165},{"type":22,"tag":220,"props":3013,"children":3015},{"alt":222,"src":3014},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage30.png",[],{"type":28,"value":3017},"\n3、解压压缩包后，将内容上传至ubuntu虚拟机中。并更新到\u002Fvar\u002Flib\u002Ftftpboot",{"type":22,"tag":37,"props":3019,"children":3020},{},[3021,3023],{"type":28,"value":3022},"注意这里的hi1711_asic.dtb文件名要变更为",{"type":22,"tag":173,"props":3024,"children":3026},{"className":3025},[],[3027],{"type":28,"value":3028},"hi3093.dtb",{"type":22,"tag":37,"props":3030,"children":3031},{},[3032],{"type":22,"tag":220,"props":3033,"children":3035},{"alt":222,"src":3034},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage31.png",[],{"type":22,"tag":37,"props":3037,"children":3038},{},[3039],{"type":28,"value":3040},"4、进入emmc的Uboot界面，并配置网络\n设置网络，使其能ping通虚拟机\n并配置tftp_network_boot",{"type":22,"tag":513,"props":3042,"children":3044},{"className":515,"code":3043,"language":517,"meta":7,"style":7},"setenv tftp_network_boot 'tftp ${dtb_load_addr} hi3093.dtb;     \n${kernel_load_addr} uImage;     \ntftp \ntftp ${initrd_load_addr} initrd_boot.cpio.gz;     \nbootm ${kernel_load_addr} ${initrd_load_addr} : ${initrd_size} ${dtb_load_addr}'\n => ping ${serverip}\n Using hi309x_gmac device\n ## Warning: gatewayip needed but not set\n host 192.168.1.111 is alive\n => run tftp_network_boot\n => run run_linux\n",[3045],{"type":22,"tag":173,"props":3046,"children":3047},{"__ignoreMap":7},[3048,3064,3072,3080,3088,3096,3119,3137,3145,3168,3188],{"type":22,"tag":523,"props":3049,"children":3050},{"class":525,"line":526},[3051,3055,3059],{"type":22,"tag":523,"props":3052,"children":3053},{"style":530},[3054],{"type":28,"value":1744},{"type":22,"tag":523,"props":3056,"children":3057},{"style":536},[3058],{"type":28,"value":1902},{"type":22,"tag":523,"props":3060,"children":3061},{"style":536},[3062],{"type":28,"value":3063}," 'tftp ${dtb_load_addr} hi3093.dtb;     \n",{"type":22,"tag":523,"props":3065,"children":3066},{"class":525,"line":542},[3067],{"type":22,"tag":523,"props":3068,"children":3069},{"style":536},[3070],{"type":28,"value":3071},"${kernel_load_addr} uImage;     \n",{"type":22,"tag":523,"props":3073,"children":3074},{"class":525,"line":552},[3075],{"type":22,"tag":523,"props":3076,"children":3077},{"style":536},[3078],{"type":28,"value":3079},"tftp \n",{"type":22,"tag":523,"props":3081,"children":3082},{"class":525,"line":571},[3083],{"type":22,"tag":523,"props":3084,"children":3085},{"style":536},[3086],{"type":28,"value":3087},"tftp ${initrd_load_addr} initrd_boot.cpio.gz;     \n",{"type":22,"tag":523,"props":3089,"children":3090},{"class":525,"line":579},[3091],{"type":22,"tag":523,"props":3092,"children":3093},{"style":536},[3094],{"type":28,"value":3095},"bootm ${kernel_load_addr} ${initrd_load_addr} : ${initrd_size} ${dtb_load_addr}'\n",{"type":22,"tag":523,"props":3097,"children":3098},{"class":525,"line":607},[3099,3104,3109,3114],{"type":22,"tag":523,"props":3100,"children":3101},{"style":536},[3102],{"type":28,"value":3103}," =",{"type":22,"tag":523,"props":3105,"children":3106},{"style":633},[3107],{"type":28,"value":3108},"> ",{"type":22,"tag":523,"props":3110,"children":3111},{"style":536},[3112],{"type":28,"value":3113},"ping",{"type":22,"tag":523,"props":3115,"children":3116},{"style":633},[3117],{"type":28,"value":3118}," ${serverip}\n",{"type":22,"tag":523,"props":3120,"children":3121},{"class":525,"line":615},[3122,3127,3132],{"type":22,"tag":523,"props":3123,"children":3124},{"style":530},[3125],{"type":28,"value":3126}," Using",{"type":22,"tag":523,"props":3128,"children":3129},{"style":536},[3130],{"type":28,"value":3131}," hi309x_gmac",{"type":22,"tag":523,"props":3133,"children":3134},{"style":536},[3135],{"type":28,"value":3136}," device\n",{"type":22,"tag":523,"props":3138,"children":3139},{"class":525,"line":639},[3140],{"type":22,"tag":523,"props":3141,"children":3142},{"style":973},[3143],{"type":28,"value":3144}," ## Warning: gatewayip needed but not set\n",{"type":22,"tag":523,"props":3146,"children":3147},{"class":525,"line":647},[3148,3153,3158,3163],{"type":22,"tag":523,"props":3149,"children":3150},{"style":530},[3151],{"type":28,"value":3152}," host",{"type":22,"tag":523,"props":3154,"children":3155},{"style":1146},[3156],{"type":28,"value":3157}," 192.168.1.111",{"type":22,"tag":523,"props":3159,"children":3160},{"style":536},[3161],{"type":28,"value":3162}," is",{"type":22,"tag":523,"props":3164,"children":3165},{"style":536},[3166],{"type":28,"value":3167}," alive\n",{"type":22,"tag":523,"props":3169,"children":3170},{"class":525,"line":669},[3171,3175,3179,3183],{"type":22,"tag":523,"props":3172,"children":3173},{"style":536},[3174],{"type":28,"value":3103},{"type":22,"tag":523,"props":3176,"children":3177},{"style":633},[3178],{"type":28,"value":3108},{"type":22,"tag":523,"props":3180,"children":3181},{"style":536},[3182],{"type":28,"value":1881},{"type":22,"tag":523,"props":3184,"children":3185},{"style":536},[3186],{"type":28,"value":3187}," tftp_network_boot\n",{"type":22,"tag":523,"props":3189,"children":3190},{"class":525,"line":677},[3191,3195,3199,3203],{"type":22,"tag":523,"props":3192,"children":3193},{"style":536},[3194],{"type":28,"value":3103},{"type":22,"tag":523,"props":3196,"children":3197},{"style":633},[3198],{"type":28,"value":3108},{"type":22,"tag":523,"props":3200,"children":3201},{"style":536},[3202],{"type":28,"value":1881},{"type":22,"tag":523,"props":3204,"children":3205},{"style":536},[3206],{"type":28,"value":3207}," run_linux\n",{"type":22,"tag":37,"props":3209,"children":3210},{},[3211,3215],{"type":22,"tag":220,"props":3212,"children":3214},{"alt":222,"src":3213},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage32.png",[],{"type":22,"tag":220,"props":3216,"children":3218},{"alt":222,"src":3217},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage33.png",[],{"type":22,"tag":31,"props":3220,"children":3222},{"id":3221},"emmc-分区概念说明",[3223],{"type":28,"value":3224},"EMMC 分区概念说明",{"type":22,"tag":37,"props":3226,"children":3227},{},[3228],{"type":22,"tag":220,"props":3229,"children":3231},{"alt":222,"src":3230},"\u002Fcategory\u002Fblog\u002FMigration_system\u002Fimage34.png",[],{"type":22,"tag":31,"props":3233,"children":3235},{"id":3234},"烧录openubmc之后串口卡住",[3236],{"type":28,"value":3237},"烧录openUBMC之后，串口卡住",{"type":22,"tag":37,"props":3239,"children":3240},{},[3241,3243,3249,3251,3257],{"type":28,"value":3242},"通常openUBMC启动后串口会打印到os侧，如果需要串口打印到串口界面，需要执行",{"type":22,"tag":173,"props":3244,"children":3246},{"className":3245},[],[3247],{"type":28,"value":3248},"ipmcset -d serialdir -v 1",{"type":28,"value":3250},"。该命令可在ssh输入，或在telnet 执行",{"type":22,"tag":173,"props":3252,"children":3254},{"className":3253},[],[3255],{"type":28,"value":3256},"source \u002Fetc\u002Fprofile",{"type":28,"value":3258},"之后执行。",{"type":22,"tag":3260,"props":3261,"children":3262},"style",{},[3263],{"type":28,"value":3264},"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);}",{"title":7,"searchDepth":571,"depth":571,"links":3266},[3267,3268,3269,3272,3287,3293,3294,3295],{"id":33,"depth":542,"text":33},{"id":55,"depth":542,"text":55},{"id":90,"depth":542,"text":90,"children":3270},[3271],{"id":114,"depth":552,"text":117},{"id":336,"depth":542,"text":336,"children":3273},[3274,3275,3276,3277,3278,3279,3280,3283],{"id":341,"depth":552,"text":341},{"id":363,"depth":552,"text":363},{"id":385,"depth":552,"text":385},{"id":414,"depth":552,"text":414},{"id":443,"depth":552,"text":446},{"id":492,"depth":552,"text":492},{"id":805,"depth":552,"text":805,"children":3281},[3282],{"id":811,"depth":571,"text":811},{"id":834,"depth":552,"text":837,"children":3284},[3285,3286],{"id":943,"depth":571,"text":943},{"id":1578,"depth":571,"text":1581},{"id":1946,"depth":542,"text":1949,"children":3288},[3289,3290,3291,3292],{"id":1993,"depth":552,"text":1996},{"id":2650,"depth":552,"text":2653},{"id":2792,"depth":552,"text":2795},{"id":2965,"depth":552,"text":2968},{"id":2989,"depth":542,"text":2992},{"id":3221,"depth":542,"text":3224},{"id":3234,"depth":542,"text":3237},"markdown","content:zh:blogs:Migration_system.md","content","zh\u002Fblogs\u002FMigration_system.md","zh\u002Fblogs\u002FMigration_system","md","Hi3093开发板上手教学环境搭建 前言 当前openUBMC已支持Qemu仿真调试能力，但针对硬件相关调试，仍缺乏高效的调试手段。笔者在尝试多种开发板后，总结了一套基于 米尔电子MYC-LHi3093开发板 的openUBMC启动心得，供社区开发者学习和参考。 物料准备 Hi3093核心板 核心板电源适配器 网线 typeC-USB线 8GB以上的SD卡（用于必要时恢复openeuler环境） 环境准备 鉴于 Hi3093 核心板出厂默认搭载 openEuler 操作系统，须将其替换为 openUBMC RTOS。为此，需依次完成以下前置工作： 定制并构建 openUBMC RTOS 镜像； 规划并格式化核心板存储分区，确保与 openUBMC 分区表兼容。 openUBMC RTOS 镜像制作 openUBMC 开发环境搭建请严格遵循官方文档   Ubuntu 开发环境搭建 | openUBMC 。 为便于后续与核心板进行网络通信， 建议采用虚拟机方式部署 Ubuntu 环境 ，并在虚拟机内完成全部初始化步骤。本章节将采用VirtualBox进行openUBMC开发环境搭建。 在VirtualBox，你需要遵守以下的步骤，完成环境搭建和openUBMC镜像制作： 1、Ubuntu24.04 iso下载，并在VirtualBox中安装，建议预留50GB的存储空间。 ⭐ 如果不想自己出包的话，可以直接下载 Hi3093预制镜像 ，下载后可直接跳过构建过程，将对应文件放置在下述的位置中。 2506_gx.zip 里面存放了烧录时所需的所有文件， *.hpm 为配套的固化开发板环境的 hpm 包。 ❗ 如果是自己出包，且采用的是openUBMC 25.03版本，请确保在 build\u002Fsubsys\u002Frc\u002Fsecurity.yml 中iam的版本 >=1.0.1  2、根据 ** Ubuntu 开发环境搭建 | openUBMC **进行openUBMC环境搭建。 3、安装openUBMC调试工具--  busybox , 并集成到manifest中。 4、在manifest目录下，执行 bingo build 完成openUBMC镜像制作。 最终在temp\u002Fbuild_openUBMC_debug_dev\u002Foutput可以找到对应的镜像文件 rootfs_BMC.img 。  同时还需要在 temp 目录下取出 initrd_boot.cpio.gz 还有 uImage 文件。其中 initrd_boot.cpio.gz 是Linux系统的初始RAM磁盘镜像， uImage 为Linux kernel内核镜像。  镜像烧录和分区表配置 核心板连接 现在我们需要通过串口等方式连接Hi3093核心板。核心板连接方式如下图所示：  ❗ 连接过程中，需要严格按照图中的端口进行连接，否则后续的操作必定会失败。 核心板启动 核心板的启动采用EMMC启动模式，将SW2的开关如此设置。  ⭐如果看不清晰，可以参考核心板提供的手册，里面详细介绍了如何通过EMMC启动。 核心板串口连接 通过typeC-USB线连接核心板后，可以通过串口连接软件进入核心板的串口界面。这里使用Xshell来建立连接：  选择SERIAL连接方式，并进入到串口页面。然后进行端口号配置。这里需要自己测试一下，看一下是使用COM多少。一般能用的话，会显示Connected的情况。  核心板启动与登录 Xshell连接到串口后，打开核心板的开关。可以在Xshell的串口中看到打印显示：  串口刷屏结束后，会提示登录，如果登录串口是黑屏的话，尝试敲几次回车，看看能不能出现登录界面。首次登录的话，账号是root，密码需要手动设置（会有提示）  SD卡准备 后续的操作会导致开发板的启动镜像发生改变，但同时SPI又不具备ssh连接的情况。所以需要提前准备一张sd卡进行镜像备份。步骤如下： fdisk -l  查看可用分区，找到sd卡分区，然后进行初始化（初始化命令可在网上查询，例如mkfs.vfat都可以，只要开发板能识别就行） 使用 mount 将sd卡分区挂在到某个目录 通过ssh上传米尔提供的SPI烧录文件，并拷贝到sd卡的分区中。 后续spi恢复openeuler环境时，只需重新挂载sd卡即可。 分区表配置 为确保 openUBMC 启动后能够正确访问 eMMC 的 user 区域，需预先完成手动分区并固化分区表。最终的分区配置如下所示：  执行动作如下所示： fdisk  \u002Fdev\u002Fmmcblk0\n \n \u002Fdev\u002Fmmcblk0p1  :  先执行n，然后选择p创建主分区，StartLBA输入16，EndLBA输入2097167\n \n \u002Fdev\u002Fmmcblk0p2  :  先执行n，然后选择p创建主分区，StartLBA输入2097168，EndLBA输入9269839  ,  然后执行t，输入c\n \n \u002Fdev\u002Fmmcblk0p3  :  先执行n，然后选择e创建扩展分区，StartLBA输入9269840，EndLBA输入12648447  \n \n \u002Fdev\u002Fmmcblk0p5  :  先执行n，然后选择l创建逻辑分区，StartLBA输入9269856，EndLBA输入9899001,  然后执行t，输入c\n \n \u002Fdev\u002Fmmcblk0p6  :  先执行n，然后选择l创建逻辑分区，StartLBA输入9899018，EndLBA输入11367023\n \n \u002Fdev\u002Fmmcblk0p7  :  先执行n，然后选择l创建逻辑分区，StartLBA输入11367040，EndLBA输入11891327\n \n \u002Fdev\u002Fmmcblk0p8  :  先执行n，然后选择l创建逻辑分区，StartLBA输入12615680，EndLBA输入12648447\n \n \u002Fdev\u002Fmmcblk0p9  :  先执行n，然后选择l创建逻辑分区，StartLBA输入11891344，EndLBA输入12615663\n \n 然后执行w保存所有的配置。\n 分区完成之后，需要进行各个分区的格式化。 对于Win95 FAT32的分区需要使用mkfs.vfat来格式化，例如mkfs.vfat \u002Fdev\u002Fmmcblk0p2 其他分区需要使用mkfs.ext4来格式化，例如mkfs.ext4 \u002Fdev\u002Fmmcblk0p1 镜像烧录 核心板网络配置 为了能够将相关的镜像文件烧录到核心板中，需要使用sftp等文件传输方式上传镜像文件到核心板中。首先在核心板中配置网络，执行 ifconfig eth2 up 192.168.1.123  Windows网络配置与镜像包上传 打开windows的网络连接界面。选择以太网（这里需要自己确定是哪一个以太网，可以通过插拔网线的方式确定）  配置以太网的ip地址，使其与核心板在同一个网段。   配置之后，在windows侧测试网络连接：  出现如上的连接则表示成功。之后就能够通过sftp的方式将镜像文件上传到核心板的 \u002Ftmp 目录中。这里可以用Xshell的sftp，也可以用winscp的传输。这里以winscp工具为例：  连接成功之后，上传MYD-LHI3093-V2\\SoftwareFiles\\02-Images中的这四个文件。⭐这些文件来自于米尔电子提供的核心板资料。同时上传制作的openUBMC镜像包 rootfs_BMC.img 到 \u002Ftmp 目录中，并且重命名为 Hi3093_ext4fs.img 。   镜像包烧录 Hi3093提供了升级脚本，只需要在核心板串口按照如下的步骤执行升级即可完成升级。 qemu-aarch64  ~  # cd \u002Ftmp\u002F\n qemu-aarch64  \u002Ftmp  # ls\n Hi3093_ext4fs.img       hi3093_upgrade.sh   l1fw_rsa_4096.bin\n Hi3093_ext4fs_cms.bin   l0fw_rsa_4096.bin   u-boot_rsa_4096.bin\n qemu-aarch64  \u002Ftmp  # \u002Fhi3093_upgrade.sh 4096\n \u002Fdev\u002Fmmcblk0gp0\n \u002Fdev\u002Fmmcblk0gp2\n \u002Fdev\u002Fmmcblk0gp1\n update  temp  L0FW...\n 70+1  records  in\n 70+1  records  out\n 72088  bytes  (72  kB,  70  KiB ) copied, 0.0156561 s, 4.6 MB\u002Fs\n update  temp  L1FW...\n 178+1  records  in\n 178+1  records  out\n 182876  bytes  (183  kB,  179  KiB ) copied, 0.0365372 s, 5.0 MB\u002Fs\n update  temp  u-boot...\n 504+1  records  in\n 504+1  records  out\n 516616  bytes  (517  kB,  505  KiB ) copied, 0.111703 s, 4.6 MB\u002Fs\n update  temp  rootfs_hdr...\n 36+0  records  in\n 36+0  records  out\n 36864  bytes  (37  kB,  36  KiB ) copied, 0.00683788 s, 5.4 MB\u002Fs\n update  temp  rootfs...\n 376+1  records  in\n 376+1  records  out\n 394268672  bytes  (394  MB,  376  MiB ) copied, 2.40696 s, 164 MB\u002Fs\n emmc  update  success,  please  reboot  your  board...\n 出现上述的 emmc update success, please reboot your board...  表示烧录成功，但在执行重启之前，通过ssh把当前核心板上的\u002Fboot\u002Fhi1711_asci.dtb文件下载到windows中作为备份。 执行 reboot 命令，进行重启。注意重启并不代表完全升级openUBMC镜像成功，我们还需要修改Uboot配置，来加载openUBMC的 initrd_boot.cpio.gz 还有 uImage 。 Uboot配置修改 因为我们在只修改了img文件，还没有修改Linux kernel的uImage文件，所以需要通过tftp的方式进行替换。重启后，一直敲回车键，进入Uboot配置界面：  配置之前，需要配置一下核心板的Uboot能够访问到Ubuntu开发服务器的tftp。首先在Ubuntu中安装tftpd sudo  apt  install  tftpd-hpa\n 安装之后把manifest准备阶段的 initrd_boot.cpio.gz 和 uImage 还有从核心板上下载下来的 dtb 文件（重命名为hi3093.dtb）放置到\u002Fvar\u002Flib\u002Ftftproot中。 然后Virtual Box Ubuntu中还需要进行网络配置。更多细节可参考： virtualbox网络配置实现PC、虚拟机、开发板互ping 打开virtualbox的网络管理器，按照如下的指示进行配置。    完成上述配置之后，在windows ping一下，测试是否能够访问Ubuntu24.04所在的网络。  但此时还无法通过Uboot去ping Ubuntu，所以需要建立网桥。 在windows网络连接配置页面，选中虚拟网卡和与核心板连接的以太网，右键打开选中 桥接 。  ⭐ 完成上述配置后，在Uboot中配置核心板的ip和网关 setenv  ipaddr  192.168.1.123\n setenv  netmask  255.255.255.0\n setenv  gateway  192.168.1.1\n setenv  serverip  192.168.1.111\n 上述设置之后，需要ping 192.168.1.111确定一下，如果没法ping通，需要确定网络连接状态。排查方法可以看 virtualbox网络配置实现PC、虚拟机、开发板互ping  确认通信已建立后，在Uboot中通过tftp协议下载 uImage 和 initrd_boot.cpio.gz 。 setenv  tftp_dtb  \"tftp ${ dtb_load_addr } hi3093.dtb\"\n run  tftp_dtb  # 下载dtb文件\n run  tftp_network_boot  # 执行之后，需要确定已下载\n run  run_linux  # 执行此步后，会自动启动系统\n  等待openUBMC RTOS系统启动，即可看到openUBMC的串口打印。  openUBMC环境配置 因为openUBMC的默认IP为 192.168.2.100，网关也是192.168.2.100。和我们之前的配置不在同一个网段，所以需要重新修改以太网的配置才能够登录openUBMC。在之前配置的网桥中取消核心板以太网的配置。  然后右键以太网，手动配置器ip地址。  配置之后能够通过telnet连接：  执行source \u002Fetc\u002Fprofile可开启busctl等命令。 openUBMC密码生成 初始的BMC是没有密码的，可以通过cat \u002Fetc\u002Fshadow来查看是否有很长的一段加密信息，没有的话就需要手动去添加密码： # 激活busctl\n source  \u002Fetc\u002Fprofile\n \n # 修改密码\n busctl  --user  call  bmc.kepler.account  \u002Fbmc\u002Fkepler\u002FAccountService\u002FAccounts\u002F2  bmc.kepler.AccountService.ManagerAccount  ChangePwd  a{ss}\n ay  3  Interface  Web  UserName  Administrator  ClientAddr  127.0.0.1  10  65  100  109  105  110  64  57  48  48  48\n 修改之后的密码就是 Admin@9000，当然也可以修改为自定义的密码， 65 100 109 105 110 64 57 48 48 48 对应 Admin@9000 的ASCII码，用户也能够根据此种方式自定义密码。 但此时还无法通过ssh登录。这是因为openssh缺少文件。但可以通过ipmi工具来测试密码是否正确： >  . \\i pmitool.exe -H 192.168.2.100 -I lanplus -p 623 -U Administrator -P Admin@9000 -C 17 mc info\n Device  ID                  :  1\n Device  Revision            :  1\n Firmware  Revision          :  25.00\n IPMI  Version               :  2.0\n Manufacturer  ID            :  2011\n Manufacturer  Name          :  Unknown  (0x7DB)\n Product  ID                 :  0  (0x0000)\n Product  Name               :  Unknown  (0x0)\n Device  Available           :  yes\n Provides  Device  SDRs       :  yes\n Additional  Device  Support  :\n     Sensor  Device\n     SDR  Repository  Device\n     SEL  Device\n     FRU  Inventory  Device\n     IPMB  Event  Generator\n     Chassis  Device\n Aux  Firmware  Rev  Info      :\n     0x00\n     0x00\n     0x00\n     0x01\n 显示mc info正常返回，表示账号和密码成功配置了 openUBMC ssh登录 在使用ssh连接过程中，出现了输入正确密码一直报错的问题。该问题是由于openssh中pam认证失败导致。 # 检查pam.d中ssh的依赖情况\n ls  -l  \u002Fdata\u002Ftrust\u002Fpam_faillock  \\\n       \u002Flib * \u002Fsecurity\u002Fpam_bmc_login.so  \\\n       \u002Flib * \u002Fsecurity\u002Fpam_selinux.so\n       \n # 检查是否存在common-auth common-account common-passwd\n # 一般都是存在的，不存在的是\u002Fdata\u002Ftrust\u002Fpam_faillock,需要手动创建一下， 如果存在就不用去创建了\n touch  \u002Fdata\u002Ftrust\u002Fpam_faillock\n chmod  644  \u002Fdata\u002Ftrust\u002Fpam_faillock\n BMC 网页登录 初始环境中，没有BMC的证书，可以通过openSSL进行证书的生成。有了此证书后，才能够完成Nginx的启动。 证书准备文件有： SSL.p12 通过sftp等方式，将 SSL.p12 上传到openUBMC的 \u002Ftmp 目录下，然后导入证书: date  -s  \"2025-06-09\"  &&  busctl  --user  call  bmc.kepler.certificate  \u002Fbmc\u002Fkepler\u002FCertificateService  bmc.kepler.CertificateService  ImportCertWithKey  a{ss}isss  3  Interface  Busctl  UserName  Adminitrator  ClientAddr  127.0.0.1  1  URI  \u002Ftmp\u002FSSL.p12  \"\"\n 💥 上述命令描述的 2025-06-09 需要设置为生成证书时间之后。否则会有导入错误。导入成功或Nginx和Web都能够正常使用了。即可通过网页登录openUBMC了。 openUBMC系统固化 （最后一步） 在Uboot中，我们配置了tftp下载内核文件等，但此过程无法固化，为此可以通过在网页中升级一次 hpm 包，升级过程中，会把内核文件等烧录到emmc中，之后重启核心板就会依旧是openUBMC系统。同时也会具备主备分区等能力。 QA 如何回滚到openEuler系统？ 1、进入SPI界面，进行环境烧录。参考HI3093提供的软件开发手册\n  2、下载提供的Hi3093的原始启动文件压缩包 ->  https:\u002F\u002Fgitcode.com\u002Ffxx551\u002FHi3093\u002Freleases\u002Fv1.2  \n3、解压压缩包后，将内容上传至ubuntu虚拟机中。并更新到\u002Fvar\u002Flib\u002Ftftpboot 注意这里的hi1711_asic.dtb文件名要变更为 hi3093.dtb  4、进入emmc的Uboot界面，并配置网络\n设置网络，使其能ping通虚拟机\n并配置tftp_network_boot setenv  tftp_network_boot  'tftp ${dtb_load_addr} hi3093.dtb;     \n ${kernel_load_addr} uImage;     \n tftp \n tftp ${initrd_load_addr} initrd_boot.cpio.gz;     \n bootm ${kernel_load_addr} ${initrd_load_addr} : ${initrd_size} ${dtb_load_addr}'\n  = >  ping  ${serverip}\n  Using  hi309x_gmac  device\n  ## Warning: gatewayip needed but not set\n  host  192.168.1.111  is  alive\n  = >  run  tftp_network_boot\n  = >  run  run_linux\n   EMMC 分区概念说明  烧录openUBMC之后，串口卡住 通常openUBMC启动后串口会打印到os侧，如果需要串口打印到串口界面，需要执行 ipmcset -d serialdir -v 1 。该命令可在ssh输入，或在telnet 执行 source \u002Fetc\u002Fprofile 之后执行。 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);}",[16],{"_path":3305,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":3306,"description":3307,"date":10,"sig":11,"archives":12,"category":13,"author":3308,"body":3311,"_type":3296,"_id":7039,"_source":3298,"_file":7040,"_stem":7041,"_extension":3301,"coverImage":223,"plainText":7042,"authorNames":7043},"\u002Fen\u002Fblogs\u002FMigration_system","Hi3093 Development Board Hands-on Guide (openubmc.cn)","openUBMC supports QEMU simulation and debugging. However, there is no efficient debugging method for hardware debugging. After trying many development boards, I summarized some openUBMC startup experience based on the MYC-LHi3093 development board for your reference.",[3309],{"name":16,"description":3310},"openUBMC community developer, focusing on making openUBMC easy to start with, developing the community, and creating new features.",{"type":19,"children":3312,"toc":7008},[3313,3318,3324,3328,3334,3362,3368,3373,3386,3392,3409,3421,3426,3434,3461,3481,3487,3513,3525,3544,3550,3576,3582,3588,3594,3599,3605,3610,3616,3621,3627,3632,3638,3643,3649,3654,3660,3666,3671,3677,3682,3688,3694,3699,3736,3742,3747,3753,3758,4509,4514,4526,4538,4544,4550,4562,4568,4574,4579,4585,4590,4596,4601,4607,4619,4625,4658,4664,4670,4676,4681,5194,5199,5224,5230,5235,5241,5246,5271,5297,5309,5314,5320,5326,5332,5337,5343,5355,5361,5366,5432,5443,5449,5467,5545,5551,5556,5562,5568,5573,5579,5584,5590,5595,5601,5612,5618,5631,6420,6425,6431,6436,6553,6559,6564,6569,6576,6594,6696,6708,6714,6727,6733,6739,6747,6753,6767,6773,6781,6792,6798,6806,6958,6967,6973,6979,6985,7004],{"type":22,"tag":23,"props":3314,"children":3316},{"id":3315},"hi3093-development-board-hands-on-guide-openubmccn",[3317],{"type":28,"value":3306},{"type":22,"tag":31,"props":3319,"children":3321},{"id":3320},"introduction",[3322],{"type":28,"value":3323},"Introduction",{"type":22,"tag":37,"props":3325,"children":3326},{},[3327],{"type":28,"value":3307},{"type":22,"tag":31,"props":3329,"children":3331},{"id":3330},"material-preparation",[3332],{"type":28,"value":3333},"Material Preparation",{"type":22,"tag":59,"props":3335,"children":3336},{},[3337,3342,3347,3352,3357],{"type":22,"tag":63,"props":3338,"children":3339},{},[3340],{"type":28,"value":3341},"Hi3093 core board",{"type":22,"tag":63,"props":3343,"children":3344},{},[3345],{"type":28,"value":3346},"Power adapter of the core board",{"type":22,"tag":63,"props":3348,"children":3349},{},[3350],{"type":28,"value":3351},"Network cable",{"type":22,"tag":63,"props":3353,"children":3354},{},[3355],{"type":28,"value":3356},"Type-C USB cable",{"type":22,"tag":63,"props":3358,"children":3359},{},[3360],{"type":28,"value":3361},"SD card of 8 GB or larger (used to restore the openEuler environment if necessary)",{"type":22,"tag":31,"props":3363,"children":3365},{"id":3364},"environment-preparation",[3366],{"type":28,"value":3367},"Environment Preparation",{"type":22,"tag":37,"props":3369,"children":3370},{},[3371],{"type":28,"value":3372},"The Hi3093 core board is delivered with the openEuler OS by default. We need to replace the openEuler OS with openUBMC RTOS. To do so, complete the following tasks in sequence:",{"type":22,"tag":59,"props":3374,"children":3375},{},[3376,3381],{"type":22,"tag":63,"props":3377,"children":3378},{},[3379],{"type":28,"value":3380},"Customize and create an openUBMC RTOS image.",{"type":22,"tag":63,"props":3382,"children":3383},{},[3384],{"type":28,"value":3385},"Plan and format the core board's storage partitions to ensure compatibility with the openUBMC partition table.",{"type":22,"tag":112,"props":3387,"children":3389},{"id":3388},"creating-an-openubmc-rtos-image",[3390],{"type":28,"value":3391},"Creating an openUBMC RTOS Image",{"type":22,"tag":37,"props":3393,"children":3394},{},[3395,3397,3407],{"type":28,"value":3396},"For details about how to set up the openUBMC development environment, see \"",{"type":22,"tag":124,"props":3398,"children":3399},{},[3400],{"type":22,"tag":43,"props":3401,"children":3404},{"href":3402,"rel":3403},"https:\u002F\u002Fwww.openubmc.cn\u002Fdocs\u002Fen\u002Fdevelopment\u002Fquick_start\u002Fprepare_environment\u002Fubuntu_env.html",[47],[3405],{"type":28,"value":3406},"Ubuntu Development Environment Setup | openUBMC",{"type":28,"value":3408},"\".",{"type":22,"tag":37,"props":3410,"children":3411},{},[3412,3414,3419],{"type":28,"value":3413},"To facilitate subsequent network communication with the core board, ",{"type":22,"tag":124,"props":3415,"children":3416},{},[3417],{"type":28,"value":3418},"you are advised to deploy the Ubuntu environment on a VM",{"type":28,"value":3420}," and complete all initialization steps in the VM. This section uses VirtualBox to set up the openUBMC development environment.",{"type":22,"tag":37,"props":3422,"children":3423},{},[3424],{"type":28,"value":3425},"Follow the following steps to set up the environment and create the openUBMC image:",{"type":22,"tag":453,"props":3427,"children":3428},{},[3429],{"type":22,"tag":63,"props":3430,"children":3431},{},[3432],{"type":28,"value":3433},"Download the Ubuntu 24.04 ISO file and install it in VirtualBox. You are advised to reserve 50 GB storage space.",{"type":22,"tag":37,"props":3435,"children":3436},{},[3437,3439,3445,3447,3452,3454,3459],{"type":28,"value":3438},"⭐ If you do not want to manually create a package, you can download the ",{"type":22,"tag":43,"props":3440,"children":3442},{"href":165,"rel":3441},[47],[3443],{"type":28,"value":3444},"pre-built Hi3093 image",{"type":28,"value":3446}," to skip the build process. Just place related files in their corresponding directories. The ",{"type":22,"tag":173,"props":3448,"children":3450},{"className":3449},[],[3451],{"type":28,"value":178},{"type":28,"value":3453}," package stores all required files for burning. ",{"type":22,"tag":173,"props":3455,"children":3457},{"className":3456},[],[3458],{"type":28,"value":186},{"type":28,"value":3460}," is the HPM package designated for deploying the development board environment.",{"type":22,"tag":37,"props":3462,"children":3463},{},[3464,3466,3471,3473,3479],{"type":28,"value":3465},"❗ If you manually create a package and use openUBMC 25.03, ensure that the IAM version in the ",{"type":22,"tag":173,"props":3467,"children":3469},{"className":3468},[],[3470],{"type":28,"value":207},{"type":28,"value":3472}," file is ",{"type":22,"tag":173,"props":3474,"children":3476},{"className":3475},[],[3477],{"type":28,"value":3478},"1.0.1 or later",{"type":28,"value":3480},".",{"type":22,"tag":37,"props":3482,"children":3483},{},[3484],{"type":22,"tag":220,"props":3485,"children":3486},{"alt":222,"src":223},[],{"type":22,"tag":453,"props":3488,"children":3489},{"start":542},[3490,3501],{"type":22,"tag":63,"props":3491,"children":3492},{},[3493,3495,3500],{"type":28,"value":3494},"Set up the openUBMC environment following instructions in \"",{"type":22,"tag":43,"props":3496,"children":3498},{"href":3402,"rel":3497},[47],[3499],{"type":28,"value":3406},{"type":28,"value":3408},{"type":22,"tag":63,"props":3502,"children":3503},{},[3504,3506,3511],{"type":28,"value":3505},"Install the openUBMC debugging tool ",{"type":22,"tag":43,"props":3507,"children":3509},{"href":244,"rel":3508},[47],[3510],{"type":28,"value":248},{"type":28,"value":3512}," and integrate it into manifest.",{"type":22,"tag":37,"props":3514,"children":3515},{},[3516,3518,3523],{"type":28,"value":3517},"4.Run the ",{"type":22,"tag":173,"props":3519,"children":3521},{"className":3520},[],[3522],{"type":28,"value":261},{"type":28,"value":3524}," command in the manifest directory to create the openUBMC image.",{"type":22,"tag":37,"props":3526,"children":3527},{},[3528,3530,3535,3537,3543],{"type":28,"value":3529},"The ",{"type":22,"tag":173,"props":3531,"children":3533},{"className":3532},[],[3534],{"type":28,"value":274},{"type":28,"value":3536}," image file can be found in ",{"type":22,"tag":173,"props":3538,"children":3540},{"className":3539},[],[3541],{"type":28,"value":3542},"temp\u002Fbuild_openUBMC_debug_dev\u002Foutput",{"type":28,"value":3480},{"type":22,"tag":37,"props":3545,"children":3546},{},[3547],{"type":22,"tag":220,"props":3548,"children":3549},{"alt":281,"src":282},[],{"type":22,"tag":37,"props":3551,"children":3552},{},[3553,3555,3560,3562,3567,3569,3574],{"type":28,"value":3554},"In addition, you need to retrieve ",{"type":22,"tag":173,"props":3556,"children":3558},{"className":3557},[],[3559],{"type":28,"value":302},{"type":28,"value":3561}," (initial Linux RAM disk image) and ",{"type":22,"tag":173,"props":3563,"children":3565},{"className":3564},[],[3566],{"type":28,"value":310},{"type":28,"value":3568}," (Linux kernel image) from the ",{"type":22,"tag":173,"props":3570,"children":3572},{"className":3571},[],[3573],{"type":28,"value":294},{"type":28,"value":3575}," directory.",{"type":22,"tag":37,"props":3577,"children":3578},{},[3579],{"type":22,"tag":220,"props":3580,"children":3581},{"alt":281,"src":332},[],{"type":22,"tag":31,"props":3583,"children":3585},{"id":3584},"_11-image-burning-and-partition-table-configuration",[3586],{"type":28,"value":3587},"1.1 Image Burning and Partition Table Configuration",{"type":22,"tag":112,"props":3589,"children":3591},{"id":3590},"_111-connecting-to-the-core-board",[3592],{"type":28,"value":3593},"1.1.1 Connecting to the Core Board",{"type":22,"tag":37,"props":3595,"children":3596},{},[3597],{"type":28,"value":3598},"We need to connect to the Hi3093 core board through a serial port or other available methods. The following figure shows the core board connection.",{"type":22,"tag":37,"props":3600,"children":3601},{},[3602],{"type":22,"tag":220,"props":3603,"children":3604},{"alt":281,"src":354},[],{"type":22,"tag":37,"props":3606,"children":3607},{},[3608],{"type":28,"value":3609},"❗ During the connection, strictly follow the instructions in the figure. Otherwise, the subsequent operations will fail.",{"type":22,"tag":112,"props":3611,"children":3613},{"id":3612},"_112-starting-the-core-board",[3614],{"type":28,"value":3615},"1.1.2 Starting the Core Board",{"type":22,"tag":37,"props":3617,"children":3618},{},[3619],{"type":28,"value":3620},"The core board is started in eMMC boot mode. Set SW2 as follows.",{"type":22,"tag":37,"props":3622,"children":3623},{},[3624],{"type":22,"tag":220,"props":3625,"children":3626},{"alt":281,"src":376},[],{"type":22,"tag":37,"props":3628,"children":3629},{},[3630],{"type":28,"value":3631},"⭐ You can refer to the core board's user manual for details about how to start the core board in eMMC boot mode.",{"type":22,"tag":112,"props":3633,"children":3635},{"id":3634},"_113-connecting-to-the-core-boards-serial-port",[3636],{"type":28,"value":3637},"1.1.3 Connecting to the Core Board's Serial Port",{"type":22,"tag":37,"props":3639,"children":3640},{},[3641],{"type":28,"value":3642},"After the core board is connected through a Type-C USB cable, you can use serial terminal software to access the serial console interface. Use Xshell to establish a connection.",{"type":22,"tag":37,"props":3644,"children":3645},{},[3646],{"type":22,"tag":220,"props":3647,"children":3648},{"alt":281,"src":398},[],{"type":22,"tag":37,"props":3650,"children":3651},{},[3652],{"type":28,"value":3653},"Select the SERIAL connection mode and access the serial console interface. Then, configure the port number. You need to test the COM port number. If the connection is successful, Connected is returned.",{"type":22,"tag":37,"props":3655,"children":3656},{},[3657],{"type":22,"tag":220,"props":3658,"children":3659},{"alt":281,"src":410},[],{"type":22,"tag":112,"props":3661,"children":3663},{"id":3662},"_114-starting-and-logging-in-to-the-core-board",[3664],{"type":28,"value":3665},"1.1.4 Starting and Logging In to the Core Board",{"type":22,"tag":37,"props":3667,"children":3668},{},[3669],{"type":28,"value":3670},"After Xshell establishes a connection to the serial port, start the core board. You can view the print in the Xshell serial console.",{"type":22,"tag":37,"props":3672,"children":3673},{},[3674],{"type":22,"tag":220,"props":3675,"children":3676},{"alt":281,"src":427},[],{"type":22,"tag":37,"props":3678,"children":3679},{},[3680],{"type":28,"value":3681},"Upon completion of the serial display scrolling, a login prompt will appear. If the serial console remains a blank screen, press the Enter key multiple times to invoke the login interface. If you log in for the first time, the account is root, and the password needs to be manually set (see prompts).",{"type":22,"tag":37,"props":3683,"children":3684},{},[3685],{"type":22,"tag":220,"props":3686,"children":3687},{"alt":281,"src":439},[],{"type":22,"tag":112,"props":3689,"children":3691},{"id":3690},"_115-preparing-an-sd-card",[3692],{"type":28,"value":3693},"1.1.5 Preparing an SD Card",{"type":22,"tag":37,"props":3695,"children":3696},{},[3697],{"type":28,"value":3698},"Subsequent operations will result in modification of the development board's boot image. However, the SPI lacks SSH connectivity. Therefore, you need to prepare an SD card to back up the image. The procedure is as follows:",{"type":22,"tag":453,"props":3700,"children":3701},{},[3702,3714,3726,3731],{"type":22,"tag":63,"props":3703,"children":3704},{},[3705,3707,3712],{"type":28,"value":3706},"Run the ",{"type":22,"tag":173,"props":3708,"children":3710},{"className":3709},[],[3711],{"type":28,"value":464},{"type":28,"value":3713}," command to display available partitions, find the SD card partition, and initialize the partition. (The initialization command is not restricted as long as the development board can identify it, for example, mkfs.vfat.)",{"type":22,"tag":63,"props":3715,"children":3716},{},[3717,3719,3724],{"type":28,"value":3718},"Run mount to ",{"type":22,"tag":173,"props":3720,"children":3722},{"className":3721},[],[3723],{"type":28,"value":477},{"type":28,"value":3725}," the SD card partition to a directory.",{"type":22,"tag":63,"props":3727,"children":3728},{},[3729],{"type":28,"value":3730},"Upload the SPI burning file provided by the vendor (MYiR) through SSH and copy the file to the SD card partition.",{"type":22,"tag":63,"props":3732,"children":3733},{},[3734],{"type":28,"value":3735},"If the openEuler environment needs to be restored, you only need to remount the SD card.",{"type":22,"tag":112,"props":3737,"children":3739},{"id":3738},"_116-configuring-the-partition-table",[3740],{"type":28,"value":3741},"1.1.6 Configuring the Partition Table",{"type":22,"tag":37,"props":3743,"children":3744},{},[3745],{"type":28,"value":3746},"To ensure that the user partition of eMMC can be correctly accessed after openUBMC is started, you need to perform manual partitioning and solidify the partition table in advance. The final partition configuration is as follows:",{"type":22,"tag":37,"props":3748,"children":3749},{},[3750],{"type":22,"tag":220,"props":3751,"children":3752},{"alt":281,"src":505},[],{"type":22,"tag":37,"props":3754,"children":3755},{},[3756],{"type":28,"value":3757},"The actions are as follows:",{"type":22,"tag":513,"props":3759,"children":3761},{"className":515,"code":3760,"language":517,"meta":7,"style":7},"fdisk \u002Fdev\u002Fmmcblk0\n\n\u002Fdev\u002Fmmcblk0p1: Execute n, select p to create a primary partition, and input 16 for StartLBA and 2097167 for EndLBA.\n\n\u002Fdev\u002Fmmcblk0p2: Execute n, select p, and input 2097168 for StartLBA and 9269839 for EndLBA. Then execute t and input c.\n\n\u002Fdev\u002Fmmcblk0p3: Execute n, select e to create an extended partition, and input 9269840 for StartLBA and 12648447 for EndLBA.\n\n\u002Fdev\u002Fmmcblk0p5: Execute n, select l to create a logical partition, and input 9269856 for StartLBA and 9899001 for EndLBA. Then execute t and input c.\n\n\u002Fdev\u002Fmmcblk0p6: Execute n, select l, and input 9899018 for StartLBA and 11367023 for EndLBA.\n\n\u002Fdev\u002Fmmcblk0p7: Execute n, select l, and input 11367040 for StartLBA and 11891327 for EndLBA.\n\n\u002Fdev\u002Fmmcblk0p8: Execute n, select l, and input 12615680 for StartLBA and 12648447 for EndLBA.\n\n\u002Fdev\u002Fmmcblk0p9: Execute n, select l, and input 11891344 for StartLBA and 12615663 for EndLBA.\n\nThen, execute w to save all the configurations.\n\n",[3762],{"type":22,"tag":173,"props":3763,"children":3764},{"__ignoreMap":7},[3765,3776,3783,3879,3886,3978,3985,4070,4077,4185,4192,4255,4262,4324,4331,4392,4399,4461,4468],{"type":22,"tag":523,"props":3766,"children":3767},{"class":525,"line":526},[3768,3772],{"type":22,"tag":523,"props":3769,"children":3770},{"style":530},[3771],{"type":28,"value":533},{"type":22,"tag":523,"props":3773,"children":3774},{"style":536},[3775],{"type":28,"value":539},{"type":22,"tag":523,"props":3777,"children":3778},{"class":525,"line":542},[3779],{"type":22,"tag":523,"props":3780,"children":3781},{"emptyLinePlaceholder":546},[3782],{"type":28,"value":549},{"type":22,"tag":523,"props":3784,"children":3785},{"class":525,"line":552},[3786,3791,3796,3801,3806,3811,3816,3821,3826,3831,3836,3841,3846,3851,3856,3861,3865,3870,3874],{"type":22,"tag":523,"props":3787,"children":3788},{"style":530},[3789],{"type":28,"value":3790},"\u002Fdev\u002Fmmcblk0p1:",{"type":22,"tag":523,"props":3792,"children":3793},{"style":536},[3794],{"type":28,"value":3795}," Execute",{"type":22,"tag":523,"props":3797,"children":3798},{"style":536},[3799],{"type":28,"value":3800}," n,",{"type":22,"tag":523,"props":3802,"children":3803},{"style":536},[3804],{"type":28,"value":3805}," select",{"type":22,"tag":523,"props":3807,"children":3808},{"style":536},[3809],{"type":28,"value":3810}," p",{"type":22,"tag":523,"props":3812,"children":3813},{"style":536},[3814],{"type":28,"value":3815}," to",{"type":22,"tag":523,"props":3817,"children":3818},{"style":536},[3819],{"type":28,"value":3820}," create",{"type":22,"tag":523,"props":3822,"children":3823},{"style":536},[3824],{"type":28,"value":3825}," a",{"type":22,"tag":523,"props":3827,"children":3828},{"style":536},[3829],{"type":28,"value":3830}," primary",{"type":22,"tag":523,"props":3832,"children":3833},{"style":536},[3834],{"type":28,"value":3835}," partition,",{"type":22,"tag":523,"props":3837,"children":3838},{"style":536},[3839],{"type":28,"value":3840}," and",{"type":22,"tag":523,"props":3842,"children":3843},{"style":536},[3844],{"type":28,"value":3845}," input",{"type":22,"tag":523,"props":3847,"children":3848},{"style":1146},[3849],{"type":28,"value":3850}," 16",{"type":22,"tag":523,"props":3852,"children":3853},{"style":536},[3854],{"type":28,"value":3855}," for",{"type":22,"tag":523,"props":3857,"children":3858},{"style":536},[3859],{"type":28,"value":3860}," StartLBA",{"type":22,"tag":523,"props":3862,"children":3863},{"style":536},[3864],{"type":28,"value":3840},{"type":22,"tag":523,"props":3866,"children":3867},{"style":1146},[3868],{"type":28,"value":3869}," 2097167",{"type":22,"tag":523,"props":3871,"children":3872},{"style":536},[3873],{"type":28,"value":3855},{"type":22,"tag":523,"props":3875,"children":3876},{"style":536},[3877],{"type":28,"value":3878}," EndLBA.\n",{"type":22,"tag":523,"props":3880,"children":3881},{"class":525,"line":571},[3882],{"type":22,"tag":523,"props":3883,"children":3884},{"emptyLinePlaceholder":546},[3885],{"type":28,"value":549},{"type":22,"tag":523,"props":3887,"children":3888},{"class":525,"line":579},[3889,3894,3898,3902,3906,3911,3915,3919,3924,3928,3932,3936,3941,3945,3950,3955,3960,3965,3969,3973],{"type":22,"tag":523,"props":3890,"children":3891},{"style":530},[3892],{"type":28,"value":3893},"\u002Fdev\u002Fmmcblk0p2:",{"type":22,"tag":523,"props":3895,"children":3896},{"style":536},[3897],{"type":28,"value":3795},{"type":22,"tag":523,"props":3899,"children":3900},{"style":536},[3901],{"type":28,"value":3800},{"type":22,"tag":523,"props":3903,"children":3904},{"style":536},[3905],{"type":28,"value":3805},{"type":22,"tag":523,"props":3907,"children":3908},{"style":536},[3909],{"type":28,"value":3910}," p,",{"type":22,"tag":523,"props":3912,"children":3913},{"style":536},[3914],{"type":28,"value":3840},{"type":22,"tag":523,"props":3916,"children":3917},{"style":536},[3918],{"type":28,"value":3845},{"type":22,"tag":523,"props":3920,"children":3921},{"style":1146},[3922],{"type":28,"value":3923}," 2097168",{"type":22,"tag":523,"props":3925,"children":3926},{"style":536},[3927],{"type":28,"value":3855},{"type":22,"tag":523,"props":3929,"children":3930},{"style":536},[3931],{"type":28,"value":3860},{"type":22,"tag":523,"props":3933,"children":3934},{"style":536},[3935],{"type":28,"value":3840},{"type":22,"tag":523,"props":3937,"children":3938},{"style":1146},[3939],{"type":28,"value":3940}," 9269839",{"type":22,"tag":523,"props":3942,"children":3943},{"style":536},[3944],{"type":28,"value":3855},{"type":22,"tag":523,"props":3946,"children":3947},{"style":536},[3948],{"type":28,"value":3949}," EndLBA.",{"type":22,"tag":523,"props":3951,"children":3952},{"style":536},[3953],{"type":28,"value":3954}," Then",{"type":22,"tag":523,"props":3956,"children":3957},{"style":536},[3958],{"type":28,"value":3959}," execute",{"type":22,"tag":523,"props":3961,"children":3962},{"style":536},[3963],{"type":28,"value":3964}," t",{"type":22,"tag":523,"props":3966,"children":3967},{"style":536},[3968],{"type":28,"value":3840},{"type":22,"tag":523,"props":3970,"children":3971},{"style":536},[3972],{"type":28,"value":3845},{"type":22,"tag":523,"props":3974,"children":3975},{"style":536},[3976],{"type":28,"value":3977}," c.\n",{"type":22,"tag":523,"props":3979,"children":3980},{"class":525,"line":607},[3981],{"type":22,"tag":523,"props":3982,"children":3983},{"emptyLinePlaceholder":546},[3984],{"type":28,"value":549},{"type":22,"tag":523,"props":3986,"children":3987},{"class":525,"line":615},[3988,3993,3997,4001,4005,4010,4014,4018,4023,4028,4032,4036,4040,4045,4049,4053,4057,4062,4066],{"type":22,"tag":523,"props":3989,"children":3990},{"style":530},[3991],{"type":28,"value":3992},"\u002Fdev\u002Fmmcblk0p3:",{"type":22,"tag":523,"props":3994,"children":3995},{"style":536},[3996],{"type":28,"value":3795},{"type":22,"tag":523,"props":3998,"children":3999},{"style":536},[4000],{"type":28,"value":3800},{"type":22,"tag":523,"props":4002,"children":4003},{"style":536},[4004],{"type":28,"value":3805},{"type":22,"tag":523,"props":4006,"children":4007},{"style":536},[4008],{"type":28,"value":4009}," e",{"type":22,"tag":523,"props":4011,"children":4012},{"style":536},[4013],{"type":28,"value":3815},{"type":22,"tag":523,"props":4015,"children":4016},{"style":536},[4017],{"type":28,"value":3820},{"type":22,"tag":523,"props":4019,"children":4020},{"style":536},[4021],{"type":28,"value":4022}," an",{"type":22,"tag":523,"props":4024,"children":4025},{"style":536},[4026],{"type":28,"value":4027}," extended",{"type":22,"tag":523,"props":4029,"children":4030},{"style":536},[4031],{"type":28,"value":3835},{"type":22,"tag":523,"props":4033,"children":4034},{"style":536},[4035],{"type":28,"value":3840},{"type":22,"tag":523,"props":4037,"children":4038},{"style":536},[4039],{"type":28,"value":3845},{"type":22,"tag":523,"props":4041,"children":4042},{"style":1146},[4043],{"type":28,"value":4044}," 9269840",{"type":22,"tag":523,"props":4046,"children":4047},{"style":536},[4048],{"type":28,"value":3855},{"type":22,"tag":523,"props":4050,"children":4051},{"style":536},[4052],{"type":28,"value":3860},{"type":22,"tag":523,"props":4054,"children":4055},{"style":536},[4056],{"type":28,"value":3840},{"type":22,"tag":523,"props":4058,"children":4059},{"style":1146},[4060],{"type":28,"value":4061}," 12648447",{"type":22,"tag":523,"props":4063,"children":4064},{"style":536},[4065],{"type":28,"value":3855},{"type":22,"tag":523,"props":4067,"children":4068},{"style":536},[4069],{"type":28,"value":3878},{"type":22,"tag":523,"props":4071,"children":4072},{"class":525,"line":639},[4073],{"type":22,"tag":523,"props":4074,"children":4075},{"emptyLinePlaceholder":546},[4076],{"type":28,"value":549},{"type":22,"tag":523,"props":4078,"children":4079},{"class":525,"line":647},[4080,4085,4089,4093,4097,4102,4106,4110,4114,4119,4123,4127,4131,4136,4140,4144,4148,4153,4157,4161,4165,4169,4173,4177,4181],{"type":22,"tag":523,"props":4081,"children":4082},{"style":530},[4083],{"type":28,"value":4084},"\u002Fdev\u002Fmmcblk0p5:",{"type":22,"tag":523,"props":4086,"children":4087},{"style":536},[4088],{"type":28,"value":3795},{"type":22,"tag":523,"props":4090,"children":4091},{"style":536},[4092],{"type":28,"value":3800},{"type":22,"tag":523,"props":4094,"children":4095},{"style":536},[4096],{"type":28,"value":3805},{"type":22,"tag":523,"props":4098,"children":4099},{"style":536},[4100],{"type":28,"value":4101}," l",{"type":22,"tag":523,"props":4103,"children":4104},{"style":536},[4105],{"type":28,"value":3815},{"type":22,"tag":523,"props":4107,"children":4108},{"style":536},[4109],{"type":28,"value":3820},{"type":22,"tag":523,"props":4111,"children":4112},{"style":536},[4113],{"type":28,"value":3825},{"type":22,"tag":523,"props":4115,"children":4116},{"style":536},[4117],{"type":28,"value":4118}," logical",{"type":22,"tag":523,"props":4120,"children":4121},{"style":536},[4122],{"type":28,"value":3835},{"type":22,"tag":523,"props":4124,"children":4125},{"style":536},[4126],{"type":28,"value":3840},{"type":22,"tag":523,"props":4128,"children":4129},{"style":536},[4130],{"type":28,"value":3845},{"type":22,"tag":523,"props":4132,"children":4133},{"style":1146},[4134],{"type":28,"value":4135}," 9269856",{"type":22,"tag":523,"props":4137,"children":4138},{"style":536},[4139],{"type":28,"value":3855},{"type":22,"tag":523,"props":4141,"children":4142},{"style":536},[4143],{"type":28,"value":3860},{"type":22,"tag":523,"props":4145,"children":4146},{"style":536},[4147],{"type":28,"value":3840},{"type":22,"tag":523,"props":4149,"children":4150},{"style":1146},[4151],{"type":28,"value":4152}," 9899001",{"type":22,"tag":523,"props":4154,"children":4155},{"style":536},[4156],{"type":28,"value":3855},{"type":22,"tag":523,"props":4158,"children":4159},{"style":536},[4160],{"type":28,"value":3949},{"type":22,"tag":523,"props":4162,"children":4163},{"style":536},[4164],{"type":28,"value":3954},{"type":22,"tag":523,"props":4166,"children":4167},{"style":536},[4168],{"type":28,"value":3959},{"type":22,"tag":523,"props":4170,"children":4171},{"style":536},[4172],{"type":28,"value":3964},{"type":22,"tag":523,"props":4174,"children":4175},{"style":536},[4176],{"type":28,"value":3840},{"type":22,"tag":523,"props":4178,"children":4179},{"style":536},[4180],{"type":28,"value":3845},{"type":22,"tag":523,"props":4182,"children":4183},{"style":536},[4184],{"type":28,"value":3977},{"type":22,"tag":523,"props":4186,"children":4187},{"class":525,"line":669},[4188],{"type":22,"tag":523,"props":4189,"children":4190},{"emptyLinePlaceholder":546},[4191],{"type":28,"value":549},{"type":22,"tag":523,"props":4193,"children":4194},{"class":525,"line":677},[4195,4200,4204,4208,4212,4217,4221,4225,4230,4234,4238,4242,4247,4251],{"type":22,"tag":523,"props":4196,"children":4197},{"style":530},[4198],{"type":28,"value":4199},"\u002Fdev\u002Fmmcblk0p6:",{"type":22,"tag":523,"props":4201,"children":4202},{"style":536},[4203],{"type":28,"value":3795},{"type":22,"tag":523,"props":4205,"children":4206},{"style":536},[4207],{"type":28,"value":3800},{"type":22,"tag":523,"props":4209,"children":4210},{"style":536},[4211],{"type":28,"value":3805},{"type":22,"tag":523,"props":4213,"children":4214},{"style":536},[4215],{"type":28,"value":4216}," l,",{"type":22,"tag":523,"props":4218,"children":4219},{"style":536},[4220],{"type":28,"value":3840},{"type":22,"tag":523,"props":4222,"children":4223},{"style":536},[4224],{"type":28,"value":3845},{"type":22,"tag":523,"props":4226,"children":4227},{"style":1146},[4228],{"type":28,"value":4229}," 9899018",{"type":22,"tag":523,"props":4231,"children":4232},{"style":536},[4233],{"type":28,"value":3855},{"type":22,"tag":523,"props":4235,"children":4236},{"style":536},[4237],{"type":28,"value":3860},{"type":22,"tag":523,"props":4239,"children":4240},{"style":536},[4241],{"type":28,"value":3840},{"type":22,"tag":523,"props":4243,"children":4244},{"style":1146},[4245],{"type":28,"value":4246}," 11367023",{"type":22,"tag":523,"props":4248,"children":4249},{"style":536},[4250],{"type":28,"value":3855},{"type":22,"tag":523,"props":4252,"children":4253},{"style":536},[4254],{"type":28,"value":3878},{"type":22,"tag":523,"props":4256,"children":4257},{"class":525,"line":695},[4258],{"type":22,"tag":523,"props":4259,"children":4260},{"emptyLinePlaceholder":546},[4261],{"type":28,"value":549},{"type":22,"tag":523,"props":4263,"children":4264},{"class":525,"line":703},[4265,4270,4274,4278,4282,4286,4290,4294,4299,4303,4307,4311,4316,4320],{"type":22,"tag":523,"props":4266,"children":4267},{"style":530},[4268],{"type":28,"value":4269},"\u002Fdev\u002Fmmcblk0p7:",{"type":22,"tag":523,"props":4271,"children":4272},{"style":536},[4273],{"type":28,"value":3795},{"type":22,"tag":523,"props":4275,"children":4276},{"style":536},[4277],{"type":28,"value":3800},{"type":22,"tag":523,"props":4279,"children":4280},{"style":536},[4281],{"type":28,"value":3805},{"type":22,"tag":523,"props":4283,"children":4284},{"style":536},[4285],{"type":28,"value":4216},{"type":22,"tag":523,"props":4287,"children":4288},{"style":536},[4289],{"type":28,"value":3840},{"type":22,"tag":523,"props":4291,"children":4292},{"style":536},[4293],{"type":28,"value":3845},{"type":22,"tag":523,"props":4295,"children":4296},{"style":1146},[4297],{"type":28,"value":4298}," 11367040",{"type":22,"tag":523,"props":4300,"children":4301},{"style":536},[4302],{"type":28,"value":3855},{"type":22,"tag":523,"props":4304,"children":4305},{"style":536},[4306],{"type":28,"value":3860},{"type":22,"tag":523,"props":4308,"children":4309},{"style":536},[4310],{"type":28,"value":3840},{"type":22,"tag":523,"props":4312,"children":4313},{"style":1146},[4314],{"type":28,"value":4315}," 11891327",{"type":22,"tag":523,"props":4317,"children":4318},{"style":536},[4319],{"type":28,"value":3855},{"type":22,"tag":523,"props":4321,"children":4322},{"style":536},[4323],{"type":28,"value":3878},{"type":22,"tag":523,"props":4325,"children":4326},{"class":525,"line":721},[4327],{"type":22,"tag":523,"props":4328,"children":4329},{"emptyLinePlaceholder":546},[4330],{"type":28,"value":549},{"type":22,"tag":523,"props":4332,"children":4333},{"class":525,"line":729},[4334,4339,4343,4347,4351,4355,4359,4363,4368,4372,4376,4380,4384,4388],{"type":22,"tag":523,"props":4335,"children":4336},{"style":530},[4337],{"type":28,"value":4338},"\u002Fdev\u002Fmmcblk0p8:",{"type":22,"tag":523,"props":4340,"children":4341},{"style":536},[4342],{"type":28,"value":3795},{"type":22,"tag":523,"props":4344,"children":4345},{"style":536},[4346],{"type":28,"value":3800},{"type":22,"tag":523,"props":4348,"children":4349},{"style":536},[4350],{"type":28,"value":3805},{"type":22,"tag":523,"props":4352,"children":4353},{"style":536},[4354],{"type":28,"value":4216},{"type":22,"tag":523,"props":4356,"children":4357},{"style":536},[4358],{"type":28,"value":3840},{"type":22,"tag":523,"props":4360,"children":4361},{"style":536},[4362],{"type":28,"value":3845},{"type":22,"tag":523,"props":4364,"children":4365},{"style":1146},[4366],{"type":28,"value":4367}," 12615680",{"type":22,"tag":523,"props":4369,"children":4370},{"style":536},[4371],{"type":28,"value":3855},{"type":22,"tag":523,"props":4373,"children":4374},{"style":536},[4375],{"type":28,"value":3860},{"type":22,"tag":523,"props":4377,"children":4378},{"style":536},[4379],{"type":28,"value":3840},{"type":22,"tag":523,"props":4381,"children":4382},{"style":1146},[4383],{"type":28,"value":4061},{"type":22,"tag":523,"props":4385,"children":4386},{"style":536},[4387],{"type":28,"value":3855},{"type":22,"tag":523,"props":4389,"children":4390},{"style":536},[4391],{"type":28,"value":3878},{"type":22,"tag":523,"props":4393,"children":4394},{"class":525,"line":747},[4395],{"type":22,"tag":523,"props":4396,"children":4397},{"emptyLinePlaceholder":546},[4398],{"type":28,"value":549},{"type":22,"tag":523,"props":4400,"children":4401},{"class":525,"line":755},[4402,4407,4411,4415,4419,4423,4427,4431,4436,4440,4444,4448,4453,4457],{"type":22,"tag":523,"props":4403,"children":4404},{"style":530},[4405],{"type":28,"value":4406},"\u002Fdev\u002Fmmcblk0p9:",{"type":22,"tag":523,"props":4408,"children":4409},{"style":536},[4410],{"type":28,"value":3795},{"type":22,"tag":523,"props":4412,"children":4413},{"style":536},[4414],{"type":28,"value":3800},{"type":22,"tag":523,"props":4416,"children":4417},{"style":536},[4418],{"type":28,"value":3805},{"type":22,"tag":523,"props":4420,"children":4421},{"style":536},[4422],{"type":28,"value":4216},{"type":22,"tag":523,"props":4424,"children":4425},{"style":536},[4426],{"type":28,"value":3840},{"type":22,"tag":523,"props":4428,"children":4429},{"style":536},[4430],{"type":28,"value":3845},{"type":22,"tag":523,"props":4432,"children":4433},{"style":1146},[4434],{"type":28,"value":4435}," 11891344",{"type":22,"tag":523,"props":4437,"children":4438},{"style":536},[4439],{"type":28,"value":3855},{"type":22,"tag":523,"props":4441,"children":4442},{"style":536},[4443],{"type":28,"value":3860},{"type":22,"tag":523,"props":4445,"children":4446},{"style":536},[4447],{"type":28,"value":3840},{"type":22,"tag":523,"props":4449,"children":4450},{"style":1146},[4451],{"type":28,"value":4452}," 12615663",{"type":22,"tag":523,"props":4454,"children":4455},{"style":536},[4456],{"type":28,"value":3855},{"type":22,"tag":523,"props":4458,"children":4459},{"style":536},[4460],{"type":28,"value":3878},{"type":22,"tag":523,"props":4462,"children":4463},{"class":525,"line":773},[4464],{"type":22,"tag":523,"props":4465,"children":4466},{"emptyLinePlaceholder":546},[4467],{"type":28,"value":549},{"type":22,"tag":523,"props":4469,"children":4470},{"class":525,"line":781},[4471,4476,4480,4485,4489,4494,4499,4504],{"type":22,"tag":523,"props":4472,"children":4473},{"style":530},[4474],{"type":28,"value":4475},"Then,",{"type":22,"tag":523,"props":4477,"children":4478},{"style":536},[4479],{"type":28,"value":3959},{"type":22,"tag":523,"props":4481,"children":4482},{"style":536},[4483],{"type":28,"value":4484}," w",{"type":22,"tag":523,"props":4486,"children":4487},{"style":536},[4488],{"type":28,"value":3815},{"type":22,"tag":523,"props":4490,"children":4491},{"style":536},[4492],{"type":28,"value":4493}," save",{"type":22,"tag":523,"props":4495,"children":4496},{"style":536},[4497],{"type":28,"value":4498}," all",{"type":22,"tag":523,"props":4500,"children":4501},{"style":536},[4502],{"type":28,"value":4503}," the",{"type":22,"tag":523,"props":4505,"children":4506},{"style":536},[4507],{"type":28,"value":4508}," configurations.\n",{"type":22,"tag":37,"props":4510,"children":4511},{},[4512],{"type":28,"value":4513},"After the partitions are created, format each partition.",{"type":22,"tag":37,"props":4515,"children":4516},{},[4517,4519,4525],{"type":28,"value":4518},"For partitions designated as Win95 FAT32, use the mkfs.vfat utility for formatting, for example, ",{"type":22,"tag":173,"props":4520,"children":4522},{"className":4521},[],[4523],{"type":28,"value":4524},"mkfs.vfat \u002Fdev\u002Fmmcblk0p2",{"type":28,"value":3480},{"type":22,"tag":37,"props":4527,"children":4528},{},[4529,4531,4537],{"type":28,"value":4530},"Other partitions need to be formatted using mkfs.ext4, for example, ",{"type":22,"tag":173,"props":4532,"children":4534},{"className":4533},[],[4535],{"type":28,"value":4536},"mkfs.ext4 \u002Fdev\u002Fmmcblk0p1",{"type":28,"value":3480},{"type":22,"tag":112,"props":4539,"children":4541},{"id":4540},"_117-burning-the-image",[4542],{"type":28,"value":4543},"1.1.7 Burning the Image",{"type":22,"tag":809,"props":4545,"children":4547},{"id":4546},"core-board-network-configuration",[4548],{"type":28,"value":4549},"Core Board Network Configuration",{"type":22,"tag":37,"props":4551,"children":4552},{},[4553,4555,4560],{"type":28,"value":4554},"To burn related image files to the core board, you need to upload the image files to the core board using a file transfer mode such as SFTP. Run the ",{"type":22,"tag":173,"props":4556,"children":4558},{"className":4557},[],[4559],{"type":28,"value":824},{"type":28,"value":4561}," command to configure the network on the core board first.",{"type":22,"tag":37,"props":4563,"children":4564},{},[4565],{"type":22,"tag":220,"props":4566,"children":4567},{"alt":281,"src":830},[],{"type":22,"tag":112,"props":4569,"children":4571},{"id":4570},"_118-configuring-the-windows-network-and-uploading-the-image-package",[4572],{"type":28,"value":4573},"1.1.8 Configuring the Windows Network and Uploading the Image Package",{"type":22,"tag":37,"props":4575,"children":4576},{},[4577],{"type":28,"value":4578},"Open the network connection page of Windows. Select the appropriate Ethernet (you need to identify the correct Ethernet interface, which can be determined by removing and inserting the Ethernet cable).",{"type":22,"tag":37,"props":4580,"children":4581},{},[4582],{"type":22,"tag":220,"props":4583,"children":4584},{"alt":281,"src":848},[],{"type":22,"tag":37,"props":4586,"children":4587},{},[4588],{"type":28,"value":4589},"Configure the IP address of the Ethernet to be in the same network segment as the core board.",{"type":22,"tag":37,"props":4591,"children":4592},{},[4593],{"type":22,"tag":220,"props":4594,"children":4595},{"alt":281,"src":860},[],{"type":22,"tag":37,"props":4597,"children":4598},{},[4599],{"type":28,"value":4600},"After the configuration, test the network connection on the Windows PC.",{"type":22,"tag":37,"props":4602,"children":4603},{},[4604],{"type":22,"tag":220,"props":4605,"children":4606},{"alt":281,"src":879},[],{"type":22,"tag":37,"props":4608,"children":4609},{},[4610,4612,4617],{"type":28,"value":4611},"If the preceding print is displayed, the connection is successful. Then, you can upload the image files to the ",{"type":22,"tag":173,"props":4613,"children":4615},{"className":4614},[],[4616],{"type":28,"value":891},{"type":28,"value":4618}," directory of the core board via SFTP. This transfer can be performed using Xshell's SFTP functionality or WinSCP. The following uses WinSCP as an example:",{"type":22,"tag":37,"props":4620,"children":4621},{},[4622],{"type":22,"tag":220,"props":4623,"children":4624},{"alt":281,"src":899},[],{"type":22,"tag":37,"props":4626,"children":4627},{},[4628,4630,4636,4638,4643,4645,4650,4652,4657],{"type":28,"value":4629},"After the connection is successful, upload the following files in ",{"type":22,"tag":173,"props":4631,"children":4633},{"className":4632},[],[4634],{"type":28,"value":4635},"MYD-LHI3093-V2\\SoftwareFiles\\02-Images",{"type":28,"value":4637},". ⭐ The files are core board documents provided by MYiR. Upload the openUBMC image package ",{"type":22,"tag":173,"props":4639,"children":4641},{"className":4640},[],[4642],{"type":28,"value":274},{"type":28,"value":4644}," to the ",{"type":22,"tag":173,"props":4646,"children":4648},{"className":4647},[],[4649],{"type":28,"value":891},{"type":28,"value":4651}," directory and rename the package ",{"type":22,"tag":173,"props":4653,"children":4655},{"className":4654},[],[4656],{"type":28,"value":925},{"type":28,"value":3480},{"type":22,"tag":37,"props":4659,"children":4660},{},[4661],{"type":22,"tag":220,"props":4662,"children":4663},{"alt":281,"src":932},[],{"type":22,"tag":37,"props":4665,"children":4666},{},[4667],{"type":22,"tag":220,"props":4668,"children":4669},{"alt":281,"src":939},[],{"type":22,"tag":809,"props":4671,"children":4673},{"id":4672},"image-package-burning",[4674],{"type":28,"value":4675},"Image Package Burning",{"type":22,"tag":37,"props":4677,"children":4678},{},[4679],{"type":28,"value":4680},"Hi3093 provides an upgrade script. You only need to perform the following procedure through the serial console interface of the core board to complete the upgrade.",{"type":22,"tag":513,"props":4682,"children":4683},{"className":515,"code":953,"language":517,"meta":7,"style":7},[4684],{"type":22,"tag":173,"props":4685,"children":4686},{"__ignoreMap":7},[4687,4702,4717,4732,4747,4762,4769,4776,4783,4798,4813,4828,4859,4874,4889,4904,4935,4950,4965,4980,5011,5026,5041,5056,5087,5102,5117,5132,5163],{"type":22,"tag":523,"props":4688,"children":4689},{"class":525,"line":526},[4690,4694,4698],{"type":22,"tag":523,"props":4691,"children":4692},{"style":530},[4693],{"type":28,"value":965},{"type":22,"tag":523,"props":4695,"children":4696},{"style":536},[4697],{"type":28,"value":970},{"type":22,"tag":523,"props":4699,"children":4700},{"style":973},[4701],{"type":28,"value":976},{"type":22,"tag":523,"props":4703,"children":4704},{"class":525,"line":542},[4705,4709,4713],{"type":22,"tag":523,"props":4706,"children":4707},{"style":530},[4708],{"type":28,"value":965},{"type":22,"tag":523,"props":4710,"children":4711},{"style":536},[4712],{"type":28,"value":988},{"type":22,"tag":523,"props":4714,"children":4715},{"style":973},[4716],{"type":28,"value":993},{"type":22,"tag":523,"props":4718,"children":4719},{"class":525,"line":552},[4720,4724,4728],{"type":22,"tag":523,"props":4721,"children":4722},{"style":530},[4723],{"type":28,"value":925},{"type":22,"tag":523,"props":4725,"children":4726},{"style":536},[4727],{"type":28,"value":1005},{"type":22,"tag":523,"props":4729,"children":4730},{"style":536},[4731],{"type":28,"value":1010},{"type":22,"tag":523,"props":4733,"children":4734},{"class":525,"line":571},[4735,4739,4743],{"type":22,"tag":523,"props":4736,"children":4737},{"style":530},[4738],{"type":28,"value":1018},{"type":22,"tag":523,"props":4740,"children":4741},{"style":536},[4742],{"type":28,"value":1023},{"type":22,"tag":523,"props":4744,"children":4745},{"style":536},[4746],{"type":28,"value":1028},{"type":22,"tag":523,"props":4748,"children":4749},{"class":525,"line":579},[4750,4754,4758],{"type":22,"tag":523,"props":4751,"children":4752},{"style":530},[4753],{"type":28,"value":965},{"type":22,"tag":523,"props":4755,"children":4756},{"style":536},[4757],{"type":28,"value":988},{"type":22,"tag":523,"props":4759,"children":4760},{"style":973},[4761],{"type":28,"value":1044},{"type":22,"tag":523,"props":4763,"children":4764},{"class":525,"line":607},[4765],{"type":22,"tag":523,"props":4766,"children":4767},{"style":530},[4768],{"type":28,"value":1052},{"type":22,"tag":523,"props":4770,"children":4771},{"class":525,"line":615},[4772],{"type":22,"tag":523,"props":4773,"children":4774},{"style":530},[4775],{"type":28,"value":1060},{"type":22,"tag":523,"props":4777,"children":4778},{"class":525,"line":639},[4779],{"type":22,"tag":523,"props":4780,"children":4781},{"style":530},[4782],{"type":28,"value":1068},{"type":22,"tag":523,"props":4784,"children":4785},{"class":525,"line":647},[4786,4790,4794],{"type":22,"tag":523,"props":4787,"children":4788},{"style":530},[4789],{"type":28,"value":1076},{"type":22,"tag":523,"props":4791,"children":4792},{"style":536},[4793],{"type":28,"value":1081},{"type":22,"tag":523,"props":4795,"children":4796},{"style":536},[4797],{"type":28,"value":1086},{"type":22,"tag":523,"props":4799,"children":4800},{"class":525,"line":669},[4801,4805,4809],{"type":22,"tag":523,"props":4802,"children":4803},{"style":530},[4804],{"type":28,"value":1094},{"type":22,"tag":523,"props":4806,"children":4807},{"style":536},[4808],{"type":28,"value":1099},{"type":22,"tag":523,"props":4810,"children":4811},{"style":536},[4812],{"type":28,"value":1104},{"type":22,"tag":523,"props":4814,"children":4815},{"class":525,"line":677},[4816,4820,4824],{"type":22,"tag":523,"props":4817,"children":4818},{"style":530},[4819],{"type":28,"value":1094},{"type":22,"tag":523,"props":4821,"children":4822},{"style":536},[4823],{"type":28,"value":1099},{"type":22,"tag":523,"props":4825,"children":4826},{"style":536},[4827],{"type":28,"value":1120},{"type":22,"tag":523,"props":4829,"children":4830},{"class":525,"line":695},[4831,4835,4839,4843,4847,4851,4855],{"type":22,"tag":523,"props":4832,"children":4833},{"style":530},[4834],{"type":28,"value":1128},{"type":22,"tag":523,"props":4836,"children":4837},{"style":536},[4838],{"type":28,"value":1133},{"type":22,"tag":523,"props":4840,"children":4841},{"style":633},[4842],{"type":28,"value":1138},{"type":22,"tag":523,"props":4844,"children":4845},{"style":536},[4846],{"type":28,"value":1143},{"type":22,"tag":523,"props":4848,"children":4849},{"style":1146},[4850],{"type":28,"value":1149},{"type":22,"tag":523,"props":4852,"children":4853},{"style":536},[4854],{"type":28,"value":1154},{"type":22,"tag":523,"props":4856,"children":4857},{"style":633},[4858],{"type":28,"value":1159},{"type":22,"tag":523,"props":4860,"children":4861},{"class":525,"line":703},[4862,4866,4870],{"type":22,"tag":523,"props":4863,"children":4864},{"style":530},[4865],{"type":28,"value":1076},{"type":22,"tag":523,"props":4867,"children":4868},{"style":536},[4869],{"type":28,"value":1081},{"type":22,"tag":523,"props":4871,"children":4872},{"style":536},[4873],{"type":28,"value":1175},{"type":22,"tag":523,"props":4875,"children":4876},{"class":525,"line":721},[4877,4881,4885],{"type":22,"tag":523,"props":4878,"children":4879},{"style":530},[4880],{"type":28,"value":1183},{"type":22,"tag":523,"props":4882,"children":4883},{"style":536},[4884],{"type":28,"value":1099},{"type":22,"tag":523,"props":4886,"children":4887},{"style":536},[4888],{"type":28,"value":1104},{"type":22,"tag":523,"props":4890,"children":4891},{"class":525,"line":729},[4892,4896,4900],{"type":22,"tag":523,"props":4893,"children":4894},{"style":530},[4895],{"type":28,"value":1183},{"type":22,"tag":523,"props":4897,"children":4898},{"style":536},[4899],{"type":28,"value":1099},{"type":22,"tag":523,"props":4901,"children":4902},{"style":536},[4903],{"type":28,"value":1120},{"type":22,"tag":523,"props":4905,"children":4906},{"class":525,"line":747},[4907,4911,4915,4919,4923,4927,4931],{"type":22,"tag":523,"props":4908,"children":4909},{"style":530},[4910],{"type":28,"value":1214},{"type":22,"tag":523,"props":4912,"children":4913},{"style":536},[4914],{"type":28,"value":1133},{"type":22,"tag":523,"props":4916,"children":4917},{"style":633},[4918],{"type":28,"value":1223},{"type":22,"tag":523,"props":4920,"children":4921},{"style":536},[4922],{"type":28,"value":1143},{"type":22,"tag":523,"props":4924,"children":4925},{"style":1146},[4926],{"type":28,"value":1232},{"type":22,"tag":523,"props":4928,"children":4929},{"style":536},[4930],{"type":28,"value":1154},{"type":22,"tag":523,"props":4932,"children":4933},{"style":633},[4934],{"type":28,"value":1241},{"type":22,"tag":523,"props":4936,"children":4937},{"class":525,"line":755},[4938,4942,4946],{"type":22,"tag":523,"props":4939,"children":4940},{"style":530},[4941],{"type":28,"value":1076},{"type":22,"tag":523,"props":4943,"children":4944},{"style":536},[4945],{"type":28,"value":1081},{"type":22,"tag":523,"props":4947,"children":4948},{"style":536},[4949],{"type":28,"value":1257},{"type":22,"tag":523,"props":4951,"children":4952},{"class":525,"line":773},[4953,4957,4961],{"type":22,"tag":523,"props":4954,"children":4955},{"style":530},[4956],{"type":28,"value":1265},{"type":22,"tag":523,"props":4958,"children":4959},{"style":536},[4960],{"type":28,"value":1099},{"type":22,"tag":523,"props":4962,"children":4963},{"style":536},[4964],{"type":28,"value":1104},{"type":22,"tag":523,"props":4966,"children":4967},{"class":525,"line":781},[4968,4972,4976],{"type":22,"tag":523,"props":4969,"children":4970},{"style":530},[4971],{"type":28,"value":1265},{"type":22,"tag":523,"props":4973,"children":4974},{"style":536},[4975],{"type":28,"value":1099},{"type":22,"tag":523,"props":4977,"children":4978},{"style":536},[4979],{"type":28,"value":1120},{"type":22,"tag":523,"props":4981,"children":4982},{"class":525,"line":1291},[4983,4987,4991,4995,4999,5003,5007],{"type":22,"tag":523,"props":4984,"children":4985},{"style":530},[4986],{"type":28,"value":1297},{"type":22,"tag":523,"props":4988,"children":4989},{"style":536},[4990],{"type":28,"value":1133},{"type":22,"tag":523,"props":4992,"children":4993},{"style":633},[4994],{"type":28,"value":1306},{"type":22,"tag":523,"props":4996,"children":4997},{"style":536},[4998],{"type":28,"value":1143},{"type":22,"tag":523,"props":5000,"children":5001},{"style":1146},[5002],{"type":28,"value":1315},{"type":22,"tag":523,"props":5004,"children":5005},{"style":536},[5006],{"type":28,"value":1154},{"type":22,"tag":523,"props":5008,"children":5009},{"style":633},[5010],{"type":28,"value":1324},{"type":22,"tag":523,"props":5012,"children":5013},{"class":525,"line":1327},[5014,5018,5022],{"type":22,"tag":523,"props":5015,"children":5016},{"style":530},[5017],{"type":28,"value":1076},{"type":22,"tag":523,"props":5019,"children":5020},{"style":536},[5021],{"type":28,"value":1081},{"type":22,"tag":523,"props":5023,"children":5024},{"style":536},[5025],{"type":28,"value":1341},{"type":22,"tag":523,"props":5027,"children":5028},{"class":525,"line":1344},[5029,5033,5037],{"type":22,"tag":523,"props":5030,"children":5031},{"style":530},[5032],{"type":28,"value":1350},{"type":22,"tag":523,"props":5034,"children":5035},{"style":536},[5036],{"type":28,"value":1099},{"type":22,"tag":523,"props":5038,"children":5039},{"style":536},[5040],{"type":28,"value":1104},{"type":22,"tag":523,"props":5042,"children":5043},{"class":525,"line":1361},[5044,5048,5052],{"type":22,"tag":523,"props":5045,"children":5046},{"style":530},[5047],{"type":28,"value":1350},{"type":22,"tag":523,"props":5049,"children":5050},{"style":536},[5051],{"type":28,"value":1099},{"type":22,"tag":523,"props":5053,"children":5054},{"style":536},[5055],{"type":28,"value":1120},{"type":22,"tag":523,"props":5057,"children":5058},{"class":525,"line":1377},[5059,5063,5067,5071,5075,5079,5083],{"type":22,"tag":523,"props":5060,"children":5061},{"style":530},[5062],{"type":28,"value":1383},{"type":22,"tag":523,"props":5064,"children":5065},{"style":536},[5066],{"type":28,"value":1133},{"type":22,"tag":523,"props":5068,"children":5069},{"style":633},[5070],{"type":28,"value":1392},{"type":22,"tag":523,"props":5072,"children":5073},{"style":536},[5074],{"type":28,"value":1143},{"type":22,"tag":523,"props":5076,"children":5077},{"style":1146},[5078],{"type":28,"value":1401},{"type":22,"tag":523,"props":5080,"children":5081},{"style":536},[5082],{"type":28,"value":1154},{"type":22,"tag":523,"props":5084,"children":5085},{"style":633},[5086],{"type":28,"value":1410},{"type":22,"tag":523,"props":5088,"children":5089},{"class":525,"line":1413},[5090,5094,5098],{"type":22,"tag":523,"props":5091,"children":5092},{"style":530},[5093],{"type":28,"value":1076},{"type":22,"tag":523,"props":5095,"children":5096},{"style":536},[5097],{"type":28,"value":1081},{"type":22,"tag":523,"props":5099,"children":5100},{"style":536},[5101],{"type":28,"value":1427},{"type":22,"tag":523,"props":5103,"children":5104},{"class":525,"line":1430},[5105,5109,5113],{"type":22,"tag":523,"props":5106,"children":5107},{"style":530},[5108],{"type":28,"value":1436},{"type":22,"tag":523,"props":5110,"children":5111},{"style":536},[5112],{"type":28,"value":1099},{"type":22,"tag":523,"props":5114,"children":5115},{"style":536},[5116],{"type":28,"value":1104},{"type":22,"tag":523,"props":5118,"children":5119},{"class":525,"line":1447},[5120,5124,5128],{"type":22,"tag":523,"props":5121,"children":5122},{"style":530},[5123],{"type":28,"value":1436},{"type":22,"tag":523,"props":5125,"children":5126},{"style":536},[5127],{"type":28,"value":1099},{"type":22,"tag":523,"props":5129,"children":5130},{"style":536},[5131],{"type":28,"value":1120},{"type":22,"tag":523,"props":5133,"children":5134},{"class":525,"line":1463},[5135,5139,5143,5147,5151,5155,5159],{"type":22,"tag":523,"props":5136,"children":5137},{"style":530},[5138],{"type":28,"value":1469},{"type":22,"tag":523,"props":5140,"children":5141},{"style":536},[5142],{"type":28,"value":1133},{"type":22,"tag":523,"props":5144,"children":5145},{"style":633},[5146],{"type":28,"value":1478},{"type":22,"tag":523,"props":5148,"children":5149},{"style":536},[5150],{"type":28,"value":1483},{"type":22,"tag":523,"props":5152,"children":5153},{"style":1146},[5154],{"type":28,"value":1488},{"type":22,"tag":523,"props":5156,"children":5157},{"style":536},[5158],{"type":28,"value":1493},{"type":22,"tag":523,"props":5160,"children":5161},{"style":633},[5162],{"type":28,"value":1498},{"type":22,"tag":523,"props":5164,"children":5165},{"class":525,"line":1501},[5166,5170,5174,5178,5182,5186,5190],{"type":22,"tag":523,"props":5167,"children":5168},{"style":530},[5169],{"type":28,"value":1507},{"type":22,"tag":523,"props":5171,"children":5172},{"style":536},[5173],{"type":28,"value":1512},{"type":22,"tag":523,"props":5175,"children":5176},{"style":536},[5177],{"type":28,"value":1517},{"type":22,"tag":523,"props":5179,"children":5180},{"style":536},[5181],{"type":28,"value":1522},{"type":22,"tag":523,"props":5183,"children":5184},{"style":536},[5185],{"type":28,"value":1527},{"type":22,"tag":523,"props":5187,"children":5188},{"style":536},[5189],{"type":28,"value":1532},{"type":22,"tag":523,"props":5191,"children":5192},{"style":536},[5193],{"type":28,"value":1537},{"type":22,"tag":37,"props":5195,"children":5196},{},[5197],{"type":28,"value":5198},"The \"`emmc update success, please reboot your board...``\" message indicates that the burning is successful. Before rebooting the board, download the \u002Fboot\u002Fhi1711_asci.dtb file on the core board to the Windows PC as a backup over SSH.",{"type":22,"tag":37,"props":5200,"children":5201},{},[5202,5203,5208,5210,5215,5217,5222],{"type":28,"value":3706},{"type":22,"tag":173,"props":5204,"children":5206},{"className":5205},[],[5207],{"type":28,"value":1561},{"type":28,"value":5209}," command. Note that the reboot does not mean that the openUBMC image is successfully upgraded. You need to modify the U-Boot configuration to load ",{"type":22,"tag":173,"props":5211,"children":5213},{"className":5212},[],[5214],{"type":28,"value":302},{"type":28,"value":5216}," and ",{"type":22,"tag":173,"props":5218,"children":5220},{"className":5219},[],[5221],{"type":28,"value":310},{"type":28,"value":5223}," of openUBMC.",{"type":22,"tag":809,"props":5225,"children":5227},{"id":5226},"_1181-u-boot-configuration-modification",[5228],{"type":28,"value":5229},"1.1.8.1 U-Boot Configuration Modification",{"type":22,"tag":37,"props":5231,"children":5232},{},[5233],{"type":28,"value":5234},"Since only the image file has been modified, and the Linux kernel's uImage file remains unchanged, replacement must be executed via TFTP. After the reboot, press Enter until the U-Boot configuration page is displayed.",{"type":22,"tag":37,"props":5236,"children":5237},{},[5238],{"type":22,"tag":220,"props":5239,"children":5240},{"alt":281,"src":1592},[],{"type":22,"tag":37,"props":5242,"children":5243},{},[5244],{"type":28,"value":5245},"Before U-Boot configuration, ensure that the core board's U-Boot can access the TFTP server hosted on the Ubuntu development server. Install tftpd in the Ubuntu environment.",{"type":22,"tag":513,"props":5247,"children":5248},{"className":515,"code":1601,"language":517,"meta":7,"style":7},[5249],{"type":22,"tag":173,"props":5250,"children":5251},{"__ignoreMap":7},[5252],{"type":22,"tag":523,"props":5253,"children":5254},{"class":525,"line":526},[5255,5259,5263,5267],{"type":22,"tag":523,"props":5256,"children":5257},{"style":530},[5258],{"type":28,"value":1613},{"type":22,"tag":523,"props":5260,"children":5261},{"style":536},[5262],{"type":28,"value":1618},{"type":22,"tag":523,"props":5264,"children":5265},{"style":536},[5266],{"type":28,"value":1623},{"type":22,"tag":523,"props":5268,"children":5269},{"style":536},[5270],{"type":28,"value":1628},{"type":22,"tag":37,"props":5272,"children":5273},{},[5274,5276,5281,5282,5287,5289,5295],{"type":28,"value":5275},"After the installation, save the ",{"type":22,"tag":173,"props":5277,"children":5279},{"className":5278},[],[5280],{"type":28,"value":302},{"type":28,"value":5216},{"type":22,"tag":173,"props":5283,"children":5285},{"className":5284},[],[5286],{"type":28,"value":310},{"type":28,"value":5288}," files, as well as the ",{"type":22,"tag":173,"props":5290,"children":5292},{"className":5291},[],[5293],{"type":28,"value":5294},"DTB",{"type":28,"value":5296}," file (renamed hi3093.dtb) downloaded from the core board to \u002Fvar\u002Flib\u002Ftftproot.",{"type":22,"tag":37,"props":5298,"children":5299},{},[5300,5302,5308],{"type":28,"value":5301},"Then, you need to configure the network in VirtualBox Ubuntu VM. For details, refer to \"",{"type":22,"tag":43,"props":5303,"children":5305},{"href":1663,"rel":5304},[47],[5306],{"type":28,"value":5307},"VirtualBox Network Configuration for PC, VM, and Development Board Ping",{"type":28,"value":3408},{"type":22,"tag":37,"props":5310,"children":5311},{},[5312],{"type":28,"value":5313},"Open the VirtualBox network manager and configure the network as follows:",{"type":22,"tag":37,"props":5315,"children":5316},{},[5317],{"type":22,"tag":220,"props":5318,"children":5319},{"alt":281,"src":1678},[],{"type":22,"tag":37,"props":5321,"children":5322},{},[5323],{"type":22,"tag":220,"props":5324,"children":5325},{"alt":281,"src":1685},[],{"type":22,"tag":37,"props":5327,"children":5328},{},[5329],{"type":22,"tag":220,"props":5330,"children":5331},{"alt":281,"src":1692},[],{"type":22,"tag":37,"props":5333,"children":5334},{},[5335],{"type":28,"value":5336},"After the preceding configurations are complete, perform a ping test from Windows to ascertain reachability of the network hosting Ubuntu 24.04.",{"type":22,"tag":37,"props":5338,"children":5339},{},[5340],{"type":22,"tag":220,"props":5341,"children":5342},{"alt":281,"src":1704},[],{"type":22,"tag":37,"props":5344,"children":5345},{},[5346,5348,5354],{"type":28,"value":5347},"However, U-Boot will still be unable to ping the Ubuntu environment; therefore, a network bridge must be established. In the Windows network connection configuration page, select both the virtual network and the Ethernet connected to the core board, then right-click and select ",{"type":22,"tag":173,"props":5349,"children":5351},{"className":5350},[],[5352],{"type":28,"value":5353},"Bridge Connections",{"type":28,"value":3480},{"type":22,"tag":37,"props":5356,"children":5357},{},[5358],{"type":22,"tag":220,"props":5359,"children":5360},{"alt":281,"src":1723},[],{"type":22,"tag":37,"props":5362,"children":5363},{},[5364],{"type":28,"value":5365},"⭐ After the preceding configuration is complete, configure the IP address and gateway of the core board in U-Boot.",{"type":22,"tag":513,"props":5367,"children":5368},{"className":515,"code":1732,"language":517,"meta":7,"style":7},[5369],{"type":22,"tag":173,"props":5370,"children":5371},{"__ignoreMap":7},[5372,5387,5402,5417],{"type":22,"tag":523,"props":5373,"children":5374},{"class":525,"line":526},[5375,5379,5383],{"type":22,"tag":523,"props":5376,"children":5377},{"style":530},[5378],{"type":28,"value":1744},{"type":22,"tag":523,"props":5380,"children":5381},{"style":536},[5382],{"type":28,"value":1749},{"type":22,"tag":523,"props":5384,"children":5385},{"style":1146},[5386],{"type":28,"value":1754},{"type":22,"tag":523,"props":5388,"children":5389},{"class":525,"line":542},[5390,5394,5398],{"type":22,"tag":523,"props":5391,"children":5392},{"style":530},[5393],{"type":28,"value":1744},{"type":22,"tag":523,"props":5395,"children":5396},{"style":536},[5397],{"type":28,"value":1766},{"type":22,"tag":523,"props":5399,"children":5400},{"style":1146},[5401],{"type":28,"value":1771},{"type":22,"tag":523,"props":5403,"children":5404},{"class":525,"line":552},[5405,5409,5413],{"type":22,"tag":523,"props":5406,"children":5407},{"style":530},[5408],{"type":28,"value":1744},{"type":22,"tag":523,"props":5410,"children":5411},{"style":536},[5412],{"type":28,"value":1783},{"type":22,"tag":523,"props":5414,"children":5415},{"style":1146},[5416],{"type":28,"value":1788},{"type":22,"tag":523,"props":5418,"children":5419},{"class":525,"line":571},[5420,5424,5428],{"type":22,"tag":523,"props":5421,"children":5422},{"style":530},[5423],{"type":28,"value":1744},{"type":22,"tag":523,"props":5425,"children":5426},{"style":536},[5427],{"type":28,"value":1800},{"type":22,"tag":523,"props":5429,"children":5430},{"style":1146},[5431],{"type":28,"value":1805},{"type":22,"tag":37,"props":5433,"children":5434},{},[5435,5437,5442],{"type":28,"value":5436},"Ping 192.168.1.111. If the ping fails, check the network connection. For troubleshooting methods, refer to \"",{"type":22,"tag":43,"props":5438,"children":5440},{"href":1663,"rel":5439},[47],[5441],{"type":28,"value":5307},{"type":28,"value":3408},{"type":22,"tag":37,"props":5444,"children":5445},{},[5446],{"type":22,"tag":220,"props":5447,"children":5448},{"alt":281,"src":1821},[],{"type":22,"tag":37,"props":5450,"children":5451},{},[5452,5454,5459,5460,5465],{"type":28,"value":5453},"After the communication is established, download the ",{"type":22,"tag":173,"props":5455,"children":5457},{"className":5456},[],[5458],{"type":28,"value":310},{"type":28,"value":5216},{"type":22,"tag":173,"props":5461,"children":5463},{"className":5462},[],[5464],{"type":28,"value":302},{"type":28,"value":5466}," files through TFTP in U-Boot.",{"type":22,"tag":513,"props":5468,"children":5470},{"className":515,"code":5469,"language":517,"meta":7,"style":7},"setenv tftp_dtb \"tftp ${dtb_load_addr} hi3093.dtb\"\nrun tftp_dtb # Download the DTB file.\nrun tftp_network_boot # After the execution, ensure that the download is complete.\nrun run_linux # After the execution, the system is automatically started.\n",[5471],{"type":22,"tag":173,"props":5472,"children":5473},{"__ignoreMap":7},[5474,5497,5513,5529],{"type":22,"tag":523,"props":5475,"children":5476},{"class":525,"line":526},[5477,5481,5485,5489,5493],{"type":22,"tag":523,"props":5478,"children":5479},{"style":530},[5480],{"type":28,"value":1744},{"type":22,"tag":523,"props":5482,"children":5483},{"style":536},[5484],{"type":28,"value":1858},{"type":22,"tag":523,"props":5486,"children":5487},{"style":536},[5488],{"type":28,"value":1863},{"type":22,"tag":523,"props":5490,"children":5491},{"style":633},[5492],{"type":28,"value":1868},{"type":22,"tag":523,"props":5494,"children":5495},{"style":536},[5496],{"type":28,"value":1873},{"type":22,"tag":523,"props":5498,"children":5499},{"class":525,"line":542},[5500,5504,5508],{"type":22,"tag":523,"props":5501,"children":5502},{"style":530},[5503],{"type":28,"value":1881},{"type":22,"tag":523,"props":5505,"children":5506},{"style":536},[5507],{"type":28,"value":1858},{"type":22,"tag":523,"props":5509,"children":5510},{"style":973},[5511],{"type":28,"value":5512}," # Download the DTB file.\n",{"type":22,"tag":523,"props":5514,"children":5515},{"class":525,"line":552},[5516,5520,5524],{"type":22,"tag":523,"props":5517,"children":5518},{"style":530},[5519],{"type":28,"value":1881},{"type":22,"tag":523,"props":5521,"children":5522},{"style":536},[5523],{"type":28,"value":1902},{"type":22,"tag":523,"props":5525,"children":5526},{"style":973},[5527],{"type":28,"value":5528}," # After the execution, ensure that the download is complete.\n",{"type":22,"tag":523,"props":5530,"children":5531},{"class":525,"line":571},[5532,5536,5540],{"type":22,"tag":523,"props":5533,"children":5534},{"style":530},[5535],{"type":28,"value":1881},{"type":22,"tag":523,"props":5537,"children":5538},{"style":536},[5539],{"type":28,"value":1919},{"type":22,"tag":523,"props":5541,"children":5542},{"style":973},[5543],{"type":28,"value":5544}," # After the execution, the system is automatically started.\n",{"type":22,"tag":37,"props":5546,"children":5547},{},[5548],{"type":22,"tag":220,"props":5549,"children":5550},{"alt":281,"src":1930},[],{"type":22,"tag":37,"props":5552,"children":5553},{},[5554],{"type":28,"value":5555},"Wait until the openUBMC RTOS is started. The serial port information of openUBMC is displayed.",{"type":22,"tag":37,"props":5557,"children":5558},{},[5559],{"type":22,"tag":220,"props":5560,"children":5561},{"alt":281,"src":1942},[],{"type":22,"tag":31,"props":5563,"children":5565},{"id":5564},"_12-openubmc-environment-configuration",[5566],{"type":28,"value":5567},"1.2 openUBMC Environment Configuration",{"type":22,"tag":37,"props":5569,"children":5570},{},[5571],{"type":28,"value":5572},"The default IP address of openUBMC is 192.168.2.100, and the gateway is also 192.168.2.100. The IP address is not in the same network segment as the previous configuration. Therefore, we need to modify the Ethernet configuration to log in to openUBMC. Cancel the Ethernet configuration of the core board in the previously configured bridge.",{"type":22,"tag":37,"props":5574,"children":5575},{},[5576],{"type":22,"tag":220,"props":5577,"children":5578},{"alt":281,"src":1960},[],{"type":22,"tag":37,"props":5580,"children":5581},{},[5582],{"type":28,"value":5583},"Right-click Ethernet and manually configure the IP address.",{"type":22,"tag":37,"props":5585,"children":5586},{},[5587],{"type":22,"tag":220,"props":5588,"children":5589},{"alt":281,"src":1972},[],{"type":22,"tag":37,"props":5591,"children":5592},{},[5593],{"type":28,"value":5594},"After the configuration, the Telnet connection can be established.",{"type":22,"tag":37,"props":5596,"children":5597},{},[5598],{"type":22,"tag":220,"props":5599,"children":5600},{"alt":281,"src":1984},[],{"type":22,"tag":37,"props":5602,"children":5603},{},[5604,5605,5610],{"type":28,"value":3706},{"type":22,"tag":173,"props":5606,"children":5608},{"className":5607},[],[5609],{"type":28,"value":3256},{"type":28,"value":5611}," command to enable utilities such as busctl.",{"type":22,"tag":112,"props":5613,"children":5615},{"id":5614},"_121-openubmc-password-generation",[5616],{"type":28,"value":5617},"1.2.1 openUBMC Password Generation",{"type":22,"tag":37,"props":5619,"children":5620},{},[5621,5623,5629],{"type":28,"value":5622},"The initial BMC does not have a password. You can run the cat ",{"type":22,"tag":173,"props":5624,"children":5626},{"className":5625},[],[5627],{"type":28,"value":5628},"\u002Fetc\u002Fshadow",{"type":28,"value":5630}," command to check whether there is a long encrypted message. If no, you need to manually add a password.",{"type":22,"tag":513,"props":5632,"children":5634},{"className":515,"code":5633,"language":517,"meta":7,"style":7},"# Activate busctl.\nsource \u002Fetc\u002Fprofile\n\n# Change the password.\nbusctl --user call bmc.kepler.account \u002Fbmc\u002Fkepler\u002FAccountService\u002FAccounts\u002F2 bmc.kepler.AccountService.ManagerAccount ChangePwd a{ss}\nay 3 Interface Web UserName Administrator ClientAddr 127.0.0.1 10 65 100 109 105 110 64 57 48 48 48\n65 100 109 105 110 64 57 48 48 48 corresponds to the ASCII code of password Admin@9000. You can customize the password in this way. However, you cannot log in to the system using SSH because OpenSSH lacks some files; but you can use the IPMI tool to test whether the password is correct.\n> .\\ipmitool.exe -H 192.168.2.100 -I lanplus -p 623 -U Administrator -P Admin@9000 -C 17 mc info\nDevice ID                 : 1\nDevice Revision           : 1\nFirmware Revision         : 25.00\nIPMI Version              : 2.0\nManufacturer ID           : 2011\nManufacturer Name         : Unknown (0x7DB)\nProduct ID                : 0 (0x0000)\nProduct Name              : Unknown (0x0)\nDevice Available          : yes\nProvides Device SDRs      : yes\nAdditional Device Support :\n    Sensor Device\n    SDR Repository Device\n    SEL Device\n    FRU Inventory Device\n    IPMB Event Generator\n    Chassis Device\nAux Firmware Rev Info     :\n    0x00\n    0x00\n    0x00\n    0x01\n",[5635],{"type":22,"tag":173,"props":5636,"children":5637},{"__ignoreMap":7},[5638,5646,5657,5664,5672,5707,5786,6046,6065,6084,6103,6122,6141,6160,6183,6206,6229,6248,6271,6290,6301,6316,6327,6342,6357,6368,6391,6398,6405,6412],{"type":22,"tag":523,"props":5639,"children":5640},{"class":525,"line":526},[5641],{"type":22,"tag":523,"props":5642,"children":5643},{"style":973},[5644],{"type":28,"value":5645},"# Activate busctl.\n",{"type":22,"tag":523,"props":5647,"children":5648},{"class":525,"line":542},[5649,5653],{"type":22,"tag":523,"props":5650,"children":5651},{"style":2022},[5652],{"type":28,"value":2025},{"type":22,"tag":523,"props":5654,"children":5655},{"style":536},[5656],{"type":28,"value":2030},{"type":22,"tag":523,"props":5658,"children":5659},{"class":525,"line":552},[5660],{"type":22,"tag":523,"props":5661,"children":5662},{"emptyLinePlaceholder":546},[5663],{"type":28,"value":549},{"type":22,"tag":523,"props":5665,"children":5666},{"class":525,"line":571},[5667],{"type":22,"tag":523,"props":5668,"children":5669},{"style":973},[5670],{"type":28,"value":5671},"# Change the password.\n",{"type":22,"tag":523,"props":5673,"children":5674},{"class":525,"line":579},[5675,5679,5683,5687,5691,5695,5699,5703],{"type":22,"tag":523,"props":5676,"children":5677},{"style":530},[5678],{"type":28,"value":2053},{"type":22,"tag":523,"props":5680,"children":5681},{"style":1146},[5682],{"type":28,"value":2058},{"type":22,"tag":523,"props":5684,"children":5685},{"style":536},[5686],{"type":28,"value":2063},{"type":22,"tag":523,"props":5688,"children":5689},{"style":536},[5690],{"type":28,"value":2068},{"type":22,"tag":523,"props":5692,"children":5693},{"style":536},[5694],{"type":28,"value":2073},{"type":22,"tag":523,"props":5696,"children":5697},{"style":536},[5698],{"type":28,"value":2078},{"type":22,"tag":523,"props":5700,"children":5701},{"style":536},[5702],{"type":28,"value":2083},{"type":22,"tag":523,"props":5704,"children":5705},{"style":536},[5706],{"type":28,"value":2088},{"type":22,"tag":523,"props":5708,"children":5709},{"class":525,"line":607},[5710,5714,5718,5722,5726,5730,5734,5738,5742,5746,5750,5754,5758,5762,5766,5770,5774,5778,5782],{"type":22,"tag":523,"props":5711,"children":5712},{"style":530},[5713],{"type":28,"value":2096},{"type":22,"tag":523,"props":5715,"children":5716},{"style":1146},[5717],{"type":28,"value":2101},{"type":22,"tag":523,"props":5719,"children":5720},{"style":536},[5721],{"type":28,"value":2106},{"type":22,"tag":523,"props":5723,"children":5724},{"style":536},[5725],{"type":28,"value":2111},{"type":22,"tag":523,"props":5727,"children":5728},{"style":536},[5729],{"type":28,"value":2116},{"type":22,"tag":523,"props":5731,"children":5732},{"style":536},[5733],{"type":28,"value":2121},{"type":22,"tag":523,"props":5735,"children":5736},{"style":536},[5737],{"type":28,"value":2126},{"type":22,"tag":523,"props":5739,"children":5740},{"style":1146},[5741],{"type":28,"value":2131},{"type":22,"tag":523,"props":5743,"children":5744},{"style":1146},[5745],{"type":28,"value":2136},{"type":22,"tag":523,"props":5747,"children":5748},{"style":1146},[5749],{"type":28,"value":2141},{"type":22,"tag":523,"props":5751,"children":5752},{"style":1146},[5753],{"type":28,"value":2146},{"type":22,"tag":523,"props":5755,"children":5756},{"style":1146},[5757],{"type":28,"value":2151},{"type":22,"tag":523,"props":5759,"children":5760},{"style":1146},[5761],{"type":28,"value":2156},{"type":22,"tag":523,"props":5763,"children":5764},{"style":1146},[5765],{"type":28,"value":2161},{"type":22,"tag":523,"props":5767,"children":5768},{"style":1146},[5769],{"type":28,"value":2166},{"type":22,"tag":523,"props":5771,"children":5772},{"style":1146},[5773],{"type":28,"value":2171},{"type":22,"tag":523,"props":5775,"children":5776},{"style":1146},[5777],{"type":28,"value":2176},{"type":22,"tag":523,"props":5779,"children":5780},{"style":1146},[5781],{"type":28,"value":2176},{"type":22,"tag":523,"props":5783,"children":5784},{"style":1146},[5785],{"type":28,"value":2185},{"type":22,"tag":523,"props":5787,"children":5788},{"class":525,"line":615},[5789,5794,5798,5802,5806,5810,5814,5818,5822,5826,5830,5835,5839,5843,5848,5853,5858,5863,5868,5873,5878,5883,5887,5891,5896,5901,5906,5911,5916,5921,5926,5930,5934,5938,5943,5948,5953,5958,5963,5968,5973,5978,5983,5988,5992,5996,6001,6005,6010,6015,6019,6024,6029,6033,6037,6041],{"type":22,"tag":523,"props":5790,"children":5791},{"style":530},[5792],{"type":28,"value":5793},"65",{"type":22,"tag":523,"props":5795,"children":5796},{"style":1146},[5797],{"type":28,"value":2146},{"type":22,"tag":523,"props":5799,"children":5800},{"style":1146},[5801],{"type":28,"value":2151},{"type":22,"tag":523,"props":5803,"children":5804},{"style":1146},[5805],{"type":28,"value":2156},{"type":22,"tag":523,"props":5807,"children":5808},{"style":1146},[5809],{"type":28,"value":2161},{"type":22,"tag":523,"props":5811,"children":5812},{"style":1146},[5813],{"type":28,"value":2166},{"type":22,"tag":523,"props":5815,"children":5816},{"style":1146},[5817],{"type":28,"value":2171},{"type":22,"tag":523,"props":5819,"children":5820},{"style":1146},[5821],{"type":28,"value":2176},{"type":22,"tag":523,"props":5823,"children":5824},{"style":1146},[5825],{"type":28,"value":2176},{"type":22,"tag":523,"props":5827,"children":5828},{"style":1146},[5829],{"type":28,"value":2176},{"type":22,"tag":523,"props":5831,"children":5832},{"style":536},[5833],{"type":28,"value":5834}," corresponds",{"type":22,"tag":523,"props":5836,"children":5837},{"style":536},[5838],{"type":28,"value":3815},{"type":22,"tag":523,"props":5840,"children":5841},{"style":536},[5842],{"type":28,"value":4503},{"type":22,"tag":523,"props":5844,"children":5845},{"style":536},[5846],{"type":28,"value":5847}," ASCII",{"type":22,"tag":523,"props":5849,"children":5850},{"style":536},[5851],{"type":28,"value":5852}," code",{"type":22,"tag":523,"props":5854,"children":5855},{"style":536},[5856],{"type":28,"value":5857}," of",{"type":22,"tag":523,"props":5859,"children":5860},{"style":536},[5861],{"type":28,"value":5862}," password",{"type":22,"tag":523,"props":5864,"children":5865},{"style":536},[5866],{"type":28,"value":5867}," Admin@9000.",{"type":22,"tag":523,"props":5869,"children":5870},{"style":536},[5871],{"type":28,"value":5872}," You",{"type":22,"tag":523,"props":5874,"children":5875},{"style":536},[5876],{"type":28,"value":5877}," can",{"type":22,"tag":523,"props":5879,"children":5880},{"style":536},[5881],{"type":28,"value":5882}," customize",{"type":22,"tag":523,"props":5884,"children":5885},{"style":536},[5886],{"type":28,"value":4503},{"type":22,"tag":523,"props":5888,"children":5889},{"style":536},[5890],{"type":28,"value":5862},{"type":22,"tag":523,"props":5892,"children":5893},{"style":536},[5894],{"type":28,"value":5895}," in",{"type":22,"tag":523,"props":5897,"children":5898},{"style":536},[5899],{"type":28,"value":5900}," this",{"type":22,"tag":523,"props":5902,"children":5903},{"style":536},[5904],{"type":28,"value":5905}," way.",{"type":22,"tag":523,"props":5907,"children":5908},{"style":536},[5909],{"type":28,"value":5910}," However,",{"type":22,"tag":523,"props":5912,"children":5913},{"style":536},[5914],{"type":28,"value":5915}," you",{"type":22,"tag":523,"props":5917,"children":5918},{"style":536},[5919],{"type":28,"value":5920}," cannot",{"type":22,"tag":523,"props":5922,"children":5923},{"style":536},[5924],{"type":28,"value":5925}," log",{"type":22,"tag":523,"props":5927,"children":5928},{"style":536},[5929],{"type":28,"value":5895},{"type":22,"tag":523,"props":5931,"children":5932},{"style":536},[5933],{"type":28,"value":3815},{"type":22,"tag":523,"props":5935,"children":5936},{"style":536},[5937],{"type":28,"value":4503},{"type":22,"tag":523,"props":5939,"children":5940},{"style":536},[5941],{"type":28,"value":5942}," system",{"type":22,"tag":523,"props":5944,"children":5945},{"style":536},[5946],{"type":28,"value":5947}," using",{"type":22,"tag":523,"props":5949,"children":5950},{"style":536},[5951],{"type":28,"value":5952}," SSH",{"type":22,"tag":523,"props":5954,"children":5955},{"style":536},[5956],{"type":28,"value":5957}," because",{"type":22,"tag":523,"props":5959,"children":5960},{"style":536},[5961],{"type":28,"value":5962}," OpenSSH",{"type":22,"tag":523,"props":5964,"children":5965},{"style":536},[5966],{"type":28,"value":5967}," lacks",{"type":22,"tag":523,"props":5969,"children":5970},{"style":536},[5971],{"type":28,"value":5972}," some",{"type":22,"tag":523,"props":5974,"children":5975},{"style":536},[5976],{"type":28,"value":5977}," files",{"type":22,"tag":523,"props":5979,"children":5980},{"style":633},[5981],{"type":28,"value":5982},"; ",{"type":22,"tag":523,"props":5984,"children":5985},{"style":530},[5986],{"type":28,"value":5987},"but",{"type":22,"tag":523,"props":5989,"children":5990},{"style":536},[5991],{"type":28,"value":5915},{"type":22,"tag":523,"props":5993,"children":5994},{"style":536},[5995],{"type":28,"value":5877},{"type":22,"tag":523,"props":5997,"children":5998},{"style":536},[5999],{"type":28,"value":6000}," use",{"type":22,"tag":523,"props":6002,"children":6003},{"style":536},[6004],{"type":28,"value":4503},{"type":22,"tag":523,"props":6006,"children":6007},{"style":536},[6008],{"type":28,"value":6009}," IPMI",{"type":22,"tag":523,"props":6011,"children":6012},{"style":536},[6013],{"type":28,"value":6014}," tool",{"type":22,"tag":523,"props":6016,"children":6017},{"style":536},[6018],{"type":28,"value":3815},{"type":22,"tag":523,"props":6020,"children":6021},{"style":536},[6022],{"type":28,"value":6023}," test",{"type":22,"tag":523,"props":6025,"children":6026},{"style":536},[6027],{"type":28,"value":6028}," whether",{"type":22,"tag":523,"props":6030,"children":6031},{"style":536},[6032],{"type":28,"value":4503},{"type":22,"tag":523,"props":6034,"children":6035},{"style":536},[6036],{"type":28,"value":5862},{"type":22,"tag":523,"props":6038,"children":6039},{"style":536},[6040],{"type":28,"value":3162},{"type":22,"tag":523,"props":6042,"children":6043},{"style":536},[6044],{"type":28,"value":6045}," correct.\n",{"type":22,"tag":523,"props":6047,"children":6048},{"class":525,"line":639},[6049,6053,6057,6061],{"type":22,"tag":523,"props":6050,"children":6051},{"style":2219},[6052],{"type":28,"value":2222},{"type":22,"tag":523,"props":6054,"children":6055},{"style":633},[6056],{"type":28,"value":2227},{"type":22,"tag":523,"props":6058,"children":6059},{"style":1146},[6060],{"type":28,"value":2232},{"type":22,"tag":523,"props":6062,"children":6063},{"style":633},[6064],{"type":28,"value":2237},{"type":22,"tag":523,"props":6066,"children":6067},{"class":525,"line":647},[6068,6072,6076,6080],{"type":22,"tag":523,"props":6069,"children":6070},{"style":530},[6071],{"type":28,"value":2245},{"type":22,"tag":523,"props":6073,"children":6074},{"style":536},[6075],{"type":28,"value":2250},{"type":22,"tag":523,"props":6077,"children":6078},{"style":536},[6079],{"type":28,"value":2255},{"type":22,"tag":523,"props":6081,"children":6082},{"style":1146},[6083],{"type":28,"value":2260},{"type":22,"tag":523,"props":6085,"children":6086},{"class":525,"line":669},[6087,6091,6095,6099],{"type":22,"tag":523,"props":6088,"children":6089},{"style":530},[6090],{"type":28,"value":2245},{"type":22,"tag":523,"props":6092,"children":6093},{"style":536},[6094],{"type":28,"value":2272},{"type":22,"tag":523,"props":6096,"children":6097},{"style":536},[6098],{"type":28,"value":2277},{"type":22,"tag":523,"props":6100,"children":6101},{"style":1146},[6102],{"type":28,"value":2260},{"type":22,"tag":523,"props":6104,"children":6105},{"class":525,"line":677},[6106,6110,6114,6118],{"type":22,"tag":523,"props":6107,"children":6108},{"style":530},[6109],{"type":28,"value":2289},{"type":22,"tag":523,"props":6111,"children":6112},{"style":536},[6113],{"type":28,"value":2272},{"type":22,"tag":523,"props":6115,"children":6116},{"style":536},[6117],{"type":28,"value":2298},{"type":22,"tag":523,"props":6119,"children":6120},{"style":1146},[6121],{"type":28,"value":2303},{"type":22,"tag":523,"props":6123,"children":6124},{"class":525,"line":695},[6125,6129,6133,6137],{"type":22,"tag":523,"props":6126,"children":6127},{"style":530},[6128],{"type":28,"value":2311},{"type":22,"tag":523,"props":6130,"children":6131},{"style":536},[6132],{"type":28,"value":2316},{"type":22,"tag":523,"props":6134,"children":6135},{"style":536},[6136],{"type":28,"value":2321},{"type":22,"tag":523,"props":6138,"children":6139},{"style":1146},[6140],{"type":28,"value":2326},{"type":22,"tag":523,"props":6142,"children":6143},{"class":525,"line":703},[6144,6148,6152,6156],{"type":22,"tag":523,"props":6145,"children":6146},{"style":530},[6147],{"type":28,"value":2334},{"type":22,"tag":523,"props":6149,"children":6150},{"style":536},[6151],{"type":28,"value":2250},{"type":22,"tag":523,"props":6153,"children":6154},{"style":536},[6155],{"type":28,"value":2277},{"type":22,"tag":523,"props":6157,"children":6158},{"style":1146},[6159],{"type":28,"value":2347},{"type":22,"tag":523,"props":6161,"children":6162},{"class":525,"line":721},[6163,6167,6171,6175,6179],{"type":22,"tag":523,"props":6164,"children":6165},{"style":530},[6166],{"type":28,"value":2334},{"type":22,"tag":523,"props":6168,"children":6169},{"style":536},[6170],{"type":28,"value":2359},{"type":22,"tag":523,"props":6172,"children":6173},{"style":536},[6174],{"type":28,"value":2298},{"type":22,"tag":523,"props":6176,"children":6177},{"style":536},[6178],{"type":28,"value":2368},{"type":22,"tag":523,"props":6180,"children":6181},{"style":633},[6182],{"type":28,"value":2373},{"type":22,"tag":523,"props":6184,"children":6185},{"class":525,"line":729},[6186,6190,6194,6198,6202],{"type":22,"tag":523,"props":6187,"children":6188},{"style":530},[6189],{"type":28,"value":2381},{"type":22,"tag":523,"props":6191,"children":6192},{"style":536},[6193],{"type":28,"value":2250},{"type":22,"tag":523,"props":6195,"children":6196},{"style":536},[6197],{"type":28,"value":2390},{"type":22,"tag":523,"props":6199,"children":6200},{"style":1146},[6201],{"type":28,"value":2395},{"type":22,"tag":523,"props":6203,"children":6204},{"style":633},[6205],{"type":28,"value":2400},{"type":22,"tag":523,"props":6207,"children":6208},{"class":525,"line":747},[6209,6213,6217,6221,6225],{"type":22,"tag":523,"props":6210,"children":6211},{"style":530},[6212],{"type":28,"value":2381},{"type":22,"tag":523,"props":6214,"children":6215},{"style":536},[6216],{"type":28,"value":2359},{"type":22,"tag":523,"props":6218,"children":6219},{"style":536},[6220],{"type":28,"value":2321},{"type":22,"tag":523,"props":6222,"children":6223},{"style":536},[6224],{"type":28,"value":2368},{"type":22,"tag":523,"props":6226,"children":6227},{"style":633},[6228],{"type":28,"value":2424},{"type":22,"tag":523,"props":6230,"children":6231},{"class":525,"line":755},[6232,6236,6240,6244],{"type":22,"tag":523,"props":6233,"children":6234},{"style":530},[6235],{"type":28,"value":2245},{"type":22,"tag":523,"props":6237,"children":6238},{"style":536},[6239],{"type":28,"value":2436},{"type":22,"tag":523,"props":6241,"children":6242},{"style":536},[6243],{"type":28,"value":2441},{"type":22,"tag":523,"props":6245,"children":6246},{"style":536},[6247],{"type":28,"value":2446},{"type":22,"tag":523,"props":6249,"children":6250},{"class":525,"line":773},[6251,6255,6259,6263,6267],{"type":22,"tag":523,"props":6252,"children":6253},{"style":530},[6254],{"type":28,"value":2454},{"type":22,"tag":523,"props":6256,"children":6257},{"style":536},[6258],{"type":28,"value":2459},{"type":22,"tag":523,"props":6260,"children":6261},{"style":536},[6262],{"type":28,"value":2464},{"type":22,"tag":523,"props":6264,"children":6265},{"style":536},[6266],{"type":28,"value":2469},{"type":22,"tag":523,"props":6268,"children":6269},{"style":536},[6270],{"type":28,"value":2446},{"type":22,"tag":523,"props":6272,"children":6273},{"class":525,"line":781},[6274,6278,6282,6286],{"type":22,"tag":523,"props":6275,"children":6276},{"style":530},[6277],{"type":28,"value":2481},{"type":22,"tag":523,"props":6279,"children":6280},{"style":536},[6281],{"type":28,"value":2459},{"type":22,"tag":523,"props":6283,"children":6284},{"style":536},[6285],{"type":28,"value":2490},{"type":22,"tag":523,"props":6287,"children":6288},{"style":536},[6289],{"type":28,"value":2495},{"type":22,"tag":523,"props":6291,"children":6292},{"class":525,"line":1291},[6293,6297],{"type":22,"tag":523,"props":6294,"children":6295},{"style":530},[6296],{"type":28,"value":2503},{"type":22,"tag":523,"props":6298,"children":6299},{"style":536},[6300],{"type":28,"value":2508},{"type":22,"tag":523,"props":6302,"children":6303},{"class":525,"line":1327},[6304,6308,6312],{"type":22,"tag":523,"props":6305,"children":6306},{"style":530},[6307],{"type":28,"value":2516},{"type":22,"tag":523,"props":6309,"children":6310},{"style":536},[6311],{"type":28,"value":2521},{"type":22,"tag":523,"props":6313,"children":6314},{"style":536},[6315],{"type":28,"value":2508},{"type":22,"tag":523,"props":6317,"children":6318},{"class":525,"line":1344},[6319,6323],{"type":22,"tag":523,"props":6320,"children":6321},{"style":530},[6322],{"type":28,"value":2533},{"type":22,"tag":523,"props":6324,"children":6325},{"style":536},[6326],{"type":28,"value":2508},{"type":22,"tag":523,"props":6328,"children":6329},{"class":525,"line":1361},[6330,6334,6338],{"type":22,"tag":523,"props":6331,"children":6332},{"style":530},[6333],{"type":28,"value":2545},{"type":22,"tag":523,"props":6335,"children":6336},{"style":536},[6337],{"type":28,"value":2550},{"type":22,"tag":523,"props":6339,"children":6340},{"style":536},[6341],{"type":28,"value":2508},{"type":22,"tag":523,"props":6343,"children":6344},{"class":525,"line":1377},[6345,6349,6353],{"type":22,"tag":523,"props":6346,"children":6347},{"style":530},[6348],{"type":28,"value":2562},{"type":22,"tag":523,"props":6350,"children":6351},{"style":536},[6352],{"type":28,"value":2567},{"type":22,"tag":523,"props":6354,"children":6355},{"style":536},[6356],{"type":28,"value":2572},{"type":22,"tag":523,"props":6358,"children":6359},{"class":525,"line":1413},[6360,6364],{"type":22,"tag":523,"props":6361,"children":6362},{"style":530},[6363],{"type":28,"value":2580},{"type":22,"tag":523,"props":6365,"children":6366},{"style":536},[6367],{"type":28,"value":2508},{"type":22,"tag":523,"props":6369,"children":6370},{"class":525,"line":1430},[6371,6375,6379,6383,6387],{"type":22,"tag":523,"props":6372,"children":6373},{"style":530},[6374],{"type":28,"value":2592},{"type":22,"tag":523,"props":6376,"children":6377},{"style":536},[6378],{"type":28,"value":2597},{"type":22,"tag":523,"props":6380,"children":6381},{"style":536},[6382],{"type":28,"value":2602},{"type":22,"tag":523,"props":6384,"children":6385},{"style":536},[6386],{"type":28,"value":2607},{"type":22,"tag":523,"props":6388,"children":6389},{"style":536},[6390],{"type":28,"value":2612},{"type":22,"tag":523,"props":6392,"children":6393},{"class":525,"line":1447},[6394],{"type":22,"tag":523,"props":6395,"children":6396},{"style":530},[6397],{"type":28,"value":2620},{"type":22,"tag":523,"props":6399,"children":6400},{"class":525,"line":1463},[6401],{"type":22,"tag":523,"props":6402,"children":6403},{"style":530},[6404],{"type":28,"value":2620},{"type":22,"tag":523,"props":6406,"children":6407},{"class":525,"line":1501},[6408],{"type":22,"tag":523,"props":6409,"children":6410},{"style":530},[6411],{"type":28,"value":2620},{"type":22,"tag":523,"props":6413,"children":6415},{"class":525,"line":6414},30,[6416],{"type":22,"tag":523,"props":6417,"children":6418},{"style":530},[6419],{"type":28,"value":2642},{"type":22,"tag":37,"props":6421,"children":6422},{},[6423],{"type":28,"value":6424},"If the mc info command is executed successfully, the account and password are configured successfully.",{"type":22,"tag":112,"props":6426,"children":6428},{"id":6427},"_122-login-through-ssh",[6429],{"type":28,"value":6430},"1.2.2 Login Through SSH",{"type":22,"tag":37,"props":6432,"children":6433},{},[6434],{"type":28,"value":6435},"During the SSH connection, an error is reported even if the correct password is entered. This problem is caused by the PAM authentication failure in OpenSSH.",{"type":22,"tag":513,"props":6437,"children":6439},{"className":515,"code":6438,"language":517,"meta":7,"style":7},"# Check the SSH dependency in pam.d.\nls -l \u002Fdata\u002Ftrust\u002Fpam_faillock \\\n      \u002Flib*\u002Fsecurity\u002Fpam_bmc_login.so \\\n      \u002Flib*\u002Fsecurity\u002Fpam_selinux.so\n\n# Check whether common-auth, common-account, and common-passwd exist.\n# Generally, these files exist. If \u002Fdata\u002Ftrust\u002Fpam_faillock does not exist, you need to manually create it.\ntouch \u002Fdata\u002Ftrust\u002Fpam_faillock\nchmod 644 \u002Fdata\u002Ftrust\u002Fpam_faillock\n",[6440],{"type":22,"tag":173,"props":6441,"children":6442},{"__ignoreMap":7},[6443,6451,6470,6489,6504,6511,6519,6527,6538],{"type":22,"tag":523,"props":6444,"children":6445},{"class":525,"line":526},[6446],{"type":22,"tag":523,"props":6447,"children":6448},{"style":973},[6449],{"type":28,"value":6450},"# Check the SSH dependency in pam.d.\n",{"type":22,"tag":523,"props":6452,"children":6453},{"class":525,"line":542},[6454,6458,6462,6466],{"type":22,"tag":523,"props":6455,"children":6456},{"style":530},[6457],{"type":28,"value":2681},{"type":22,"tag":523,"props":6459,"children":6460},{"style":1146},[6461],{"type":28,"value":2686},{"type":22,"tag":523,"props":6463,"children":6464},{"style":536},[6465],{"type":28,"value":2691},{"type":22,"tag":523,"props":6467,"children":6468},{"style":1146},[6469],{"type":28,"value":2696},{"type":22,"tag":523,"props":6471,"children":6472},{"class":525,"line":552},[6473,6477,6481,6485],{"type":22,"tag":523,"props":6474,"children":6475},{"style":536},[6476],{"type":28,"value":2704},{"type":22,"tag":523,"props":6478,"children":6479},{"style":2707},[6480],{"type":28,"value":2710},{"type":22,"tag":523,"props":6482,"children":6483},{"style":536},[6484],{"type":28,"value":2715},{"type":22,"tag":523,"props":6486,"children":6487},{"style":1146},[6488],{"type":28,"value":2696},{"type":22,"tag":523,"props":6490,"children":6491},{"class":525,"line":571},[6492,6496,6500],{"type":22,"tag":523,"props":6493,"children":6494},{"style":536},[6495],{"type":28,"value":2704},{"type":22,"tag":523,"props":6497,"children":6498},{"style":2707},[6499],{"type":28,"value":2710},{"type":22,"tag":523,"props":6501,"children":6502},{"style":536},[6503],{"type":28,"value":2735},{"type":22,"tag":523,"props":6505,"children":6506},{"class":525,"line":579},[6507],{"type":22,"tag":523,"props":6508,"children":6509},{"emptyLinePlaceholder":546},[6510],{"type":28,"value":549},{"type":22,"tag":523,"props":6512,"children":6513},{"class":525,"line":607},[6514],{"type":22,"tag":523,"props":6515,"children":6516},{"style":973},[6517],{"type":28,"value":6518},"# Check whether common-auth, common-account, and common-passwd exist.\n",{"type":22,"tag":523,"props":6520,"children":6521},{"class":525,"line":615},[6522],{"type":22,"tag":523,"props":6523,"children":6524},{"style":973},[6525],{"type":28,"value":6526},"# Generally, these files exist. If \u002Fdata\u002Ftrust\u002Fpam_faillock does not exist, you need to manually create it.\n",{"type":22,"tag":523,"props":6528,"children":6529},{"class":525,"line":639},[6530,6534],{"type":22,"tag":523,"props":6531,"children":6532},{"style":530},[6533],{"type":28,"value":2767},{"type":22,"tag":523,"props":6535,"children":6536},{"style":536},[6537],{"type":28,"value":2772},{"type":22,"tag":523,"props":6539,"children":6540},{"class":525,"line":647},[6541,6545,6549],{"type":22,"tag":523,"props":6542,"children":6543},{"style":530},[6544],{"type":28,"value":2780},{"type":22,"tag":523,"props":6546,"children":6547},{"style":1146},[6548],{"type":28,"value":2785},{"type":22,"tag":523,"props":6550,"children":6551},{"style":536},[6552],{"type":28,"value":2772},{"type":22,"tag":112,"props":6554,"children":6556},{"id":6555},"_123-login-through-bmc-web",[6557],{"type":28,"value":6558},"1.2.3 Login through BMC Web",{"type":22,"tag":37,"props":6560,"children":6561},{},[6562],{"type":28,"value":6563},"In the initial environment, the BMC certificate is not available. You can use OpenSSL to generate a certificate. Nginx can be started only with a certificate.",{"type":22,"tag":37,"props":6565,"children":6566},{},[6567],{"type":28,"value":6568},"Certificate preparation file:",{"type":22,"tag":59,"props":6570,"children":6571},{},[6572],{"type":22,"tag":63,"props":6573,"children":6574},{},[6575],{"type":28,"value":2813},{"type":22,"tag":37,"props":6577,"children":6578},{},[6579,6581,6586,6587,6592],{"type":28,"value":6580},"Upload ",{"type":22,"tag":173,"props":6582,"children":6584},{"className":6583},[],[6585],{"type":28,"value":2813},{"type":28,"value":4644},{"type":22,"tag":173,"props":6588,"children":6590},{"className":6589},[],[6591],{"type":28,"value":891},{"type":28,"value":6593}," directory of openUBMC using SFTP or other methods, and then import the certificate.",{"type":22,"tag":513,"props":6595,"children":6597},{"className":515,"code":6596,"language":517,"meta":7,"style":7},"date -s \"2025-06-09\" && busctl --user call bmc.kepler.certificate \u002Fbmc\u002Fkepler\u002FCertificateService bmc.kepler.CertificateService ImportCertWithKey a{ss}isss 3 Interface Busctl UserName Administrator ClientAddr 127.0.0.1 1 URI \u002Ftmp\u002FSSL.p12 \"\"\n",[6598],{"type":22,"tag":173,"props":6599,"children":6600},{"__ignoreMap":7},[6601],{"type":22,"tag":523,"props":6602,"children":6603},{"class":525,"line":526},[6604,6608,6612,6616,6620,6624,6628,6632,6636,6640,6644,6648,6652,6656,6660,6664,6668,6672,6676,6680,6684,6688,6692],{"type":22,"tag":523,"props":6605,"children":6606},{"style":530},[6607],{"type":28,"value":2847},{"type":22,"tag":523,"props":6609,"children":6610},{"style":1146},[6611],{"type":28,"value":2852},{"type":22,"tag":523,"props":6613,"children":6614},{"style":536},[6615],{"type":28,"value":2857},{"type":22,"tag":523,"props":6617,"children":6618},{"style":633},[6619],{"type":28,"value":2862},{"type":22,"tag":523,"props":6621,"children":6622},{"style":530},[6623],{"type":28,"value":2053},{"type":22,"tag":523,"props":6625,"children":6626},{"style":1146},[6627],{"type":28,"value":2058},{"type":22,"tag":523,"props":6629,"children":6630},{"style":536},[6631],{"type":28,"value":2063},{"type":22,"tag":523,"props":6633,"children":6634},{"style":536},[6635],{"type":28,"value":2879},{"type":22,"tag":523,"props":6637,"children":6638},{"style":536},[6639],{"type":28,"value":2884},{"type":22,"tag":523,"props":6641,"children":6642},{"style":536},[6643],{"type":28,"value":2889},{"type":22,"tag":523,"props":6645,"children":6646},{"style":536},[6647],{"type":28,"value":2894},{"type":22,"tag":523,"props":6649,"children":6650},{"style":536},[6651],{"type":28,"value":2899},{"type":22,"tag":523,"props":6653,"children":6654},{"style":1146},[6655],{"type":28,"value":2101},{"type":22,"tag":523,"props":6657,"children":6658},{"style":536},[6659],{"type":28,"value":2106},{"type":22,"tag":523,"props":6661,"children":6662},{"style":536},[6663],{"type":28,"value":2912},{"type":22,"tag":523,"props":6665,"children":6666},{"style":536},[6667],{"type":28,"value":2116},{"type":22,"tag":523,"props":6669,"children":6670},{"style":536},[6671],{"type":28,"value":2121},{"type":22,"tag":523,"props":6673,"children":6674},{"style":536},[6675],{"type":28,"value":2126},{"type":22,"tag":523,"props":6677,"children":6678},{"style":1146},[6679],{"type":28,"value":2131},{"type":22,"tag":523,"props":6681,"children":6682},{"style":1146},[6683],{"type":28,"value":2934},{"type":22,"tag":523,"props":6685,"children":6686},{"style":536},[6687],{"type":28,"value":2939},{"type":22,"tag":523,"props":6689,"children":6690},{"style":536},[6691],{"type":28,"value":2944},{"type":22,"tag":523,"props":6693,"children":6694},{"style":536},[6695],{"type":28,"value":2949},{"type":22,"tag":37,"props":6697,"children":6698},{},[6699,6701,6706],{"type":28,"value":6700},"💥 ",{"type":22,"tag":173,"props":6702,"children":6704},{"className":6703},[],[6705],{"type":28,"value":2960},{"type":28,"value":6707}," in the preceding command must be set to a time later than the certificate generation time. Otherwise, an import error occurs. After the import is successful, Nginx and Web can be used properly. Then you can log in to openUBMC on the web page.",{"type":22,"tag":112,"props":6709,"children":6711},{"id":6710},"_124-fixing-the-openubmc-system",[6712],{"type":28,"value":6713},"1.2.4 Fixing the openUBMC System",{"type":22,"tag":37,"props":6715,"children":6716},{},[6717,6719,6725],{"type":28,"value":6718},"In U-Boot, we have configured TFTP to download kernel files. However, this process cannot be solidified. You can upgrade the ",{"type":22,"tag":173,"props":6720,"children":6722},{"className":6721},[],[6723],{"type":28,"value":6724},"HPM",{"type":28,"value":6726}," package on the web page. During the upgrade, the kernel files are burnt to eMMC. In this way, the core board uses the openUBMC system by default after reboot. In addition, the primary and standby partitions are available.",{"type":22,"tag":23,"props":6728,"children":6730},{"id":6729},"_2-qa",[6731],{"type":28,"value":6732},"2 QA",{"type":22,"tag":31,"props":6734,"children":6736},{"id":6735},"_21-how-do-i-roll-back-to-openeuler",[6737],{"type":28,"value":6738},"2.1 How Do I Roll Back to openEuler?",{"type":22,"tag":453,"props":6740,"children":6741},{},[6742],{"type":22,"tag":63,"props":6743,"children":6744},{},[6745],{"type":28,"value":6746},"Access the SPI screen and burn the environment. You can refer to the Hi3093 software development manual.",{"type":22,"tag":37,"props":6748,"children":6749},{},[6750],{"type":22,"tag":220,"props":6751,"children":6752},{"alt":222,"src":3000},[],{"type":22,"tag":453,"props":6754,"children":6755},{"start":542},[6756],{"type":22,"tag":63,"props":6757,"children":6758},{},[6759,6761,6766],{"type":28,"value":6760},"Download the original boot file package of Hi3093 from ",{"type":22,"tag":43,"props":6762,"children":6764},{"href":165,"rel":6763},[47],[6765],{"type":28,"value":165},{"type":28,"value":3480},{"type":22,"tag":37,"props":6768,"children":6769},{},[6770],{"type":22,"tag":220,"props":6771,"children":6772},{"alt":222,"src":3014},[],{"type":22,"tag":453,"props":6774,"children":6775},{"start":552},[6776],{"type":22,"tag":63,"props":6777,"children":6778},{},[6779],{"type":28,"value":6780},"Decompress the package, upload the content to the Ubuntu VM, and update it to \u002Fvar\u002Flib\u002Ftftpboot.",{"type":22,"tag":37,"props":6782,"children":6783},{},[6784,6786,6791],{"type":28,"value":6785},"Note that the hi1711_asic.dtb file name must be changed to ",{"type":22,"tag":173,"props":6787,"children":6789},{"className":6788},[],[6790],{"type":28,"value":3028},{"type":28,"value":3480},{"type":22,"tag":37,"props":6793,"children":6794},{},[6795],{"type":22,"tag":220,"props":6796,"children":6797},{"alt":222,"src":3034},[],{"type":22,"tag":453,"props":6799,"children":6800},{"start":571},[6801],{"type":22,"tag":63,"props":6802,"children":6803},{},[6804],{"type":28,"value":6805},"Enter the U-Boot interface of eMMC, configure the network, and ping the VM. Then, configure tftp_network_boot.",{"type":22,"tag":513,"props":6807,"children":6809},{"className":515,"code":6808,"language":517,"meta":7,"style":7},"setenv tftp_network_boot 'tftp ${dtb_load_addr} hi3093.dtb;\n${kernel_load_addr} uImage;\ntftp\ntftp ${initrd_load_addr} initrd_boot.cpio.gz;\nbootm ${kernel_load_addr} ${initrd_load_addr} : ${initrd_size} ${dtb_load_addr}'\n => ping ${serverip}\n Using hi309x_gmac device\n ## Warning: gatewayip needed but not set\n host 192.168.1.111 is alive\n => run tftp_network_boot\n => run run_linux\n",[6810],{"type":22,"tag":173,"props":6811,"children":6812},{"__ignoreMap":7},[6813,6829,6837,6845,6853,6860,6879,6894,6901,6920,6939],{"type":22,"tag":523,"props":6814,"children":6815},{"class":525,"line":526},[6816,6820,6824],{"type":22,"tag":523,"props":6817,"children":6818},{"style":530},[6819],{"type":28,"value":1744},{"type":22,"tag":523,"props":6821,"children":6822},{"style":536},[6823],{"type":28,"value":1902},{"type":22,"tag":523,"props":6825,"children":6826},{"style":536},[6827],{"type":28,"value":6828}," 'tftp ${dtb_load_addr} hi3093.dtb;\n",{"type":22,"tag":523,"props":6830,"children":6831},{"class":525,"line":542},[6832],{"type":22,"tag":523,"props":6833,"children":6834},{"style":536},[6835],{"type":28,"value":6836},"${kernel_load_addr} uImage;\n",{"type":22,"tag":523,"props":6838,"children":6839},{"class":525,"line":552},[6840],{"type":22,"tag":523,"props":6841,"children":6842},{"style":536},[6843],{"type":28,"value":6844},"tftp\n",{"type":22,"tag":523,"props":6846,"children":6847},{"class":525,"line":571},[6848],{"type":22,"tag":523,"props":6849,"children":6850},{"style":536},[6851],{"type":28,"value":6852},"tftp ${initrd_load_addr} initrd_boot.cpio.gz;\n",{"type":22,"tag":523,"props":6854,"children":6855},{"class":525,"line":579},[6856],{"type":22,"tag":523,"props":6857,"children":6858},{"style":536},[6859],{"type":28,"value":3095},{"type":22,"tag":523,"props":6861,"children":6862},{"class":525,"line":607},[6863,6867,6871,6875],{"type":22,"tag":523,"props":6864,"children":6865},{"style":536},[6866],{"type":28,"value":3103},{"type":22,"tag":523,"props":6868,"children":6869},{"style":633},[6870],{"type":28,"value":3108},{"type":22,"tag":523,"props":6872,"children":6873},{"style":536},[6874],{"type":28,"value":3113},{"type":22,"tag":523,"props":6876,"children":6877},{"style":633},[6878],{"type":28,"value":3118},{"type":22,"tag":523,"props":6880,"children":6881},{"class":525,"line":615},[6882,6886,6890],{"type":22,"tag":523,"props":6883,"children":6884},{"style":530},[6885],{"type":28,"value":3126},{"type":22,"tag":523,"props":6887,"children":6888},{"style":536},[6889],{"type":28,"value":3131},{"type":22,"tag":523,"props":6891,"children":6892},{"style":536},[6893],{"type":28,"value":3136},{"type":22,"tag":523,"props":6895,"children":6896},{"class":525,"line":639},[6897],{"type":22,"tag":523,"props":6898,"children":6899},{"style":973},[6900],{"type":28,"value":3144},{"type":22,"tag":523,"props":6902,"children":6903},{"class":525,"line":647},[6904,6908,6912,6916],{"type":22,"tag":523,"props":6905,"children":6906},{"style":530},[6907],{"type":28,"value":3152},{"type":22,"tag":523,"props":6909,"children":6910},{"style":1146},[6911],{"type":28,"value":3157},{"type":22,"tag":523,"props":6913,"children":6914},{"style":536},[6915],{"type":28,"value":3162},{"type":22,"tag":523,"props":6917,"children":6918},{"style":536},[6919],{"type":28,"value":3167},{"type":22,"tag":523,"props":6921,"children":6922},{"class":525,"line":669},[6923,6927,6931,6935],{"type":22,"tag":523,"props":6924,"children":6925},{"style":536},[6926],{"type":28,"value":3103},{"type":22,"tag":523,"props":6928,"children":6929},{"style":633},[6930],{"type":28,"value":3108},{"type":22,"tag":523,"props":6932,"children":6933},{"style":536},[6934],{"type":28,"value":1881},{"type":22,"tag":523,"props":6936,"children":6937},{"style":536},[6938],{"type":28,"value":3187},{"type":22,"tag":523,"props":6940,"children":6941},{"class":525,"line":677},[6942,6946,6950,6954],{"type":22,"tag":523,"props":6943,"children":6944},{"style":536},[6945],{"type":28,"value":3103},{"type":22,"tag":523,"props":6947,"children":6948},{"style":633},[6949],{"type":28,"value":3108},{"type":22,"tag":523,"props":6951,"children":6952},{"style":536},[6953],{"type":28,"value":1881},{"type":22,"tag":523,"props":6955,"children":6956},{"style":536},[6957],{"type":28,"value":3207},{"type":22,"tag":37,"props":6959,"children":6960},{},[6961,6964],{"type":22,"tag":220,"props":6962,"children":6963},{"alt":222,"src":3213},[],{"type":22,"tag":220,"props":6965,"children":6966},{"alt":222,"src":3217},[],{"type":22,"tag":31,"props":6968,"children":6970},{"id":6969},"_22-emmc-partition-description",[6971],{"type":28,"value":6972},"2.2 eMMC Partition Description",{"type":22,"tag":37,"props":6974,"children":6975},{},[6976],{"type":22,"tag":220,"props":6977,"children":6978},{"alt":222,"src":3230},[],{"type":22,"tag":31,"props":6980,"children":6982},{"id":6981},"_23-serial-port-suspended-after-openubmc-is-burned串口卡住",[6983],{"type":28,"value":6984},"2.3 Serial Port Suspended After openUBMC Is Burned，串口卡住",{"type":22,"tag":37,"props":6986,"children":6987},{},[6988,6990,6995,6997,7002],{"type":28,"value":6989},"Typically, after openUBMC is started, the serial output is directed to the OS. If redirection of the serial output to the serial console interface is required, run the ",{"type":22,"tag":173,"props":6991,"children":6993},{"className":6992},[],[6994],{"type":28,"value":3248},{"type":28,"value":6996}," command. This command can be input via SSH, or executed via Telnet after ",{"type":22,"tag":173,"props":6998,"children":7000},{"className":6999},[],[7001],{"type":28,"value":3256},{"type":28,"value":7003}," is executed.",{"type":22,"tag":3260,"props":7005,"children":7006},{},[7007],{"type":28,"value":3264},{"title":7,"searchDepth":571,"depth":571,"links":7009},[7010,7011,7012,7015,7030,7036,7037,7038],{"id":3320,"depth":542,"text":3323},{"id":3330,"depth":542,"text":3333},{"id":3364,"depth":542,"text":3367,"children":7013},[7014],{"id":3388,"depth":552,"text":3391},{"id":3584,"depth":542,"text":3587,"children":7016},[7017,7018,7019,7020,7021,7022,7023,7026],{"id":3590,"depth":552,"text":3593},{"id":3612,"depth":552,"text":3615},{"id":3634,"depth":552,"text":3637},{"id":3662,"depth":552,"text":3665},{"id":3690,"depth":552,"text":3693},{"id":3738,"depth":552,"text":3741},{"id":4540,"depth":552,"text":4543,"children":7024},[7025],{"id":4546,"depth":571,"text":4549},{"id":4570,"depth":552,"text":4573,"children":7027},[7028,7029],{"id":4672,"depth":571,"text":4675},{"id":5226,"depth":571,"text":5229},{"id":5564,"depth":542,"text":5567,"children":7031},[7032,7033,7034,7035],{"id":5614,"depth":552,"text":5617},{"id":6427,"depth":552,"text":6430},{"id":6555,"depth":552,"text":6558},{"id":6710,"depth":552,"text":6713},{"id":6735,"depth":542,"text":6738},{"id":6969,"depth":542,"text":6972},{"id":6981,"depth":542,"text":6984},"content:en:blogs:Migration_system.md","en\u002Fblogs\u002FMigration_system.md","en\u002Fblogs\u002FMigration_system","Hi3093 Development Board Hands-on Guide (openubmc.cn) Introduction openUBMC supports QEMU simulation and debugging. However, there is no efficient debugging method for hardware debugging. After trying many development boards, I summarized some openUBMC startup experience based on the MYC-LHi3093 development board for your reference. Material Preparation Hi3093 core board Power adapter of the core board Network cable Type-C USB cable SD card of 8 GB or larger (used to restore the openEuler environment if necessary) Environment Preparation The Hi3093 core board is delivered with the openEuler OS by default. We need to replace the openEuler OS with openUBMC RTOS. To do so, complete the following tasks in sequence: Customize and create an openUBMC RTOS image. Plan and format the core board's storage partitions to ensure compatibility with the openUBMC partition table. Creating an openUBMC RTOS Image For details about how to set up the openUBMC development environment, see \" Ubuntu Development Environment Setup | openUBMC \". To facilitate subsequent network communication with the core board,  you are advised to deploy the Ubuntu environment on a VM  and complete all initialization steps in the VM. This section uses VirtualBox to set up the openUBMC development environment. Follow the following steps to set up the environment and create the openUBMC image: Download the Ubuntu 24.04 ISO file and install it in VirtualBox. You are advised to reserve 50 GB storage space. ⭐ If you do not want to manually create a package, you can download the  pre-built Hi3093 image  to skip the build process. Just place related files in their corresponding directories. The  2506_gx.zip  package stores all required files for burning.  *.hpm  is the HPM package designated for deploying the development board environment. ❗ If you manually create a package and use openUBMC 25.03, ensure that the IAM version in the  build\u002Fsubsys\u002Frc\u002Fsecurity.yml  file is  1.0.1 or later .  Set up the openUBMC environment following instructions in \" Ubuntu Development Environment Setup | openUBMC \". Install the openUBMC debugging tool  busybox  and integrate it into manifest. 4.Run the  bingo build  command in the manifest directory to create the openUBMC image. The  rootfs_BMC.img  image file can be found in  temp\u002Fbuild_openUBMC_debug_dev\u002Foutput .  In addition, you need to retrieve  initrd_boot.cpio.gz  (initial Linux RAM disk image) and  uImage  (Linux kernel image) from the  temp  directory.  1.1 Image Burning and Partition Table Configuration 1.1.1 Connecting to the Core Board We need to connect to the Hi3093 core board through a serial port or other available methods. The following figure shows the core board connection.  ❗ During the connection, strictly follow the instructions in the figure. Otherwise, the subsequent operations will fail. 1.1.2 Starting the Core Board The core board is started in eMMC boot mode. Set SW2 as follows.  ⭐ You can refer to the core board's user manual for details about how to start the core board in eMMC boot mode. 1.1.3 Connecting to the Core Board's Serial Port After the core board is connected through a Type-C USB cable, you can use serial terminal software to access the serial console interface. Use Xshell to establish a connection.  Select the SERIAL connection mode and access the serial console interface. Then, configure the port number. You need to test the COM port number. If the connection is successful, Connected is returned.  1.1.4 Starting and Logging In to the Core Board After Xshell establishes a connection to the serial port, start the core board. You can view the print in the Xshell serial console.  Upon completion of the serial display scrolling, a login prompt will appear. If the serial console remains a blank screen, press the Enter key multiple times to invoke the login interface. If you log in for the first time, the account is root, and the password needs to be manually set (see prompts).  1.1.5 Preparing an SD Card Subsequent operations will result in modification of the development board's boot image. However, the SPI lacks SSH connectivity. Therefore, you need to prepare an SD card to back up the image. The procedure is as follows: Run the  fdisk -l  command to display available partitions, find the SD card partition, and initialize the partition. (The initialization command is not restricted as long as the development board can identify it, for example, mkfs.vfat.) Run mount to  mount  the SD card partition to a directory. Upload the SPI burning file provided by the vendor (MYiR) through SSH and copy the file to the SD card partition. If the openEuler environment needs to be restored, you only need to remount the SD card. 1.1.6 Configuring the Partition Table To ensure that the user partition of eMMC can be correctly accessed after openUBMC is started, you need to perform manual partitioning and solidify the partition table in advance. The final partition configuration is as follows:  The actions are as follows: fdisk  \u002Fdev\u002Fmmcblk0\n \n \u002Fdev\u002Fmmcblk0p1:  Execute  n,  select  p  to  create  a  primary  partition,  and  input  16  for  StartLBA  and  2097167  for  EndLBA.\n \n \u002Fdev\u002Fmmcblk0p2:  Execute  n,  select  p,  and  input  2097168  for  StartLBA  and  9269839  for  EndLBA.  Then  execute  t  and  input  c.\n \n \u002Fdev\u002Fmmcblk0p3:  Execute  n,  select  e  to  create  an  extended  partition,  and  input  9269840  for  StartLBA  and  12648447  for  EndLBA.\n \n \u002Fdev\u002Fmmcblk0p5:  Execute  n,  select  l  to  create  a  logical  partition,  and  input  9269856  for  StartLBA  and  9899001  for  EndLBA.  Then  execute  t  and  input  c.\n \n \u002Fdev\u002Fmmcblk0p6:  Execute  n,  select  l,  and  input  9899018  for  StartLBA  and  11367023  for  EndLBA.\n \n \u002Fdev\u002Fmmcblk0p7:  Execute  n,  select  l,  and  input  11367040  for  StartLBA  and  11891327  for  EndLBA.\n \n \u002Fdev\u002Fmmcblk0p8:  Execute  n,  select  l,  and  input  12615680  for  StartLBA  and  12648447  for  EndLBA.\n \n \u002Fdev\u002Fmmcblk0p9:  Execute  n,  select  l,  and  input  11891344  for  StartLBA  and  12615663  for  EndLBA.\n \n Then,  execute  w  to  save  all  the  configurations.\n After the partitions are created, format each partition. For partitions designated as Win95 FAT32, use the mkfs.vfat utility for formatting, for example,  mkfs.vfat \u002Fdev\u002Fmmcblk0p2 . Other partitions need to be formatted using mkfs.ext4, for example,  mkfs.ext4 \u002Fdev\u002Fmmcblk0p1 . 1.1.7 Burning the Image Core Board Network Configuration To burn related image files to the core board, you need to upload the image files to the core board using a file transfer mode such as SFTP. Run the  ifconfig eth2 up 192.168.1.123  command to configure the network on the core board first.  1.1.8 Configuring the Windows Network and Uploading the Image Package Open the network connection page of Windows. Select the appropriate Ethernet (you need to identify the correct Ethernet interface, which can be determined by removing and inserting the Ethernet cable).  Configure the IP address of the Ethernet to be in the same network segment as the core board.  After the configuration, test the network connection on the Windows PC.  If the preceding print is displayed, the connection is successful. Then, you can upload the image files to the  \u002Ftmp  directory of the core board via SFTP. This transfer can be performed using Xshell's SFTP functionality or WinSCP. The following uses WinSCP as an example:  After the connection is successful, upload the following files in  MYD-LHI3093-V2\\SoftwareFiles\\02-Images . ⭐ The files are core board documents provided by MYiR. Upload the openUBMC image package  rootfs_BMC.img  to the  \u002Ftmp  directory and rename the package  Hi3093_ext4fs.img .   Image Package Burning Hi3093 provides an upgrade script. You only need to perform the following procedure through the serial console interface of the core board to complete the upgrade. qemu-aarch64  ~  # cd \u002Ftmp\u002F\n qemu-aarch64  \u002Ftmp  # ls\n Hi3093_ext4fs.img       hi3093_upgrade.sh   l1fw_rsa_4096.bin\n Hi3093_ext4fs_cms.bin   l0fw_rsa_4096.bin   u-boot_rsa_4096.bin\n qemu-aarch64  \u002Ftmp  # \u002Fhi3093_upgrade.sh 4096\n \u002Fdev\u002Fmmcblk0gp0\n \u002Fdev\u002Fmmcblk0gp2\n \u002Fdev\u002Fmmcblk0gp1\n update  temp  L0FW...\n 70+1  records  in\n 70+1  records  out\n 72088  bytes  (72  kB,  70  KiB ) copied, 0.0156561 s, 4.6 MB\u002Fs\n update  temp  L1FW...\n 178+1  records  in\n 178+1  records  out\n 182876  bytes  (183  kB,  179  KiB ) copied, 0.0365372 s, 5.0 MB\u002Fs\n update  temp  u-boot...\n 504+1  records  in\n 504+1  records  out\n 516616  bytes  (517  kB,  505  KiB ) copied, 0.111703 s, 4.6 MB\u002Fs\n update  temp  rootfs_hdr...\n 36+0  records  in\n 36+0  records  out\n 36864  bytes  (37  kB,  36  KiB ) copied, 0.00683788 s, 5.4 MB\u002Fs\n update  temp  rootfs...\n 376+1  records  in\n 376+1  records  out\n 394268672  bytes  (394  MB,  376  MiB ) copied, 2.40696 s, 164 MB\u002Fs\n emmc  update  success,  please  reboot  your  board...\n The \"`emmc update success, please reboot your board...``\" message indicates that the burning is successful. Before rebooting the board, download the \u002Fboot\u002Fhi1711_asci.dtb file on the core board to the Windows PC as a backup over SSH. Run the  reboot  command. Note that the reboot does not mean that the openUBMC image is successfully upgraded. You need to modify the U-Boot configuration to load  initrd_boot.cpio.gz  and  uImage  of openUBMC. 1.1.8.1 U-Boot Configuration Modification Since only the image file has been modified, and the Linux kernel's uImage file remains unchanged, replacement must be executed via TFTP. After the reboot, press Enter until the U-Boot configuration page is displayed.  Before U-Boot configuration, ensure that the core board's U-Boot can access the TFTP server hosted on the Ubuntu development server. Install tftpd in the Ubuntu environment. sudo  apt  install  tftpd-hpa\n After the installation, save the  initrd_boot.cpio.gz  and  uImage  files, as well as the  DTB  file (renamed hi3093.dtb) downloaded from the core board to \u002Fvar\u002Flib\u002Ftftproot. Then, you need to configure the network in VirtualBox Ubuntu VM. For details, refer to \" VirtualBox Network Configuration for PC, VM, and Development Board Ping \". Open the VirtualBox network manager and configure the network as follows:    After the preceding configurations are complete, perform a ping test from Windows to ascertain reachability of the network hosting Ubuntu 24.04.  However, U-Boot will still be unable to ping the Ubuntu environment; therefore, a network bridge must be established. In the Windows network connection configuration page, select both the virtual network and the Ethernet connected to the core board, then right-click and select  Bridge Connections .  ⭐ After the preceding configuration is complete, configure the IP address and gateway of the core board in U-Boot. setenv  ipaddr  192.168.1.123\n setenv  netmask  255.255.255.0\n setenv  gateway  192.168.1.1\n setenv  serverip  192.168.1.111\n Ping 192.168.1.111. If the ping fails, check the network connection. For troubleshooting methods, refer to \" VirtualBox Network Configuration for PC, VM, and Development Board Ping \".  After the communication is established, download the  uImage  and  initrd_boot.cpio.gz  files through TFTP in U-Boot. setenv  tftp_dtb  \"tftp ${ dtb_load_addr } hi3093.dtb\"\n run  tftp_dtb  # Download the DTB file.\n run  tftp_network_boot  # After the execution, ensure that the download is complete.\n run  run_linux  # After the execution, the system is automatically started.\n  Wait until the openUBMC RTOS is started. The serial port information of openUBMC is displayed.  1.2 openUBMC Environment Configuration The default IP address of openUBMC is 192.168.2.100, and the gateway is also 192.168.2.100. The IP address is not in the same network segment as the previous configuration. Therefore, we need to modify the Ethernet configuration to log in to openUBMC. Cancel the Ethernet configuration of the core board in the previously configured bridge.  Right-click Ethernet and manually configure the IP address.  After the configuration, the Telnet connection can be established.  Run the  source \u002Fetc\u002Fprofile  command to enable utilities such as busctl. 1.2.1 openUBMC Password Generation The initial BMC does not have a password. You can run the cat  \u002Fetc\u002Fshadow  command to check whether there is a long encrypted message. If no, you need to manually add a password. # Activate busctl.\n source  \u002Fetc\u002Fprofile\n \n # Change the password.\n busctl  --user  call  bmc.kepler.account  \u002Fbmc\u002Fkepler\u002FAccountService\u002FAccounts\u002F2  bmc.kepler.AccountService.ManagerAccount  ChangePwd  a{ss}\n ay  3  Interface  Web  UserName  Administrator  ClientAddr  127.0.0.1  10  65  100  109  105  110  64  57  48  48  48\n 65  100  109  105  110  64  57  48  48  48  corresponds  to  the  ASCII  code  of  password  Admin@9000.  You  can  customize  the  password  in  this  way.  However,  you  cannot  log  in  to  the  system  using  SSH  because  OpenSSH  lacks  some  files ;  but  you  can  use  the  IPMI  tool  to  test  whether  the  password  is  correct.\n >  . \\i pmitool.exe -H 192.168.2.100 -I lanplus -p 623 -U Administrator -P Admin@9000 -C 17 mc info\n Device  ID                  :  1\n Device  Revision            :  1\n Firmware  Revision          :  25.00\n IPMI  Version               :  2.0\n Manufacturer  ID            :  2011\n Manufacturer  Name          :  Unknown  (0x7DB)\n Product  ID                 :  0  (0x0000)\n Product  Name               :  Unknown  (0x0)\n Device  Available           :  yes\n Provides  Device  SDRs       :  yes\n Additional  Device  Support  :\n     Sensor  Device\n     SDR  Repository  Device\n     SEL  Device\n     FRU  Inventory  Device\n     IPMB  Event  Generator\n     Chassis  Device\n Aux  Firmware  Rev  Info      :\n     0x00\n     0x00\n     0x00\n     0x01\n If the mc info command is executed successfully, the account and password are configured successfully. 1.2.2 Login Through SSH During the SSH connection, an error is reported even if the correct password is entered. This problem is caused by the PAM authentication failure in OpenSSH. # Check the SSH dependency in pam.d.\n ls  -l  \u002Fdata\u002Ftrust\u002Fpam_faillock  \\\n       \u002Flib * \u002Fsecurity\u002Fpam_bmc_login.so  \\\n       \u002Flib * \u002Fsecurity\u002Fpam_selinux.so\n \n # Check whether common-auth, common-account, and common-passwd exist.\n # Generally, these files exist. If \u002Fdata\u002Ftrust\u002Fpam_faillock does not exist, you need to manually create it.\n touch  \u002Fdata\u002Ftrust\u002Fpam_faillock\n chmod  644  \u002Fdata\u002Ftrust\u002Fpam_faillock\n 1.2.3 Login through BMC Web In the initial environment, the BMC certificate is not available. You can use OpenSSL to generate a certificate. Nginx can be started only with a certificate. Certificate preparation file: SSL.p12 Upload  SSL.p12  to the  \u002Ftmp  directory of openUBMC using SFTP or other methods, and then import the certificate. date  -s  \"2025-06-09\"  &&  busctl  --user  call  bmc.kepler.certificate  \u002Fbmc\u002Fkepler\u002FCertificateService  bmc.kepler.CertificateService  ImportCertWithKey  a{ss}isss  3  Interface  Busctl  UserName  Administrator  ClientAddr  127.0.0.1  1  URI  \u002Ftmp\u002FSSL.p12  \"\"\n 💥  2025-06-09  in the preceding command must be set to a time later than the certificate generation time. Otherwise, an import error occurs. After the import is successful, Nginx and Web can be used properly. Then you can log in to openUBMC on the web page. 1.2.4 Fixing the openUBMC System In U-Boot, we have configured TFTP to download kernel files. However, this process cannot be solidified. You can upgrade the  HPM  package on the web page. During the upgrade, the kernel files are burnt to eMMC. In this way, the core board uses the openUBMC system by default after reboot. In addition, the primary and standby partitions are available. 2 QA 2.1 How Do I Roll Back to openEuler? Access the SPI screen and burn the environment. You can refer to the Hi3093 software development manual.  Download the original boot file package of Hi3093 from  https:\u002F\u002Fgitcode.com\u002Ffxx551\u002FHi3093\u002Freleases\u002Fv1.2 .  Decompress the package, upload the content to the Ubuntu VM, and update it to \u002Fvar\u002Flib\u002Ftftpboot. Note that the hi1711_asic.dtb file name must be changed to  hi3093.dtb .  Enter the U-Boot interface of eMMC, configure the network, and ping the VM. Then, configure tftp_network_boot. setenv  tftp_network_boot  'tftp ${dtb_load_addr} hi3093.dtb;\n ${kernel_load_addr} uImage;\n tftp\n tftp ${initrd_load_addr} initrd_boot.cpio.gz;\n bootm ${kernel_load_addr} ${initrd_load_addr} : ${initrd_size} ${dtb_load_addr}'\n  = >  ping  ${serverip}\n  Using  hi309x_gmac  device\n  ## Warning: gatewayip needed but not set\n  host  192.168.1.111  is  alive\n  = >  run  tftp_network_boot\n  = >  run  run_linux\n   2.2 eMMC Partition Description  2.3 Serial Port Suspended After openUBMC Is Burned，串口卡住 Typically, after openUBMC is started, the serial output is directed to the OS. If redirection of the serial output to the serial console interface is required, run the  ipmcset -d serialdir -v 1  command. This command can be input via SSH, or executed via Telnet after  source \u002Fetc\u002Fprofile  is executed. 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);}",[16],[7045,7045],null,1784971460887]