问题描述
在 ibmc 3.01.08.04 版本更新 openUBMC 25.12 LTS SP3 版本,按照 BMC 3.xx.xx.xx版本升级openubmc指导 - 交流互助区 - openUBMC 论坛 这个帖子指导进行了修改。镜像成功在 ibmc web 界面更新成功,但是等几分钟重新打开 web 界面还是原始的 ibmc 版本。
更新成功截图
等web恢复访问后的截图
附一键收集日志
NA_19700101-0008.tar.gz (4.1 MB)
环境信息
-
操作系统:[如 Ubuntu 24.04]
-
软件版本:[如 OpenUBMC2512]
-
IBMC硬件:鲲鹏1711模组
重现步骤
-
构建 25.12 ubmc 镜像
-
在 ibmc web 选择带外更新
-
等web 恢复访问重新打开 web 界面
期望结果
web 界面是 25.12 版本
实际结果
web 界面还是旧的 ibmc 版本
尝试过的解决方案
再次执行镜像更新操作,没有用。
分析结论
有的说有可能是在备份区,用下面命令查了下备份的也是ibmc的版本
iBMC:/->ipmcget -d version
------------------- iBMC INFO -------------------
IPMC CPU: Hi1711
IPMI Version: 2.0
Active iBMC Version: (U68)3.01.08.04
Active iBMC Build: 002
Active iBMC Built: 14:42:13 May 22 2025
Backup iBMC Version: 3.01.08.04
Available iBMC Version: null
Available iBMC Build: 000
SDK Version: 0.0.0.3
SDK Built: 17:12:39 Nov 8 2023
Active Uboot Version: 0.0.0.3 (17:27:32 Nov 8 2023)
Backup Uboot Version: 0.0.0.3 (17:27:32 Nov 8 2023)
Active Secure Bootloader Version: 0.0.0.3 (17:28:29 Nov 8 2023)
Backup Secure Bootloader Version: 0.0.0.3 (17:28:29 Nov 8 2023)
Active Secure Firmware Version: 0.0.0.3 (17:28:29 Nov 8 2023)
Backup Secure Firmware Version: 0.0.0.3 (17:28:29 Nov 8 2023)
网上查有可能是镜像回滚了,用下面命令也没查到回滚相关的信息
iBMC:/->ipmcget -d rollbackstatus
Haven't performed rollback!
iBMC:/->ipmcget -d operatelog
No operation log.
上次是因为没有做 自签名 这一步,在做完自签名这一步之后,再去更新还是同样的情况,界面显示成功,等web能访问之后再去打开 web 还是旧的 ibmc。
由于不能上传新的压缩包,日志放到评论区。
manifest.yml 配置如下:
# yaml-language-server: $schema=/usr/share/bingo/schema/manifest.product.schema.json
schema: /usr/share/bingo/schema/manifest.schema.json
platform:
conan: “ibmc_sdk/5.12.00.35.b001@openubmc/stable”
options:
rtos_version: rtos_v2
enable_haf: false
base:
# openUBMC四段式版本号定义规则:4段固定2字节,范围为00-99
# 社区版本号变更时,需同步手动变更version.json的BMCSDKVersion和openUBMCVersion
# 例:社区版本号修改为25.06时,需将version.json中openUBMCVersion修改为25.06
# 且BMCSDKVersion也需变更为对应版本
version: “25.12.03.01”
# 单板定制化脚本,位于build/customization目录,需要实现一个Customization类
customization: “customization/prototype.py”
dependency_buildtools: dependency/dependency_buildtools.xml
# 签名文件,由构建系统复制到self.config.board_path目录,如需定制
signature:
files:
- file: ${product}/ca/rootca.crl
dst: cms.crl
certificates:
rootca_der: /home/cms_sign/rootca.der
rootca_crl: /home/cms_sign/rootca.crl
signer_pem: /home/cms_sign/signer.pem.enc
timestamp_signer_pem: /home/cms_sign/ts_signer.pem.enc
timestamp_signer_cnf: /home/cms_sign/tsa.cnf
dependencies:
- conan: mdbctl
action: delete - conan: dopra_ssp
action: delete - conan: dopra_ddm
action: delete - conan: iam
- conan: firmware_mgmt
options:
community_enable: false - conan: vpd
options:
board_name: openUBMC - conan: mdb_interface
- conan: fructrl
options:
manufacture: true - conan: sensor
- conan: frudata
- conan: rackmount
- conan: hica
- conan: rootfs_user
- conan: lsw
- conan: network_adapter
- conan: chassis
options:
manufacture: true - conan: power_mgmt
- conan: storage
- conan: pcie_device
- conan: thermal_mgmt
- conan: manufacture
- conan: bios
- conan: general_hardware
- conan: observability
- conan: fluent-bit
- conan: libyaml
- conan: opentelemetry
- conan: abseil
- conan: grpc
- conan: protobuf
- conan: re2
- conan: c_ares
- conan: opentelemetry-proto
- conan: webui
options:
energy_enabled: false
webvnc_enabled: true - conan: account
options:
manufacture: true - conan: profile_schema
- conan: help
options:
board_name: openUBMC - conan: openssl
- conan: libspdm
- conan: spdm
- conan: dcmid
- conan: vnc_proxy
- conan: remote_console
options:
webvnc_supported: true - conan: nsm
options:
webvnc_supported: true - conan: libmcpp
- conan: component_drivers
- conan: devmon
debug_dependencies:
- conan: busybox/1.34.1@openubmc/stable
# action: delete
# 构建gpp包所需配置。
# manufecture中的gpp/files会覆盖当前的配置
gpp:
files:
# rootfs镜像文件固定为rootfs_iBMC.img
- file: ${work_out}/rootfs_iBMC.img
- file: ${work_out}/rootfs_iBMC.tar.gz
# rootfs_iBMC.img的cms签名文件
- file: ${work_out}/rootfs_iBMC.img.cms
\# 签名文件的证书吊销列表
- file: ${product}/ca/rootca.crl
dst: cms.crl
\# 签名的根证书
- file: ${product}/ca/rootca.der
dst: rootca.der
- file: ${sdk_path}/Hi1711_boot_4096_debug.bin
dst: Hi1711_boot_4096.bin
condition:
build_type: debug
- file: ${sdk_path}/Hi1711_boot_pmode_debug.bin
dst: Hi1711_boot_pmode.bin
condition:
build_type: debug
- file: ${sdk_path}/Hi1711_boot_4096.bin
dst: Hi1711_boot_4096.bin
condition:
build_type: release
- file: ${sdk_path}/Hi1711_boot_pmode.bin
dst: Hi1711_boot_pmode.bin
condition:
build_type: release
wbd_up_files:
files:
- file: ${board_path}/wbd_up_file/favicon.ico
dst: wbd_up_file/favicon.ico
- file: ${board_path}/wbd_up_file/filelist.conf
dst: wbd_up_file/filelist.conf
- file: ${board_path}/wbd_up_file/web_custom.xml
dst: wbd_up_file/web_custom.xml
tosupporte:
default:
package_name: “openUBMC/openUBMC-CMT_${version}.zip”
build_type: release
files:
# 打包许可证书,由维护者更新
- file: ${product}/License.md
- file: ${board_path}/version.xml
- file: “${output_path}/rootfs_${board_name}.hpm”
dst: openUBMC-CMT_${version}.hpm
qemu:
package_name: “openUBMC/openUBMC-CMT_${version}_qemu.zip”
build_type: debug
qemu_image: inner/${board_name}_${tosupporte_code}_default.cpio
files:
- file: ${board_path}/version.xml
dependencies:
- conan: qemu_drivers
- conan: fructrl
options:
qemu: true
- conan: general_hardware
options:
qemu: true
- conan: nsm
options:
qemu: true
- conan: bmc_network
options:
qemu: true
- conan: bmc_soc
action: delete
- conan: soctrl
action: delete
- conan: qemu_mockup
manufacture:
0502TEST:
package_name: “0502TEST.zip”
build_type: debug
default_options:
manufacture: true
files:
- file: ${output_path}/rootfs_${board_name}.hpm
dst: image.hpm
verify:
- pss
.bingo/config 增加
[hpm_encrypt]
enable = true

