board/qemu: Add ppc-e500mc configuration
This adds a 32-bit equivalent configuration of ppc64-e5500 board. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
9044268247
commit
88c1cb10b6
10
board/qemu/ppc-e500mc/linux.fragment
Normal file
10
board/qemu/ppc-e500mc/linux.fragment
Normal file
@@ -0,0 +1,10 @@
|
||||
# Enables generic PPC e500 base arch support for QEMU.
|
||||
# The e500mc is a variant of the e500 arch.
|
||||
CONFIG_PPC_QEMU_E500=y
|
||||
|
||||
# Enable virtio (blk, rng and net devices)
|
||||
CONFIG_VIRTIO=y
|
||||
CONFIG_VIRTIO_PCI=y
|
||||
CONFIG_HW_RANDOM_VIRTIO=y
|
||||
CONFIG_VIRTIO_BLK=y
|
||||
CONFIG_VIRTIO_NET=y
|
||||
5
board/qemu/ppc-e500mc/readme.txt
Normal file
5
board/qemu/ppc-e500mc/readme.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-ppc -M ppce500 -cpu e500mc -m 256 -kernel output/images/uImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -append "console=ttyS0 rootwait root=/dev/vda" -serial mon:stdio -nographic # qemu_ppc_e500mc_defconfig
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
Reference in New Issue
Block a user