From patchwork Fri Mar 15 23:06:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 1057276 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="QFCBiHO6"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=sharedspace.onmicrosoft.com header.i=@sharedspace.onmicrosoft.com header.b="VSabToj9"; 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 44Lh6M3SxJz9s5c for ; Sat, 16 Mar 2019 10:06:47 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2C48586C59; Fri, 15 Mar 2019 23:06:44 +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 ozPloYmRAupv; Fri, 15 Mar 2019 23:06:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 79F3D8696D; Fri, 15 Mar 2019 23:06: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 CA5D21BF380 for ; Fri, 15 Mar 2019 23:06:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C770C214D2 for ; Fri, 15 Mar 2019 23:06:42 +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 m+57Yd-j7dAF for ; Fri, 15 Mar 2019 23:06:41 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from esa5.hgst.iphmx.com (esa5.hgst.iphmx.com [216.71.153.144]) by silver.osuosl.org (Postfix) with ESMTPS id B01AA2077C for ; Fri, 15 Mar 2019 23:06:41 +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=1552691202; x=1584227202; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=7mgzZZxLZQY+iHrEeV28fvOElX6DDCCbyPuxEQLDusM=; b=QFCBiHO6gKLqSul6ILxgJL/7uYbX93jKasq4jlqxyXFZ66FgAaiRTjlO MLnxtqBNkTK5lyfcZLvGYRmGzEynfIXAc75y/TbJ9dIwakxAomTBMHMuz i/+jdwi9Ik4Jjfoz7ZBmGQM92lGR2ahR7Ogb5p7I0+cjVXKs4VMH9sfmM bsPqlCz4nxmynx6uh2GGfXhiPTEyPMdvHVC/l9V4YQtPC6zt5/A5BCbIG 5BChAWC7SohH0EIA6qcjck/nQOlCDiAhs/+QEUReY/TAgQR2L+Q2tp1B+ nGCnjO/p+RszRwjhuEe1WVbf0y4a2kRUzm7sCdQmqhDK/Qr92VFxE7sXR w==; X-IronPort-AV: E=Sophos;i="5.58,483,1544457600"; d="scan'208";a="104892218" Received: from mail-bn3nam01lp2055.outbound.protection.outlook.com (HELO NAM01-BN3-obe.outbound.protection.outlook.com) ([104.47.33.55]) by ob1.hgst.iphmx.com with ESMTP; 16 Mar 2019 07:06:39 +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=dvR6epDT2U5kw0pCTQVAL4EeRz+KY3rFmES12EgBw9o=; b=VSabToj9NFH/tywdjv9LPLsCFT+/lwRedw+SwhcVLDG7cFzvjhsGv/q61RLzawEiMZqSSUnBUKlfRkkRNTZ62YLqr/2uacXy8/5t6xmUDrkU0KlqiWxSzLDt1O5afabzQwjfsf8GzRr3+ByQ0maLcNHhB7u1r6Wj3Z0Q9Oj40vA= Received: from BYAPR04MB4901.namprd04.prod.outlook.com (52.135.232.206) by BYAPR04MB5960.namprd04.prod.outlook.com (20.178.232.208) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.13; Fri, 15 Mar 2019 23:06:38 +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.011; Fri, 15 Mar 2019 23:06:38 +0000 From: Alistair Francis To: "mark.corbin@embecosm.com" , "buildroot@buildroot.org" Thread-Topic: [PATCH 1/3] arch: riscv: Add a RISC-V Platform option Thread-Index: AQHU24O+tINxNSGk3E6Ce8EM4tvVJA== Date: Fri, 15 Mar 2019 23:06:38 +0000 Message-ID: <20190315230540.4311-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: BYAPR02CA0045.namprd02.prod.outlook.com (2603:10b6:a03:54::22) 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.45.64] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 70598efb-ee5c-4fc3-ce27-08d6a99ae0ac 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:BYAPR04MB5960; x-ms-traffictypediagnostic: BYAPR04MB5960: wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-forefront-prvs: 09778E995A x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(366004)(376002)(39860400002)(136003)(346002)(189003)(199004)(71190400001)(52116002)(72206003)(7736002)(5660300002)(478600001)(36756003)(99286004)(14454004)(6116002)(106356001)(1076003)(105586002)(86362001)(6436002)(2906002)(316002)(50226002)(54906003)(386003)(110136005)(53936002)(3846002)(6512007)(6486002)(25786009)(68736007)(71200400001)(6506007)(8676002)(26005)(4326008)(476003)(2616005)(81156014)(81166006)(305945005)(8936002)(186003)(256004)(486006)(44832011)(102836004)(2501003)(66066001)(97736004); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR04MB5960; 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: h7ZV/Gf0HwjB+wa9nBFxJh3HGx7w0LAsRp7xGwB5YfqqoUpPkGmEd4C0gJNtL7DOAzK6N4lCe3A0BdofsdJf9DomwpiMCr9qnkW0cfL5aXQ4bMIeHtpCWoAL+N+9q1cSRtRcPL8C+kf2jsf7vGhT3RhnKo5eIGlLsOLGla0g3oqlJLP01qiBqSgtD7/4xhVis0mCQbjBTlwoAb2wh0f2UFIIvfUGZWkNFSl0h+PVIftgadRw3gpKHxgjgQMaJk0vZAX7VlEONu/k+lrZhQwAJ+hn70ULCZyXOM3/V2HAF/0XzNGfFvLIwqtkep1AqJ4IZhc5ipZtC5Pi0FSJrObFcJ6YQs8nufAS5k8JUJZmmkrYcvg60V4HjaHXFtYA0dH9dzQwlpcoqv8E4uGaJjO+r5CgjKtmsZ6Eu4JeEakxXZw= MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 70598efb-ee5c-4fc3-ce27-08d6a99ae0ac X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Mar 2019 23:06:38.1044 (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: BYAPR04MB5960 Subject: [Buildroot] [PATCH 1/3] arch: riscv: Add a RISC-V Platform option 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" Add a RISC-V Platform option. At the moment only QEMU platforms are supported, but in the future this can be extended to include real hardware platforms (such as the Unleashed board). My goal is that this platform will set default config options (such as the default defconfig for the kernel) based on the platform value. Signed-off-by: Alistair Francis --- arch/Config.in.riscv | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/Config.in.riscv b/arch/Config.in.riscv index 097719e846..c97fa5b703 100644 --- a/arch/Config.in.riscv +++ b/arch/Config.in.riscv @@ -108,6 +108,22 @@ config BR2_RISCV_ABI_LP64D depends on BR2_ARCH_IS_64 && BR2_RISCV_ISA_RVD endchoice +choice + prompt "Target Platform" + default BR2_RISCV_QEMU_VIRT + help + The RISC-V Platform to target. + +config BR2_RISCV_QEMU_VIRT + bool "qemu/virt" + +config BR2_RISCV_QEMU_SIFIVE_U + bool "qemu/sifive_u" + +config BR2_RISCV_UNKNOWN + bool "unknown" +endchoice + config BR2_ARCH default "riscv32" if !BR2_ARCH_IS_64 default "riscv64" if BR2_ARCH_IS_64 From patchwork Fri Mar 15 23:06:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 1057275 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=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="cdKpqIt+"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=sharedspace.onmicrosoft.com header.i=@sharedspace.onmicrosoft.com header.b="C6Q7gOCy"; 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 44Lh6N11ssz9s71 for ; Sat, 16 Mar 2019 10:06:51 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B58AA87E57; Fri, 15 Mar 2019 23:06:49 +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 6rdSa8pNkcV5; Fri, 15 Mar 2019 23:06:48 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 6EC3987B16; Fri, 15 Mar 2019 23:06:48 +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 546FC1BF380 for ; Fri, 15 Mar 2019 23:06:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 523B82077C for ; Fri, 15 Mar 2019 23:06:44 +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 26cWR+hZJUTD for ; Fri, 15 Mar 2019 23:06:42 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from esa5.hgst.iphmx.com (esa5.hgst.iphmx.com [216.71.153.144]) by silver.osuosl.org (Postfix) with ESMTPS id 0143E207EF for ; Fri, 15 Mar 2019 23:06:41 +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=1552691202; x=1584227202; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=cLEkdTYnEsTVW5xtAMOtlla5vxxvKxj9vaBbQ7pCcw4=; b=cdKpqIt+ibHW47GG5/okOGX+CIvmuW2cJVtIVhTiBGZRjDiBltmBfQft L88YAVdkaXUHPOwcd+1z28vPGwIb6wSJ2qFxjYlUQCI5zG4y5qSIgmcJQ WPURq0OeQrA4OhbsL7g7Pv/XS6YuKnsztqUi/XmwRhYEyRuVcH5vrk+Vp wQvUJqDYolT9t4nGnOims9DgDWxSgRo45fpVj9MWdUMEjsBQHcQcP62c4 Fe63+Hb9b2iHl+TOxrBbGmN3hR5/akhBUcmPhJ5ZRxYeqj/hlB8aLPFFW WHVmWRuNR9sgktPq1/uvLNSuZJFPTowTNtHP/VwCyKSbQBZONvTC6x1rO g==; X-IronPort-AV: E=Sophos;i="5.58,483,1544457600"; d="scan'208";a="104892220" Received: from mail-bn3nam01lp2055.outbound.protection.outlook.com (HELO NAM01-BN3-obe.outbound.protection.outlook.com) ([104.47.33.55]) by ob1.hgst.iphmx.com with ESMTP; 16 Mar 2019 07:06:41 +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=6h9FksdYLvU2Q28iGIQlzdXafUmPUfCqQ57cxBVCPzU=; b=C6Q7gOCyuNzLMpcMiINVbu5hDplaXr+Aw1kS09ANlkl7nPZDluyKwySnk+Jn6I7iaskZ+H5md590VW64hbj1HCz5jpXZe5JYPiB9IgaKsrSeW1dJARVvQGHPvwr4LulmshQ7RWRgqPXz4Vy5sZjwMmYMLYx7Z6yPN1hVhGOlUy0= Received: from BYAPR04MB4901.namprd04.prod.outlook.com (52.135.232.206) by BYAPR04MB5960.namprd04.prod.outlook.com (20.178.232.208) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.13; Fri, 15 Mar 2019 23:06:39 +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.011; Fri, 15 Mar 2019 23:06:39 +0000 From: Alistair Francis To: "mark.corbin@embecosm.com" , "buildroot@buildroot.org" Thread-Topic: [PATCH 3/3] boot: riscv: Remove riscv-pk Thread-Index: AQHU24O+HOKS/w76k0SgQ4A6YzOMPw== Date: Fri, 15 Mar 2019 23:06:39 +0000 Message-ID: <20190315230540.4311-3-alistair.francis@wdc.com> References: <20190315230540.4311-1-alistair.francis@wdc.com> In-Reply-To: <20190315230540.4311-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: BYAPR02CA0045.namprd02.prod.outlook.com (2603:10b6:a03:54::22) 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.45.64] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: daca0046-2aa9-43e3-174e-08d6a99ae153 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:BYAPR04MB5960; x-ms-traffictypediagnostic: BYAPR04MB5960: x-ms-exchange-purlcount: 1 wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-forefront-prvs: 09778E995A x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(366004)(376002)(39860400002)(136003)(346002)(189003)(199004)(966005)(71190400001)(52116002)(72206003)(7736002)(5660300002)(478600001)(36756003)(99286004)(14454004)(6116002)(106356001)(1076003)(105586002)(76176011)(86362001)(6436002)(2906002)(316002)(50226002)(54906003)(386003)(110136005)(6306002)(53936002)(3846002)(6512007)(6486002)(25786009)(68736007)(71200400001)(6506007)(8676002)(26005)(4326008)(476003)(2616005)(11346002)(81156014)(81166006)(305945005)(8936002)(446003)(186003)(14444005)(256004)(486006)(44832011)(102836004)(2501003)(66066001)(97736004); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR04MB5960; 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: vS+ImIZ92YYMLukOu7ixXlAYjZPbcLIa6NId/v5jvPoTfqfd+fqgWeqAgTTcBIaLHv3uJVt1cKEDlm35tiSsQJI2VMiK4PBHJGVoEvGAvBJ6znJo4lZkU+XrMo66Ro4j6BJND6jVG1l4/mY9CRHEWqOhgZ9+08FbyZVwL8KWo9GCVae293GmPm4qm/Lvoa/xshL8Adf8I7Bt+UiccEJJDg8D5uvPKe4Ce8+ClbkHZw5mCVCqSxB4h3ctSWthkW56Q3v2VNSywPa3bBc0oFmPOzR250GNlfmVICvJebO8jXqBJG8i2+7BmYZ4lc7I+QxzaXhCkdbdenir1YVOvV1Gs5Smr4VSFX4LkjHVODooR5KFSbrbJxvB9wZglzPloYyFwPawD5uXrkOiHYTPA7kDJEoQwtgMFTPH8dQivWQD66g= MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: daca0046-2aa9-43e3-174e-08d6a99ae153 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Mar 2019 23:06:39.2172 (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: BYAPR04MB5960 Subject: [Buildroot] [PATCH 3/3] boot: riscv: Remove riscv-pk 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" Now that OpenSBI is supported remove BBL (riscv-pk). Signed-off-by: Alistair Francis --- DEVELOPERS | 1 - boot/Config.in | 1 - boot/riscv-pk/Config.in | 14 -------------- boot/riscv-pk/riscv-pk.mk | 32 -------------------------------- 4 files changed, 48 deletions(-) delete mode 100644 boot/riscv-pk/Config.in delete mode 100644 boot/riscv-pk/riscv-pk.mk diff --git a/DEVELOPERS b/DEVELOPERS index a8978856ad..246bb8b471 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1384,7 +1384,6 @@ F: arch/Config.in.riscv F: board/qemu/riscv32-virt/ F: board/qemu/riscv64-virt/ F: boot/opensbi/ -F: boot/riscv-pk/ F: configs/qemu_riscv32_virt_defconfig F: configs/qemu_riscv64_virt_defconfig diff --git a/boot/Config.in b/boot/Config.in index 97bd3de6e9..228868de8c 100644 --- a/boot/Config.in +++ b/boot/Config.in @@ -15,7 +15,6 @@ source "boot/mv-ddr-marvell/Config.in" source "boot/mxs-bootlets/Config.in" source "boot/optee-os/Config.in" source "boot/opensbi/Config.in" -source "boot/riscv-pk/Config.in" source "boot/s500-bootloader/Config.in" source "boot/shim/Config.in" source "boot/syslinux/Config.in" diff --git a/boot/riscv-pk/Config.in b/boot/riscv-pk/Config.in deleted file mode 100644 index b4fe36590f..0000000000 --- a/boot/riscv-pk/Config.in +++ /dev/null @@ -1,14 +0,0 @@ -comment "riscv-pk needs a Linux kernel to be built" - depends on BR2_riscv - depends on !BR2_LINUX_KERNEL - -config BR2_TARGET_RISCV_PK - bool "riscv-pk" - depends on BR2_riscv - depends on BR2_LINUX_KERNEL - help - The RISC-V Proxy Kernel (pk) package contains the Berkeley - Boot Loader (BBL) which has been designed to boot a Linux - kernel on a RISC-V processor. - - https://github.com/riscv/riscv-pk.git diff --git a/boot/riscv-pk/riscv-pk.mk b/boot/riscv-pk/riscv-pk.mk deleted file mode 100644 index 0ab5879ee4..0000000000 --- a/boot/riscv-pk/riscv-pk.mk +++ /dev/null @@ -1,32 +0,0 @@ -################################################################################ -# -# riscv-pk -# -################################################################################ - -RISCV_PK_VERSION = 706cc77c369fd3e4734b5a6aa813d421347f1814 -RISCV_PK_SITE = git://github.com/riscv/riscv-pk.git -RISCV_PK_LICENSE = BSD-3-Clause -RISCV_PK_LICENSE_FILES = LICENSE -RISCV_PK_DEPENDENCIES = linux -RISCV_PK_SUBDIR = build -RISCV_PK_INSTALL_IMAGES = YES - -define RISCV_PK_CONFIGURE_CMDS - mkdir -p $(@D)/build - (cd $(@D)/build; \ - $(TARGET_CONFIGURE_OPTS) ../configure \ - --host=$(GNU_TARGET_NAME) \ - --with-payload=$(BINARIES_DIR)/vmlinux \ - ) -endef - -define RISCV_PK_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/build bbl -endef - -define RISCV_PK_INSTALL_IMAGES_CMDS - $(INSTALL) -D -m 0755 $(@D)/build/bbl $(BINARIES_DIR)/bbl -endef - -$(eval $(generic-package))