kumquat-buildroot/board/qemu/arm-versatile
Masahiro Yamada 53d82096b6 qemu_arm_versatile_nommu: switch to in-kernel defconfig + fragment
This platform has its own kernel defconfig in Buildroot, but we cannot
get quick idea about how much it diverged from the in-kernel defconfig.

Let's use the upstream arch/arm/config/versatile_defconfig as a base,
and maintain the diff as a merge-config fragment. The same .config is
still generated based on the 5.10.7 kernel.

The diff is quite big, but this is a good start-point for cleanups.
Follow-up works can drop diff lines unless we find a good reason for
divergence.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
[Arnout: rename linux-nommu.config to linux-nommu.fragment]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-01-08 15:12:35 +01:00
..
patches/linux configs/qemu_arm_versatile_nommu_defconfig: update to Linux 5.15 2021-11-06 11:51:47 +01:00
linux-nommu.fragment qemu_arm_versatile_nommu: switch to in-kernel defconfig + fragment 2022-01-08 15:12:35 +01:00
linux.fragment qemu_arm_versatile: switch to in-kernel defconfig + fragment 2022-01-08 15:12:35 +01:00
readme.txt board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00

Run the emulation with:

  qemu-system-arm -M versatilepb -kernel output/images/zImage -dtb output/images/versatile-pb.dtb -drive file=output/images/rootfs.ext2,if=scsi,format=raw -append "rootwait root=/dev/sda console=ttyAMA0,115200" -serial stdio -net nic,model=rtl8139 -net user # qemu_arm_versatile_defconfig

Or for the noMMU emulation:

  qemu-system-arm -M versatilepb -kernel output/images/zImage -dtb output/images/versatile-pb.dtb -append "console=ttyAMA0,115200" -serial stdio -net user -net nic,model=smc91c111 # qemu_arm_versatile_nommu_defconfig

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