buildroot/board/qemu/mips64-malta
Romain Naour 3cdaccb52c board/qemu/mips*-malta: switch from IDE disk to SCSI disk
A following patch will switch to the kernel 5.15 for all qemu
defconfigs but the IDE support (used by mips malta) has been
removed from the Linux kernel since 5.14 release [1].

Enable the SCSI support and update the kernel command line.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b7fb14d3ac63117e0e8beabe75f4ea52051fbe3a

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-11-06 11:51:24 +01:00
..
linux.config board/qemu/mips*-malta: switch from IDE disk to SCSI disk 2021-11-06 11:51:24 +01:00
readme.txt board/qemu/mips*-malta: switch from IDE disk to SCSI disk 2021-11-06 11:51:24 +01:00

Run the emulation with:

 qemu-system-mips64 -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/sda" # qemu_mips64_malta_defconfig

The login prompt will appear in the terminal that started Qemu. The
graphical window is the framebuffer.