++A user mode emulator++ : QEMU can launch Linux processes compiled for one CPU on another CPU, translating syscalls on the fly. ++(8)++ QEMU for beginner, starting from few simple examples so to reduce the hurdle to get familiar with qemu.įrom [Linux Q&A-What is we learn that there are 3 modes supported by qmue:ġ. > qemu-system-arm -M integratorcp -kernel arm-test/zImage.integrator -initrd arm-test/arm_root.img -nographic -icount 1 -append "console=ttyAMA0"# tags: `2022/09` `qemu` `qemu-user` `qemu-architecture` `qemu-system-architecture` > qemu-system-arm -M integratorcp -kernel arm-test/zImage.integrator -initrd arm-test/arm_root.img -nographic -nodefaults -chardev stdio,mux=on,id=char0 -serial chardev:char0 -append "console=ttyAMA0" This bug is still reproducible with the latest git. > your single cpu may just not be getting scheduled again. > The fact things work when you remove -nodefaults is a sign that with it > The Linux boot procedure can finish successfully. img -nographic -icount 1 -append "console=ttyAMA0" > qemu-system-arm -M integratorcp -kernel arm-test/ zImage. > or if "-nodefaults" is not set, namely run as: img -nographic -nodefaults -chardev stdio,mux= on,id=char0 -serial chardev:char0 -append "console=ttyAMA0" > If "-icount" is not set, namely run as: > After console prints the message below: The Linux boot procedure can finish successfully. Qemu-system-arm -M integratorcp -kernel arm-test/ zImage. Or if "-nodefaults" is not set, namely run as: img -nographic -icount 1 -nodefaults -chardev stdio,mux= on,id=char0 -serial chardev:char0 -append "console=ttyAMA0" The test image is downloaded from wiki.qemu. './configure' '-prefix= $HOME/local/ qemu.git' '-target- list=aarch64- softmmu, arm-softmmu' '-cpu=x86_64' '-cc=gcc' '-disable-user' '-disable-sdl' '-disable- stack-protector ' '-disable-attr' '-disable-pie' '-disable- linux-aio' '-disable-tpm' '-without- system- pixman' '-disable-docs' '-disable- guest-agent' '-disable- guest-agent- msi' '-disable-modules' '-disable-sparse' '-disable-gnutls' '-disable-nettle' '-disable-gcrypt' '-disable-gtk' '-disable-vte' '-disable-curses' '-disable-vnc' '-disable-cocoa' '-disable-virtfs' '-disable-xen' '-disable-brlapi' '-disable-curl' '-disable-bluez' '-disable-rdma' '-disable-uuid' '-disable-vde' '-disable-netmap' '-disable-cap-ng' '-disable-attr' '-disable- vhost-net' '-disable-spice' '-disable-rbd' '-disable- libiscsi' '-disable-libnfs' '-disable- smartcard' '-disable-libusb' '-disable- usb-redir' '-disable-lzo' '-disable-snappy' '-disable-bzip2' '-disable-seccomp' '-disable- glusterfs' '-disable- archipelago' '-disable-libssh2' '-disable-vhdx' '-disable-numa' '-disable-werror' '-disable-blobs' '-disable- vhost-scsi' '-enable-debug' '-disable-strip' '-enable- debug-tcg' '-enable- debug-info' '-extra- cflags= -fPIC'
0 Comments
Leave a Reply. |