Remove NDS32 architecture
cover Remove NDS32 architecture
Hello,
The upstream Linux kernel community has removed the NDS32 architecture support in commit
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=aec499c75cf8e0b599be4d559e6922b613085f8f.
There has been very little to no activity in Buildroot around this CPU architecture recently, so let's drop the support for this CPU architecture.
Thomas
Thomas Petazzoni (3):
configs/andes_ae300: remove defconfig toolchain/toolchain-external/toolchain-external-andes-nds32: remove
package
Remove support for the NDS32 architecture
Config.in.legacy | 10 ++++ DEVELOPERS | 3 -- arch/Config.in | 12 ----- arch/Config.in.nds32 | 17 ------ board/andes/ae300/ae300.fragment | 1 - ...0001-nds32-Fix-boot-messages-garbled.patch | 28 ---------- ...ve-redundant-YYLOC-global-declaratio.patch | 52 ------------------- board/andes/ae300/readme.txt | 49 ----------------- configs/andes_ae300_defconfig | 10 ---- docs/manual/known-issues.txt | 2 +- package/dhcpcd/Config.in | 1 - package/gdb/Config.in | 1 - package/gdb/Config.in.host | 1 - package/libbsd/Config.in | 1 - package/postgresql/postgresql.mk | 2 +- package/strace/Config.in | 2 +- package/uclibc-ng-test/uclibc-ng-test.mk | 2 +- .../autobuild/andes-nds32.config | 3 -- .../autobuild/toolchain-configs.csv | 1 - toolchain/toolchain-external/Config.in | 6 --- .../toolchain-external-andes-nds32/Config.in | 15 ------ .../Config.in.options | 9 ---- .../toolchain-external-andes-nds32.hash | 2 - .../toolchain-external-andes-nds32.mk | 10 ---- utils/genrandconfig | 3 -- 25 files changed, 14 insertions(+), 229 deletions(-) delete mode 100644 arch/Config.in.nds32 delete mode 100644 board/andes/ae300/ae300.fragment delete mode 100644 board/andes/ae300/patches/linux/0001-nds32-Fix-boot-messages-garbled.patch delete mode 100644 board/andes/ae300/patches/linux/0002-scripts-dtc-Remove-redundant-YYLOC-global-declaratio.patch delete mode 100644 board/andes/ae300/readme.txt delete mode 100644 configs/andes_ae300_defconfig delete mode 100644 support/config-fragments/autobuild/andes-nds32.config delete mode 100644 toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in delete mode 100644 toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in.options delete mode 100644 toolchain/toolchain-external/toolchain-external-andes-nds32/toolchain-external-andes-nds32.hash delete mode 100644 toolchain/toolchain-external/toolchain-external-andes-nds32/toolchain-external-andes-nds32.mk
Signature · 6 lines
2.35.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 1/3 configs/andes_ae300: remove defconfig
As we're about to remove the nds32 architecture support, remove the only defconfig that used this CPU architecture.
--- DEVELOPERS | 1 - board/andes/ae300/ae300.fragment | 1 - ...0001-nds32-Fix-boot-messages-garbled.patch | 28 ---------- ...ve-redundant-YYLOC-global-declaratio.patch | 52 ------------------- board/andes/ae300/readme.txt | 49 ----------------- configs/andes_ae300_defconfig | 10 ---- 6 files changed, 141 deletions(-) delete mode 100644 board/andes/ae300/ae300.fragment delete mode 100644 board/andes/ae300/patches/linux/0001-nds32-Fix-boot-messages-garbled.patch delete mode 100644 board/andes/ae300/patches/linux/0002-scripts-dtc-Remove-redundant-YYLOC-global-declaratio.patch delete mode 100644 board/andes/ae300/readme.txt delete mode 100644 configs/andes_ae300_defconfig
DEVELOPERS +0 -1
@@ -2164,7 +2164,6 @@ F: package/tcf-agent/ N: Yu Chien Peter Lin <[email protected]> F: arch/Config.in.nds32 F: board/andes -F: configs/andes_ae300_defconfig F: configs/andes_ae350_45_defconfig F: toolchain/toolchain-external/toolchain-external-andes-nds32/
board/andes/ae300/ae300.fragment deleted +0 -1
@@ -1 +0,0 @@ -CONFIG_NDS32_BUILTIN_DTB="ae3xx"
board/andes/ae300/patches/linux/0001-nds32-Fix-boot-messages-garbled.patch deleted +0 -28
@@ -1,28 +0,0 @@ -From 90d52d180dcc5d1300dc352ca709eb6453894143 Mon Sep 17 00:00:00 2001 -From: Nylon Chen <[email protected]> -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 <[email protected]> ---- - 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 -
board/andes/ae300/patches/linux/0002-scripts-dtc-Remove-redundant-YYLOC-global-declaratio.patch deleted +0 -52
52 lines not on this page · raw message
board/andes/ae300/readme.txt deleted +0 -49
49 lines not on this page · raw message
configs/andes_ae300_defconfig deleted +0 -10
@@ -1,10 +0,0 @@ -BR2_nds32=y -BR2_GLOBAL_PATCH_DIR="board/andes/ae300/patches" -BR2_TOOLCHAIN_EXTERNAL=y -BR2_TOOLCHAIN_EXTERNAL_ANDES_NDS32=y -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.17" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/andes/ae300/ae300.fragment" -BR2_TARGET_ROOTFS_INITRAMFS=y
Signature · 6 lines
2.35.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 1/3] configs/andes_ae300: remove defconfig
Quoted 4 lines · Thomas Petazzoni
As we're about to remove the nds32 architecture support, remove the only defconfig that used this CPU architecture.
Signed-off-by Thomas Petazzoni <[email protected]>
Hi Thomas,
Thanks,
Peter Lin
Quoted 199 lines
--- DEVELOPERS | 1 - board/andes/ae300/ae300.fragment | 1 - ...0001-nds32-Fix-boot-messages-garbled.patch | 28 ---------- ...ve-redundant-YYLOC-global-declaratio.patch | 52 ------------------- board/andes/ae300/readme.txt | 49 ----------------- configs/andes_ae300_defconfig | 10 ---- 6 files changed, 141 deletions(-) delete mode 100644 board/andes/ae300/ae300.fragment delete mode 100644 board/andes/ae300/patches/linux/0001-nds32-Fix-boot-messages-garbled.patch delete mode 100644 board/andes/ae300/patches/linux/0002-scripts-dtc-Remove-redundant-YYLOC-global-declaratio.patch delete mode 100644 board/andes/ae300/readme.txt delete mode 100644 configs/andes_ae300_defconfigDEVELOPERS +0
-1@@ -2164,7 +2164,6 @@ F: package/tcf-agent/ N: Yu Chien Peter Lin <[email protected]> F: arch/Config.in.nds32 F: board/andes -F: configs/andes_ae300_defconfig F: configs/andes_ae350_45_defconfig F: toolchain/toolchain-external/toolchain-external-andes-nds32/board/andes/ae300/ae300.fragment deleted +0
-1@@ -1 +0,0 @@ -CONFIG_NDS32_BUILTIN_DTB="ae3xx"board/andes/ae300/patches/linux/0001-nds32-Fix-boot-messages-garbled.patch deleted +0
-28@@ -1,28 +0,0 @@ -From 90d52d180dcc5d1300dc352ca709eb6453894143 Mon Sep 17 00:00:00 2001 -From: Nylon Chen <[email protected]> -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 <[email protected]> ---- - 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 -board/andes/ae300/patches/linux/0002-scripts-dtc-Remove-redundant-YYLOC-global-declaratio.patch deleted +0
-52@@ -1,52 +0,0 @@ -From f9df4186c17d686f1ca38f973d7a3a49e8e37c01 Mon Sep 17 00:00:00 2001 -From: Dirk Mueller <[email protected]> -Date: Tue, 14 Jan 2020 18:53:41 +0100 -Subject: [PATCH] scripts/dtc: Remove redundant YYLOC global declaration - -gcc 10 will default to -fno-common, which causes this error at link -time: - - (.text+0x0): multiple definition of `yylloc'; dtc-lexer.lex.o (symbol from plugin):(.text+0x0): first defined here - -This is because both dtc-lexer as well as dtc-parser define the same -global symbol yyloc. Before with -fcommon those were merged into one -defintion. The proper solution would be to to mark this as "extern", -however that leads to: - - dtc-lexer.l:26:16: error: redundant redeclaration of 'yylloc' [-Werror=redundant-decls] - 26 | extern YYLTYPE yylloc; - | ^~~~~~ -In file included from dtc-lexer.l:24: -dtc-parser.tab.h:127:16: note: previous declaration of 'yylloc' was here - 127 | extern YYLTYPE yylloc; - | ^~~~~~ -cc1: all warnings being treated as errors - -which means the declaration is completely redundant and can just be -dropped. - -Signed-off-by: Dirk Mueller <[email protected]> -Signed-off-by: David Gibson <[email protected]> -[robh: cherry-pick from upstream] -Cc: [email protected] -Signed-off-by: Rob Herring <[email protected]> -Signed-off-by: Giulio Benetti <[email protected]> ---- - scripts/dtc/dtc-lexer.l | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/scripts/dtc/dtc-lexer.l b/scripts/dtc/dtc-lexer.l -index 06c040902444..d1b3810156c7 100644 ---- a/scripts/dtc/dtc-lexer.l -+++ b/scripts/dtc/dtc-lexer.l -@@ -38,7 +38,6 @@ LINECOMMENT "//".*\n - #include "srcpos.h" - #include "dtc-parser.tab.h" - --YYLTYPE yylloc; - extern bool treesource_error; - - /* CAUTION: this will stop working if we ever use yyless() or yyunput() */ --- -2.25.1 -board/andes/ae300/readme.txt deleted +0
-49@@ -1,49 +0,0 @@ -Intro -===== - -Andestech(nds32) AE300 Platform - -The AE300 prototype demonstrates the AE300 example platform on the FPGA. -It is composed of one Andestech(nds32) processor and AE300. - -How to build it -=============== - -Configure Buildroot -------------------- - -The andes_ae300_defconfig configuration is a sample configuration with -all that is required to bring the FPGA Development Board: - - $ make andes_ae300_defconfig - -Build everything ----------------- -Note: you will need to have access to the network, since Buildroot will -download the packages' sources. - - $ make - -Result of the build -------------------- - -After building, you should obtain this tree: - -output/images/ - +-- vmlinux - +-- rootfs.cpio - +-- rootfs.tar - -How to run it -============= - -Run ---- - - Setup the Console with the rate 38400/8-N-1. - - $ cd output/images - $ ../host/bin/nds32le-linux-gdb vmlinux - $ target remote [your host] - $ lo - $ cconfigs/andes_ae300_defconfig deleted +0
-10@@ -1,10 +0,0 @@ -BR2_nds32=y -BR2_GLOBAL_PATCH_DIR="board/andes/ae300/patches" -BR2_TOOLCHAIN_EXTERNAL=y -BR2_TOOLCHAIN_EXTERNAL_ANDES_NDS32=y -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.17" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/andes/ae300/ae300.fragment" -BR2_TARGET_ROOTFS_INITRAMFS=ySignature · 1 line
2.35.3
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/3 toolchain/toolchain-external/toolchain-external-andes-nds32: remove package
In reply to Thomas Petazzoni via buildrootAs we're about to remove the nds32 architecture support from Buildroot, drop the toolchain-external-andes-nds32 external toolchain package.
--- DEVELOPERS | 1 - .../config-fragments/autobuild/andes-nds32.config | 3 --- .../autobuild/toolchain-configs.csv | 1 - toolchain/toolchain-external/Config.in | 6 ------ .../toolchain-external-andes-nds32/Config.in | 15 --------------- .../Config.in.options | 9 --------- .../toolchain-external-andes-nds32.hash | 2 -- .../toolchain-external-andes-nds32.mk | 10 ---------- 8 files changed, 47 deletions(-) delete mode 100644 support/config-fragments/autobuild/andes-nds32.config delete mode 100644 toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in delete mode 100644 toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in.options delete mode 100644 toolchain/toolchain-external/toolchain-external-andes-nds32/toolchain-external-andes-nds32.hash delete mode 100644 toolchain/toolchain-external/toolchain-external-andes-nds32/toolchain-external-andes-nds32.mk
DEVELOPERS +0 -1
@@ -2165,7 +2165,6 @@ N: Yu Chien Peter Lin <[email protected]> F: arch/Config.in.nds32 F: board/andes F: configs/andes_ae350_45_defconfig -F: toolchain/toolchain-external/toolchain-external-andes-nds32/ N: Olaf Rempel <[email protected]> F: package/ctorrent/
support/config-fragments/autobuild/andes-nds32.config deleted +0 -3
@@ -1,3 +0,0 @@ -BR2_nds32=y -BR2_TOOLCHAIN_EXTERNAL=y -BR2_TOOLCHAIN_EXTERNAL_ANDES_NDS32=y
support/config-fragments/autobuild/toolchain-configs.csv +0 -1
@@ -22,7 +22,6 @@ support/config-fragments/autobuild/br-arm-full-static.config,x86_64 support/config-fragments/autobuild/sourcery-arm.config,x86 # Toolchains used by test-pkg only when the '-a' option is passed: -support/config-fragments/autobuild/andes-nds32.config,x86 support/config-fragments/autobuild/arm-aarch64.config,x86_64 support/config-fragments/autobuild/bootlin-aarch64-glibc.config,x86_64 support/config-fragments/autobuild/bootlin-arcle-hs38-uclibc.config,x86_64
toolchain/toolchain-external/Config.in +0 -6
@@ -23,9 +23,6 @@ source "toolchain/toolchain-external/toolchain-external-linaro-aarch64-be/Config # ARC source "toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in" -# Andes -source "toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in" - # ARM (use ARM toolchain by default) source "toolchain/toolchain-external/toolchain-external-arm-arm/Config.in" source "toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in"
@@ -130,9 +127,6 @@ source "toolchain/toolchain-external/toolchain-external-linaro-aarch64-be/Config # ARC source "toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options" -# Andes -source "toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in.options" - # ARM source "toolchain/toolchain-external/toolchain-external-arm-arm/Config.in.options" source "toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in.options"
toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in deleted +0 -15
@@ -1,15 +0,0 @@ -config BR2_TOOLCHAIN_EXTERNAL_ANDES_NDS32 - bool "Andes nds32" - depends on BR2_nds32 - depends on !BR2_STATIC_LIBS - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" - select BR2_HOSTARCH_NEEDS_IA32_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_8 - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17 - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - select BR2_TOOLCHAIN_HAS_SSP - help - nds32 toolchain for the nds32 architecture. It uses GCC - 8.2.1, GDB 8.1.1, glibc 2.28, Binutils 2.30. It generates - code that runs on ae300 platform
toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in.options deleted +0 -9
@@ -1,9 +0,0 @@ -if BR2_TOOLCHAIN_EXTERNAL_ANDES_NDS32 - -config BR2_TOOLCHAIN_EXTERNAL_PREFIX - default "nds32le-linux" - -config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL - default "toolchain-external-andes-nds32" - -endif
toolchain/toolchain-external/toolchain-external-andes-nds32/toolchain-external-andes-nds32.hash deleted +0 -2
@@ -1,2 +0,0 @@ -# From https://github.com/vincentzwc/prebuilt-nds32-toolchain/releases/download/20180521/nds32le-linux-glibc-v3-upstream.tar.gz -sha256 6050601df85ad93a4c211c1d57ed3773edb62aa505f7e07d7d555652e83af2cc nds32le-linux-glibc-v3-upstream.tar.gz
toolchain/toolchain-external/toolchain-external-andes-nds32/toolchain-external-andes-nds32.mk deleted +0 -10
@@ -1,10 +0,0 @@ -################################################################################ -# -# toolchain-external-andes-nds32 -# -################################################################################ - -TOOLCHAIN_EXTERNAL_ANDES_NDS32_SITE = https://github.com/vincentzwc/prebuilt-nds32-toolchain/releases/download/20180521 -TOOLCHAIN_EXTERNAL_ANDES_NDS32_SOURCE = nds32le-linux-glibc-v3-upstream.tar.gz - -$(eval $(toolchain-external-package))
Signature · 6 lines
2.35.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 2/3] toolchain/toolchain-external/toolchain-external-andes-nds32: remove package
Quoted 5 lines · Thomas Petazzoni
As we're about to remove the nds32 architecture support from Buildroot, drop the toolchain-external-andes-nds32 external toolchain package.
Signed-off-by Thomas Petazzoni <[email protected]>
Regards,
Peter Lin
Quoted 136 lines
--- DEVELOPERS | 1 - .../config-fragments/autobuild/andes-nds32.config | 3 --- .../autobuild/toolchain-configs.csv | 1 - toolchain/toolchain-external/Config.in | 6 ------ .../toolchain-external-andes-nds32/Config.in | 15 --------------- .../Config.in.options | 9 --------- .../toolchain-external-andes-nds32.hash | 2 -- .../toolchain-external-andes-nds32.mk | 10 ---------- 8 files changed, 47 deletions(-) delete mode 100644 support/config-fragments/autobuild/andes-nds32.config delete mode 100644 toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in delete mode 100644 toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in.options delete mode 100644 toolchain/toolchain-external/toolchain-external-andes-nds32/toolchain-external-andes-nds32.hash delete mode 100644 toolchain/toolchain-external/toolchain-external-andes-nds32/toolchain-external-andes-nds32.mkDEVELOPERS +0
-1@@ -2165,7 +2165,6 @@ N: Yu Chien Peter Lin <[email protected]> F: arch/Config.in.nds32 F: board/andes F: configs/andes_ae350_45_defconfig -F: toolchain/toolchain-external/toolchain-external-andes-nds32/ N: Olaf Rempel <[email protected]> F: package/ctorrent/support/config-fragments/autobuild/andes-nds32.config deleted +0
-3@@ -1,3 +0,0 @@ -BR2_nds32=y -BR2_TOOLCHAIN_EXTERNAL=y -BR2_TOOLCHAIN_EXTERNAL_ANDES_NDS32=ysupport/config-fragments/autobuild/toolchain-configs.csv +0
-1@@ -22,7 +22,6 @@ support/config-fragments/autobuild/br-arm-full-static.config,x86_64 support/config-fragments/autobuild/sourcery-arm.config,x86 # Toolchains used by test-pkg only when the '-a' option is passed: -support/config-fragments/autobuild/andes-nds32.config,x86 support/config-fragments/autobuild/arm-aarch64.config,x86_64 support/config-fragments/autobuild/bootlin-aarch64-glibc.config,x86_64 support/config-fragments/autobuild/bootlin-arcle-hs38-uclibc.config,x86_64toolchain/toolchain-external/Config.in +0
-6@@ -23,9 +23,6 @@ source "toolchain/toolchain-external/toolchain-external-linaro-aarch64-be/Config # ARC source "toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in" -# Andes -source "toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in" - # ARM (use ARM toolchain by default) source "toolchain/toolchain-external/toolchain-external-arm-arm/Config.in" source "toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in"@@ -130,9 +127,6 @@ source "toolchain/toolchain-external/toolchain-external-linaro-aarch64-be/Config # ARC source "toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options" -# Andes -source "toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in.options" - # ARM source "toolchain/toolchain-external/toolchain-external-arm-arm/Config.in.options" source "toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in.options"toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in deleted +0
-15@@ -1,15 +0,0 @@ -config BR2_TOOLCHAIN_EXTERNAL_ANDES_NDS32 - bool "Andes nds32" - depends on BR2_nds32 - depends on !BR2_STATIC_LIBS - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" - select BR2_HOSTARCH_NEEDS_IA32_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_8 - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17 - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - select BR2_TOOLCHAIN_HAS_SSP - help - nds32 toolchain for the nds32 architecture. It uses GCC - 8.2.1, GDB 8.1.1, glibc 2.28, Binutils 2.30. It generates - code that runs on ae300 platformtoolchain/toolchain-external/toolchain-external-andes-nds32/Config.in.options deleted +0
-9@@ -1,9 +0,0 @@ -if BR2_TOOLCHAIN_EXTERNAL_ANDES_NDS32 - -config BR2_TOOLCHAIN_EXTERNAL_PREFIX - default "nds32le-linux" - -config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL - default "toolchain-external-andes-nds32" - -endiftoolchain/toolchain-external/toolchain-external-andes-nds32/toolchain-external-andes-nds32.hash deleted +0
-2@@ -1,2 +0,0 @@ -# From https://github.com/vincentzwc/prebuilt-nds32-toolchain/releases/download/20180521/nds32le-linux-glibc-v3-upstream.tar.gz -sha256 6050601df85ad93a4c211c1d57ed3773edb62aa505f7e07d7d555652e83af2cc nds32le-linux-glibc-v3-upstream.tar.gztoolchain/toolchain-external/toolchain-external-andes-nds32/toolchain-external-andes-nds32.mk deleted +0
-10@@ -1,10 +0,0 @@ -################################################################################ -# -# toolchain-external-andes-nds32 -# -################################################################################ - -TOOLCHAIN_EXTERNAL_ANDES_NDS32_SITE = https://github.com/vincentzwc/prebuilt-nds32-toolchain/releases/download/20180521 -TOOLCHAIN_EXTERNAL_ANDES_NDS32_SOURCE = nds32le-linux-glibc-v3-upstream.tar.gz - -$(eval $(toolchain-external-package))Signature · 1 line
2.35.3
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 3/3 Remove support for the NDS32 architecture
In reply to Thomas Petazzoni via buildrootThe support for this architecture has been removed from the upstream Linux kernel, as of commit:
Which states:
The nds32 architecture, also known as AndeStar V3, is a custom 32-bit RISC target designed by Andes Technologies. Support was added to the kernel in 2016 as the replacement RISC-V based V5 processors were already announced, and maintained by (current or former) Andes employees.
As explained by Alan Kao, new customers are now all using RISC-V, and all known nds32 users are already on longterm stable kernels provided by Andes, with no development work going into mainline support any more.
There has also been little to no maintenance done in Buildroot for this architecture in recent times, so let's follow the Linux kernel community decision and drop support for this CPU architecture.
--- Config.in.legacy | 10 ++++++++++ DEVELOPERS | 1 - arch/Config.in | 12 ------------ arch/Config.in.nds32 | 17 ----------------- docs/manual/known-issues.txt | 2 +- package/dhcpcd/Config.in | 1 - package/gdb/Config.in | 1 - package/gdb/Config.in.host | 1 - package/libbsd/Config.in | 1 - package/postgresql/postgresql.mk | 2 +- package/strace/Config.in | 2 +- package/uclibc-ng-test/uclibc-ng-test.mk | 2 +- utils/genrandconfig | 3 --- 13 files changed, 14 insertions(+), 41 deletions(-) delete mode 100644 arch/Config.in.nds32
Config.in.legacy +10 -0
@@ -144,6 +144,16 @@ endif ############################################################################### +comment "Legacy options removed in 2022.08" + +config BR2_nds32 + bool "nds32 architecture removed" + select BR2_LEGACY + help + Support for the nds32 architecture has been removed, due to + its support being removed from the upstream Linux kernel, + and its lack of maintenance in Buildroot. + comment "Legacy options removed in 2022.05" config BR2_PACKAGE_KTAP
DEVELOPERS +0 -1
@@ -2162,7 +2162,6 @@ F: package/systemd/ F: package/tcf-agent/ N: Yu Chien Peter Lin <[email protected]> -F: arch/Config.in.nds32 F: board/andes F: configs/andes_ae350_45_defconfig
arch/Config.in +0 -12
@@ -153,14 +153,6 @@ config BR2_mips64el 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_nios2 bool "Nios II" select BR2_ARCH_HAS_MMU_MANDATORY
@@ -449,10 +441,6 @@ if BR2_mips || BR2_mips64 || BR2_mipsel || BR2_mips64el source "arch/Config.in.mips" endif -if BR2_nds32 -source "arch/Config.in.nds32" -endif - if BR2_nios2 source "arch/Config.in.nios2" endif
arch/Config.in.nds32 deleted +0 -17
@@ -1,17 +0,0 @@ -config BR2_ARCH - default "nds32le" - -config BR2_NORMALIZED_ARCH - default "nds32" - -config BR2_GCC_TARGET_ARCH - default "v3" - -config BR2_ENDIAN - default "LITTLE" - -config BR2_READELF_ARCH_NAME - default "Andes Technology compact code size embedded RISC processor family" - -# vim: ft=kconfig -# -*- mode:kconfig; -*-
docs/manual/known-issues.txt +1 -1
@@ -7,7 +7,7 @@ if such options contain a +$+ sign. For example, the following is known to break: +BR2_TARGET_LDFLAGS="-Wl,-rpath=\'$ORIGIN/../lib'"+ -* The +libffi+ package is not supported on the SuperH 2, nds32, and ARMv7-M +* The +libffi+ package is not supported on the SuperH 2 and ARMv7-M architectures. * The +prboom+ package triggers a compiler failure with the SuperH 4
package/dhcpcd/Config.in +0 -1
@@ -20,7 +20,6 @@ config BR2_PACKAGE_DHCPCD_ENABLE_PRIVSEP BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2 depends on !(BR2_microblazeel || BR2_microblazebe) || \ BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 - depends on !BR2_nds32 || BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2 depends on !BR2_nios2 || BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2 depends on !BR2_or1k || BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 depends on !BR2_sh || BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
package/gdb/Config.in +0 -1
@@ -4,7 +4,6 @@ config BR2_PACKAGE_GDB_ARCH_SUPPORTS depends on !((BR2_arm || BR2_armeb) && BR2_BINFMT_FLAT) depends on !BR2_microblaze depends on !BR2_or1k - depends on !BR2_nds32 comment "gdb/gdbserver needs a toolchain w/ threads, threads debug" depends on BR2_PACKAGE_GDB_ARCH_SUPPORTS
package/gdb/Config.in.host +0 -1
@@ -4,7 +4,6 @@ config BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS depends on !((BR2_arm || BR2_armeb) && BR2_BINFMT_FLAT) depends on !BR2_microblaze depends on !BR2_or1k - depends on !BR2_nds32 comment "Host GDB Options" depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
package/libbsd/Config.in +0 -1
@@ -5,7 +5,6 @@ config BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS depends on !BR2_microblaze depends on !BR2_arc depends on !BR2_xtensa - depends on !BR2_nds32 config BR2_PACKAGE_LIBBSD bool "libbsd"
package/postgresql/postgresql.mk +1 -1
@@ -42,7 +42,7 @@ ifneq ($(BR2_TOOLCHAIN_HAS_THREADS_NPTL),y) POSTGRESQL_CONF_OPTS += --disable-thread-safety endif -ifeq ($(BR2_arcle)$(BR2_arceb)$(BR2_microblazeel)$(BR2_microblazebe)$(BR2_or1k)$(BR2_nios2)$(BR2_riscv)$(BR2_xtensa)$(BR2_nds32),y) +ifeq ($(BR2_arcle)$(BR2_arceb)$(BR2_microblazeel)$(BR2_microblazebe)$(BR2_or1k)$(BR2_nios2)$(BR2_riscv)$(BR2_xtensa),y) POSTGRESQL_CONF_OPTS += --disable-spinlocks endif
package/strace/Config.in +1 -1
@@ -4,7 +4,7 @@ config BR2_PACKAGE_STRACE depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 || !BR2_nios2 # needs at least kernel headers 5.0 on xtensa depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 || !BR2_xtensa - depends on !BR2_nds32 && !BR2_RISCV_32 + depends on !BR2_RISCV_32 help A useful diagnostic, instructional, and debugging tool. Allows you to track what system calls a program makes
package/uclibc-ng-test/uclibc-ng-test.mk +1 -1
@@ -39,7 +39,7 @@ ifeq ($(BR2_STATIC_LIBS),y) UCLIBC_NG_TEST_MAKE_ENV += NO_TLS=1 NO_NPTL=1 NO_DL=1 endif # no TLS macros available -ifeq ($(BR2_nds32)$(BR2_s390x),y) +ifeq ($(BR2_s390x),y) UCLIBC_NG_TEST_MAKE_ENV += NO_TLS=1 endif
utils/genrandconfig +0 -3
@@ -246,9 +246,6 @@ def fixup_config(sysinfo, configfile): if 'BR2_ARM_CPU_ARMV7M=y\n' in configlines and \ 'BR2_PACKAGE_LIBFFI=y\n' in configlines: return False - if 'BR2_nds32=y\n' in configlines and \ - 'BR2_PACKAGE_LIBFFI=y\n' in configlines: - return False if 'BR2_PACKAGE_SUNXI_BOARDS=y\n' in configlines: configlines.remove('BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE=""\n') configlines.append('BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE="a10/hackberry.fex"\n')
Signature · 6 lines
2.35.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 3/3] Remove support for the NDS32 architecture
Quoted 18 lines · Thomas Petazzoni
The support for this architecture has been removed from the upstream Linux kernel, as of commit:
Which states:
The nds32 architecture, also known as AndeStar V3, is a custom 32-bit RISC target designed by Andes Technologies. Support was added to the kernel in 2016 as the replacement RISC-V based V5 processors were already announced, and maintained by (current or former) Andes employees.
As explained by Alan Kao, new customers are now all using RISC-V, and all known nds32 users are already on longterm stable kernels provided by Andes, with no development work going into mainline support any more.
Quoted 5 lines
There has also been little to no maintenance done in Buildroot for this architecture in recent times, so let's follow the Linux kernel community decision and drop support for this CPU architecture.
Signed-off-by Thomas Petazzoni <[email protected]>
Regards,
Peter Lin
Quoted 220 lines
--- Config.in.legacy | 10 ++++++++++ DEVELOPERS | 1 - arch/Config.in | 12 ------------ arch/Config.in.nds32 | 17 ----------------- docs/manual/known-issues.txt | 2 +- package/dhcpcd/Config.in | 1 - package/gdb/Config.in | 1 - package/gdb/Config.in.host | 1 - package/libbsd/Config.in | 1 - package/postgresql/postgresql.mk | 2 +- package/strace/Config.in | 2 +- package/uclibc-ng-test/uclibc-ng-test.mk | 2 +- utils/genrandconfig | 3 --- 13 files changed, 14 insertions(+), 41 deletions(-) delete mode 100644 arch/Config.in.nds32Config.in.legacy +10
-0@@ -144,6 +144,16 @@ endif ############################################################################### +comment "Legacy options removed in 2022.08" + +config BR2_nds32 + bool "nds32 architecture removed" + select BR2_LEGACY + help + Support for the nds32 architecture has been removed, due to + its support being removed from the upstream Linux kernel, + and its lack of maintenance in Buildroot. + comment "Legacy options removed in 2022.05" config BR2_PACKAGE_KTAPDEVELOPERS +0
-1@@ -2162,7 +2162,6 @@ F: package/systemd/ F: package/tcf-agent/ N: Yu Chien Peter Lin <[email protected]> -F: arch/Config.in.nds32 F: board/andes F: configs/andes_ae350_45_defconfigarch/Config.in +0
-12@@ -153,14 +153,6 @@ config BR2_mips64el 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_nios2 bool "Nios II" select BR2_ARCH_HAS_MMU_MANDATORY@@ -449,10 +441,6 @@ if BR2_mips || BR2_mips64 || BR2_mipsel || BR2_mips64el source "arch/Config.in.mips" endif -if BR2_nds32 -source "arch/Config.in.nds32" -endif - if BR2_nios2 source "arch/Config.in.nios2" endifarch/Config.in.nds32 deleted +0
-17@@ -1,17 +0,0 @@ -config BR2_ARCH - default "nds32le" - -config BR2_NORMALIZED_ARCH - default "nds32" - -config BR2_GCC_TARGET_ARCH - default "v3" - -config BR2_ENDIAN - default "LITTLE" - -config BR2_READELF_ARCH_NAME - default "Andes Technology compact code size embedded RISC processor family" - -# vim: ft=kconfig -# -*- mode:kconfig; -*-docs/manual/known-issues.txt +1
-1@@ -7,7 +7,7 @@ if such options contain a +$+ sign. For example, the following is known to break: +BR2_TARGET_LDFLAGS="-Wl,-rpath=\'$ORIGIN/../lib'"+ -* The +libffi+ package is not supported on the SuperH 2, nds32, and ARMv7-M +* The +libffi+ package is not supported on the SuperH 2 and ARMv7-M architectures. * The +prboom+ package triggers a compiler failure with the SuperH 4package/dhcpcd/Config.in +0
-1@@ -20,7 +20,6 @@ config BR2_PACKAGE_DHCPCD_ENABLE_PRIVSEP BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2 depends on !(BR2_microblazeel || BR2_microblazebe) || \ BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 - depends on !BR2_nds32 || BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2 depends on !BR2_nios2 || BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2 depends on !BR2_or1k || BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 depends on !BR2_sh || BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7package/gdb/Config.in +0
-1@@ -4,7 +4,6 @@ config BR2_PACKAGE_GDB_ARCH_SUPPORTS depends on !((BR2_arm || BR2_armeb) && BR2_BINFMT_FLAT) depends on !BR2_microblaze depends on !BR2_or1k - depends on !BR2_nds32 comment "gdb/gdbserver needs a toolchain w/ threads, threads debug" depends on BR2_PACKAGE_GDB_ARCH_SUPPORTSpackage/gdb/Config.in.host +0
-1@@ -4,7 +4,6 @@ config BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS depends on !((BR2_arm || BR2_armeb) && BR2_BINFMT_FLAT) depends on !BR2_microblaze depends on !BR2_or1k - depends on !BR2_nds32 comment "Host GDB Options" depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPYpackage/libbsd/Config.in +0
-1@@ -5,7 +5,6 @@ config BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS depends on !BR2_microblaze depends on !BR2_arc depends on !BR2_xtensa - depends on !BR2_nds32 config BR2_PACKAGE_LIBBSD bool "libbsd"package/postgresql/postgresql.mk +1
-1@@ -42,7 +42,7 @@ ifneq ($(BR2_TOOLCHAIN_HAS_THREADS_NPTL),y) POSTGRESQL_CONF_OPTS += --disable-thread-safety endif -ifeq ($(BR2_arcle)$(BR2_arceb)$(BR2_microblazeel)$(BR2_microblazebe)$(BR2_or1k)$(BR2_nios2)$(BR2_riscv)$(BR2_xtensa)$(BR2_nds32),y) +ifeq ($(BR2_arcle)$(BR2_arceb)$(BR2_microblazeel)$(BR2_microblazebe)$(BR2_or1k)$(BR2_nios2)$(BR2_riscv)$(BR2_xtensa),y) POSTGRESQL_CONF_OPTS += --disable-spinlocks endifpackage/strace/Config.in +1
-1@@ -4,7 +4,7 @@ config BR2_PACKAGE_STRACE depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 || !BR2_nios2 # needs at least kernel headers 5.0 on xtensa depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 || !BR2_xtensa - depends on !BR2_nds32 && !BR2_RISCV_32 + depends on !BR2_RISCV_32 help A useful diagnostic, instructional, and debugging tool. Allows you to track what system calls a program makespackage/uclibc-ng-test/uclibc-ng-test.mk +1
-1@@ -39,7 +39,7 @@ ifeq ($(BR2_STATIC_LIBS),y) UCLIBC_NG_TEST_MAKE_ENV += NO_TLS=1 NO_NPTL=1 NO_DL=1 endif # no TLS macros available -ifeq ($(BR2_nds32)$(BR2_s390x),y) +ifeq ($(BR2_s390x),y) UCLIBC_NG_TEST_MAKE_ENV += NO_TLS=1 endifutils/genrandconfig +0
-3@@ -246,9 +246,6 @@ def fixup_config(sysinfo, configfile): if 'BR2_ARM_CPU_ARMV7M=y\n' in configlines and \ 'BR2_PACKAGE_LIBFFI=y\n' in configlines: return False - if 'BR2_nds32=y\n' in configlines and \ - 'BR2_PACKAGE_LIBFFI=y\n' in configlines: - return False if 'BR2_PACKAGE_SUNXI_BOARDS=y\n' in configlines: configlines.remove('BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE=""\n') configlines.append('BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE="a10/hackberry.fex"\n')Signature · 1 line
2.35.3
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 11 lines · Thomas Petazzoni via buildroot
Hello,
The upstream Linux kernel community has removed the NDS32 architecture support in commit
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=aec499c75cf8e0b599be4d559e6922b613085f8f.There has been very little to no activity in Buildroot around this CPU architecture recently, so let's drop the support for this CPU architecture.
Thomas
Series applied to master, thanks.
Regards,
Arnout
Quoted 33 lines
Thomas Petazzoni (3):
configs/andes_ae300: remove defconfig toolchain/toolchain-external/toolchain-external-andes-nds32: remove
package
Remove support for the NDS32 architectureConfig.in.legacy | 10 ++++ DEVELOPERS | 3 -- arch/Config.in | 12 ----- arch/Config.in.nds32 | 17 ------ board/andes/ae300/ae300.fragment | 1 - ...0001-nds32-Fix-boot-messages-garbled.patch | 28 ---------- ...ve-redundant-YYLOC-global-declaratio.patch | 52 ------------------- board/andes/ae300/readme.txt | 49 ----------------- configs/andes_ae300_defconfig | 10 ---- docs/manual/known-issues.txt | 2 +- package/dhcpcd/Config.in | 1 - package/gdb/Config.in | 1 - package/gdb/Config.in.host | 1 - package/libbsd/Config.in | 1 - package/postgresql/postgresql.mk | 2 +- package/strace/Config.in | 2 +- package/uclibc-ng-test/uclibc-ng-test.mk | 2 +- .../autobuild/andes-nds32.config | 3 -- .../autobuild/toolchain-configs.csv | 1 - toolchain/toolchain-external/Config.in | 6 --- .../toolchain-external-andes-nds32/Config.in | 15 ------ .../Config.in.options | 9 ---- .../toolchain-external-andes-nds32.hash | 2 - .../toolchain-external-andes-nds32.mk | 10 ---- utils/genrandconfig | 3 -- 25 files changed, 14 insertions(+), 229 deletions(-)
Quoted 12 lines
delete mode 100644
arch/Config.in.nds32
delete mode 100644 board/andes/ae300/ae300.fragment
delete mode 100644board/andes/ae300/patches/linux/0001-nds32-Fix-boot-messages-garbled.patchdelete mode 100644board/andes/ae300/patches/linux/0002-scripts-dtc-Remove-redundant-YYLOC-global-declaratio.patchdelete mode 100644board/andes/ae300/readme.txt
delete mode 100644 configs/andes_ae300_defconfig
delete mode 100644support/config-fragments/autobuild/andes-nds32.config
delete mode 100644 toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in
delete mode 100644 toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in.options delete mode 100644 toolchain/toolchain-external/toolchain-external-andes-nds32/toolchain-external-andes-nds32.hash delete mode 100644toolchain/toolchain-external/toolchain-external-andes-nds32/toolchain-external-andes-nds32.mk
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot