QEMU: Difference between revisions
Jump to navigation
Jump to search
(→QEMU) |
|||
Line 25: | Line 25: | ||
qemu-system-mipsel -M 24KEc -m 1024M -kernel bzImage -initrd rootfs.img.gz -append "root=/dev/ram rdinit=/sbin/init console=ttyS0 nokaslr" -nographic -serial mon:stdio | qemu-system-mipsel -M 24KEc -m 1024M -kernel bzImage -initrd rootfs.img.gz -append "root=/dev/ram rdinit=/sbin/init console=ttyS0 nokaslr" -nographic -serial mon:stdio | ||
=== iPXE === | |||
wget <nowiki>http://boot.ipxe.org/ipxe.iso</nowiki> | |||
qemu-kvm -m 1024 ipxe.iso -display curses | |||
==== ESP32 ==== | |||
<nowiki>https://github.com/espressif/qemu</nowiki> | |||
<nowiki>https://github.com/Ebiroll/qemu_esp32</nowiki> | |||
==== Micro:bit ==== | |||
qemu-system-arm -M microbit -device loader,file=test.hex | |||
<nowiki>https://www.qemu.org/docs/master/system/arm/imx25-pdk.html</nowiki> |
Revision as of 14:31, 7 March 2024
QEMU
CTRL-A x is exit
export QEMU_LD_PREFIX=/usr/arm-linux-gnueabihf
/etc/qemu-binfmt.conf EXTRA_OPTS="-L /usr/arm-linux-gnueabihf"
export CROSS_COMPILE=arm-linux-gnueabi- make defconfig make menuconfig make
qemu-system-arm -curses -machine virt -bios u-boot.bin
MIPS QEMU
qemu-system-mips64 -cpu 24Kc -serial pty -nographic -monitor none -no-reboot -bios u-boot.bin
qemu-system-mipsel -cpu 24KEc -m 64M -serial /dev/tty -drive file=3AC000,format=raw,index=0,media=disk
qemu-system-mipsel -cdrom deb.iso -hda mipsel.qcow -M malta -kernel vmlinuz -boot d -initrd initrd.gz -m 512 -appand "root=/dev/sda1 nokaslr" -nographic
qemu-system-mipsel -M 24KEc -m 1024M -kernel bzImage -initrd rootfs.img.gz -append "root=/dev/ram rdinit=/sbin/init console=ttyS0 nokaslr" -nographic -serial mon:stdio
iPXE
wget http://boot.ipxe.org/ipxe.iso
qemu-kvm -m 1024 ipxe.iso -display curses
ESP32
https://github.com/espressif/qemu
https://github.com/Ebiroll/qemu_esp32
Micro:bit
qemu-system-arm -M microbit -device loader,file=test.hex
https://www.qemu.org/docs/master/system/arm/imx25-pdk.html