kumquat-buildroot/board/qemu/s390x
Alexander Egorenkov 2768db7027 board/qemu: add IBM s390x and Z arch support
Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
[yann.morin.1998@free.fr:
  - don't force network range
  - don't forward TCP port
  - drop post-build script to add tty1
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-09-24 22:55:37 +02:00
..
readme.txt board/qemu: add IBM s390x and Z arch support 2020-09-24 22:55:37 +02:00

Run the emulation with:

  qemu-system-s390x -M s390-ccw-virtio -cpu max,zpci=on -m 4G -smp 2 \
    -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw \
    -append "rootwait root=/dev/vda net.ifnames=0 biosdevname=0" -display none -serial mon:stdio \
    -net nic,model=virtio -net user # qemu_s390x_defconfig

The login prompt will appear in the terminal that started Qemu.