From patchwork Wed Mar 20 23:05:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 1059599 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="ETpfPOMX"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=sharedspace.onmicrosoft.com header.i=@sharedspace.onmicrosoft.com header.b="XVO0ExFV"; 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 44PlrV46mZz9sR2 for ; Thu, 21 Mar 2019 10:05:30 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E984086B3B; Wed, 20 Mar 2019 23:05:27 +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 wB2sNrEPYci5; Wed, 20 Mar 2019 23:05:26 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 3B01186B5C; Wed, 20 Mar 2019 23:05:26 +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 F05EA1BF40F for ; Wed, 20 Mar 2019 23:05:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id ED4CF86B33 for ; Wed, 20 Mar 2019 23:05:24 +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 sLAScYXQIXce for ; Wed, 20 Mar 2019 23:05:24 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from esa6.hgst.iphmx.com (esa6.hgst.iphmx.com [216.71.154.45]) by whitealder.osuosl.org (Postfix) with ESMTPS id 0E3D0853B9 for ; Wed, 20 Mar 2019 23:05:24 +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=1553123124; x=1584659124; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=SfjBJE9dXBoe2xJgXfTc6yfipREmJ6MSq/UWobZRZKo=; b=ETpfPOMXwOagm0NaHlTeB8hCcOCAAWAIq4a/tIkpJV4p2u/Lw5Gd81GN qP2dGG6CoxDxn98dWVWgSKTw1kToOQ0+0wN4RZJWjI9/3SbRw7P04cVx8 46Q6zeRb7Hk1nDrrfTbRapZSL2VaWrgp6A6TdRUOMcI1kxgZyPeSvE6cJ 7NXoD1GP08A8oKwwoPEPUVpsquoAvnbweJ7f07MZ53ss3zFiTPGmPBFVC A5tTdem+madFJyZTJpowMI8hc+zBuNI2UTaDbDfn7Zv5BtrRxmBSLbwd+ nrk7i8PmQ6rWwykfqS0RQi6RFGcAI3edF3P4rFoWLtmmhsHOuOnscOECr A==; X-IronPort-AV: E=Sophos;i="5.60,250,1549900800"; d="scan'208";a="105615340" Received: from mail-bn3nam04lp2059.outbound.protection.outlook.com (HELO NAM04-BN3-obe.outbound.protection.outlook.com) ([104.47.46.59]) by ob1.hgst.iphmx.com with ESMTP; 21 Mar 2019 07:05:23 +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=SfjBJE9dXBoe2xJgXfTc6yfipREmJ6MSq/UWobZRZKo=; b=XVO0ExFVKQspfCzroKFr07KAg5pCZBR1R40/FO60MffAy7TqqUJNewDv/X0R90irbd9v3RxTjAs7mIM5XL71l3K+aqzOqL704LU7jEe5qztgn2uFqRIgxckJBdRBC9F/CsIOWOVLePuHZExYQNINcPGNMDWw70YgFY+r/DsrXxk= Received: from BYAPR04MB4901.namprd04.prod.outlook.com (52.135.232.206) by BYAPR04MB4951.namprd04.prod.outlook.com (52.135.232.220) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1730.15; Wed, 20 Mar 2019 23:05:21 +0000 Received: from BYAPR04MB4901.namprd04.prod.outlook.com ([fe80::44e8:bd21:17b:348c]) by BYAPR04MB4901.namprd04.prod.outlook.com ([fe80::44e8:bd21:17b:348c%4]) with mapi id 15.20.1730.013; Wed, 20 Mar 2019 23:05:21 +0000 From: Alistair Francis To: "mark.corbin@embecosm.com" , "buildroot@buildroot.org" Thread-Topic: [PATCH v6 2/5] board/qemu/riscv32-virt: Simplify the linux config Thread-Index: AQHU33FkzMnFtex7zkGjM+isOXJb5g== Date: Wed, 20 Mar 2019 23:05:21 +0000 Message-ID: <20190320230422.13592-2-alistair.francis@wdc.com> References: <20190320230422.13592-1-alistair.francis@wdc.com> In-Reply-To: <20190320230422.13592-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: BYAPR07CA0057.namprd07.prod.outlook.com (2603:10b6:a03:60::34) 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: 22f6897a-ceb8-42ce-71b9-08d6ad8886fd 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:BYAPR04MB4951; x-ms-traffictypediagnostic: BYAPR04MB4951: wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-forefront-prvs: 098291215C x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(136003)(346002)(366004)(396003)(39860400002)(189003)(199004)(6506007)(76176011)(386003)(50226002)(68736007)(106356001)(11346002)(476003)(53936002)(2616005)(45080400002)(6486002)(8936002)(446003)(6436002)(6512007)(4326008)(97736004)(52116002)(99286004)(14454004)(105586002)(3846002)(6116002)(66066001)(14444005)(7736002)(256004)(102836004)(5660300002)(110136005)(2501003)(26005)(25786009)(305945005)(54906003)(36756003)(1076003)(71190400001)(72206003)(44832011)(2906002)(478600001)(71200400001)(486006)(81156014)(81166006)(66574012)(316002)(186003)(86362001)(8676002); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR04MB4951; 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: h3PUbLXwdNxz8AHI9d0ujN8pwttM6UUVEYr9AB3AbFn08Gg5SRP6iyC2QMLShj1XcFYa+zllIh43RJwZUJ7B4POL1EdwPiTrOHWA0IbGLTS7ZR7WZFywhsRP6eX1sA9uI8hC+hdzhrHyVUVn1q4a8IOUHx0t5PLnxRSF88Kev3HTw4XcW148ykuqxue0YGrtRlEvKpXBB+k155METlyHJDjWWLjb/QcK70pzzo/ebjmc1m5jc9GhikbZJhiTs1wZaXrwgt2Tgo+mPIaPgIVEZSZbAqVXnd99lhf88ReA5Lw9LAdQ8JCQcBRGzQuwddm6oksuBElhP9q0hcrWw1YwbsogrVInLfGtDKNV5yPjaK9j/pBe/BZgdo8paydcdXqA/R1hDwNq7Nfo9LRW6JaqVcuBnGfsEPrlOogCRQvc1to= MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 22f6897a-ceb8-42ce-71b9-08d6ad8886fd X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Mar 2019 23:05:21.3139 (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: BYAPR04MB4951 Subject: [Buildroot] [PATCH v6 2/5] board/qemu/riscv32-virt: Simplify the 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" Reduce the config fragment to the bare minimum to enable 32-bit support. This means we are as close as possible to the arch defconfig. Signed-off-by: Alistair Francis --- board/qemu/riscv32-virt/linux.config.fragment | 100 +----------------- 1 file changed, 4 insertions(+), 96 deletions(-) diff --git a/board/qemu/riscv32-virt/linux.config.fragment b/board/qemu/riscv32-virt/linux.config.fragment index 2ecc83c8e1..bca9aa61c7 100644 --- a/board/qemu/riscv32-virt/linux.config.fragment +++ b/board/qemu/riscv32-virt/linux.config.fragment @@ -1,104 +1,12 @@ +CONFIG_32BIT=y CONFIG_ARCH_RV32I=y # CONFIG_ARCH_RV64I is not set -# CONFIG_ATA is not set -# CONFIG_AUTOFS4_FS is not set -# CONFIG_AUTOFS_FS is not set -# CONFIG_BACKLIGHT_LCD_SUPPORT is not set -# CONFIG_BLK_DEV_INITRD is not set -# CONFIG_BLK_DEV_LOOP is not set -# CONFIG_BPF_SYSCALL is not set -# CONFIG_CGROUPS is not set -# CONFIG_CHECKPOINT_RESTORE is not set -# CONFIG_CMODEL_MEDANY is not set -CONFIG_CMODEL_MEDLOW=y -CONFIG_CRYPTO_AEAD=y -CONFIG_CRYPTO_BLKCIPHER=y -CONFIG_CRYPTO_DEV_VIRTIO=y -CONFIG_CRYPTO_DRBG=y -CONFIG_CRYPTO_DRBG_MENU=y -CONFIG_CRYPTO_ECHAINIV=y -CONFIG_CRYPTO_ENGINE=y -CONFIG_CRYPTO_HMAC=y -CONFIG_CRYPTO_JITTERENTROPY=y -CONFIG_CRYPTO_MANAGER=y -CONFIG_CRYPTO_NULL=y -CONFIG_CRYPTO_RNG=y -CONFIG_CRYPTO_RNG_DEFAULT=y -CONFIG_CRYPTO_SHA256=y -# CONFIG_CRYPTO_USER_API_HASH is not set -# CONFIG_DEBUG_KERNEL is not set -CONFIG_DEBUG_MEMORY_INIT=y -# CONFIG_DRM is not set -# CONFIG_ETHERNET is not set -# CONFIG_EXPERT is not set -CONFIG_EXT2_FS=y -# CONFIG_EXT4_FS_POSIX_ACL is not set -# CONFIG_FB is not set -CONFIG_FRAME_WARN=1024 -# CONFIG_FTRACE is not set -CONFIG_HID_A4TECH=y -CONFIG_HID_APPLE=y -CONFIG_HID_BELKIN=y -CONFIG_HID_CHERRY=y -CONFIG_HID_CHICONY=y -CONFIG_HID_CYPRESS=y -CONFIG_HID_EZKEY=y -CONFIG_HID_ITE=y -CONFIG_HID_KENSINGTON=y -CONFIG_HID_LOGITECH=y -CONFIG_HID_MICROSOFT=y -CONFIG_HID_MONTEREY=y -CONFIG_HID_REDRAGON=y -# CONFIG_HVC_RISCV_SBI is not set -CONFIG_HW_RANDOM=y -# CONFIG_I2C is not set -# CONFIG_IKCONFIG is not set -CONFIG_INPUT_FF_MEMLESS=y -# CONFIG_INPUT_MOUSEDEV is not set -# CONFIG_IP_ADVANCED_ROUTER is not set -# CONFIG_IP_MULTICAST is not set -# CONFIG_IP_PNP is not set -# CONFIG_KEYS is not set CONFIG_MAXPHYSMEM_2GB=y -# CONFIG_MDIO_DEVICE is not set -# CONFIG_MODULES is not set -# CONFIG_MSDOS_FS is not set -# CONFIG_NETLINK_DIAG is not set -# CONFIG_NFS_FS is not set -# CONFIG_NLS is not set -CONFIG_PAGE_OFFSET=0xC0000000 -# CONFIG_PCIE_XILINX is not set -CONFIG_PGTABLE_LEVELS=2 -# CONFIG_PHYLIB is not set -# CONFIG_POSIX_MQUEUE is not set -# CONFIG_POWER_SUPPLY is not set -# CONFIG_PRINTK_TIME is not set -# CONFIG_PROC_CHILDREN is not set -# CONFIG_RAS is not set -# CONFIG_SCSI is not set -# CONFIG_SIFIVE_PLIC is not set -# CONFIG_SYNC_FILE is not set -# CONFIG_TMPFS_POSIX_ACL is not set -# CONFIG_TMPFS_XATTR is not set -# CONFIG_USB is not set -# CONFIG_USER_NS is not set -# CONFIG_VFAT_FS is not set -CONFIG_VIRT_DRIVERS=y -# CONFIG_VT_HW_CONSOLE_BINDING is not set -# CONFIG_WIRELESS is not set -# CONFIG_WLAN is not set -# CONFIG_XZ_DEC is not set -CONFIG_32BIT=y -# CONFIG_EXT2_FS_XATTR is not set +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_HID_LOGITECH_HIDPP is not set -CONFIG_LBDAF=y -# CONFIG_LOGIG940_FF is not set -# CONFIG_LOGIRUMBLEPAD2_FF is not set -# CONFIG_LOGITECH_FF is not set -# CONFIG_LOGIWHEELS_FF is not set - +CONFIG_GENERIC_LIB_UMODDI3=y