下载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)文章来源:https://www.toymoban.com/news/detail-688235.html
evb-ast2500 login:
evb-ast2500 login: root
Password:
root@evb-ast2500:~#
官方更多详细
https://github.com/openbmc/docs/blob/master/development/dev-environment.md文章来源地址https://www.toymoban.com/news/detail-688235.html
到了这里,关于QEMU运行openBMC的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!