From patchwork Tue Oct 7 12:29:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 397284 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 154571400D5 for ; Tue, 7 Oct 2014 23:33:19 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9B11492381; Tue, 7 Oct 2014 12:33:17 +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 nJUzDwXh7ORM; Tue, 7 Oct 2014 12:33:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id BB4AA921FF; Tue, 7 Oct 2014 12:33:14 +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 B2A451C21B3 for ; Tue, 7 Oct 2014 12:33:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id AD1D891C4E for ; Tue, 7 Oct 2014 12:33:13 +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 4iGS89aF+7MF for ; Tue, 7 Oct 2014 12:33:13 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from www.zacarias.com.ar (www.zacarias.com.ar [62.210.192.172]) by whitealder.osuosl.org (Postfix) with ESMTPS id 021DE91A5B for ; Tue, 7 Oct 2014 12:33:12 +0000 (UTC) Received: from asgard (cpe-186-18-128-65.telecentro-reversos.com.ar [186.18.128.65] (may be forged)) (authenticated bits=0) by www.zacarias.com.ar (8.14.9/8.14.9) with ESMTP id s97CX6Lh025776 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 7 Oct 2014 12:33:09 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1412685191; bh=YHF/XlpfhXVJNdhUEUWefXR/NjcIRvl2vB1G1Ad0xK0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=otSb/YEg9f3odp6VMeC9OTohd3suNLUI0UwepAOSzFoPJNIA3HquKQKGMHsBvY29A YMTkMTzZ+sIGqsRF2JgvCh6U5PosnjWXGz8f08SOlY+iy7GxZOm5lpgJhtsnuB+y+a knbyhy6lrBAQqJKlIICyLAaRBONW+ZZljmzEgaGo= Received: by asgard (sSMTP sendmail emulation); Tue, 07 Oct 2014 09:33:01 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Tue, 7 Oct 2014 09:29:53 -0300 Message-Id: <1412684994-28760-19-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 2.0.4 In-Reply-To: <1412684994-28760-1-git-send-email-gustavo@zacarias.com.ar> References: <1412684994-28760-1-git-send-email-gustavo@zacarias.com.ar> X-Virus-Scanned: clamav-milter 0.98.4 at www X-Virus-Status: Clean Subject: [Buildroot] [PATCH 18/19] qemu/ppc-virtex-ml507: update to the latest versions X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" Signed-off-by: Gustavo Zacarias --- .../{powerpc-virtex-ml507 => ppc-virtex-ml507}/readme.txt | 5 ++--- configs/qemu_ppc_virtex_ml507_defconfig | 13 +++++++++---- 2 files changed, 11 insertions(+), 7 deletions(-) rename board/qemu/{powerpc-virtex-ml507 => ppc-virtex-ml507}/readme.txt (58%) diff --git a/board/qemu/powerpc-virtex-ml507/readme.txt b/board/qemu/ppc-virtex-ml507/readme.txt similarity index 58% rename from board/qemu/powerpc-virtex-ml507/readme.txt rename to board/qemu/ppc-virtex-ml507/readme.txt index 0547987..edf72bd 100644 --- a/board/qemu/powerpc-virtex-ml507/readme.txt +++ b/board/qemu/ppc-virtex-ml507/readme.txt @@ -1,8 +1,7 @@ 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" + qemu-system-ppc -M virtex-ml507 -kernel output/images/vmlinux -m 256 -nographic -append "console=ttyS0" -dtb virtex440-ml507.dtb The login prompt will appear in the terminal that started Qemu. -Tested with QEMU 1.7.0 +Tested with QEMU 2.1.2 diff --git a/configs/qemu_ppc_virtex_ml507_defconfig b/configs/qemu_ppc_virtex_ml507_defconfig index cd2f647..fb464c1 100644 --- a/configs/qemu_ppc_virtex_ml507_defconfig +++ b/configs/qemu_ppc_virtex_ml507_defconfig @@ -6,10 +6,10 @@ BR2_powerpc_440=y # BR2_TARGET_ROOTFS_TAR is not set BR2_TARGET_ROOTFS_INITRAMFS=y -# Lock to 3.13 headers to avoid breaking with newer kernels +# Lock to 3.17 headers to avoid breaking with newer kernels BR2_KERNEL_HEADERS_VERSION=y -BR2_DEFAULT_KERNEL_VERSION="3.13.5" -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13=y +BR2_DEFAULT_KERNEL_VERSION="3.17" +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_17=y # Use soft float BR2_SOFT_FLOAT=y @@ -17,8 +17,13 @@ BR2_SOFT_FLOAT=y # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.13.5" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.17" BR2_LINUX_KERNEL_DEFCONFIG="44x/virtex5" BR2_LINUX_KERNEL_VMLINUX=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="virtex440-ml507" + +# Qemu +BR2_PACKAGE_HOST_QEMU_SYSTEM=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_VERSION="2.1.2" +BR2_PACKAGE_HOST_QEMU_SYSTEM_ARGS="-M virtex-ml507 -kernel output/images/vmlinux -m 256 -append 'console=ttyS0' -display none -nographic -dtb output/images/virtex440-ml507.dtb"