From patchwork Thu Dec 6 18:45:57 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 204301 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 8867C2C0131 for ; Fri, 7 Dec 2012 05:46:14 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C58FDA0268; Thu, 6 Dec 2012 18:46:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ou-4Pe32D+od; Thu, 6 Dec 2012 18:46:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 813E0A00E7; Thu, 6 Dec 2012 18:46:10 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 7ED338F74A for ; Thu, 6 Dec 2012 18:46:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 456728C44F for ; Thu, 6 Dec 2012 18:46:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IGh+802uKoAw for ; Thu, 6 Dec 2012 18:46:07 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from loknar.toptech.com.ar (loknar.toptech.com.ar [78.46.79.162]) by whitealder.osuosl.org (Postfix) with ESMTPS id 8AA368C42A for ; Thu, 6 Dec 2012 18:46:06 +0000 (UTC) Received: from asgard (host201.201-252-64.telecom.net.ar [201.252.64.201]) (authenticated bits=0) by loknar.toptech.com.ar (8.14.5/8.14.5) with ESMTP id qB6IjxFl028034 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 Dec 2012 18:46:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1354819563; bh=3m93ScUzLWLtCgZHY59I1/HrFVtj7acoo7vcMDlMyf4=; h=From:To:Cc:Subject:Date; b=sCwoCsZKsvzpYhG0ceA6aHNdlTspPevAhZNiehdkvsZ3d5NYF4jtPTd+AYNvhGc77 /lRQYfzqvac25ABw2gRDpQaXApE7FPj3wWuzxmOtqTp3sfx3O0vjUrejEpSz3CdHXb 2Jg8DZV6CB1VT36wuRmQkJA+JupStvEkLf4PakQc= Received: by asgard (sSMTP sendmail emulation); Thu, 06 Dec 2012 15:45:57 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Thu, 6 Dec 2012 15:45:57 -0300 Message-Id: <1354819557-26247-1-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 1.7.8.6 X-Virus-Scanned: clamav-milter 0.97.5 at loknar X-Virus-Status: Clean Subject: [Buildroot] [PATCH] qemu/ppc-virtex-ml507: add new sample config X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Add new powerpc-virtex-ml507 sample qemu config. Useful for powerpc softfloat testing. Signed-off-by: Gustavo Zacarias --- board/qemu/powerpc-virtex-ml507/readme.txt | 8 ++++++++ configs/qemu_ppc_virtex_ml507_defconfig | 22 ++++++++++++++++++++++ 2 files changed, 30 insertions(+), 0 deletions(-) create mode 100644 board/qemu/powerpc-virtex-ml507/readme.txt create mode 100644 configs/qemu_ppc_virtex_ml507_defconfig diff --git a/board/qemu/powerpc-virtex-ml507/readme.txt b/board/qemu/powerpc-virtex-ml507/readme.txt new file mode 100644 index 0000000..0500a95 --- /dev/null +++ b/board/qemu/powerpc-virtex-ml507/readme.txt @@ -0,0 +1,8 @@ +Run the emulation with: + + cp output/images/virtex440-ml507.dtb ppc.dtb + qemu-system-ppc -M virtex-ml507 -kernel output/images/vmlinux -m 256 -nographic -append "console=ttyS0" + +The login prompt will appear in the terminal that started Qemu. + +Tested with QEMU 1.2.0 diff --git a/configs/qemu_ppc_virtex_ml507_defconfig b/configs/qemu_ppc_virtex_ml507_defconfig new file mode 100644 index 0000000..541d84c --- /dev/null +++ b/configs/qemu_ppc_virtex_ml507_defconfig @@ -0,0 +1,22 @@ +# Architecture +BR2_powerpc=y +BR2_powerpc_440=y + +# Filesystem +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_ROOTFS_INITRAMFS=y + +# Lock to 3.6 headers to avoid breaking with newer kernels +BR2_KERNEL_HEADERS_3_6=y + +# Use soft float +BR2_SOFT_FLOAT=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.6.9" +BR2_LINUX_KERNEL_DEFCONFIG="44x/virtex5" +BR2_LINUX_KERNEL_VMLINUX=y +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="44x/virtex440-ml507"