From patchwork Tue Mar 19 18:15:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 1058612 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="Wfqz7M9n"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=sharedspace.onmicrosoft.com header.i=@sharedspace.onmicrosoft.com header.b="XGqBmilW"; 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 44P1Sx20V8z9s71 for ; Wed, 20 Mar 2019 05:16:00 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 62598821E2; Tue, 19 Mar 2019 18:15:55 +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 Bs0byq+MXIUQ; Tue, 19 Mar 2019 18:15:52 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 55EAA8683A; Tue, 19 Mar 2019 18:15:52 +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 6F62B1BF584 for ; Tue, 19 Mar 2019 18:15:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 6C124867A8 for ; Tue, 19 Mar 2019 18:15:51 +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 k9t0o-0U9Mpi for ; Tue, 19 Mar 2019 18:15:50 +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 6BB08866F0 for ; Tue, 19 Mar 2019 18:15:50 +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=1553019350; x=1584555350; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=D09PWtnduTUOX3WKOuCVwUUjTiqMR3orHlzfuy7PrZY=; b=Wfqz7M9nBcoeh+jaVUBMv3ZjQEIDN8lgg8p7qiB24UOqvYWQBrThKNGw 78RGog2OGUP3MlA8o6pcA1tpD+qSKfEnwCEurJDowHPKlSBF3ZUtw+qCY Is5qofnKPL3DjgzBGrY4vltGn6H0b/SPGV5jVrm4jY9COWNCGUAQuuoFq nqNkhIHVenz3P0lEe7ESrdMb8ze+HrMiJ9jYPLroTFicF0AhSN4xDh3Ga 10UZjzeKw2WIjCdTB8/01+k5ApXjdb1tEUcsUd0e9RnhfHaRuyKOCDefx uRyhYk8ncn35O40WI1378cB/3ykoJwtFMxxq6ILwSLsYgLuGtn/r9+5pc A==; X-IronPort-AV: E=Sophos;i="5.58,498,1544457600"; d="scan'208";a="108814974" Received: from mail-co1nam03lp2050.outbound.protection.outlook.com (HELO NAM03-CO1-obe.outbound.protection.outlook.com) ([104.47.40.50]) by ob1.hgst.iphmx.com with ESMTP; 20 Mar 2019 02:15:48 +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=D09PWtnduTUOX3WKOuCVwUUjTiqMR3orHlzfuy7PrZY=; b=XGqBmilW5zUHZ0v6J99K4catzmdaIf2YS6K2WtwSfGxobBVo6HQs226C8vqUKF0R7RYASI+pIr4OiCeHTF1GOifozkUEKStQyS+6xZdWd/0S4L0ZPsSP4lGqMWcz2VfBohCy7MQwzXcfBZ6fbFnt7akooB0DVJNMC66nw7iYd3A= Received: from BYAPR04MB4901.namprd04.prod.outlook.com (52.135.232.206) by BYAPR04MB4856.namprd04.prod.outlook.com (52.135.232.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.13; Tue, 19 Mar 2019 18:15:47 +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; Tue, 19 Mar 2019 18:15:47 +0000 From: Alistair Francis To: "mark.corbin@embecosm.com" , "buildroot@buildroot.org" Thread-Topic: [PATCH v4 1/5] board/qemu/riscv32-virt: Update linux config Thread-Index: AQHU3n/GxMseZArxfkmJLFlqwcadEQ== Date: Tue, 19 Mar 2019 18:15:46 +0000 Message-ID: <20190319181449.25067-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: BYAPR02CA0002.namprd02.prod.outlook.com (2603:10b6:a02:ee::15) 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: ca357e80-f7fb-4c7b-fdd3-08d6ac96e87d 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:BYAPR04MB4856; x-ms-traffictypediagnostic: BYAPR04MB4856: wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-forefront-prvs: 0981815F2F x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(136003)(346002)(376002)(396003)(366004)(189003)(199004)(68736007)(4326008)(14444005)(110136005)(71200400001)(52116002)(99286004)(6116002)(86362001)(6506007)(386003)(102836004)(8676002)(186003)(26005)(1076003)(2501003)(66574012)(3846002)(256004)(81156014)(81166006)(14454004)(5660300002)(478600001)(97736004)(72206003)(71190400001)(486006)(6486002)(305945005)(7736002)(44832011)(66066001)(105586002)(8936002)(53936002)(106356001)(36756003)(316002)(50226002)(54906003)(15650500001)(25786009)(6512007)(2906002)(476003)(2616005)(6436002); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR04MB4856; 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: MdP54RJKRgLJnDx5eTk9fQ6751FnUw7icdzp5PgWkInfGuYwp+QxccyieaPu9wRNSaU6O9jLL5j9igczLoyIudEy3ir1N6JeckGwi0yJpNHavExXe3AfzA74tDO+tu3rQhybw4hXE/KSrikp4uuOuUiDs+i2IdTWr4TxdkIlU69wErOlIXIWlfPFOdJB+nN0iK5/PxWBbteeACReQsWJnxPhyM1bOo0u4yeK3oIjuzDmZpkn0BiYeZE73cHLDaa5/83BH7Ijcju8nr+q9g7x0Us5gg6HcxULCBiGsphzc8ppW2NQeCA+BgMqLZQHCgFaC/Hkqq54/yCf9S1w4GuzskxmuDQSAX9d69ExZ3apJNA/O6vqbmv+lLqa1aNV2jvMblHJYcrdU4uhG1fotqKeBmbVzaDZWM4KwAIpMESgmsg= MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: ca357e80-f7fb-4c7b-fdd3-08d6ac96e87d X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2019 18:15:46.9399 (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: BYAPR04MB4856 Subject: [Buildroot] [PATCH v4 1/5] board/qemu/riscv32-virt: Update linux config 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" Update the Linux defconfig. This defconfig is the in tree defconfig with 32-bit support enabled. Signed-off-by: Alistair Francis --- board/qemu/riscv32-virt/linux.config | 85 +++++++++++++++++++++++++--- 1 file changed, 78 insertions(+), 7 deletions(-) diff --git a/board/qemu/riscv32-virt/linux.config b/board/qemu/riscv32-virt/linux.config index c25583f768..b7d1825126 100644 --- a/board/qemu/riscv32-virt/linux.config +++ b/board/qemu/riscv32-virt/linux.config @@ -1,23 +1,94 @@ +CONFIG_32BIT=y +CONFIG_PAGE_OFFSET=0xC0000000 +CONFIG_PGTABLE_LEVELS=2 CONFIG_ARCH_RV32I=y +# CONFIG_ARCH_RV64I is not set +CONFIG_MAXPHYSMEM_2GB=y +CONFIG_LBDAF=y +# CONFIG_SCSI_NSP32 is not set +CONFIG_GENERIC_ATOMIC64=y +CONFIG_GENERIC_LIB_ASHLDI3=y +CONFIG_GENERIC_LIB_ASHRDI3=y +CONFIG_GENERIC_LIB_LSHRDI3=y +CONFIG_GENERIC_LIB_UCMPDI2=y +CONFIG_GENERIC_LIB_UMODDI3=y +CONFIG_SYSVIPC=y +CONFIG_POSIX_MQUEUE=y +CONFIG_IKCONFIG=y +CONFIG_IKCONFIG_PROC=y +CONFIG_CGROUPS=y +CONFIG_CGROUP_SCHED=y +CONFIG_CFS_BANDWIDTH=y +CONFIG_CGROUP_BPF=y +CONFIG_NAMESPACES=y +CONFIG_USER_NS=y +CONFIG_CHECKPOINT_RESTORE=y +CONFIG_BLK_DEV_INITRD=y +CONFIG_EXPERT=y +CONFIG_BPF_SYSCALL=y CONFIG_SMP=y -CONFIG_NR_CPUS=8 CONFIG_PCI=y -CONFIG_SYSVIPC=y +CONFIG_PCIE_XILINX=y +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y CONFIG_INET=y -# CONFIG_WIRELESS is not set +CONFIG_IP_MULTICAST=y +CONFIG_IP_ADVANCED_ROUTER=y +CONFIG_IP_PNP=y +CONFIG_IP_PNP_DHCP=y +CONFIG_IP_PNP_BOOTP=y +CONFIG_IP_PNP_RARP=y +CONFIG_NETLINK_DIAG=y +CONFIG_DEVTMPFS=y +CONFIG_BLK_DEV_LOOP=y CONFIG_VIRTIO_BLK=y +CONFIG_BLK_DEV_SD=y +CONFIG_BLK_DEV_SR=y +CONFIG_ATA=y +CONFIG_SATA_AHCI=y +CONFIG_SATA_AHCI_PLATFORM=y CONFIG_NETDEVICES=y CONFIG_VIRTIO_NET=y -# CONFIG_ETHERNET is not set -# CONFIG_WLAN is not set +CONFIG_MACB=y +CONFIG_E1000E=y +CONFIG_R8169=y +CONFIG_MICROSEMI_PHY=y +CONFIG_INPUT_MOUSEDEV=y CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y CONFIG_SERIAL_OF_PLATFORM=y -CONFIG_VIRT_DRIVERS=y +CONFIG_HVC_RISCV_SBI=y +# CONFIG_PTP_1588_CLOCK is not set +CONFIG_DRM=y +CONFIG_DRM_RADEON=y +CONFIG_FRAMEBUFFER_CONSOLE=y +CONFIG_USB=y +CONFIG_USB_XHCI_HCD=y +CONFIG_USB_XHCI_PLATFORM=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_EHCI_HCD_PLATFORM=y +CONFIG_USB_OHCI_HCD=y +CONFIG_USB_OHCI_HCD_PLATFORM=y +CONFIG_USB_STORAGE=y +CONFIG_USB_UAS=y CONFIG_VIRTIO_MMIO=y -CONFIG_EXT2_FS=y +CONFIG_SIFIVE_PLIC=y +CONFIG_RAS=y CONFIG_EXT4_FS=y +CONFIG_EXT4_FS_POSIX_ACL=y +CONFIG_AUTOFS4_FS=y +CONFIG_MSDOS_FS=y +CONFIG_VFAT_FS=y CONFIG_TMPFS=y +CONFIG_TMPFS_POSIX_ACL=y +CONFIG_NFS_FS=y +CONFIG_NFS_V4=y +CONFIG_NFS_V4_1=y +CONFIG_NFS_V4_2=y +CONFIG_ROOT_NFS=y +CONFIG_CRYPTO_USER_API_HASH=y +CONFIG_PRINTK_TIME=y +# CONFIG_RCU_TRACE is not set From patchwork Tue Mar 19 18:15:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 1058613 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=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="P+VWP34W"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=sharedspace.onmicrosoft.com header.i=@sharedspace.onmicrosoft.com header.b="ibBOdw2d"; 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 44P1Sy63B1z9sBp for ; Wed, 20 Mar 2019 05:16:02 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id CCF0C8733C; Tue, 19 Mar 2019 18:15:57 +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 ULxdU5NGYkja; Tue, 19 Mar 2019 18:15:57 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 1D7ED87476; Tue, 19 Mar 2019 18:15:57 +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 647D61BF584 for ; Tue, 19 Mar 2019 18:15:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id BBD5E811F2 for ; Tue, 19 Mar 2019 18:15:53 +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 JOuqjA8LF55P for ; Tue, 19 Mar 2019 18:15:52 +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 17A03867A8 for ; Tue, 19 Mar 2019 18:15:52 +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=1553019352; x=1584555352; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=EaPYSq9fyK+kEAv+Ev0MCzZkNy1SaNSmhW97VebVYkE=; b=P+VWP34W+qQXRIz/KTPjC21aClWOTFOb2YvR6EvhJj/we1HS0j77oILO 0SMusIpKCLkOMeOrHMeRVHXPBf6o1NgXtxMBUX8rtU/IYKKbDJRZw42/A TrPPhK/KdXP81Avy86qZXC4luRSV4CmBQ/Z3dk5kZGCjafql21iKeBXz5 IudXbgWam7uIp2K9XfkiJxOZ1C1grb5RHYfmzCg9GZVxR2enXWovOkBAm E6L9frJREzPNx1xD1OrONiQhRR3LDeB49ohJvaHsJJRfDh28VuRK8coRD DzENOpv8NYTnKpTnKI825BvtCqZRTwOXML1/xxqRW4DwM50bStrxqqCpf Q==; X-IronPort-AV: E=Sophos;i="5.58,498,1544457600"; d="scan'208";a="108814991" Received: from mail-co1nam03lp2054.outbound.protection.outlook.com (HELO NAM03-CO1-obe.outbound.protection.outlook.com) ([104.47.40.54]) by ob1.hgst.iphmx.com with ESMTP; 20 Mar 2019 02:15:51 +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=LEM0sjpfVpFfZf0KT11axSHgfwCq+Zk/1DqE2C7Koi0=; b=ibBOdw2dh2ZcVPM0ejGy5qE7gg1pCJBp5IGnTo9dcfKWm41NqQz9/pNc4RXF0jyxGQyYVbDts+2F8FCMebAzSYvzLL/w+KUjTA/hdl+PIoFLsaE+QDe3AmGFnBVror3LFA0yYibCzJgiF4ABiX7CVvUibFyq0RnXzGXnGqAQEAY= Received: from BYAPR04MB4901.namprd04.prod.outlook.com (52.135.232.206) by BYAPR04MB4856.namprd04.prod.outlook.com (52.135.232.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.13; Tue, 19 Mar 2019 18:15:48 +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; Tue, 19 Mar 2019 18:15:48 +0000 From: Alistair Francis To: "mark.corbin@embecosm.com" , "buildroot@buildroot.org" Thread-Topic: [PATCH v4 3/5] boot/opensbi: Initial commit of OpenSBI for RISC-V Thread-Index: AQHU3n/Haem+oYdv4E60M9dGi0/yLg== Date: Tue, 19 Mar 2019 18:15:48 +0000 Message-ID: <20190319181449.25067-3-alistair.francis@wdc.com> References: <20190319181449.25067-1-alistair.francis@wdc.com> In-Reply-To: <20190319181449.25067-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: BYAPR02CA0002.namprd02.prod.outlook.com (2603:10b6:a02:ee::15) 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: a5f8ea24-b188-40b4-9327-08d6ac96e976 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:BYAPR04MB4856; x-ms-traffictypediagnostic: BYAPR04MB4856: x-ms-exchange-purlcount: 1 wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-forefront-prvs: 0981815F2F x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(136003)(346002)(376002)(396003)(366004)(189003)(199004)(68736007)(4326008)(110136005)(71200400001)(52116002)(99286004)(6116002)(86362001)(6506007)(386003)(102836004)(8676002)(186003)(76176011)(26005)(1076003)(2501003)(3846002)(256004)(81156014)(81166006)(14454004)(5660300002)(478600001)(97736004)(72206003)(966005)(71190400001)(486006)(6486002)(305945005)(7736002)(44832011)(66066001)(105586002)(8936002)(53936002)(106356001)(36756003)(316002)(6306002)(11346002)(50226002)(54906003)(25786009)(6512007)(446003)(2906002)(476003)(2616005)(6436002); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR04MB4856; 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: 3tJvJp+G1j4BOtxo4zB6jbXbili2ycOhkbNfoTT7ytJrA99jSX49879ZCxyNQm8+rrtV4uSg30Q8o/j04X7xoufFVCXVokZ4SvUKznjvZgSJYTK2f6Subi9AykTdEb60IoqO9jj8y1jd65bQok/hQsWF36jLS9RVXHdHWdHaTFr26ud+D6t4wbFrjCkFlBtovX3dA+/+7CLmdZP1udTGOm0BbN4IQoZMKFRFF1apV6ix8b47kCATNEAD2M8+xzwPw2DiyBZ3M4k9HMM0XafmsdcMDvn72wSR6sghQtuypjuqWg/mhbqKI0r3pwYQrQSwE5UEx66/AEGB/UXqhgmRHIzg9hlqjTe5wOYFWqbfi7rcSrE5U4F3EzlFLLZttMf+f9lT8Xs5hpxT4imze56LjLJk+ZlHGTwT2w4GLuOTBiI= MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: a5f8ea24-b188-40b4-9327-08d6ac96e976 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2019 18:15:48.6621 (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: BYAPR04MB4856 Subject: [Buildroot] [PATCH v4 3/5] boot/opensbi: Initial commit of OpenSBI for RISC-V 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" OpenSBI is a much improved alternative to BBL (riscv-pk). Add OpenSBI support to buildroot. Signed-off-by: Alistair Francis --- DEVELOPERS | 1 + boot/Config.in | 1 + boot/opensbi/Config.in | 25 +++++++++++++++++++++++++ boot/opensbi/opensbi.mk | 32 ++++++++++++++++++++++++++++++++ 4 files changed, 59 insertions(+) create mode 100644 boot/opensbi/Config.in create mode 100644 boot/opensbi/opensbi.mk diff --git a/DEVELOPERS b/DEVELOPERS index 3e0ac08e11..91eda42949 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -122,6 +122,7 @@ F: package/kvazaar/ F: package/v4l2loopback/ N: Alistair Francis +F: boot/opensbi/ F: package/xen/ N: Alvaro G. M diff --git a/boot/Config.in b/boot/Config.in index 74481e7545..97bd3de6e9 100644 --- a/boot/Config.in +++ b/boot/Config.in @@ -14,6 +14,7 @@ source "boot/lpc32xxcdl/Config.in" 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" diff --git a/boot/opensbi/Config.in b/boot/opensbi/Config.in new file mode 100644 index 0000000000..5f3cc13312 --- /dev/null +++ b/boot/opensbi/Config.in @@ -0,0 +1,25 @@ +config BR2_TARGET_OPENSBI + bool "opensbi" + depends on BR2_riscv + help + OpenSBI aims to provide an open-source and extensible + implementation of the RISC-V SBI specification for a platform + specific firmware (M-mode) and a general purpose OS, + hypervisor or bootloader (S-mode or HS-mode). OpenSBI + implementation can be easily extended by RISC-V platform or + System-on-Chip vendors to fit a particular hadware + configuration. + + https://github.com/riscv/opensbi.git + +if BR2_TARGET_OPENSBI +config BR2_TARGET_OPENSBI_PLAT + string "OpenSBI Platform" + default "" + help + Specifies the OpenSBI platform to build. If no platform is + specified only the OpenSBI platform independent static + library libsbi.a is built. If a platform is specified then + the platform specific static library libplatsbi.a and firmware + examples are built. +endif diff --git a/boot/opensbi/opensbi.mk b/boot/opensbi/opensbi.mk new file mode 100644 index 0000000000..13dffb9ce0 --- /dev/null +++ b/boot/opensbi/opensbi.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# OpenSBI +# +################################################################################ + +OPENSBI_VERSION = v0.3 +OPENSBI_SITE = $(call github,riscv,opensbi,$(OPENSBI_VERSION)) +OPENSBI_LICENSE = BSD-2-Clause +OPENSBI_LICENSE_FILES = COPYING.BSD +OPENSBI_INSTALL_IMAGES = YES + +OPENSBI_MAKE_ENV = \ + CROSS_COMPILE=$(TARGET_CROSS) + +OPENSBI_PLAT = $(call qstrip,$(BR2_TARGET_OPENSBI_PLAT)) +ifneq ($(OPENSBI_PLAT),) +OPENSBI_MAKE_ENV += PLATFORM=$(OPENSBI_PLAT) +endif + +define OPENSBI_BUILD_CMDS + $(TARGET_MAKE_ENV) $(OPENSBI_MAKE_ENV) $(MAKE) -C $(@D) +endef + +ifneq ($(OPENSBI_PLAT),) +define OPENSBI_INSTALL_IMAGES_CMDS + $(INSTALL) -m 0644 -D $(@D)/build/platform/$(OPENSBI_PLAT)/firmware/fw_jump.bin $(BINARIES_DIR)/fw_jump.bin + $(INSTALL) -m 0644 -D $(@D)/build/platform/$(OPENSBI_PLAT)/firmware/fw_jump.elf $(BINARIES_DIR)/fw_jump.elf +endef +endif + +$(eval $(generic-package)) From patchwork Tue Mar 19 18:15:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 1058615 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=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="eiug7Ybl"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=sharedspace.onmicrosoft.com header.i=@sharedspace.onmicrosoft.com header.b="VNTkQAKM"; 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 44P1T273s9z9sBV for ; Wed, 20 Mar 2019 05:16:06 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 06C2387263; Tue, 19 Mar 2019 18:15:59 +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 bFB-WvUjicEk; Tue, 19 Mar 2019 18:15:58 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 5D922877E7; Tue, 19 Mar 2019 18:15:58 +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 6A97E1BF963 for ; Tue, 19 Mar 2019 18:15:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1998A8144D for ; Tue, 19 Mar 2019 18:15: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 ejQyLuehV127 for ; Tue, 19 Mar 2019 18:15:52 +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 8DB128697D for ; Tue, 19 Mar 2019 18:15:52 +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=1553019352; x=1584555352; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=FQ5xmuzwixkeUyeH0lzkH6vwmWoJjuWdecMTjoUy3xk=; b=eiug7YblbM3DpnvzsJiM1VflVFep8280uPeiI9aU5WpAIOHvZqBiyqSu L+z0PUgh4FXrPiBuwbZmPMumdp8v1sy/cS51XTwkQjO/iDhd5fvkip0ZY pYZQznXqANslyD8BkN7ryoVVymeFl0vAnLzyIKQBiDYUINtfRQ3NxQEQp g39/TmCEt00oJa15koKRB7ZT2ZCTn+zjowxrG7aUoNWhzmUL2+KoEjtRQ K4c7q/fNzN4TKEmWARBwP90/uZU5FdahCQM1l6gOqeMJ5IxGlgzO9bqW+ zxFOY+aalMXx5NqvI4iglpKbP3UNpof4RvQrixVDT+G7CcXsXdheK/Cjd g==; X-IronPort-AV: E=Sophos;i="5.58,498,1544457600"; d="scan'208";a="108814992" Received: from mail-co1nam03lp2054.outbound.protection.outlook.com (HELO NAM03-CO1-obe.outbound.protection.outlook.com) ([104.47.40.54]) by ob1.hgst.iphmx.com with ESMTP; 20 Mar 2019 02:15:51 +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=OgGu+zp04nl6MI9UCQ1dfc78xMtHikwfz31bJ+6UTQI=; b=VNTkQAKMiRVp6HRzXsPh9Ji4Y8m/NrYJTzCqB/HhJvsSh45LtE8vh2OUikQgRnR2TBZ2ycO6vJV8l2/UR8ZdYE1W1TWQLI5joTR0o4UZXC2aEPuDqyKwxHR5c4k6c36uGpnNzsXtYR+j/aUTHhADT2Km56Hc79zdC+8Eohltsf4= Received: from BYAPR04MB4901.namprd04.prod.outlook.com (52.135.232.206) by BYAPR04MB4856.namprd04.prod.outlook.com (52.135.232.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.13; Tue, 19 Mar 2019 18:15:50 +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; Tue, 19 Mar 2019 18:15:50 +0000 From: Alistair Francis To: "mark.corbin@embecosm.com" , "buildroot@buildroot.org" Thread-Topic: [PATCH v4 4/5] configs: qemu_riscv*_virt: Use OpenSBI by default Thread-Index: AQHU3n/Hf3zNwElvq0CTDWZ7Jxckbw== Date: Tue, 19 Mar 2019 18:15:49 +0000 Message-ID: <20190319181449.25067-4-alistair.francis@wdc.com> References: <20190319181449.25067-1-alistair.francis@wdc.com> In-Reply-To: <20190319181449.25067-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: BYAPR02CA0002.namprd02.prod.outlook.com (2603:10b6:a02:ee::15) 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: 636554c2-bd13-4630-4fe7-08d6ac96ea09 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:BYAPR04MB4856; x-ms-traffictypediagnostic: BYAPR04MB4856: x-ms-exchange-purlcount: 1 wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-forefront-prvs: 0981815F2F x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(136003)(346002)(376002)(396003)(366004)(189003)(199004)(68736007)(4326008)(110136005)(71200400001)(52116002)(99286004)(6116002)(86362001)(6506007)(386003)(102836004)(8676002)(186003)(76176011)(26005)(1076003)(2501003)(3846002)(256004)(81156014)(81166006)(14454004)(5660300002)(478600001)(97736004)(72206003)(71190400001)(486006)(6486002)(305945005)(7736002)(44832011)(66066001)(105586002)(8936002)(53936002)(106356001)(36756003)(316002)(6306002)(11346002)(50226002)(54906003)(25786009)(6512007)(446003)(2906002)(476003)(2616005)(6436002); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR04MB4856; 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: xumi39OvXAoP7fkyYILtJPYr+/rRITiaURu5pq5IBKebMVBspR67wheTLwhWb/thNUhULCg08PSAp7miv9C721c9Q+SQwi7Bu8+/+iUu02YbPMD9yDlF8uk/HqSo3Dwh1IU9GQEMniRVritHZ9XWIhy93usz3Iat+S/6XMxVsUCTCo3biRXUZd0CBZfHqNsBabfJ2qP+tyRqXwuROwWdqPjO/0yTzsis1buHbLu9mdlhq+sHJIpUe+vBehkRkO3S0i+XqqBMbd/9VoM7gInRcmV5m94nsg4eUNjggA2va99QVORX15QyxJrsDnaX0b7yr3OfjWW5Cn0YGZcVeANxnxozGgF0CHqr5LbeXEUvg6lR7k1WvDxECjd7U0EZvIY+lY34KVEx6eZOOzJPoYJ3xKSI+FRLYDFzKo9fG3M41Hk= MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 636554c2-bd13-4630-4fe7-08d6ac96ea09 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2019 18:15:49.9400 (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: BYAPR04MB4856 Subject: [Buildroot] [PATCH v4 4/5] configs: qemu_riscv*_virt: Use OpenSBI by default 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" Use OpenSBI by default instead of riscv-pk (BBL). Signed-off-by: Alistair Francis --- board/qemu/riscv32-virt/readme.txt | 6 +++--- board/qemu/riscv64-virt/readme.txt | 6 +++--- configs/qemu_riscv32_virt_defconfig | 5 ++++- configs/qemu_riscv64_virt_defconfig | 5 ++++- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/board/qemu/riscv32-virt/readme.txt b/board/qemu/riscv32-virt/readme.txt index 2da99580e5..fb441723fd 100644 --- a/board/qemu/riscv32-virt/readme.txt +++ b/board/qemu/riscv32-virt/readme.txt @@ -1,7 +1,7 @@ -Run the emulation with: +Run Linux in emulation with: - qemu-system-riscv32 -M virt -kernel output/images/bbl -append "root=/dev/vda ro console=ttyS0" -drive file=output/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -netdev user,id=net0 -device virtio-net-device,netdev=net0 -nographic + qemu-system-riscv32 -M virt -kernel output/images/fw_jump.elf -device loader,file=output/images/Image,addr=0x80400000 -append "root=/dev/vda ro console=ttyS0" -drive file=output/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -netdev user,id=net0 -device virtio-net-device,netdev=net0 -nographic The login prompt will appear in the terminal that started Qemu. -Tested with QEMU 2.12.1 +Tested with QEMU 3.1 diff --git a/board/qemu/riscv64-virt/readme.txt b/board/qemu/riscv64-virt/readme.txt index 9f6e35c867..0af27f7bf2 100644 --- a/board/qemu/riscv64-virt/readme.txt +++ b/board/qemu/riscv64-virt/readme.txt @@ -1,7 +1,7 @@ -Run the emulation with: +Run Linux in emulation with: - qemu-system-riscv64 -M virt -kernel output/images/bbl -append "root=/dev/vda ro console=ttyS0" -drive file=output/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -netdev user,id=net0 -device virtio-net-device,netdev=net0 -nographic + qemu-system-riscv64 -M virt -kernel output/images/fw_jump.elf -device loader,file=output/images/Image,addr=0x80200000 -append "root=/dev/vda ro console=ttyS0" -drive file=output/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -netdev user,id=net0 -device virtio-net-device,netdev=net0 -nographic The login prompt will appear in the terminal that started Qemu. -Tested with QEMU 2.12.1 +Tested with QEMU 3.1 diff --git a/configs/qemu_riscv32_virt_defconfig b/configs/qemu_riscv32_virt_defconfig index 6f9a61b11c..96d971333a 100644 --- a/configs/qemu_riscv32_virt_defconfig +++ b/configs/qemu_riscv32_virt_defconfig @@ -20,6 +20,9 @@ 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 +BR2_TARGET_OPENSBI=y +BR2_TARGET_OPENSBI_USE_PLAT=y +BR2_TARGET_OPENSBI_PLAT="qemu/virt" diff --git a/configs/qemu_riscv64_virt_defconfig b/configs/qemu_riscv64_virt_defconfig index 596edf2fcd..05d2764003 100644 --- a/configs/qemu_riscv64_virt_defconfig +++ b/configs/qemu_riscv64_virt_defconfig @@ -19,6 +19,9 @@ 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 +BR2_TARGET_OPENSBI=y +BR2_TARGET_OPENSBI_USE_PLAT=y +BR2_TARGET_OPENSBI_PLAT="qemu/virt" From patchwork Tue Mar 19 18:15:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 1058614 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=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="Wy3MK9bA"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=sharedspace.onmicrosoft.com header.i=@sharedspace.onmicrosoft.com header.b="YDtdlxvn"; 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 44P1T25ctHz9s71 for ; Wed, 20 Mar 2019 05:16:06 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 76D1022D33; Tue, 19 Mar 2019 18:16:04 +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 zJPEHplf9awU; Tue, 19 Mar 2019 18:16:02 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 7B51F22DEC; Tue, 19 Mar 2019 18:16:02 +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 854491BF584 for ; Tue, 19 Mar 2019 18:15:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7607D811D3 for ; Tue, 19 Mar 2019 18:15:55 +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 FzvXR1-9ixfa for ; Tue, 19 Mar 2019 18:15:52 +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 C351986B5C for ; Tue, 19 Mar 2019 18:15:52 +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=1553019352; x=1584555352; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=95gbhlXAL2zfzmlYXJ6PH6bvQCEDlt2jN28kNtRUQpk=; b=Wy3MK9bAczfd74i8claMk3uN139spgTHihz0POou7QQXDtCsM7vunDE2 4FZkbYPp5fbjDsqFiUala1LXKB7G998A9ufCNzqYiYFSDdGjT3KXTxk45 q3B3J8uoWbLv7RupInvKxzASIhOz/K3Ww8C949Ak6h2wAIi+QoXWuCka/ UAp48OBiF+sLeAOj9M1iMU4S3U4BMF1TAeBRaHvkKahU//lUMEbWRuQDQ 1XoUnWcBXPphc8aWyhGHmmN16thz5OAvN/6eTglaQlySHur0zESrsytke DYDlhn0M5sq7/jsfKn/iNfFuR3PIf9UPV4xG0Uxp3qyk/CtyhIfrj+6m7 A==; X-IronPort-AV: E=Sophos;i="5.58,498,1544457600"; d="scan'208";a="108814994" Received: from mail-co1nam03lp2054.outbound.protection.outlook.com (HELO NAM03-CO1-obe.outbound.protection.outlook.com) ([104.47.40.54]) by ob1.hgst.iphmx.com with ESMTP; 20 Mar 2019 02:15:52 +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=bJsmOS1mzzEd65zvsHlYg+lyPxNmHupQ2VWwwZscp1U=; b=YDtdlxvnIw3/BSH3E6as5GIzpLAADugzndYhxlAZEFysOtPz+aSXSpb8wOfmEgb33g1k27nYhvGhIp42HAuh6BgGE/4Bk1mBg9Dy1Iw3kn4c0cbQ2qDYdwVVTQDJRSmb8NSEEtUrh+BqO/oy2LLfYm01HuMyTmOQQe1Ch0W8pUs= Received: from BYAPR04MB4901.namprd04.prod.outlook.com (52.135.232.206) by BYAPR04MB4856.namprd04.prod.outlook.com (52.135.232.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.13; Tue, 19 Mar 2019 18:15:51 +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; Tue, 19 Mar 2019 18:15:51 +0000 From: Alistair Francis To: "mark.corbin@embecosm.com" , "buildroot@buildroot.org" Thread-Topic: [PATCH v4 5/5] boot/riscv-pk: Deprecate riscv-pk and BBL Thread-Index: AQHU3n/IeDBidyy9qUmHWbu+Q/gs3Q== Date: Tue, 19 Mar 2019 18:15:51 +0000 Message-ID: <20190319181449.25067-5-alistair.francis@wdc.com> References: <20190319181449.25067-1-alistair.francis@wdc.com> In-Reply-To: <20190319181449.25067-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: BYAPR02CA0002.namprd02.prod.outlook.com (2603:10b6:a02:ee::15) 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: 1522ece2-446e-4699-1a69-08d6ac96ead2 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:BYAPR04MB4856; x-ms-traffictypediagnostic: BYAPR04MB4856: wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-forefront-prvs: 0981815F2F x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(136003)(346002)(376002)(396003)(366004)(189003)(199004)(68736007)(4326008)(14444005)(110136005)(71200400001)(52116002)(99286004)(6116002)(86362001)(6506007)(386003)(102836004)(8676002)(186003)(76176011)(26005)(1076003)(2501003)(3846002)(256004)(81156014)(81166006)(14454004)(5660300002)(478600001)(97736004)(72206003)(4744005)(71190400001)(486006)(6486002)(305945005)(7736002)(44832011)(66066001)(105586002)(8936002)(53936002)(106356001)(36756003)(316002)(11346002)(50226002)(54906003)(25786009)(6512007)(446003)(2906002)(476003)(2616005)(6436002); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR04MB4856; 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: MFfCfSDH8S/9NGU5CYn2IgYetJOOAdp+TjEySeteIhBm7HKhXluwBBDTLG/oi0CKMM/sVVzUw2tXeYvpN8zvz2O6IJcMGl30/cAwuIMaIkLY9BLW34jEPrHt/XyaM1KMgoRsVo7YlHpIPC0OlS/tf0zNtkOYTRLlo8vfj5j8m6cdOiUZ9N/r3HXuCIAYRIh/5ANYrosSVuGOgkHZ3H5wSRebNl5t8oPovqdm9gWYhErvGVy9biuQrXal1SlWkqV2QUWVyNnATfH7Dh4TV0sZA1xfvhViYFrHaqSodKDMK7VKUtvmkKHA31oANuCSmsFJuEWU0DQ1e9gqrTCAb7hHLQ6qzKQQUUdKvy66/ezUGxGk5MjyBPU1AAvU+MtPS/UwzMzPORc+kfUPYyT81SgtgqQEtHWaSfewokyI4hW48BQ= MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1522ece2-446e-4699-1a69-08d6ac96ead2 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2019 18:15:51.1358 (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: BYAPR04MB4856 Subject: [Buildroot] [PATCH v4 5/5] boot/riscv-pk: Deprecate riscv-pk and BBL 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 --- boot/riscv-pk/Config.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/boot/riscv-pk/Config.in b/boot/riscv-pk/Config.in index b4fe36590f..cf9c5cd8ee 100644 --- a/boot/riscv-pk/Config.in +++ b/boot/riscv-pk/Config.in @@ -3,10 +3,13 @@ comment "riscv-pk needs a Linux kernel to be built" depends on !BR2_LINUX_KERNEL config BR2_TARGET_RISCV_PK - bool "riscv-pk" + bool "riscv-pk (deprecated)" depends on BR2_riscv depends on BR2_LINUX_KERNEL help + The RISC-V Proxy Kernel (pk) and Boot Loader (BBL) have + been deprecated. Please use OpenSBI instead. + 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.