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>
This commit is contained in:
Alexander Egorenkov
2020-09-17 06:07:55 +02:00
committed by Yann E. MORIN
parent 5d6e60994e
commit 2768db7027
3 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
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.