From patchwork Mon Apr 29 16:32:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jugurtha BELKALEM X-Patchwork-Id: 1092677 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=smile.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=smile-fr.20150623.gappssmtp.com header.i=@smile-fr.20150623.gappssmtp.com header.b="CqWenWzH"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44t9Dn08SRz9sCJ for ; Tue, 30 Apr 2019 02:32:40 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 6826F2078B; Mon, 29 Apr 2019 16:32:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jwYfnpzNl7fX; Mon, 29 Apr 2019 16:32:36 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id E5A9C20797; Mon, 29 Apr 2019 16:32:35 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id A1DCD1BF2E2 for ; Mon, 29 Apr 2019 16:32:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9ED6485B94 for ; Mon, 29 Apr 2019 16:32:34 +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 yGYv6F5wkTFI for ; Mon, 29 Apr 2019 16:32:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by fraxinus.osuosl.org (Postfix) with ESMTPS id F0D0485815 for ; Mon, 29 Apr 2019 16:32:33 +0000 (UTC) Received: by mail-wr1-f44.google.com with SMTP id c12so16959895wrt.8 for ; Mon, 29 Apr 2019 09:32:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=k4siOMa45HQhW4ROqOnXNGsld0vIKAQj4vbrL44YjAQ=; b=CqWenWzHBhI0mhC9wRJfZVumvFCmmTB9HyjRAfdDo2zRaX9H28Yeu0Lzy3eN3lmWCc agty7hiNbMAS75xvnHn72XvNk7wjqof9p1+ld/8HMnFTdMVMsRtLIWvuUCvVRUPNyQRp 585ukw3IBV9FM/WV/KWRPeDuFewyLHeaf2XIZWvf46QfpWiqj8i4nFl2RQz4mmhZwf4n w2SVj+mwNmY/1kp03t+GgxNFoV7tjMjXcFYkTDPpz4X7CaBOv1FmoYx8lL4X/VtOEYwb +wlocp7Gi7txNWe3++Kjg5sROj1Zuc5sAIU2XpZvw+KhJigUfWbKA7t8OaABteGSXWuf 17IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=k4siOMa45HQhW4ROqOnXNGsld0vIKAQj4vbrL44YjAQ=; b=Xp6YUUMqFK0CR3bIzAbeharzksiPn/AXNCTx13Pb2Ub+RdMyTCPersV30WeMio7nEk NkMYXD2dJ3gMCJpUQsX5rMoLgfXeEhofGBmgAMJAimrXAt0N1b6y3k/8uhq5+e5/Oc/7 Zv1IaKIpQuKpreFWBswsJjFO7brvyWI24ST7U6ID7RcL9li7PjgfCLrkr1zOg6BsVBdf hHn8ruTcENsfFZPXFyuWaTGmt8J2as8+b6Yte7faOdcWWRgIE4h3+AzWr9hrnxL/FISB iyz1FO04dGev62iUy2LywZ0parXeHfTHKx1+ebkdPLNETB+vscE6jBCoSuB77Vf9eABt cgYg== X-Gm-Message-State: APjAAAVyx5rNCjGlPCCbVj/wpI7vq+cYswUqlxT8YoENUFqIO8OQiFyg SxN+zzpncPr2xkmgLQ6zQ5GImofC2EA= X-Google-Smtp-Source: APXvYqzw0HzKQvZp5i2m5iOu2KNYcNtK0e50ketl0aC+6J7cW2iYZ36GDc1skhBn6M9w7BIYM7U2/A== X-Received: by 2002:adf:e387:: with SMTP id e7mr167041wrm.17.1556555552532; Mon, 29 Apr 2019 09:32:32 -0700 (PDT) Received: from P-NAN-SUCRE.nantes.intranet (static-css-ccs-204145.business.bouyguestelecom.com. [176.157.204.145]) by smtp.gmail.com with ESMTPSA id 67sm39198214wmz.41.2019.04.29.09.32.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Apr 2019 09:32:32 -0700 (PDT) From: Jugurtha BELKALEM To: buildroot@buildroot.org Date: Mon, 29 Apr 2019 18:32:20 +0200 Message-Id: <1556555546-9246-2-git-send-email-jugurtha.belkalem@smile.fr> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1556555546-9246-1-git-send-email-jugurtha.belkalem@smile.fr> References: <1556555546-9246-1-git-send-email-jugurtha.belkalem@smile.fr> Subject: [Buildroot] [PATCH 1/7] support/docker/Dockerfile: new package expect X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jugurtha BELKALEM MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" expect package is required for various automation tests. One use case is to integrate the script from toolchain builder : https://github.com/bootlin/toolchains-builder/blob/master/build.sh to check Qemu build states. expect can be used to launch a qemu machine for a given architecture (x86, x86_64, mips, arm, sparc, nios2, ..., etc), send root password, wait for login and then perform shutdown. Special note concerning python-pexpect package which can be used for the same task: After testing the package, We have noticed that it does not show the automation process correcly (you may not even see the message welcome to buildroot) and it is not verbose when errors are encountered. Signed-off-by: Jugurtha BELKALEM --- v2: reorder alphabetically Remove m68k kernel issue, since we use kernel 4.19 with qemu m68k defconfig. The patch fixing the issue was merged in kernel 4.17. --- support/docker/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/support/docker/Dockerfile b/support/docker/Dockerfile index 36cd3b2..8dcd3ef 100644 --- a/support/docker/Dockerfile +++ b/support/docker/Dockerfile @@ -29,6 +29,7 @@ RUN apt-get install -y --no-install-recommends \ cmake \ cpio \ cvs \ + expect \ file \ g++-multilib \ git \ From patchwork Mon Apr 29 16:32:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jugurtha BELKALEM X-Patchwork-Id: 1092679 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=smile.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=smile-fr.20150623.gappssmtp.com header.i=@smile-fr.20150623.gappssmtp.com header.b="oJipbHKk"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44t9Dq4r7gz9sDQ for ; Tue, 30 Apr 2019 02:32:43 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4AF0C85815; Mon, 29 Apr 2019 16:32:40 +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 yUL7AkQzQv_Z; Mon, 29 Apr 2019 16:32:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id C407C85B94; Mon, 29 Apr 2019 16:32:39 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 3AE2E1BF2E2 for ; Mon, 29 Apr 2019 16:32:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 37C7287447 for ; Mon, 29 Apr 2019 16:32:36 +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 HrRnIv9RMmkg for ; Mon, 29 Apr 2019 16:32:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by hemlock.osuosl.org (Postfix) with ESMTPS id 4A71B8741F for ; Mon, 29 Apr 2019 16:32:35 +0000 (UTC) Received: by mail-wr1-f66.google.com with SMTP id r6so16996315wrm.4 for ; Mon, 29 Apr 2019 09:32:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=OQprwgpiWOvTJtgH9lJ/OfGLBLKsqmMjtZcrqBBty2A=; b=oJipbHKkQBg02RfqpI9zIP70VcIfO5JR7Jn5i/stfyVczfd1wNQM3/JVeB0L9BhAkz /AqMVZo2y2GqH7KS5Cidl1DX8EALNSvfqjsGuO7r0mwq0X1IxZLhI+LibvnjmEiwJ+6o 9UO7iYAyJQyKd6N9azL9xYj3yJ7Ac/Rx+HcsSxFF+XiW1EPq1iAJbXWg6FTQQm4w2Ijq nFa9M3a+QmrM/uV4+n2wAu/qUi+5X7t1hErSpLk29QrHMzSnJnzKy6c7H3yoDtPzAZZ1 rCaRCDju1NEKOI13ZUyZhc1pn3L/SXhAC/adO7Okc+fY5dN3NLx0Oyhyu9ete5qFMFIE OLew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=OQprwgpiWOvTJtgH9lJ/OfGLBLKsqmMjtZcrqBBty2A=; b=hElOvOAaIj075tYa07TIkhDjRpBTxrNtYutVVSyUKs9KOTNJI0pF9aZi44yiSa5+l9 v31yIJzhS/TxQORhDEeHmZojcAbtB9DucECp6ST07xoi8HwVcfaAEGc2+vK1jsh+ChBs 3fB9m3jVqisRjYfE1l3IWdLoXx5iKhAs4wvANI9jEz9V4vGddy1W2BeqUbWtbf7oBHhA qu5aTTzIPswDsuf55iPA/errOHoCoPZ8knKXn4W6qgZCbGZC0cJOnFRNmeDK1cimi1XC 74PeVtJnnelq2bZgE62mNo+3vCngC+lZyefR+Z5/St7pS8bzLNbSZ5MGztA/ZMpgHqMo 1lqQ== X-Gm-Message-State: APjAAAW9J8pr1MWyOLWwb0f608eXvh+BaBOTRk77+Xxvo1FVDESXCDPS pIL0Jr0+AHMH59aQ4OzKcwUiOGqab9s= X-Google-Smtp-Source: APXvYqzrV22edDK5RPoCMEuHlHTgNkfNhYOefASpOJF+ZkVDHfzgjWf+jQDuIRGMqgn4uWE9BSZpNw== X-Received: by 2002:a5d:4b43:: with SMTP id w3mr8122919wrs.140.1556555553784; Mon, 29 Apr 2019 09:32:33 -0700 (PDT) Received: from P-NAN-SUCRE.nantes.intranet (static-css-ccs-204145.business.bouyguestelecom.com. [176.157.204.145]) by smtp.gmail.com with ESMTPSA id 67sm39198214wmz.41.2019.04.29.09.32.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Apr 2019 09:32:33 -0700 (PDT) From: Jugurtha BELKALEM To: buildroot@buildroot.org Date: Mon, 29 Apr 2019 18:32:21 +0200 Message-Id: <1556555546-9246-3-git-send-email-jugurtha.belkalem@smile.fr> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1556555546-9246-1-git-send-email-jugurtha.belkalem@smile.fr> References: <1556555546-9246-1-git-send-email-jugurtha.belkalem@smile.fr> Subject: [Buildroot] [PATCH 2/7] package/qemu: enable nios2 support for host-qemu X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jugurtha BELKALEM MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This config enable host eqmu support for nios2 which allows to test this architecture in gitlab. Signed-off-by: Jugurtha BELKALEM --- package/qemu/Config.in.host | 1 + package/qemu/qemu.mk | 1 + 2 files changed, 2 insertions(+) diff --git a/package/qemu/Config.in.host b/package/qemu/Config.in.host index 8a0df38..160725d 100644 --- a/package/qemu/Config.in.host +++ b/package/qemu/Config.in.host @@ -9,6 +9,7 @@ config BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS default y if BR2_microblazebe default y if BR2_mips default y if BR2_mipsel + default y if BR2_nios2 default y if BR2_powerpc default y if BR2_powerpc64 default y if BR2_powerpc64le diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index 19bcafa..e82d372 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -172,6 +172,7 @@ HOST_QEMU_DEPENDENCIES = host-pkgconf host-zlib host-libglib2 host-pixman # mipsel mipsel # mips64 mips64 # mips64el mips64el +# nios2 nios2 # powerpc ppc # powerpc64 ppc64 # powerpc64le ppc64 (system) / ppc64le (usermode) From patchwork Mon Apr 29 16:32:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jugurtha BELKALEM X-Patchwork-Id: 1092678 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=smile.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=smile-fr.20150623.gappssmtp.com header.i=@smile-fr.20150623.gappssmtp.com header.b="rAUg0uNU"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44t9Dq4r65z9sCJ for ; Tue, 30 Apr 2019 02:32:43 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 55F9C848AF; Mon, 29 Apr 2019 16:32:41 +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 FT7gIvDC+6kK; Mon, 29 Apr 2019 16:32:40 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id C12A085734; Mon, 29 Apr 2019 16:32:40 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id E4D561BF2E2 for ; Mon, 29 Apr 2019 16:32:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id E23AD85B94 for ; Mon, 29 Apr 2019 16:32:36 +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 r1WGDz_ZfwIT for ; Mon, 29 Apr 2019 16:32:36 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 5A56A85815 for ; Mon, 29 Apr 2019 16:32:36 +0000 (UTC) Received: by mail-wm1-f67.google.com with SMTP id y5so62639wma.2 for ; Mon, 29 Apr 2019 09:32:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=X/3gl2LOjW/85LXChzi8OM4VIAf/61h87p5FVMt7JUo=; b=rAUg0uNUiSn6V00pSNA1Wcbk+4/z1dtBL3aWZ7NtdxDDcdOrxUalui1Veuxwb/Jngy x/MRlksrY9utEbTkXnqJr01KphL2LgHqO1g0NLlyiH39TLw0C6Pltu4S/NtkF0xNWR1j BHHNQXrJjIFL4+96uUCQMhqP6zhSd74WIb9BqI4N4SWP7hPb/QUYFNhszF3TKj14knyS YbJW4/pISX51gXyl/T5Nt8ep/J/CZK/DTfMWKDjiUgwcA8ig3XueKngE9w3xkWT3Pp4X oZgI7YZsgTa5EeT8z4quWxw90UfwSkprYgnSkQWg64mqEOdT76yfzZC82MyylZb+EOEy 19xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=X/3gl2LOjW/85LXChzi8OM4VIAf/61h87p5FVMt7JUo=; b=Pk/PueICZWuTNnxia3jQlasc7VntmbNZcCLVQDTn46knMt6NKucOebYI8YF+rEYjvv zFxZ0oHa1YVAEI0PB16qXbQCs2Wu0r7ls5JvJuw4qyxRtIlvOtOuwbxo/iL19hQF1qhQ +KYquwV1Mh6W3gV1cqQntUZp3T9mfN0JS1wm/rjhyh6H8WjIYX6hfN4dpKtIr4AeSFpW +V+C9dJOlf8ebpPQu4bFiYPOVqgc68LZXO9fxk5f2/MmVuR6eFlhoeAOSFW5U3n1WiCo 5O3V6YfqESstgf9J9YhRRDGVoZwxQly/VMRn3drH6YT2SLbgeHDqRFPqcJdVcW0dtcZE B7Pw== X-Gm-Message-State: APjAAAUgzCNQI+4d0+hz05KnRVGdqyk1XE4CiKeb+fguAg+tM8vk3ec8 RKClis0+xdiTGR4Rcm48PouFVisPPxE= X-Google-Smtp-Source: APXvYqxBQWwirO9KqqATMbpK0LtLpFPzFodul3kcv8LfBLjpqOXRETCYAzfF8QDySebGN1ylpE0zJA== X-Received: by 2002:a1c:c917:: with SMTP id f23mr15684449wmb.4.1556555554892; Mon, 29 Apr 2019 09:32:34 -0700 (PDT) Received: from P-NAN-SUCRE.nantes.intranet (static-css-ccs-204145.business.bouyguestelecom.com. [176.157.204.145]) by smtp.gmail.com with ESMTPSA id 67sm39198214wmz.41.2019.04.29.09.32.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Apr 2019 09:32:34 -0700 (PDT) From: Jugurtha BELKALEM To: buildroot@buildroot.org Date: Mon, 29 Apr 2019 18:32:22 +0200 Message-Id: <1556555546-9246-4-git-send-email-jugurtha.belkalem@smile.fr> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1556555546-9246-1-git-send-email-jugurtha.belkalem@smile.fr> References: <1556555546-9246-1-git-send-email-jugurtha.belkalem@smile.fr> Subject: [Buildroot] [PATCH 3/7] package/qemu: enable sparc64 support for host-qemu X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jugurtha BELKALEM MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This config enable host eqmu support for sparc64 which allows to test this architecture in gitlab. Signed-off-by: Jugurtha BELKALEM --- package/qemu/Config.in.host | 1 + package/qemu/qemu.mk | 1 + 2 files changed, 2 insertions(+) diff --git a/package/qemu/Config.in.host b/package/qemu/Config.in.host index 160725d..ea80d6f 100644 --- a/package/qemu/Config.in.host +++ b/package/qemu/Config.in.host @@ -16,6 +16,7 @@ config BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS default y if BR2_riscv default y if BR2_sh default y if BR2_sparc + default y if BR2_sparc64 default y if BR2_x86_64 depends on !BR2_powerpc_620 && !BR2_powerpc_630 && !BR2_powerpc_970 diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index e82d372..b509472 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -183,6 +183,7 @@ HOST_QEMU_DEPENDENCIES = host-pkgconf host-zlib host-libglib2 host-pixman # sh4aeb sh4eb # sh64 not supported # sparc sparc +# sparc64 sparc64 HOST_QEMU_ARCH = $(ARCH) ifeq ($(HOST_QEMU_ARCH),i486) From patchwork Mon Apr 29 16:32:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jugurtha BELKALEM X-Patchwork-Id: 1092680 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=smile.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=smile-fr.20150623.gappssmtp.com header.i=@smile-fr.20150623.gappssmtp.com header.b="ChgGRXUx"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44t9Dv11W4z9sCJ for ; Tue, 30 Apr 2019 02:32:47 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 5A48185734; Mon, 29 Apr 2019 16:32:44 +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 EooRS6HTUwQt; Mon, 29 Apr 2019 16:32:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id DAFE7859D8; Mon, 29 Apr 2019 16:32:43 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 244B71BF2E2 for ; Mon, 29 Apr 2019 16:32:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1F7F32154C for ; Mon, 29 Apr 2019 16:32:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SP1vgtxR6VEF for ; Mon, 29 Apr 2019 16:32:38 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by silver.osuosl.org (Postfix) with ESMTPS id 51F9922C44 for ; Mon, 29 Apr 2019 16:32:37 +0000 (UTC) Received: by mail-wm1-f68.google.com with SMTP id n25so46571wmk.4 for ; Mon, 29 Apr 2019 09:32:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=fiOx2VCTsRdbCdTNfY39t+wZg9z2eN4g/bjV/5i4C3o=; b=ChgGRXUxbCqjhcZCPv4sv6MNo/rDB7CoxWikW8Qq7w3a8g5rjmdYbMMpHUpyPgCNc0 gNGmeyQaFwcNdU/J6neeYpTCFAxU4MDjezMhTwenxCEa/IYoJir4gGje9fxGbTEDwnF+ 4QYZYoQuKe90NzlovKkohwdZwmktR4appwm4wgjLo5PwTZdWqmIkTJlieWVphh4dcroo bCWMa1vZV9lGTwbpTOCkfyKyhYNnUNsOekn3SWW/gvTn2wdYdZSN4KCYNZt7K0lD2Fd4 htqSB9JvWxSnTVFzSv9M7vBE61KLD/h9SDcfHKtbkAWrGWuag1nXWlzjoQWVRjr9YPx4 5Knw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=fiOx2VCTsRdbCdTNfY39t+wZg9z2eN4g/bjV/5i4C3o=; b=fPupX2OEgSzheyR9Dwf3sF7UPq76ZKxx+yffDPlSPx8BfWu6pdn1KTMedD2eEKqTQG uG82f/PMRhqp6KKv+OHZE0+Q/a/t5472l66o8MX+KgJDaubPvUQsom79ABjyP1mC0o2b veZ9Rh/QeQrH+FZZxe5OGkDJ/S+OQudexjaURiMFp3Lg1zLflpTbNm9b/AmgNNLS5aOK QLWv/60lcxD28Mh3Ms3PdRnbSqvT9p++yFnK9MgjEzZMKNE4oOF3ypX/1AA4WMJflrJ1 pYXzKd6tXftACQ/WGDOVaSMr/NdBBr9yitK0zeMysy2KJnBxRuVqV4DMS5p9i0PYEauT 23iQ== X-Gm-Message-State: APjAAAXlkKYt+TLOpo/CGMBzoXwF4p6qdIia/28+ctSopYVVHDVem44C VavuYii7peAzc/1ILmRWo14MNXiLOIg= X-Google-Smtp-Source: APXvYqzs2CtJrb7K+i/Zo3W9bdn+AVk1zoWlsIJvoWs+6/KXg9DV+9/iHMdyg8MJh1yLuuDYssML2g== X-Received: by 2002:a1c:44d7:: with SMTP id r206mr17367675wma.129.1556555555868; Mon, 29 Apr 2019 09:32:35 -0700 (PDT) Received: from P-NAN-SUCRE.nantes.intranet (static-css-ccs-204145.business.bouyguestelecom.com. [176.157.204.145]) by smtp.gmail.com with ESMTPSA id 67sm39198214wmz.41.2019.04.29.09.32.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Apr 2019 09:32:35 -0700 (PDT) From: Jugurtha BELKALEM To: buildroot@buildroot.org Date: Mon, 29 Apr 2019 18:32:23 +0200 Message-Id: <1556555546-9246-5-git-send-email-jugurtha.belkalem@smile.fr> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1556555546-9246-1-git-send-email-jugurtha.belkalem@smile.fr> References: <1556555546-9246-1-git-send-email-jugurtha.belkalem@smile.fr> Subject: [Buildroot] [PATCH 4/7] package/qemu: remove comment about sh64 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jugurtha BELKALEM MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" sh64 has been removed since commit [1]: [1] 4338a319b72570e433fd7484f8a95e1e0e978941 Signed-off-by: Jugurtha BELKALEM --- package/qemu/qemu.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index b509472..0dfb928 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -181,7 +181,6 @@ HOST_QEMU_DEPENDENCIES = host-pkgconf host-zlib host-libglib2 host-pixman # sh4eb sh4eb # sh4a sh4 # sh4aeb sh4eb -# sh64 not supported # sparc sparc # sparc64 sparc64 From patchwork Mon Apr 29 16:32:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jugurtha BELKALEM X-Patchwork-Id: 1092681 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=smile.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=smile-fr.20150623.gappssmtp.com header.i=@smile-fr.20150623.gappssmtp.com header.b="g4AoY7bt"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44t9Dx6tqBz9sDQ for ; Tue, 30 Apr 2019 02:32:49 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 447C281FB4; Mon, 29 Apr 2019 16:32:48 +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 cSpQ8V4XUmOi; Mon, 29 Apr 2019 16:32:44 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id D559986416; Mon, 29 Apr 2019 16:32:44 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 6FB041BF2E2 for ; Mon, 29 Apr 2019 16:32:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 683F1815EF for ; Mon, 29 Apr 2019 16:32:40 +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 edR6g6czPZUk for ; Mon, 29 Apr 2019 16:32:39 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by whitealder.osuosl.org (Postfix) with ESMTPS id A40D3814C9 for ; Mon, 29 Apr 2019 16:32:38 +0000 (UTC) Received: by mail-wm1-f65.google.com with SMTP id j13so63728wmh.2 for ; Mon, 29 Apr 2019 09:32:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=FRmV5NPlTzJ7WGh/2e0DPDzpOzDu86gwdg4u0CIRtos=; b=g4AoY7btLFNcmG2h/Y+KRHcwz+Q+M/Bh0dE/+sytba8i8nSAsieY625K0yzirvtOJe ByOtuaVhIgqGu15P9qw1ihbZrKMQ+ZEP8Al6adIVWbXM5RoSZftR5kVexvlourihsjE9 q57pKz0+y8qnd2pqXP5yq73KAiB3p66Q1cXTvOEsuZ/4CMK49fTmpGys2hdpQSoluNZy /sw6ezIIRUlIPJAebuUJ5qgtYgWF5uXFsT1FiLGYWWzzFq/yYUabE0xN+BzIOYdu839T BP/z7R73pjQ/Z+sscbm08gdhjhvtrMZ6lcOX8bR0b4enJlz20SzJ+BD5t3CsAn63fGtt +J+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=FRmV5NPlTzJ7WGh/2e0DPDzpOzDu86gwdg4u0CIRtos=; b=pkNK44VNyJeCOEYfbHRFw/1R9k/EZX7ZMS/tDJevh1rRIHpYFN/OLoa+y0K9+UCQwM Ixgzz5CXLUWexdK9IXIGHmbYLDRcjALnrT2zZ5iUQOPxkFCULLt0+R/utu9r8etu856P v69sFUcXVJENvvPsG/73R5KS7fEUlMFddENtg7lXTb1BC35ScBqjLKjVz25NfwXEbmOM 82MHSzGAMYqfTtcRmc6TrGmsm6EWyoUMhAJY/PeSkoXg+Iss1v1Np4KYUsE6YGYGCc0E CFJOUA7N8qtByt501+ICVTPy+uJQqQ7kPiFTbBOKxRRY8wrVJOC4kMQkc8Y8JRnvKHXB 5cJQ== X-Gm-Message-State: APjAAAVjiaYawINB2qVQF37bI0Fg+N0crEDkmXktCiReDbhpZ4bPNuo+ Nw6pEG2zuJ9cksXydScxZtDx0KVK+Zs= X-Google-Smtp-Source: APXvYqxs4DV2sWOdQ98IxAogC+h+RHMhXMya6giIpShCfrixVmlsiBKiCkxYTTbD8baVgncxsms8Gg== X-Received: by 2002:a1c:eb03:: with SMTP id j3mr18306277wmh.15.1556555556947; Mon, 29 Apr 2019 09:32:36 -0700 (PDT) Received: from P-NAN-SUCRE.nantes.intranet (static-css-ccs-204145.business.bouyguestelecom.com. [176.157.204.145]) by smtp.gmail.com with ESMTPSA id 67sm39198214wmz.41.2019.04.29.09.32.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Apr 2019 09:32:36 -0700 (PDT) From: Jugurtha BELKALEM To: buildroot@buildroot.org Date: Mon, 29 Apr 2019 18:32:24 +0200 Message-Id: <1556555546-9246-6-git-send-email-jugurtha.belkalem@smile.fr> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1556555546-9246-1-git-send-email-jugurtha.belkalem@smile.fr> References: <1556555546-9246-1-git-send-email-jugurtha.belkalem@smile.fr> Subject: [Buildroot] [PATCH 5/7] configs/qemu-*: add host-qemu-system X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jugurtha BELKALEM MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Such config allows to setup gitlab tests for various qemu architectures (x86, mips, nios2, microblaze, ..., etc) using the same Qemu version. Signed-off-by: Jugurtha BELKALEM --- configs/qemu_aarch64_virt_defconfig | 4 ++++ configs/qemu_arm_versatile_defconfig | 4 ++++ configs/qemu_arm_versatile_nommu_defconfig | 4 ++++ configs/qemu_arm_vexpress_defconfig | 4 ++++ configs/qemu_m68k_mcf5208_defconfig | 4 ++++ configs/qemu_m68k_q800_defconfig | 4 ++++ configs/qemu_microblazebe_mmu_defconfig | 4 ++++ configs/qemu_microblazeel_mmu_defconfig | 4 ++++ configs/qemu_mips32r2_malta_defconfig | 4 ++++ configs/qemu_mips32r2el_malta_defconfig | 4 ++++ configs/qemu_mips32r6_malta_defconfig | 4 ++++ configs/qemu_mips32r6el_malta_defconfig | 4 ++++ configs/qemu_mips64_malta_defconfig | 4 ++++ configs/qemu_mips64el_malta_defconfig | 4 ++++ configs/qemu_mips64r6_malta_defconfig | 4 ++++ configs/qemu_mips64r6el_malta_defconfig | 4 ++++ configs/qemu_nios2_10m50_defconfig | 4 ++++ configs/qemu_or1k_defconfig | 4 ++++ configs/qemu_ppc64_e5500_defconfig | 4 ++++ configs/qemu_ppc64_pseries_defconfig | 4 ++++ configs/qemu_ppc64le_pseries_defconfig | 4 ++++ configs/qemu_ppc_g3beige_defconfig | 4 ++++ configs/qemu_ppc_mpc8544ds_defconfig | 4 ++++ configs/qemu_ppc_virtex_ml507_defconfig | 4 ++++ configs/qemu_riscv32_virt_defconfig | 4 ++++ configs/qemu_riscv64_virt_defconfig | 4 ++++ configs/qemu_sh4_r2d_defconfig | 4 ++++ configs/qemu_sh4eb_r2d_defconfig | 4 ++++ configs/qemu_sparc64_sun4u_defconfig | 4 ++++ configs/qemu_sparc_ss10_defconfig | 4 ++++ configs/qemu_x86_64_defconfig | 4 ++++ configs/qemu_x86_defconfig | 4 ++++ configs/qemu_xtensa_lx60_defconfig | 4 ++++ configs/qemu_xtensa_lx60_nommu_defconfig | 4 ++++ 34 files changed, 136 insertions(+) diff --git a/configs/qemu_aarch64_virt_defconfig b/configs/qemu_aarch64_virt_defconfig index 638e18b..212d779 100644 --- a/configs/qemu_aarch64_virt_defconfig +++ b/configs/qemu_aarch64_virt_defconfig @@ -21,3 +21,7 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.16" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/aarch64-virt/linux.config" BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_arm_versatile_defconfig b/configs/qemu_arm_versatile_defconfig index ce7cb5e..1194644 100644 --- a/configs/qemu_arm_versatile_defconfig +++ b/configs/qemu_arm_versatile_defconfig @@ -21,3 +21,7 @@ BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/arm-versatile/linux.config" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="versatile-pb" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_arm_versatile_nommu_defconfig b/configs/qemu_arm_versatile_nommu_defconfig index 81fb5b6..ae4353d 100644 --- a/configs/qemu_arm_versatile_nommu_defconfig +++ b/configs/qemu_arm_versatile_nommu_defconfig @@ -32,3 +32,7 @@ BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/arm-versatile/linux-nommu.config" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="versatile-pb" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_arm_vexpress_defconfig b/configs/qemu_arm_vexpress_defconfig index 66f198a..e52a140 100644 --- a/configs/qemu_arm_vexpress_defconfig +++ b/configs/qemu_arm_vexpress_defconfig @@ -23,3 +23,7 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.16" BR2_LINUX_KERNEL_DEFCONFIG="vexpress" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="vexpress-v2p-ca9" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_m68k_mcf5208_defconfig b/configs/qemu_m68k_mcf5208_defconfig index 44fd918..4dde10b 100644 --- a/configs/qemu_m68k_mcf5208_defconfig +++ b/configs/qemu_m68k_mcf5208_defconfig @@ -26,3 +26,7 @@ BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" # use minimal busybox with hush and networking tools BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_m68k_q800_defconfig b/configs/qemu_m68k_q800_defconfig index 0dd90a9..ce26443 100644 --- a/configs/qemu_m68k_q800_defconfig +++ b/configs/qemu_m68k_q800_defconfig @@ -23,3 +23,7 @@ BR2_LINUX_KERNEL_VMLINUX=y # Serial port config BR2_TARGET_GENERIC_GETTY=y BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_microblazebe_mmu_defconfig b/configs/qemu_microblazebe_mmu_defconfig index 95fdfed..022d2b7 100644 --- a/configs/qemu_microblazebe_mmu_defconfig +++ b/configs/qemu_microblazebe_mmu_defconfig @@ -21,3 +21,7 @@ BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/microblazebe-mmu/linux.config" BR2_LINUX_KERNEL_LINUX_BIN=y BR2_LINUX_KERNEL_PATCH="board/qemu/microblazebe-mmu/xilinx-xemaclite.patch" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_microblazeel_mmu_defconfig b/configs/qemu_microblazeel_mmu_defconfig index 7400daf..fbe02ca 100644 --- a/configs/qemu_microblazeel_mmu_defconfig +++ b/configs/qemu_microblazeel_mmu_defconfig @@ -21,3 +21,7 @@ BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/microblazeel-mmu/linux.config" BR2_LINUX_KERNEL_LINUX_BIN=y BR2_LINUX_KERNEL_PATCH="board/qemu/microblazeel-mmu/xilinx-xemaclite.patch" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_mips32r2_malta_defconfig b/configs/qemu_mips32r2_malta_defconfig index 0ee7a58..838a3d6 100644 --- a/configs/qemu_mips32r2_malta_defconfig +++ b/configs/qemu_mips32r2_malta_defconfig @@ -23,3 +23,7 @@ BR2_LINUX_KERNEL_VMLINUX=y # Serial port config BR2_TARGET_GENERIC_GETTY=y BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_mips32r2el_malta_defconfig b/configs/qemu_mips32r2el_malta_defconfig index 075088d..aaf3821 100644 --- a/configs/qemu_mips32r2el_malta_defconfig +++ b/configs/qemu_mips32r2el_malta_defconfig @@ -23,3 +23,7 @@ BR2_LINUX_KERNEL_VMLINUX=y # Serial port config BR2_TARGET_GENERIC_GETTY=y BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_mips32r6_malta_defconfig b/configs/qemu_mips32r6_malta_defconfig index b0bf94c..c480b69 100644 --- a/configs/qemu_mips32r6_malta_defconfig +++ b/configs/qemu_mips32r6_malta_defconfig @@ -27,3 +27,7 @@ BR2_GCC_VERSION_6_X=y # Serial port config BR2_TARGET_GENERIC_GETTY=y BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_mips32r6el_malta_defconfig b/configs/qemu_mips32r6el_malta_defconfig index 077d836..06f638e 100644 --- a/configs/qemu_mips32r6el_malta_defconfig +++ b/configs/qemu_mips32r6el_malta_defconfig @@ -27,3 +27,7 @@ BR2_GCC_VERSION_6_X=y # Serial port config BR2_TARGET_GENERIC_GETTY=y BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_mips64_malta_defconfig b/configs/qemu_mips64_malta_defconfig index 12502ea..20e368a 100644 --- a/configs/qemu_mips64_malta_defconfig +++ b/configs/qemu_mips64_malta_defconfig @@ -23,3 +23,7 @@ BR2_LINUX_KERNEL_VMLINUX=y # Serial port config BR2_TARGET_GENERIC_GETTY=y BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_mips64el_malta_defconfig b/configs/qemu_mips64el_malta_defconfig index 5ddb759..2ec2843 100644 --- a/configs/qemu_mips64el_malta_defconfig +++ b/configs/qemu_mips64el_malta_defconfig @@ -23,3 +23,7 @@ BR2_LINUX_KERNEL_VMLINUX=y # Serial port config BR2_TARGET_GENERIC_GETTY=y BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_mips64r6_malta_defconfig b/configs/qemu_mips64r6_malta_defconfig index bfa32f6..a614b4c 100644 --- a/configs/qemu_mips64r6_malta_defconfig +++ b/configs/qemu_mips64r6_malta_defconfig @@ -28,3 +28,7 @@ BR2_GCC_VERSION_6_X=y # Serial port config BR2_TARGET_GENERIC_GETTY=y BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_mips64r6el_malta_defconfig b/configs/qemu_mips64r6el_malta_defconfig index 2fd855d..d2b9e50 100644 --- a/configs/qemu_mips64r6el_malta_defconfig +++ b/configs/qemu_mips64r6el_malta_defconfig @@ -28,3 +28,7 @@ BR2_GCC_VERSION_6_X=y # Serial port config BR2_TARGET_GENERIC_GETTY=y BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_nios2_10m50_defconfig b/configs/qemu_nios2_10m50_defconfig index c07abc3..24573fc 100644 --- a/configs/qemu_nios2_10m50_defconfig +++ b/configs/qemu_nios2_10m50_defconfig @@ -11,3 +11,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y # Kernel needs mkimage BR2_PACKAGE_HOST_UBOOT_TOOLS=y + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_or1k_defconfig b/configs/qemu_or1k_defconfig index 3fc53f4..3d3fd53 100644 --- a/configs/qemu_or1k_defconfig +++ b/configs/qemu_or1k_defconfig @@ -14,3 +14,7 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.16" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/or1k/linux.config" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_ppc64_e5500_defconfig b/configs/qemu_ppc64_e5500_defconfig index 59b8636..d5d6647 100644 --- a/configs/qemu_ppc64_e5500_defconfig +++ b/configs/qemu_ppc64_e5500_defconfig @@ -19,3 +19,7 @@ BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y # Filesystem BR2_TARGET_ROOTFS_EXT2=y # BR2_TARGET_ROOTFS_TAR is not set + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_ppc64_pseries_defconfig b/configs/qemu_ppc64_pseries_defconfig index 5f55b24..200c50d 100644 --- a/configs/qemu_ppc64_pseries_defconfig +++ b/configs/qemu_ppc64_pseries_defconfig @@ -19,3 +19,7 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.16" BR2_LINUX_KERNEL_DEFCONFIG="pseries" BR2_LINUX_KERNEL_VMLINUX=y + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_ppc64le_pseries_defconfig b/configs/qemu_ppc64le_pseries_defconfig index 8356e4e..0eb3f11 100644 --- a/configs/qemu_ppc64le_pseries_defconfig +++ b/configs/qemu_ppc64le_pseries_defconfig @@ -19,3 +19,7 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.16" BR2_LINUX_KERNEL_DEFCONFIG="pseries_le" BR2_LINUX_KERNEL_VMLINUX=y + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_ppc_g3beige_defconfig b/configs/qemu_ppc_g3beige_defconfig index 4b2f3ed..8034abc 100644 --- a/configs/qemu_ppc_g3beige_defconfig +++ b/configs/qemu_ppc_g3beige_defconfig @@ -23,3 +23,7 @@ BR2_LINUX_KERNEL_VMLINUX=y # Serial port config BR2_TARGET_GENERIC_GETTY=y BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_ppc_mpc8544ds_defconfig b/configs/qemu_ppc_mpc8544ds_defconfig index 98985b7..9a529ae 100644 --- a/configs/qemu_ppc_mpc8544ds_defconfig +++ b/configs/qemu_ppc_mpc8544ds_defconfig @@ -26,3 +26,7 @@ BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" # Kernel needs mkimage BR2_PACKAGE_HOST_UBOOT_TOOLS=y + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_ppc_virtex_ml507_defconfig b/configs/qemu_ppc_virtex_ml507_defconfig index eddaf35..4b60675 100644 --- a/configs/qemu_ppc_virtex_ml507_defconfig +++ b/configs/qemu_ppc_virtex_ml507_defconfig @@ -24,3 +24,7 @@ BR2_LINUX_KERNEL_INTREE_DTS_NAME="virtex440-ml507" # Kernel needs mkimage BR2_PACKAGE_HOST_UBOOT_TOOLS=y + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_riscv32_virt_defconfig b/configs/qemu_riscv32_virt_defconfig index 84f7b6a..5a8e105 100644 --- a/configs/qemu_riscv32_virt_defconfig +++ b/configs/qemu_riscv32_virt_defconfig @@ -25,3 +25,7 @@ BR2_LINUX_KERNEL_IMAGE=y BR2_TARGET_OPENSBI=y BR2_TARGET_OPENSBI_USE_PLAT=y BR2_TARGET_OPENSBI_PLAT="qemu/virt" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_riscv64_virt_defconfig b/configs/qemu_riscv64_virt_defconfig index 12afac4..9590c61 100644 --- a/configs/qemu_riscv64_virt_defconfig +++ b/configs/qemu_riscv64_virt_defconfig @@ -24,3 +24,7 @@ BR2_LINUX_KERNEL_IMAGE=y BR2_TARGET_OPENSBI=y BR2_TARGET_OPENSBI_USE_PLAT=y BR2_TARGET_OPENSBI_PLAT="qemu/virt" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_sh4_r2d_defconfig b/configs/qemu_sh4_r2d_defconfig index e194d7e..ca7b25e 100644 --- a/configs/qemu_sh4_r2d_defconfig +++ b/configs/qemu_sh4_r2d_defconfig @@ -21,3 +21,7 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.16" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/sh4-r2d/linux.config" BR2_LINUX_KERNEL_ZIMAGE=y + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_sh4eb_r2d_defconfig b/configs/qemu_sh4eb_r2d_defconfig index f1aad8b..0664a08 100644 --- a/configs/qemu_sh4eb_r2d_defconfig +++ b/configs/qemu_sh4eb_r2d_defconfig @@ -20,3 +20,7 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.16" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/sh4eb-r2d/linux.config" BR2_LINUX_KERNEL_ZIMAGE=y + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_sparc64_sun4u_defconfig b/configs/qemu_sparc64_sun4u_defconfig index f4da2bc..70b4f13 100644 --- a/configs/qemu_sparc64_sun4u_defconfig +++ b/configs/qemu_sparc64_sun4u_defconfig @@ -18,3 +18,7 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.16" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/sparc64-sun4u/linux.config" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_sparc_ss10_defconfig b/configs/qemu_sparc_ss10_defconfig index e027b73..23733d8 100644 --- a/configs/qemu_sparc_ss10_defconfig +++ b/configs/qemu_sparc_ss10_defconfig @@ -18,3 +18,7 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.16" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/sparc-ss10/linux.config" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_x86_64_defconfig b/configs/qemu_x86_64_defconfig index afa2396..c3c0991 100644 --- a/configs/qemu_x86_64_defconfig +++ b/configs/qemu_x86_64_defconfig @@ -18,3 +18,7 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.16" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_x86_defconfig b/configs/qemu_x86_defconfig index 3441ad5..6d68b7d 100644 --- a/configs/qemu_x86_defconfig +++ b/configs/qemu_x86_defconfig @@ -19,3 +19,7 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.16" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86/linux.config" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_xtensa_lx60_defconfig b/configs/qemu_xtensa_lx60_defconfig index 6bf48a2..f36b4fb 100644 --- a/configs/qemu_xtensa_lx60_defconfig +++ b/configs/qemu_xtensa_lx60_defconfig @@ -23,3 +23,7 @@ BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/xtensa-lx60/linux.config" BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y BR2_LINUX_KERNEL_IMAGE_NAME="Image.elf" BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="Image" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/configs/qemu_xtensa_lx60_nommu_defconfig b/configs/qemu_xtensa_lx60_nommu_defconfig index 5ff9646..48746a9 100644 --- a/configs/qemu_xtensa_lx60_nommu_defconfig +++ b/configs/qemu_xtensa_lx60_nommu_defconfig @@ -27,3 +27,7 @@ BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/xtensa-lx60/linux-nommu.config" BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y BR2_LINUX_KERNEL_IMAGE_NAME="Image.elf" BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="Image" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y From patchwork Mon Apr 29 16:32:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jugurtha BELKALEM X-Patchwork-Id: 1092682 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=smile.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=smile-fr.20150623.gappssmtp.com header.i=@smile-fr.20150623.gappssmtp.com header.b="yudNZwkQ"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44t9Dy11pzz9sMM for ; Tue, 30 Apr 2019 02:32:50 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 63D062154C; Mon, 29 Apr 2019 16:32:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vol5ikn06Hag; Mon, 29 Apr 2019 16:32:45 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id A47A622782; Mon, 29 Apr 2019 16:32:45 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 917321BF964 for ; Mon, 29 Apr 2019 16:32:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 8E7CD85734 for ; Mon, 29 Apr 2019 16:32:40 +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 NHkp0XdR-vxy for ; Mon, 29 Apr 2019 16:32:39 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by hemlock.osuosl.org (Postfix) with ESMTPS id 93364848AF for ; Mon, 29 Apr 2019 16:32:39 +0000 (UTC) Received: by mail-wm1-f49.google.com with SMTP id 4so71380wmf.1 for ; Mon, 29 Apr 2019 09:32:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+KvRWjTlKYLawZukynf92KHFK6vJ9cQSFUiOdcC+E8s=; b=yudNZwkQF3igfsWBgrvjlVbwMbZALJW9N/b0KmWAy+VCdCsfA3euhRehgBYJungaqU YDX0BcD3ZatPDb3v1ZBiJGyJmKv/38/Ir6OJTjW/DV8zE7e8I8pvilB87elxii5qJ/Xz tHXFD6nuta5pZMRNodrVtynQqs5Hj/v7NZe65m+KtDBfC7fpSSJSWN77wvhdJ1r/EJvx JL7Pwq/x1cGHY+XavS17vLUzdO67rSy/j5cCD7SKTPKMaE+G2pqf3LqMZjpcDNXWsJ9d MzBNfljfv7VWL+ln/BPmdyEi2dUS/jDJ5iCbsjEMtROQQUA3im6YKIvWgZ8iY62nkd50 3YdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+KvRWjTlKYLawZukynf92KHFK6vJ9cQSFUiOdcC+E8s=; b=VGspdrwdwtbQtov8yGg0hz4BRsFIYZ9FMyStu06zWQhAU0Q+eGRMLdZS35HdJGIn6Z 03BQSsI9m0dtSQk6YHXLAoR3dpnttZCY3gDpDE9FzkG+WaJjaVZsIc40dMP3ZU0HxCNx ERlI0mRYt8h/zRo8rZuEkRxqX8b14Clpc+0t//fati46hGZizhkt6KHi1stoTNwwl3qn h5FHzzOPO6AELZefxSFxr69BWUEd3ZUxUaEhebKYC8pizEOmX59p44Et5h5MnvsfnSa4 oExolHtMfVQ6X2yjlouB+3pnhTMgbCCm3XGS/mIhywkYobxaGYY6WzhXl48DrZ1GI3E6 MQpQ== X-Gm-Message-State: APjAAAW+b8yYL3KrAyQt4Q9T99/Gv0qFJBifK180nBiCHOoWyq4Ztq10 KaY02f0W14amPOtqCA/jwyx2WZcEJM4= X-Google-Smtp-Source: APXvYqzmSFC2DQ7Jjtm41VBFDw3wErJMkwtT87PcSmBNlFbWb+bnwSpq3baIazlN8x+QYIW7AWA4Uw== X-Received: by 2002:a1c:a3c2:: with SMTP id m185mr7940264wme.17.1556555558059; Mon, 29 Apr 2019 09:32:38 -0700 (PDT) Received: from P-NAN-SUCRE.nantes.intranet (static-css-ccs-204145.business.bouyguestelecom.com. [176.157.204.145]) by smtp.gmail.com with ESMTPSA id 67sm39198214wmz.41.2019.04.29.09.32.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Apr 2019 09:32:37 -0700 (PDT) From: Jugurtha BELKALEM To: buildroot@buildroot.org Date: Mon, 29 Apr 2019 18:32:25 +0200 Message-Id: <1556555546-9246-7-git-send-email-jugurtha.belkalem@smile.fr> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1556555546-9246-1-git-send-email-jugurtha.belkalem@smile.fr> References: <1556555546-9246-1-git-send-email-jugurtha.belkalem@smile.fr> Subject: [Buildroot] [PATCH 6/7] support/scripts/qemu-boot: gitlab tests for Qemu X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jugurtha BELKALEM MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Enables to check various qemu architectures build states. These scripts were inspired from toolchain builder : https://github.com/bootlin/toolchains-builder/blob/master/build.sh to test qemu's build process. This allows to troubleshoot different issues that may be associated with defective qemu builds by lanching a qemu machine, sending root password, waiting for login shell and then perform a shutdown. The script expect.sh relies on expect package to automate the tests. We should mention that python-pexpect can be tweeked for the same job but seems like it does hide the automation process as well as any errors that may be encountered. The script qemu-boot-defconfig_config.sh is required for architectures that need special configuration before starting compilation (like setting the correct tty). On the other side, qemu-boot-checker.sh is used to read the qemu command used to launch a qemu machine (by reading board/qemu/qemu_architecture/readme.txt) as well as setting the path to the qemu host and calling expect.sh. Signed-off-by: Jugurtha BELKALEM --- support/scripts/expect.sh | 22 +++++++++++++++++ support/scripts/qemu-boot-checker.sh | 35 +++++++++++++++++++++++++++ support/scripts/qemu-boot-defconfig_config.sh | 11 +++++++++ 3 files changed, 68 insertions(+) create mode 100755 support/scripts/expect.sh create mode 100755 support/scripts/qemu-boot-checker.sh create mode 100755 support/scripts/qemu-boot-defconfig_config.sh diff --git a/support/scripts/expect.sh b/support/scripts/expect.sh new file mode 100755 index 0000000..6d65752 --- /dev/null +++ b/support/scripts/expect.sh @@ -0,0 +1,22 @@ +#!/usr/bin/expect +# + +set timeout 400 + +log_file /tmp/expect_session.log + +eval spawn $env(QEMU_COMMAND) + +expect { + eof {puts "Connection problem, exiting."; exit 1} + timeout {puts "System did not boot in time, exiting."; exit 1} + "buildroot login:" +} +send "root\r" +expect { + eof {puts "Connection problem, exiting."; exit 1} + timeout {puts "No shell, exiting."; exit 1} + "# " +} +send "poweroff\r" +expect "System halted" diff --git a/support/scripts/qemu-boot-checker.sh b/support/scripts/qemu-boot-checker.sh new file mode 100755 index 0000000..f036516 --- /dev/null +++ b/support/scripts/qemu-boot-checker.sh @@ -0,0 +1,35 @@ +#!/bin/bash + +if [[ $1 = qemu* ]]; then + device_name=$(echo $1 | sed -e 's#^qemu_##; s#_defconfig$##;' | sed -r 's/[_]/-/g') + if [ $device_name == "x86-64" ]; then + device_name="x86_64" + elif [ $device_name == "xtensa-lx60" ] || [ $device_name == "xtensa-lx60-nommu" ]; then + echo "xtensa cannot be tested" + exit 0 + elif [ $device_name == "m68k-q800" ] || [ $device_name == "ork1k" ]; then + archQemuNoSupport + fi + + test_qemu_cmd="$(grep qemu-system $2/board/qemu/${device_name}/readme.txt)" + qemu_command="$(echo "${test_qemu_cmd}"|tr -d '\n')" + + export QEMU_COMMAND="${qemu_command}" + + export PATH="$2/output/host/bin:$PATH" + echo $PATH + + function archQemuNoSupport { + echo "cannot boot under qemu, support out of tree!" + exit 0 + } + + function boot_test { + if ! expect expect.sh ; then + echo " booting test system ... FAILED" + return 1 + fi + echo " booting test system ... SUCCESS" + } + boot_test +fi diff --git a/support/scripts/qemu-boot-defconfig_config.sh b/support/scripts/qemu-boot-defconfig_config.sh new file mode 100755 index 0000000..526eee1 --- /dev/null +++ b/support/scripts/qemu-boot-defconfig_config.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +if [[ $1 = qemu* ]]; then + device_name=$(echo $1 | sed -e 's#^qemu_##; s#_defconfig$##;' | sed -r 's/[_]/-/g') + if [ $device_name == "x86-64" ]; then + device_name="x86_64" + sed -i "s/tty1/ttyS0/" $2/configs/$1 + elif [ $device_name == "x86" ]; then + sed -i "s/tty1/ttyS0/" $2/configs/$1 + fi +fi From patchwork Mon Apr 29 16:32:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jugurtha BELKALEM X-Patchwork-Id: 1092683 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=smile.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=smile-fr.20150623.gappssmtp.com header.i=@smile-fr.20150623.gappssmtp.com header.b="YRHXA4tj"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44t9F4087Jz9sDQ for ; Tue, 30 Apr 2019 02:32:55 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3EAEF864CB; Mon, 29 Apr 2019 16:32:54 +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 TCYZ13DmyCsF; Mon, 29 Apr 2019 16:32:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 655788646F; Mon, 29 Apr 2019 16:32:46 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 751DF1BF2E2 for ; Mon, 29 Apr 2019 16:32:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 71DE9815EF for ; Mon, 29 Apr 2019 16:32:41 +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 3oqOQURtYyBS for ; Mon, 29 Apr 2019 16:32:40 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by whitealder.osuosl.org (Postfix) with ESMTPS id A9C3D814C9 for ; Mon, 29 Apr 2019 16:32:40 +0000 (UTC) Received: by mail-wr1-f47.google.com with SMTP id t17so16928423wrw.13 for ; Mon, 29 Apr 2019 09:32:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=iuaaihroxNEnprrtLfgUJOsfz+TAYBIr/t8yKQlGTGA=; b=YRHXA4tj1RxqlL2HY+1WN+Gd9piyFzTpEEEtHmsf85EuTMbwvTbaVwaO6bUDlc+0cu r3FLsW3DMOb/QJ58d5AMHZAIhD3hRgMwNZz6lerW0OE/6JQ73DfMrRakt0DAV+KUex8a 7aZhOpPQ0tpGSjhi2ZYqathwCJz7x+28RjoQSzdpYxIpTYrHLJAOr/QeITJQ9aia+7oe 82jepAV4R3TxKIe+S0L19J6Qnd3bFTsuOtXLggP5UWhGKwnxVB25xCLsCO7+sr4E+VEE kvQCH0G1c2A4jJn3ucQr3iKwrouhwSQDD5pRVVvGHXzTsZdXUoNnD5KkijNXt9NAZZBi RXsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=iuaaihroxNEnprrtLfgUJOsfz+TAYBIr/t8yKQlGTGA=; b=UHJC7ucIZkCzI8pHVm4cKn0CUlB5yfAuE07ruv/UE7RgeS7WvS74/IJQztHyHrx+/g 6hHQaRrr2K4ZsS7R2gb+7W45f5nZ2kIMwvpfsVNSEUoNKO8HiFyoQbdmeQXvDsMTnV6T l9ZBG6UOAfjEcBcyeAAlW6agxadPJpFyUa7MbszJk67TP87G18UQaIuCRk9jyDxhe+wc GhsIvRu10Eiykn+7y9uqeXeUiarh3BvNy/BHl32oHkCA1PovHu700DVZ5jskdVL6WWao SIOTKG6+aRTr3BySRnh+sY4TUsxWBaVmQW3qodavk5dLTzGcitGL1RKHlA23MFKgb70F 2jaA== X-Gm-Message-State: APjAAAWNnsPLlW4Pvw+2UhBFYwMZkgFIXy4S084s49tQsWtXd3V82MmO 201TFoXCFv5BCXm3N2nNx2kpZqrXslA= X-Google-Smtp-Source: APXvYqyLBiPYnaZ/yx5j8C8fyprnEyuikVWVr59+vqiKgJa57b+HHZkAr0GJanJFQQ2ZYG5rd5bgNw== X-Received: by 2002:a5d:4690:: with SMTP id u16mr3777223wrq.198.1556555559183; Mon, 29 Apr 2019 09:32:39 -0700 (PDT) Received: from P-NAN-SUCRE.nantes.intranet (static-css-ccs-204145.business.bouyguestelecom.com. [176.157.204.145]) by smtp.gmail.com with ESMTPSA id 67sm39198214wmz.41.2019.04.29.09.32.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Apr 2019 09:32:38 -0700 (PDT) From: Jugurtha BELKALEM To: buildroot@buildroot.org Date: Mon, 29 Apr 2019 18:32:26 +0200 Message-Id: <1556555546-9246-8-git-send-email-jugurtha.belkalem@smile.fr> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1556555546-9246-1-git-send-email-jugurtha.belkalem@smile.fr> References: <1556555546-9246-1-git-send-email-jugurtha.belkalem@smile.fr> Subject: [Buildroot] [PATCH 7/7] gitlab.yml.in: enable Qemu gitlab testing X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jugurtha BELKALEM MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Used to launch qemu tests for various qemu architectures. Neverthless to say that this file skips any other job different from qemu (only qemu configurations are runtime tested). Signed-off-by: Jugurtha BELKALEM --- .gitlab-ci.yml | 3 +++ .gitlab-ci.yml.in | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e9869be..5884716 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,6 +37,8 @@ check-package: .defconfig_script: script: - echo 'Configure Buildroot' + - main_dir=$(pwd) + - ./support/scripts/qemu-boot-defconfig_config.sh "${CI_JOB_NAME}" "${main_dir}" - make ${CI_JOB_NAME} - echo 'Build buildroot' - | @@ -45,6 +47,7 @@ check-package: tail -200 build.log exit 1 } + - ./support/scripts/qemu-boot-checker.sh "${CI_JOB_NAME}" "${main_dir}" .defconfig: extends: .defconfig_script diff --git a/.gitlab-ci.yml.in b/.gitlab-ci.yml.in index ad61643..ac5ba57 100644 --- a/.gitlab-ci.yml.in +++ b/.gitlab-ci.yml.in @@ -37,6 +37,8 @@ check-package: .defconfig_script: script: - echo 'Configure Buildroot' + - main_dir=$(pwd) + - ./support/scripts/qemu-boot-defconfig_config.sh "${CI_JOB_NAME}" "${main_dir}" - make ${CI_JOB_NAME} - echo 'Build buildroot' - | @@ -45,6 +47,7 @@ check-package: tail -200 build.log exit 1 } + - ./support/scripts/qemu-boot-checker.sh "${CI_JOB_NAME}" "${main_dir}" .defconfig: extends: .defconfig_script