From patchwork Mon May 7 18:27:23 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 157378 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id DBF80B6F6E for ; Tue, 8 May 2012 04:27:39 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 77DCC8C8BF; Mon, 7 May 2012 18:27:37 +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 N4xNDoxtDzwn; Mon, 7 May 2012 18:27:35 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 668B08C8C5; Mon, 7 May 2012 18:27:33 +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 00E218F753 for ; Mon, 7 May 2012 18:27:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E73C68C8BF for ; Mon, 7 May 2012 18:27:32 +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 vuuK7RzFJY8w for ; Mon, 7 May 2012 18:27:31 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from loknar.toptech.com.ar (loknar.toptech.com.ar [74.118.36.95]) by whitealder.osuosl.org (Postfix) with ESMTPS id 53CEA8C8C5 for ; Mon, 7 May 2012 18:27:30 +0000 (UTC) Received: from asgard (host105.190-136-216.telecom.net.ar [190.136.216.105]) (authenticated bits=0) by loknar.toptech.com.ar (8.14.4/8.14.4) with ESMTP id q47IROZ1021573 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 7 May 2012 15:27:27 -0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1336415248; bh=WVPS4AXmPPLzB6Gzt+Pq8K/X+EY/1PMSlvTfzamUatw=; h=From:To:Cc:Subject:Date:Message-Id; b=e78KviLS6VohvQK23r96yZagy49WC80nq/62oJOL/EiiZ1iGmfEHmQXiKZAVNhm+m SZIRp+ZI/LLuKIDVetQYvpxxj+DOZrLWGoorDi05a+QtmoLUqGHutAHPgZslXpBg05 zpcLCIpKrNb7KEfOcsB1PXatNnke3mKyQBsFTzMk= Received: by asgard (sSMTP sendmail emulation); Mon, 07 May 2012 15:27:24 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Mon, 7 May 2012 15:27:23 -0300 Message-Id: <1336415243-14701-1-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 1.7.3.4 X-Virus-Scanned: clamav-milter 0.97.3 at loknar X-Virus-Status: Clean Subject: [Buildroot] [PATCH] qemu/ppc-mpc8544ds: 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-mpc8544ds sample qemu config. Useful for SPE ABI testing. Signed-off-by: Gustavo Zacarias --- board/qemu/powerpc-mpc8544ds/readme.txt | 6 ++++++ configs/qemu_ppc_mpc8544ds_defconfig | 21 +++++++++++++++++++++ 2 files changed, 27 insertions(+), 0 deletions(-) create mode 100644 board/qemu/powerpc-mpc8544ds/readme.txt create mode 100644 configs/qemu_ppc_mpc8544ds_defconfig diff --git a/board/qemu/powerpc-mpc8544ds/readme.txt b/board/qemu/powerpc-mpc8544ds/readme.txt new file mode 100644 index 0000000..6ecdc4b --- /dev/null +++ b/board/qemu/powerpc-mpc8544ds/readme.txt @@ -0,0 +1,6 @@ +Run the emulation with: + + qemu-system-ppc -M mpc8544ds -kernel output/images/vmlinux -serial stdio + +The login prompt will appear in the terminal that started Qemu. + diff --git a/configs/qemu_ppc_mpc8544ds_defconfig b/configs/qemu_ppc_mpc8544ds_defconfig new file mode 100644 index 0000000..996d6b2 --- /dev/null +++ b/configs/qemu_ppc_mpc8544ds_defconfig @@ -0,0 +1,21 @@ +# Architecture +BR2_powerpc=y +BR2_powerpc_8548=y + +# filesystem +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_ROOTFS_INITRAMFS=y + +# Lock to 3.3 headers to avoid breaking with newer kernels +BR2_KERNEL_HEADERS_3_3=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.3.4" +BR2_LINUX_KERNEL_DEFCONFIG="mpc85xx" +BR2_LINUX_KERNEL_VMLINUX=y + +# Serial port config +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"