From patchwork Mon Mar 18 21:02:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 1058093 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=fail (p=none dis=none) header.from=wdc.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=wdc.com header.i=@wdc.com header.b="AIE3V9gg"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=sharedspace.onmicrosoft.com header.i=@sharedspace.onmicrosoft.com header.b="fgAg5uOz"; 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 44NTCC3w5zz9s9T for ; Tue, 19 Mar 2019 08:02:15 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2D8F085F6A; Mon, 18 Mar 2019 21:02:13 +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 oHZ4gS889eQi; Mon, 18 Mar 2019 21:02:11 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0A49185F51; Mon, 18 Mar 2019 21:02:11 +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 7B5EE1BF29C for ; Mon, 18 Mar 2019 21:02:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 76F328702B for ; Mon, 18 Mar 2019 21:02:07 +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 VgB0ufb4cnJY for ; Mon, 18 Mar 2019 21:02:05 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from esa3.hgst.iphmx.com (esa3.hgst.iphmx.com [216.71.153.141]) by whitealder.osuosl.org (Postfix) with ESMTPS id 6A43086DB2 for ; Mon, 18 Mar 2019 21:02:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1552942926; x=1584478926; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=HrR077UBPqkFykxIpce8nbqdrNWX1cyuiRYVqB19HjU=; b=AIE3V9gglrZ/u4yy8LWP3+xdAE7ELevzoGX8eRZZnyi/MpaFh7+522td w2OyHDcBl85dT8UNuhDBdvfg5XEWs6bvrNvWc7N/NLjsZY4MZF73ttGmF V8w32KTS3ge6c0SSeJ8oULMEsT8joYAza1g0RUCpdBTXcNJ7JuIO4S0iX /MjLiTOHEXSc0GZWRdH0D9pcr2kVgQUc5yYa3QdWZCnUExFAwzaIYsEwT jGLjeRN5iEzEKbacvmbEhd615jkexTMTLky9I/y0IYonONDTshmqXD/YR QhqHK8evF8p6PvC44sfPJomzJCf5gjMIKpGKeDucAp8MqpEAvCajG/20h w==; X-IronPort-AV: E=Sophos;i="5.58,494,1544457600"; d="scan'208";a="108737343" Received: from mail-by2nam01lp2057.outbound.protection.outlook.com (HELO NAM01-BY2-obe.outbound.protection.outlook.com) ([104.47.34.57]) by ob1.hgst.iphmx.com with ESMTP; 19 Mar 2019 05:02:06 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-wdc-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TLpSE5EzIhZdVFgF89NPOEVsDBWCrfdhubylr9wVUP4=; b=fgAg5uOzt4n4oIGj02dFPVWSkdNbT1Zu04n7cIqJv17adPc/y1e4tBUaM/euf0TSWbuo2WlQOkAFCHKmYvU/uYm6yS5qsTpxfyWhsmMFoNvyX0KhyqOwXtss9LVeAa2kDnu6qlkC4Mk2LJWOJOC6f23kJzK8KBnyDHsqP9EVQB4= Received: from BYAPR04MB4901.namprd04.prod.outlook.com (52.135.232.206) by BYAPR04MB4518.namprd04.prod.outlook.com (52.135.238.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.13; Mon, 18 Mar 2019 21:02:04 +0000 Received: from BYAPR04MB4901.namprd04.prod.outlook.com ([fe80::1c45:32d7:98ed:4cd7]) by BYAPR04MB4901.namprd04.prod.outlook.com ([fe80::1c45:32d7:98ed:4cd7%6]) with mapi id 15.20.1709.015; Mon, 18 Mar 2019 21:02:04 +0000 From: Alistair Francis To: "mark.corbin@embecosm.com" , "buildroot@buildroot.org" Thread-Topic: [PATCH v2 4/5] configs: qemu_riscv*: Build the kernel Image file Thread-Index: AQHU3c3WJgttqAEr7Eu3NzxW7Yaq6A== Date: Mon, 18 Mar 2019 21:02:04 +0000 Message-ID: <20190318210106.6347-4-alistair.francis@wdc.com> References: <20190318210106.6347-1-alistair.francis@wdc.com> In-Reply-To: <20190318210106.6347-1-alistair.francis@wdc.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.21.0 x-clientproxiedby: BYAPR05CA0051.namprd05.prod.outlook.com (2603:10b6:a03:74::28) To BYAPR04MB4901.namprd04.prod.outlook.com (2603:10b6:a03:4f::14) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alistair.Francis@wdc.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [199.255.44.250] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 32a453e8-61cb-41a8-2db8-08d6abe4f8ef x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:BYAPR04MB4518; x-ms-traffictypediagnostic: BYAPR04MB4518: x-ms-exchange-purlcount: 1 wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-forefront-prvs: 098076C36C x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(136003)(396003)(366004)(346002)(39860400002)(189003)(199004)(44832011)(4326008)(76176011)(105586002)(386003)(256004)(2501003)(54906003)(110136005)(68736007)(316002)(6436002)(26005)(476003)(2616005)(102836004)(11346002)(106356001)(186003)(486006)(6506007)(86362001)(71200400001)(71190400001)(99286004)(52116002)(36756003)(446003)(25786009)(8936002)(14444005)(81166006)(81156014)(97736004)(8676002)(2906002)(66066001)(1076003)(5660300002)(305945005)(7736002)(6486002)(53936002)(14454004)(72206003)(6116002)(50226002)(478600001)(6306002)(3846002)(6512007); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR04MB4518; H:BYAPR04MB4901.namprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: yjnTFyL7ilyxXM4T2aqr5SvrdbRim5hTdQ+UZ2oqvms7U6bTPWuzZQBTkeIajq8CPMXPsMbMhz4ys1a9WMAIvYGOSE76r7zAgn4jdKaGwx3/oE5SXG5JXbCt8zXf2yx+wRtLq12ghVNU7cxEpeVId0b7/FmqATiiiy1gPfnctHvMqMQgBMYxljv5A1D+eBzqsl094Rv4JWjKFY/2w8RtZnZQ7dpckFPc3WlRfEtQip/0QfmaM2PO9vFHBaxUDwNm7UzIYlsClOS5iDYlV+THovHfK9N8GgbPKhPyu0CS7kEyzkKKoWV1UTIlx/+xE77D6uBG47A4JlgNWV7qy8675KoT8Aqg7qrBvYvChIDgvtTiTx+Xn2Mxhdhw0IKTnzUIZ5BTyxytLTkEGGEZFHnYXliJ10FY5ZbevUGwrOm7sfY= MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 32a453e8-61cb-41a8-2db8-08d6abe4f8ef X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Mar 2019 21:02:04.0143 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR04MB4518 Subject: [Buildroot] [PATCH v2 4/5] configs: qemu_riscv*: Build the kernel Image file 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: Atish Patra , Alistair Francis , "alistair23@gmail.com" Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Alistair Francis --- configs/qemu_riscv32_virt_defconfig | 1 + configs/qemu_riscv64_virt_defconfig | 1 + linux/Config.in | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/qemu_riscv32_virt_defconfig b/configs/qemu_riscv32_virt_defconfig index 6f9a61b11c..f7e9a23106 100644 --- a/configs/qemu_riscv32_virt_defconfig +++ b/configs/qemu_riscv32_virt_defconfig @@ -20,6 +20,7 @@ BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/riscv/riscv-linux.git" BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="8fe28cb58bcb235034b64cbbb7550a8a43fd88be" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/riscv32-virt/linux.config" +BR2_LINUX_KERNEL_IMAGE=y # Bootloader BR2_TARGET_RISCV_PK=y diff --git a/configs/qemu_riscv64_virt_defconfig b/configs/qemu_riscv64_virt_defconfig index 596edf2fcd..ae67979d29 100644 --- a/configs/qemu_riscv64_virt_defconfig +++ b/configs/qemu_riscv64_virt_defconfig @@ -19,6 +19,7 @@ BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/riscv/riscv-linux.git" BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="8fe28cb58bcb235034b64cbbb7550a8a43fd88be" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y +BR2_LINUX_KERNEL_IMAGE=y # Bootloader BR2_TARGET_RISCV_PK=y diff --git a/linux/Config.in b/linux/Config.in index 818b94e1c0..dc10238053 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -258,7 +258,7 @@ config BR2_LINUX_KERNEL_SIMPLEIMAGE config BR2_LINUX_KERNEL_IMAGE bool "Image" - depends on BR2_aarch64 + depends on BR2_aarch64 || BR2_riscv config BR2_LINUX_KERNEL_LINUX_BIN bool "linux.bin"