From patchwork Wed Jan 23 12:39:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nylon Chen X-Patchwork-Id: 1029930 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=none (p=none dis=none) header.from=andestech.com 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 43l4hK0DL8z9s1l for ; Wed, 23 Jan 2019 23:43:12 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 43C6286B3B; Wed, 23 Jan 2019 12:43:10 +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 I9kK4fWyFUfS; Wed, 23 Jan 2019 12:43:07 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id B6A408684A; Wed, 23 Jan 2019 12:43:07 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id D1EC91BF375 for ; Wed, 23 Jan 2019 12:43:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id CEEE1859CF for ; Wed, 23 Jan 2019 12:43:06 +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 y2YdbBaDvXFW for ; Wed, 23 Jan 2019 12:43:05 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from ATCSQR.andestech.com (59-120-53-16.HINET-IP.hinet.net [59.120.53.16]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 3661C857D1 for ; Wed, 23 Jan 2019 12:43:04 +0000 (UTC) Received: from mail.andestech.com (atcpcs16.andestech.com [10.0.1.222]) by ATCSQR.andestech.com with ESMTP id x0NCj3ZL077152; Wed, 23 Jan 2019 20:45:03 +0800 (GMT-8) (envelope-from nylon7@andestech.com) Received: from app09.andestech.com (10.0.15.117) by ATCPCS16.andestech.com (10.0.1.222) with Microsoft SMTP Server id 14.3.123.3; Wed, 23 Jan 2019 20:42:50 +0800 From: Nylon Chen To: Date: Wed, 23 Jan 2019 20:39:45 +0800 Message-ID: <20190123123947.5084-2-nylon7@andestech.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190123123947.5084-1-nylon7@andestech.com> References: <20190123123947.5084-1-nylon7@andestech.com> MIME-Version: 1.0 X-Originating-IP: [10.0.15.117] X-DNSRBL: X-MAIL: ATCSQR.andestech.com x0NCj3ZL077152 Subject: [Buildroot] [PATCH v2 1/3] arch: add support for Andes 32-bit (nds32) architecture 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: Nylon Chen , Greentime Hu , Che-Wei , Thomas Petazzoni , Nylon Chen Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This enables a nds32 system to be built with a Buildroot generated toolchain (gcc >= 8.0.1, binutils >= 2.30, glibc only). This configuration has been used to successfully build a linux kernel (git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git). Signed-off-by: Che-Wei Chuang Signed-off-by: Greentime Hu Signed-off-by: Nylon Chen --- DEVELOPERS | 7 +++++++ arch/Config.in | 13 ++++++++++++ arch/Config.in.nds32 | 31 ++++++++++++++++++++++++++++ package/binutils/Config.in.host | 2 ++ package/gcc/Config.in.host | 4 ++++ package/linux-headers/Config.in.host | 3 +++ 6 files changed, 60 insertions(+) create mode 100644 arch/Config.in.nds32 diff --git a/DEVELOPERS b/DEVELOPERS index c1950bb0f4..1846748e01 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2296,3 +2296,10 @@ F: package/qjson/ F: package/quazip/ F: package/shapelib/ F: package/tinc/ + +N: Nylon Chen +F: arch/Config.in +F: arch/Config.in.nds32 +F: package/binutils +F: package/gcc +F: package/linux-headers diff --git a/arch/Config.in b/arch/Config.in index f50760a0cf..62d4dda595 100644 --- a/arch/Config.in +++ b/arch/Config.in @@ -125,6 +125,15 @@ config BR2_mips http://www.mips.com/ http://en.wikipedia.org/wiki/MIPS_Technologies +config BR2_nds32 + bool "nds32" + select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT + select BR2_ARCH_HAS_MMU_MANDATORY + help + nds32 is a 32-bit architecture developed by Andes Technology. + https://en.wikipedia.org/wiki/Andes_Technology + + config BR2_mipsel bool "MIPS (little endian)" select BR2_ARCH_HAS_MMU_MANDATORY @@ -423,6 +432,10 @@ if BR2_nios2 source "arch/Config.in.nios2" endif +if BR2_nds32 +source "arch/Config.in.nds32" +endif + if BR2_or1k source "arch/Config.in.or1k" endif diff --git a/arch/Config.in.nds32 b/arch/Config.in.nds32 new file mode 100644 index 0000000000..f2b6a22f8c --- /dev/null +++ b/arch/Config.in.nds32 @@ -0,0 +1,31 @@ +config BR2_ARCH + default "nds32" + +choice + prompt "Target Architecture Variant" + default BR2_nds32_v3 + depends on !BR2_ARCH_IS_64 + help + Specific CPU variant to use + +comment "N series" +config BR2_nds32_v3 + bool "v3" +config BR2_nds32_v3f + bool "v3f" + +endchoice + +config BR2_GCC_TARGET_ARCH + default "v3" if BR2_nds32_v3 + default "v3f" if BR2_nds32_v3f + +config BR2_ENDIAN + default "LITTLE" + +config BR2_TOOLCHAIN_HAS_NATIVE_RPC + bool + +config BR2_READELF_ARCH_NAME + default "Andes Technology compact code size embedded RISC processor family" + diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host index 924d1749cd..484fb050ba 100644 --- a/package/binutils/Config.in.host +++ b/package/binutils/Config.in.host @@ -19,10 +19,12 @@ config BR2_BINUTILS_VERSION_2_28_X bool "binutils 2.28.1" depends on !BR2_arc depends on !BR2_riscv + depends on !BR2_nds32 config BR2_BINUTILS_VERSION_2_29_X bool "binutils 2.29.1" depends on !BR2_riscv + depends on !BR2_nds32 config BR2_BINUTILS_VERSION_2_30_X bool "binutils 2.30" diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host index 036a5b9790..c8a74e10c6 100644 --- a/package/gcc/Config.in.host +++ b/package/gcc/Config.in.host @@ -26,6 +26,7 @@ config BR2_GCC_VERSION_4_9_X # Broken or unsupported architectures depends on !BR2_arc depends on !BR2_or1k + depends on !BR2_nds32 # musl on microblaze, ppc64 and mips64 unsupported depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_microblazeel || BR2_microblazebe)) depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_powerpc64 || BR2_powerpc64le)) @@ -42,6 +43,7 @@ config BR2_GCC_VERSION_5_X # Broken or unsupported architectures depends on !BR2_arc depends on !BR2_or1k + depends on !BR2_nds32 # musl on ppc64 and mips64 unsupported depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_powerpc64 || BR2_powerpc64le)) depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_mips64 || BR2_mips64el)) @@ -55,6 +57,7 @@ config BR2_GCC_VERSION_6_X # Broken or unsupported architectures depends on !BR2_arc depends on !BR2_or1k + depends on !BR2_nds32 select BR2_TOOLCHAIN_GCC_AT_LEAST_6 config BR2_GCC_VERSION_7_X @@ -62,6 +65,7 @@ config BR2_GCC_VERSION_7_X depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_8 # Broken or unsupported architectures depends on !BR2_or1k + depends on !BR2_nds32 select BR2_TOOLCHAIN_GCC_AT_LEAST_7 config BR2_GCC_VERSION_8_X diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index 88373aee6f..43a6374992 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -31,16 +31,19 @@ config BR2_KERNEL_HEADERS_AS_KERNEL config BR2_KERNEL_HEADERS_4_4 bool "Linux 4.4.x kernel headers" depends on !BR2_riscv + depends on !BR2_nds32 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4 config BR2_KERNEL_HEADERS_4_9 bool "Linux 4.9.x kernel headers" depends on !BR2_riscv + depends on !BR2_nds32 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 config BR2_KERNEL_HEADERS_4_14 bool "Linux 4.14.x kernel headers" depends on !BR2_riscv + depends on !BR2_nds32 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 config BR2_KERNEL_HEADERS_4_19 From patchwork Wed Jan 23 12:39:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nylon Chen X-Patchwork-Id: 1029931 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=none (p=none dis=none) header.from=andestech.com 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 43l4hK5bGwz9s9G for ; Wed, 23 Jan 2019 23:43:13 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 5A11B2318D; Wed, 23 Jan 2019 12:43:12 +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 TDJfUMDK8tkd; Wed, 23 Jan 2019 12:43:11 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 8E7882282E; Wed, 23 Jan 2019 12:43:11 +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 5E75B1BF375 for ; Wed, 23 Jan 2019 12:43:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 5BCDB2282E for ; Wed, 23 Jan 2019 12:43:10 +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 4ASu0KQB2PoR for ; Wed, 23 Jan 2019 12:43:09 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from ATCSQR.andestech.com (59-120-53-16.HINET-IP.hinet.net [59.120.53.16]) by silver.osuosl.org (Postfix) with ESMTPS id 326C922274 for ; Wed, 23 Jan 2019 12:43:09 +0000 (UTC) Received: from mail.andestech.com (atcpcs16.andestech.com [10.0.1.222]) by ATCSQR.andestech.com with ESMTP id x0NCj8fs077224; Wed, 23 Jan 2019 20:45:08 +0800 (GMT-8) (envelope-from nylon7@andestech.com) Received: from app09.andestech.com (10.0.15.117) by ATCPCS16.andestech.com (10.0.1.222) with Microsoft SMTP Server id 14.3.123.3; Wed, 23 Jan 2019 20:42:58 +0800 From: Nylon Chen To: Date: Wed, 23 Jan 2019 20:39:46 +0800 Message-ID: <20190123123947.5084-3-nylon7@andestech.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190123123947.5084-1-nylon7@andestech.com> References: <20190123123947.5084-1-nylon7@andestech.com> MIME-Version: 1.0 X-Originating-IP: [10.0.15.117] X-DNSRBL: X-MAIL: ATCSQR.andestech.com x0NCj8fs077224 Subject: [Buildroot] [PATCH v2 2/3] configs/andes_nds32_ae3xx: new defconfig 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: Nylon Chen , Greentime Hu , Che-Wei , Thomas Petazzoni , Nylon Chen Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Add Andes 32-bit defconfig for AE3XX platform. Signed-off-by: Che-Wei Chuang Signed-off-by: Greentime Hu Signed-off-by: Nylon Chen --- DEVELOPERS | 2 ++ board/andes/ae3xx/ae3xx.fragment | 1 + ...0001-nds32-Fix-boot-messages-garbled.patch | 28 +++++++++++++++++++ configs/andes_ae3xx_defconfig | 14 ++++++++++ 4 files changed, 45 insertions(+) create mode 100644 board/andes/ae3xx/ae3xx.fragment create mode 100644 board/andes/patches/linux/0001-nds32-Fix-boot-messages-garbled.patch create mode 100644 configs/andes_ae3xx_defconfig diff --git a/DEVELOPERS b/DEVELOPERS index 1846748e01..2f53e01b72 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2303,3 +2303,5 @@ F: arch/Config.in.nds32 F: package/binutils F: package/gcc F: package/linux-headers +F: board/andes +F: configs/andes_ae3xx_defconfig diff --git a/board/andes/ae3xx/ae3xx.fragment b/board/andes/ae3xx/ae3xx.fragment new file mode 100644 index 0000000000..3b13d10740 --- /dev/null +++ b/board/andes/ae3xx/ae3xx.fragment @@ -0,0 +1 @@ +CONFIG_NDS32_BUILTIN_DTB="ae3xx" diff --git a/board/andes/patches/linux/0001-nds32-Fix-boot-messages-garbled.patch b/board/andes/patches/linux/0001-nds32-Fix-boot-messages-garbled.patch new file mode 100644 index 0000000000..adb60937bd --- /dev/null +++ b/board/andes/patches/linux/0001-nds32-Fix-boot-messages-garbled.patch @@ -0,0 +1,28 @@ +From 90d52d180dcc5d1300dc352ca709eb6453894143 Mon Sep 17 00:00:00 2001 +From: Nylon Chen +Date: Wed, 28 Nov 2018 16:26:46 +0800 +Subject: [PATCH] nds32: Fix boot messages garbled + +In order to display uart correctly we have to pass the correct setting of uart to kernel by bootarg. +This patch will provide such settings to set the correct uart baud rate. + +Signed-off-by: Nylon Chen +--- + arch/nds32/boot/dts/ae3xx.dts | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/arch/nds32/boot/dts/ae3xx.dts b/arch/nds32/boot/dts/ae3xx.dts +index bb39749a6673..aefe2090926a 100644 +--- a/arch/nds32/boot/dts/ae3xx.dts ++++ b/arch/nds32/boot/dts/ae3xx.dts +@@ -6,6 +6,7 @@ + interrupt-parent = <&intc>; + + chosen { ++ bootargs = "memblock=debug earlycon console=ttyS0,38400n8 debug loglevel=7"; + stdout-path = &serial0; + }; + +-- +2.18.0 + diff --git a/configs/andes_ae3xx_defconfig b/configs/andes_ae3xx_defconfig new file mode 100644 index 0000000000..d5c196d76b --- /dev/null +++ b/configs/andes_ae3xx_defconfig @@ -0,0 +1,14 @@ +BR2_nds32=y +BR2_GLOBAL_PATCH_DIR="board/andes/patches/" +BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y +BR2_TOOLCHAIN_EXTERNAL_URL="https://github.com/vincentzwc/prebuilt-nds32-toolchain/releases/download/20180521/nds32le-linux-glibc-v3-upstream.tar.gz" +BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="nds32le-linux" +BR2_TOOLCHAIN_EXTERNAL_GCC_8=y +BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_17=y +BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.17.tar.xz" +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/andes/ae3xx/ae3xx.fragment" +BR2_TARGET_ROOTFS_INITRAMFS=y From patchwork Wed Jan 23 12:39:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nylon Chen X-Patchwork-Id: 1029932 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=none (p=none dis=none) header.from=andestech.com 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 43l4hV6DMTz9s1l for ; Wed, 23 Jan 2019 23:43:22 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 2559F228CA; Wed, 23 Jan 2019 12:43:21 +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 BgouHOpIYhVO; Wed, 23 Jan 2019 12:43:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 4DA1322B20; Wed, 23 Jan 2019 12:43:20 +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 E076A1BF375 for ; Wed, 23 Jan 2019 12:43:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id DE06B22B20 for ; Wed, 23 Jan 2019 12:43:18 +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 LdCz8JTV4iCo for ; Wed, 23 Jan 2019 12:43:18 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from ATCSQR.andestech.com (59-120-53-16.HINET-IP.hinet.net [59.120.53.16]) by silver.osuosl.org (Postfix) with ESMTPS id 52D1E228CA for ; Wed, 23 Jan 2019 12:43:18 +0000 (UTC) Received: from mail.andestech.com (atcpcs16.andestech.com [10.0.1.222]) by ATCSQR.andestech.com with ESMTP id x0NCjILm077277; Wed, 23 Jan 2019 20:45:19 +0800 (GMT-8) (envelope-from nylon7@andestech.com) Received: from app09.andestech.com (10.0.15.117) by ATCPCS16.andestech.com (10.0.1.222) with Microsoft SMTP Server id 14.3.123.3; Wed, 23 Jan 2019 20:43:09 +0800 From: Nylon Chen To: Date: Wed, 23 Jan 2019 20:39:47 +0800 Message-ID: <20190123123947.5084-4-nylon7@andestech.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190123123947.5084-1-nylon7@andestech.com> References: <20190123123947.5084-1-nylon7@andestech.com> MIME-Version: 1.0 X-Originating-IP: [10.0.15.117] X-DNSRBL: X-MAIL: ATCSQR.andestech.com x0NCjILm077277 Subject: [Buildroot] [PATCH v2 3/3] support/config-fragments: add Andes 32-bit (nds32) to autobuild configs 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: Nylon Chen , Greentime Hu , Che-Wei , Thomas Petazzoni , Nylon Chen Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Add a minimal nds32 autobuild configuration for the internal toolchain with glibc. Signed-off-by: Che-Wei Chuang Signed-off-by: Greentime Hu Signed-off-by: Nylon Chen --- .../autobuild/br-andes-nds32-glibc.config | 9 +++++++++ support/config-fragments/autobuild/toolchain-configs.csv | 1 + 2 files changed, 10 insertions(+) create mode 100644 support/config-fragments/autobuild/br-andes-nds32-glibc.config diff --git a/support/config-fragments/autobuild/br-andes-nds32-glibc.config b/support/config-fragments/autobuild/br-andes-nds32-glibc.config new file mode 100644 index 0000000000..cd093a20f9 --- /dev/null +++ b/support/config-fragments/autobuild/br-andes-nds32-glibc.config @@ -0,0 +1,9 @@ +BR2_nds32=y +BR2_TOOLCHAIN_EXTERNAL=y +BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y +BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y +BR2_TOOLCHAIN_EXTERNAL_URL="https://github.com/vincentzwc/prebuilt-nds32-toolchain/releases/download/20180521/nds32le-linux-glibc-v3-upstream.tar.gz" +BR2_TOOLCHAIN_EXTERNAL_GCC_8=y +BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_17=y +BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y +BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="nds32le-linux" diff --git a/support/config-fragments/autobuild/toolchain-configs.csv b/support/config-fragments/autobuild/toolchain-configs.csv index 3681bc519f..4fa5f63b2b 100644 --- a/support/config-fragments/autobuild/toolchain-configs.csv +++ b/support/config-fragments/autobuild/toolchain-configs.csv @@ -74,3 +74,4 @@ support/config-fragments/autobuild/sourcery-mips.config,x86 support/config-fragments/autobuild/sourcery-nios2.config,x86 support/config-fragments/autobuild/sourcery-x86-64.config,x86 support/config-fragments/autobuild/x86_64-ctng_locales-linux-gnu.config,x86 +support/config-fragments/autobuild/br-andes-nds32-glibc.config,x86