Re: 回复: how can i use ipmitool to interact with openbmc which boot from qemu-system-arm

Andrew Jeffery andrew at aj.id.au
Mon Sep 30 12:06:54 AEST 2019


Hello Liu,

On Sun, 29 Sep 2019, at 17:04, 南野ムルシエラゴ wrote:
> Dear Mr. Andrew and openbmc:
> 
> Thanks a lot for your helping.
> because ipmitool use udp, so my previous changes for qemu cmdline are 
> not right. i change it as follows:
> 
> #qemu-system-arm -m 256 -M palmetto-bmc -nographic -drive 
> file=/home/openbmc/openbmc/build/tmp/deploy/images/palmetto/obmc-phosphor-image-palmetto-20190926123057.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
> 
> change "hostfwd=:127.0.0.1:2623-:623" to "hostfwd=udp:127.0.0.1:2623-:623".
> 
> and i run:
> #ipmitool -H 127.0.0.1 -I lanplus -p 2623 -U root -P 0penBmc power status
> and i got:
> Chassis Power is off
> 
> it seems ipmitool works well together with qemu^_^.

Awesome! Also, thanks for following up your questions with the solution,
that's a great help to others who might try to do the same thing.

Andrew


More information about the openbmc mailing list