QEMU command line for running evb-npcm845 image
Stefan Berger
stefanb at linux.ibm.com
Fri Oct 20 05:43:44 AEDT 2023
Hi!
I am assuming that running the 64MB image with qemu-system-aarch64 is
possible somehow, but I wasn't able to run it:
$ /usr/local/bin/qemu-system-aarch64 --version
QEMU emulator version 8.1.2 (v8.1.2)
Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers
I get now output with the following line where I am pasisng size=32M for
the image, which is probably wrong anyway:
$ /usr/local/bin/qemu-system-aarch64 -machine npcm750-evb -nographic
-no-reboot -net nic -net
user,hostfwd=:127.0.0.1:5722-:22,hostfwd=:127.0.0.1:5743-:443,hostfwd=udp:127.0.0.1:5723-:623
-drive
file=./tmp/deploy/images/evb-npcm845/obmc-phosphor-image-evb-npcm845.static.mtd,format=raw,if=mtd,size=32M
qemu-system-aarch64: warning: nic npcm7xx-emc.1 has no peer
CTRL-A + X terminates it as expected.
With size=64M I don't get very far:
$ /usr/local/bin/qemu-system-aarch64 -machine npcm750-evb -nographic
-no-reboot -net nic -net
user,hostfwd=:127.0.0.1:5722-:22,hostfwd=:127.0.0.1:5743-:443,hostfwd=udp:127.0.0.1:5723-:623
-drive
file=./tmp/deploy/images/evb-npcm845/obmc-phosphor-image-evb-npcm845.static.mtd,format=raw,if=mtd,size=64M
qemu-system-aarch64: device requires 33554432 bytes, block backend
provides 67108864 bytes
$ ls -l
tmp/deploy/images/evb-npcm845/obmc-phosphor-image-evb-npcm845-20231019170856.static.mtd
-rw-r--r-- 2 stefanb stefanb 67108864 Oct 19 13:41
tmp/deploy/images/evb-npcm845/obmc-phosphor-image-evb-npcm845-20231019170856.static.mtd
Regards,
Stefan
More information about the openbmc
mailing list