QEMU运行openBMC

下载QEMU (qemu-system-arm)

在Ubuntu 编译服务器自己的目录中执行命令:
wget https://jenkins.openbmc.org/job/latest-qemu-x86/lastSuccessfulBuild/artifact/qemu/build/qemu-system-arm

给QEMU 执行权限:
chmod u+x qemu-system-arm

拷贝OpenBMC image到相同目录

cp build/evb-ast2500/tmp/deploy/images/evb-ast2500/obmc-phosphor-image-evb-ast2500-20230831101603.static.mtd ./

使用QEMU运行OpenBMC

./qemu-system-arm -m 256 -M romulus-bmc -nographic
-drive file=./obmc-phosphor-image-evb-ast2500-20230831101603.static.mtd,format=raw,if=mtd
-net nic
-net user,hostfwd=:127.0.0.1:2222-:22,hostfwd=:127.0.0.1:2443-:443,hostfwd=udp:127.0.0.1:2623-:623,hostname=qemu

登录OpenBMC

账号:root
密码:0penBmc (前面是数字0)

evb-ast2500 login:
evb-ast2500 login: root
Password:
root@evb-ast2500:~#

官方更多详细

https://github.com/openbmc/docs/blob/master/development/dev-environment.md

你可能感兴趣的:(OpenBMC,linux)