From: Gustavo Zacarias Date: Fri, 11 Nov 2011 21:12:47 +0000 (-0300) Subject: qemu_sparc: add new qemu defconfig X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5ae731063619966f58ed8b58eeeda6cda5b0ed25;p=buildroot.git qemu_sparc: add new qemu defconfig Add a new qemu sample config for the SPARC architecture. Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- diff --git a/board/qemu/sparc-ss10/readme.txt b/board/qemu/sparc-ss10/readme.txt new file mode 100644 index 0000000000..5f01efa074 --- /dev/null +++ b/board/qemu/sparc-ss10/readme.txt @@ -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. + diff --git a/configs/qemu_sparc_ss10_defconfig b/configs/qemu_sparc_ss10_defconfig new file mode 100644 index 0000000000..20cd9fbf57 --- /dev/null +++ b/configs/qemu_sparc_ss10_defconfig @@ -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