From patchwork Mon May 7 14:06:03 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 157320 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 36F23B6F13 for ; Tue, 8 May 2012 00:06:15 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 02F38101085; Mon, 7 May 2012 14:06:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id veTA9Qg11YTO; Mon, 7 May 2012 14:06:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 83F52FFC81; Mon, 7 May 2012 14:06:13 +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 A65EC8F753 for ; Mon, 7 May 2012 14:06:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9E2EF8A61B for ; Mon, 7 May 2012 14:06:12 +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 Uj7OmAm3yCr3 for ; Mon, 7 May 2012 14:06:11 +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 D245D8A58D for ; Mon, 7 May 2012 14:06:10 +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 q47E65fw017422 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 7 May 2012 11:06:07 -0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1336399569; bh=d7wKNd3m+LnZd4ksOJHESwMJNpam6C9nSF+5A/EmMww=; h=From:To:Cc:Subject:Date:Message-Id; b=idqb8cFuXxbJLfEqr8k7B4lDHojR7CRrkKh2H4kR6HGA6WhzvNPQS+x12cNYqjTdh AQ0I4CzW3krDlcrKjmronUUi2M2s2d6mCh3eN7H/UsP7C33nQCMy6+HwsDpX/Omjac 2PR/JoWhxkCgZTTo7KWFyWmPE9oFnlhlAglWapwA= Received: by asgard (sSMTP sendmail emulation); Mon, 07 May 2012 11:06:04 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Mon, 7 May 2012 11:06:03 -0300 Message-Id: <1336399563-25710-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/arm-vexpress: 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 By popular demand! Signed-off-by: Gustavo Zacarias --- board/qemu/arm-vexpress/readme.txt | 6 ++++++ configs/qemu_arm_vexpress_defconfig | 22 ++++++++++++++++++++++ 2 files changed, 28 insertions(+), 0 deletions(-) create mode 100644 board/qemu/arm-vexpress/readme.txt create mode 100644 configs/qemu_arm_vexpress_defconfig diff --git a/board/qemu/arm-vexpress/readme.txt b/board/qemu/arm-vexpress/readme.txt new file mode 100644 index 0000000..0d3631c --- /dev/null +++ b/board/qemu/arm-vexpress/readme.txt @@ -0,0 +1,6 @@ +Run the emulation with: + + qemu-system-arm -M vexpress-a9 -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=sd -append "console=ttyAMA0,115200 root=/dev/mmcblk0" -serial stdio -net nic,model=lan9118 -net user + +The login prompt will appear in the terminal that started Qemu. The +graphical window is the framebuffer. diff --git a/configs/qemu_arm_vexpress_defconfig b/configs/qemu_arm_vexpress_defconfig new file mode 100644 index 0000000..7388279 --- /dev/null +++ b/configs/qemu_arm_vexpress_defconfig @@ -0,0 +1,22 @@ +# Architecture +BR2_arm=y +BR2_cortex_a9=y + +# system +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" + +# filesystem +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# 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="vexpress" +BR2_LINUX_KERNEL_ZIMAGE=y