qemu_sparc: add new qemu defconfig

Add a new qemu sample config for the SPARC architecture.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Gustavo Zacarias 2011-11-11 18:12:47 -03:00 committed by Peter Korsgaard
parent b847ed050d
commit 5ae7310636
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,7 @@
Run the emulation with:
qemu-system-sparc -M SS-10 -kernel output/images/zImage -drive file=output/images/rootfs.ext2 -append "root=/dev/sda console=ttyS0,115200" -serial stdio
The login prompt will appear in the terminal that started Qemu.
The graphical window is the framebuffer.

View File

@ -0,0 +1,14 @@
# Architecture
BR2_sparc=y
BR2_sparc_supersparc=y
# filesystem
BR2_TARGET_ROOTFS_EXT2=y
# BR2_TARGET_ROOTFS_TAR is not set
# Linux kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.1"
BR2_LINUX_KERNEL_DEFCONFIG="sparc32"
BR2_LINUX_KERNEL_ZIMAGE=y