From patchwork Fri Jan 15 20:03:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vineet Gupta X-Patchwork-Id: 1427308 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=synopsys.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=Jz9Pz6VL; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.a=rsa-sha256 header.s=mail header.b=Yf3Nvh7f; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DHXFf4MLkz9sVR for ; Sat, 16 Jan 2021 07:04:22 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=qhr71S0S3QXI8ICofrxsxeiSR+y15E+0/P6gGDNplxE=; b=Jz9Pz6VLGMdSuawTz2YfywIO2 E8Xqlk1CVlMZsTZL7mOy7bKEAmBAz3Y+YA2VPWqiJYTW1/P1MCLrSKegVk+yHIXWanYI1bt52RyWI PMkucy41uQ2/tBqDktfrR5gJWQ2hVR3kaFoEUM5tFgi+bQwIelbich7vXU7EaGipXGJ5ax3i811mo ymG9IpuG1Dowom8t9N2HszZCHWJusmHD9abyr3rfYly5HeP4d9xiEadfE/feIEcTDaFPXJmHY3Hdh V9tHG6/gLb5g9Frbx6f8qjtSLE65Kf1gemAF7wcULgawRpHKEiNcYwBRTJmJJv2fWyhiqaKYx3+7J 9xlUdbqnQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l0VKT-0003Vk-Fs; Fri, 15 Jan 2021 20:04:17 +0000 Received: from smtprelay-out1.synopsys.com ([149.117.73.133]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l0VJq-00036L-I0 for linux-snps-arc@lists.infradead.org; Fri, 15 Jan 2021 20:03:45 +0000 Received: from mailhost.synopsys.com (sv1-mailhost2.synopsys.com [10.205.2.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id EB06C40762; Fri, 15 Jan 2021 20:03:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1610741014; bh=DSG0GMqMUwWd9OXUPU1eHb7HvsIm8nAJc7t5fX3MUfU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Yf3Nvh7fbFcJ9a03zFAtTxsNv24IJOnZxKuidJYoM63gSNZ7HnvJ+V9yRS36sh0ac rCR/hgE2OgGEvOZ1v6ZlnaUK4H8F9hHQV6MUx6N/S7XIDYa0YjUndn/h+TuoRWRXrJ 0goxVaUnnfhtcJJ0CJ1qLvpMX9mCn5227dTDinonN+EKwcNMY7W2pDBXewOvUdAkru gHTHocxWDPHwE+4S9I5OBW8KN/8Yeq3ioXU+DrLxuBPru+jnFsAA9d3iU1nrMnvvBd ulEqGkQya8hEwYmrVC0MgvVVjYELGw1J6MjnWv6QZEh3hUgjr0wlyOle2hqByFFJuS bPIH7raeY5LGg== Received: from vineetg-Latitude-7400.internal.synopsys.com (unknown [10.13.183.89]) by mailhost.synopsys.com (Postfix) with ESMTP id 66B91A0077; Fri, 15 Jan 2021 20:03:32 +0000 (UTC) X-SNPS-Relay: synopsys.com From: Vineet Gupta To: buildroot@busybox.net Subject: [PATCH 1/4] ARC: Add support for generic HS48 processor Date: Fri, 15 Jan 2021 12:03:16 -0800 Message-Id: <20210115200319.4139041-2-vgupta@synopsys.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115200319.4139041-1-vgupta@synopsys.com> References: <20210115200319.4139041-1-vgupta@synopsys.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210115_150338_796912_75352B5E X-CRM114-Status: UNSURE ( 9.77 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [149.117.73.133 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Evgeniy.Didin@synopsys.com, linux-snps-arc@lists.infradead.org, Vineet Gupta , Alexey.Brodkin@synopsys.com Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org For the HS48 processor, BR currently builds with -mcpu=hs4x_rel31 which generates suboptimal code as it inhibits delay slot and back-back ST and so on. Enable a new variant to build with -mcpu=hs4x for normal codegen. Signed-off-by: Vineet Gupta --- arch/Config.in.arc | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/arch/Config.in.arc b/arch/Config.in.arc index fdfafda31c72..259d6f3ab8b9 100644 --- a/arch/Config.in.arc +++ b/arch/Config.in.arc @@ -39,9 +39,14 @@ config BR2_archs38_full config BR2_archs4x_rel31 bool "ARC HS48 rel 31" + help + Build for HS48 release 3.1 + +config BR2_archs4x + bool "ARC HS48" help Latest release of HS48 processor - - Dual- and quad multiply and MC oprations + - Dual and Quad multiply and MAC operations - Double-precision FPU endchoice @@ -49,7 +54,7 @@ endchoice # Choice of atomic instructions presence config BR2_ARC_ATOMIC_EXT bool "Atomic extension (LLOCK/SCOND instructions)" - default y if BR2_arc770d || BR2_archs38 || BR2_archs38_64mpy || BR2_archs38_full || BR2_archs4x_rel31 + default y if BR2_arc770d || BR2_archs38 || BR2_archs38_64mpy || BR2_archs38_full || BR2_archs4x_rel31 || BR2_archs4x config BR2_ARCH default "arc" if BR2_arcle @@ -70,10 +75,11 @@ config BR2_GCC_TARGET_CPU default "hs38" if BR2_archs38_64mpy default "hs38_linux" if BR2_archs38_full default "hs4x_rel31" if BR2_archs4x_rel31 + default "hs4x" if BR2_archs4x config BR2_READELF_ARCH_NAME default "ARCompact" if BR2_arc750d || BR2_arc770d - default "ARCv2" if BR2_archs38 || BR2_archs38_64mpy || BR2_archs38_full || BR2_archs4x_rel31 + default "ARCv2" if BR2_archs38 || BR2_archs38_64mpy || BR2_archs38_full || BR2_archs4x_rel31 || BR2_archs4x choice prompt "MMU Page Size" @@ -93,7 +99,7 @@ choice config BR2_ARC_PAGE_SIZE_4K bool "4KB" - depends on BR2_arc770d || BR2_archs38 || BR2_archs38_64mpy || BR2_archs38_full || BR2_archs4x_rel31 + depends on BR2_arc770d || BR2_archs38 || BR2_archs38_64mpy || BR2_archs38_full || BR2_archs4x_rel31 || BR2_archs4x config BR2_ARC_PAGE_SIZE_8K bool "8KB" @@ -103,7 +109,7 @@ config BR2_ARC_PAGE_SIZE_8K config BR2_ARC_PAGE_SIZE_16K bool "16KB" - depends on BR2_arc770d || BR2_archs38 || BR2_archs38_64mpy || BR2_archs38_full || BR2_archs4x_rel31 + depends on BR2_arc770d || BR2_archs38 || BR2_archs38_64mpy || BR2_archs38_full || BR2_archs4x_rel31 || BR2_archs4x endchoice From patchwork Fri Jan 15 20:03:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vineet Gupta X-Patchwork-Id: 1427309 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=synopsys.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=xy22W6uw; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.a=rsa-sha256 header.s=mail header.b=GxDVdF83; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DHXFg3tXMz9sVR for ; Sat, 16 Jan 2021 07:04:23 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=4N5nAA0DB+w6UdIJTO3wDx93Ohi3/mjLyRDSbUcKiuo=; b=xy22W6uwZ9qra3AJWO7up4u3e ejyHgp8/BVwk+4fs1H5+/3Rho/w7s02MFYwA/5zLA7CIIP3q15RsFo8d7g2wSEN7qFzJYhaxnpko3 Q2SYBB3n7vj9Kf6eIdIfEcq4spuSXOmamwkb4wz3f1rgGT2iRl6x1tZQbWsrUf+dhgbpIa4LBnltt ArLDLwf01k4Zq9ueAL+8XKqpO3kO6VQmoFOPCZcux5j209BGDCCDKv74dddX2Khzg/vj5SAKsTapf Ra4ANitjPB/Wgsg7pI4UzrIdtcL/thJptzuxVFpspzQ6iMc9dGYsRRcHPKfXMKU2D0W1OcBDHpR52 gA17p97bw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l0VKU-0003WQ-Mh; Fri, 15 Jan 2021 20:04:18 +0000 Received: from smtprelay-out1.synopsys.com ([149.117.73.133]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l0VJp-00035t-ND for linux-snps-arc@lists.infradead.org; Fri, 15 Jan 2021 20:03:45 +0000 Received: from mailhost.synopsys.com (sv1-mailhost2.synopsys.com [10.205.2.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id A79C14076D; Fri, 15 Jan 2021 20:03:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1610741013; bh=3Z8d7pmlCcuWGu48sRaP53yXhRS4cDaOiuLi2wsBumI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GxDVdF83zjdhhNW8coFcIVHUIdN0BskI49e49fP2JPhbWy4oMTxpHcdMyEI9UU/Ei VocOZWqP6WDBnTxq1+evi37RRNF0+z6XZq7qLhLg8jIN7VT/5wz05zRDHG2a0PZ1dL W4MRngk6lRNMJ+3Wo3ZLuAC3yEFG6RzVMo1TPnov3Vaww3ZNQpAFN8plOuSa7iAWLh RtA3ubpclSt/oDNIsYs//D3y4Dt++BOeHaSFRpvyw9XU5cISAtbjOlYO0wS6by54Qo SDX5uwUbYKzATZfntV18L6tKuCgBr1Xno9bueof1zwNJymouOiLf8b1wwSILrImDDa SEVSLwGsCBniw== Received: from vineetg-Latitude-7400.internal.synopsys.com (unknown [10.13.183.89]) by mailhost.synopsys.com (Postfix) with ESMTP id EE3B7A022B; Fri, 15 Jan 2021 20:03:32 +0000 (UTC) X-SNPS-Relay: synopsys.com From: Vineet Gupta To: buildroot@busybox.net Subject: [PATCH 2/4] configs/snps_archs38_hsdk_defconfig: refresh defconfig Date: Fri, 15 Jan 2021 12:03:17 -0800 Message-Id: <20210115200319.4139041-3-vgupta@synopsys.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115200319.4139041-1-vgupta@synopsys.com> References: <20210115200319.4139041-1-vgupta@synopsys.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210115_150337_936092_313786D6 X-CRM114-Status: UNSURE ( 8.16 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.6 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [149.117.73.133 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.8 UPPERCASE_50_75 message body is 50-75% uppercase X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Evgeniy.Didin@synopsys.com, linux-snps-arc@lists.infradead.org, Vineet Gupta , Alexey.Brodkin@synopsys.com Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org No config changes done | make snps_archs38_hsdk_defconfig | make savedefconfig Signed-off-by: Vineet Gupta --- configs/snps_archs38_hsdk_defconfig | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/configs/snps_archs38_hsdk_defconfig b/configs/snps_archs38_hsdk_defconfig index 9a9d57b32589..b8fd35636000 100644 --- a/configs/snps_archs38_hsdk_defconfig +++ b/configs/snps_archs38_hsdk_defconfig @@ -1,33 +1,19 @@ -# Architecture BR2_arcle=y BR2_archs38_full=y - -# Linux headers same as kernel, a 5.6 series BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6=y - -# System BR2_TARGET_GENERIC_HOSTNAME="hsdk" BR2_TARGET_GENERIC_ISSUE="Welcome to the HSDK Platform" BR2_SYSTEM_DHCP="eth0" - -# Kernel +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/synopsys/hsdk/genimage.cfg" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.6.3" BR2_LINUX_KERNEL_DEFCONFIG="hsdk" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/synopsys/hsdk/linux.fragment" - -# Filesystem / image BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_4=y # BR2_TARGET_ROOTFS_TAR is not set -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/synopsys/hsdk/genimage.cfg" - -# Bootloader BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y @@ -35,7 +21,9 @@ BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.05" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="hsdk" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_FORMAT_ELF=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE=y BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE="board/synopsys/hsdk/uboot.env.txt" BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SIZE="0x4000" From patchwork Fri Jan 15 20:03:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vineet Gupta X-Patchwork-Id: 1427306 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=synopsys.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=xw5qPTvi; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.a=rsa-sha256 header.s=mail header.b=YCQmK1wL; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DHXFb26wjz9sWV for ; Sat, 16 Jan 2021 07:04:19 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=1oxRV3sTVfW1Nbr7KiljRYcUmPOPkA+BV7vCCgWKgiA=; b=xw5qPTviLs6FwVz6ue8IXvXJa pJ7r1/5/SPjP5bbEHIeFCRKIB/n4/WvpzoPED9ZnF1R9lLibnmrwD4z97PiziFhO1vA7mJBqv2LY6 TqWHKhPqNtiP112gGHydORCW9n35su8lN2T0U9v7Vn1jTi6sJVMUe+GpPzKU1Tk9Po4Bp3dd30r54 58jzz+rWfUYiqqdlyOCpHYgiINQZfZh5Z3Vs5SfmaPUvey0PFerCYV4idAtssSgPqX8Wr59UISFAp N/8P2BbTWWaqaCm71QnbbI1cbjZdzhQu4m346H+LDC1zi3wgyzweNDknpLkGSILiCeDxioZ1lJ2CI 92qW7j0QA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l0VKR-0003US-JU; Fri, 15 Jan 2021 20:04:15 +0000 Received: from smtprelay-out1.synopsys.com ([149.117.73.133]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l0VJq-00036D-EM for linux-snps-arc@lists.infradead.org; Fri, 15 Jan 2021 20:03:44 +0000 Received: from mailhost.synopsys.com (sv1-mailhost2.synopsys.com [10.205.2.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 4FA2140775; Fri, 15 Jan 2021 20:03:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1610741014; bh=3ysVizw3IC2bXW+vSTREy4t5/FyiH/+/cOHhm6EYb3g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YCQmK1wL0sE3AAVYLLBiouMXfPMXlVgOM8w4XqzSdr0fcCxhODGsc7JUaYCxEhC9l IaW5MzdkwJRYAZaKHUZPtPzy9BLPviYNGHvIXrj+hOC9mxiB0ikSCJMrtVuQLD/5IS qIjMFlrQcYKIhbmeTBJI4YDkXaAFMBCY5HWLFYoRLR+OucRADmSRCAL1MTxmhMVZ3m yya1EcbmOyuugMP/1TfRi2znlsYEjRD/YDJ+o5LCOGmcX19n6Y35iYZdWYQmOE0YFG qIvFoo6FeeQj/L9Ao2ltDC+CwJJz2XzRtlF64AW8FKuX1/mZd2EDl2gVuqu3Eg7giR hn95vgzPRMMXg== Received: from vineetg-Latitude-7400.internal.synopsys.com (unknown [10.13.183.89]) by mailhost.synopsys.com (Postfix) with ESMTP id 9F127A006F; Fri, 15 Jan 2021 20:03:33 +0000 (UTC) X-SNPS-Relay: synopsys.com From: Vineet Gupta To: buildroot@busybox.net Subject: [PATCH 3/4] configs/snps_archs38_hsdk_defconfig: switch to glibc hard-float Date: Fri, 15 Jan 2021 12:03:18 -0800 Message-Id: <20210115200319.4139041-4-vgupta@synopsys.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115200319.4139041-1-vgupta@synopsys.com> References: <20210115200319.4139041-1-vgupta@synopsys.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210115_150338_589842_2C2F3521 X-CRM114-Status: UNSURE ( 8.95 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [149.117.73.133 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Evgeniy.Didin@synopsys.com, linux-snps-arc@lists.infradead.org, Vineet Gupta , Alexey.Brodkin@synopsys.com Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org We are no longer actively working on uClibc and hard-float support is pretty stable, so make that default for HSDK boards The hard-float setting is a bit convulated since current ARC gcc lacks --with-fpu - so this is done with BR2_TARGET_OPTIMIZATION Signed-off-by: Vineet Gupta --- configs/snps_archs38_hsdk_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/snps_archs38_hsdk_defconfig b/configs/snps_archs38_hsdk_defconfig index b8fd35636000..69d0b1936b3a 100644 --- a/configs/snps_archs38_hsdk_defconfig +++ b/configs/snps_archs38_hsdk_defconfig @@ -1,6 +1,9 @@ BR2_arcle=y BR2_archs38_full=y +BR2_TOOLCHAIN_BUILDROOT_GLIBC=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6=y +BR2_PACKAGE_GLIBC_UTILS=y +BR2_TARGET_OPTIMIZATION="-mfpu=fpud_all" BR2_TARGET_GENERIC_HOSTNAME="hsdk" BR2_TARGET_GENERIC_ISSUE="Welcome to the HSDK Platform" BR2_SYSTEM_DHCP="eth0" From patchwork Fri Jan 15 20:03:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vineet Gupta X-Patchwork-Id: 1427311 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=synopsys.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=Ul5ZDac/; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.a=rsa-sha256 header.s=mail header.b=ew26mBAn; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DHXFm3lN4z9sWT for ; Sat, 16 Jan 2021 07:04:28 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=k/9eRKGgadmBSqDGXUY6Wjb+6q14YX+xHjQ/8dgwqgY=; b=Ul5ZDac/G5O8x42bwFH44yBPL ZQIx8Gfom3xYg5zx35uWL535mD8WnYoH4nYScOAhr5L7fQU2YTMp8vyMGJU6f57GkwEz9jIHuXbcy 0Zzar6wO8w8YumIkgzrXqS1TpNkUcuQGmCeQs5r6yBhZu9GlfYXl7japce1jU8i3AHe40fi2ChfK5 MpWlN6ubaJnVJ/wMgvXExF0hcCjPBIcfC4ITbK3mpajBWGBzOPlTc19krknXmGvoqvSsAQErxhkuh t7XivOFUPepiLS0/luwjH7OUJ3RdrdnyiEG7GizCL8lW8Jfs6qFHTWEb7SgSaMaJ6jdtS3i6yqcsc BPzLf81Mw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l0VKW-0003XH-VW; Fri, 15 Jan 2021 20:04:21 +0000 Received: from smtprelay-out1.synopsys.com ([149.117.87.133]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l0VJq-00037l-Md for linux-snps-arc@lists.infradead.org; Fri, 15 Jan 2021 20:03:46 +0000 Received: from mailhost.synopsys.com (sv1-mailhost2.synopsys.com [10.205.2.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 5FC33C0AE9; Fri, 15 Jan 2021 20:03:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1610741016; bh=fix8PGo7fBjxKFmc90j9en+9zkv3+tZp8qkpCo0pXNQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ew26mBAnHp9Kty8HLo0Du/RF3FaR3sYlns+POI6rapP7TG6EewO3/dPh0Xj4JrWnj H401dSmjVtZ01GLYmb6okxFzNMdJ0SRhQZFySUuUDSFN7LgklwN/bjbd6N70wrkccI edoKvIxM6qx25RyqRN3JonMOUFtiJOenB+iVu4gvTHqGNUc9zxIoDRtWcE1X1caPvR E27J1+NK0xUOw276NAoheB3MccM6hmkDGt8h6r6/YfGD7RCr5qvGNumLJIhoQGkKXP Ig16FDPOdJV0uSzmWciljXv0u4qQEqEM0OrantomgYb0X/QCtCM3a5z8XOxw+GJQT4 DFitOAkAvO8Mg== Received: from vineetg-Latitude-7400.internal.synopsys.com (unknown [10.13.183.89]) by mailhost.synopsys.com (Postfix) with ESMTP id 7F739A006F; Fri, 15 Jan 2021 20:03:34 +0000 (UTC) X-SNPS-Relay: synopsys.com From: Vineet Gupta To: buildroot@busybox.net Subject: [PATCH 4/4] configs/snps_archs38_hsdk_defconfig: update for better out-of-box experience Date: Fri, 15 Jan 2021 12:03:19 -0800 Message-Id: <20210115200319.4139041-5-vgupta@synopsys.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115200319.4139041-1-vgupta@synopsys.com> References: <20210115200319.4139041-1-vgupta@synopsys.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210115_150338_890558_C5BC9E63 X-CRM114-Status: UNSURE ( 8.45 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [149.117.87.133 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Evgeniy.Didin@synopsys.com, linux-snps-arc@lists.infradead.org, Vineet Gupta , Alexey.Brodkin@synopsys.com Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org - Enable C++ support - Don't strip executables - Add minimal debug symbols - Enable strace and openssh - Enable perf (and elfutils) Signed-off-by: Vineet Gupta --- configs/snps_archs38_hsdk_defconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/configs/snps_archs38_hsdk_defconfig b/configs/snps_archs38_hsdk_defconfig index 69d0b1936b3a..7d406a90ed3c 100644 --- a/configs/snps_archs38_hsdk_defconfig +++ b/configs/snps_archs38_hsdk_defconfig @@ -1,8 +1,12 @@ BR2_arcle=y BR2_archs38_full=y +BR2_ENABLE_DEBUG=y +BR2_DEBUG_1=y +# BR2_STRIP_strip is not set BR2_TOOLCHAIN_BUILDROOT_GLIBC=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6=y BR2_PACKAGE_GLIBC_UTILS=y +BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_TARGET_OPTIMIZATION="-mfpu=fpud_all" BR2_TARGET_GENERIC_HOSTNAME="hsdk" BR2_TARGET_GENERIC_ISSUE="Welcome to the HSDK Platform" @@ -14,8 +18,15 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.6.3" BR2_LINUX_KERNEL_DEFCONFIG="hsdk" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/synopsys/hsdk/linux.fragment" +BR2_PACKAGE_LINUX_TOOLS_PERF=y +BR2_PACKAGE_STRACE=y +BR2_PACKAGE_MAKE=y +BR2_PACKAGE_ELFUTILS=y +BR2_PACKAGE_ELFUTILS_PROGS=y +BR2_PACKAGE_OPENSSH=y BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="200M" # BR2_TARGET_ROOTFS_TAR is not set BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y