RE: [PATCH] arc770: Remove arc770 target

2022-01-23 Thread Adrian Schmutzler
> -Original Message-
> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org]
> On Behalf Of Hauke Mehrtens
> Sent: Samstag, 22. Januar 2022 20:24
> To: openwrt-devel@lists.openwrt.org
> Cc: alexey.brod...@synopsys.com; linux-snps-...@lists.infradead.org;
> Hauke Mehrtens 
> Subject: [PATCH] arc770: Remove arc770 target
> 
> The arc700 target is not booting up since some time, see here:
> https://github.com/foss-for-synopsys-dwc-arc-
> processors/toolchain/issues/400
> 
> It looks like there is a problem in the toolchain when using glibc.
> 
> Currently no one is working on fixing this problem, remove the target
> instead. This target also does not have many users we are aware of.
> 
> If someone wants to have this target back, feel free to add a fixed
version of
> this target again.
> 
> Signed-off-by: Hauke Mehrtens 

Acked-by: Adrian Schmutzler 

> ---
>  package/devel/perf/Makefile   |   2 +-
>  target/linux/arc770/Makefile  |  22 --
>  .../arc770/base-files/etc/board.d/02_network  |  17 --
>  target/linux/arc770/config-5.4| 195 --
>  .../arc770/generic/profiles/00-default.mk |  13 --
>  target/linux/arc770/generic/target.mk |   8 -
>  target/linux/arc770/image/Config.in   |   5 -
>  target/linux/arc770/image/Makefile|  84 
>  .../arc770/image/gen_axs10x_sdcard_img.sh |  29 ---
>  target/linux/arc770/image/uEnv.txt|   7 -
>  ...c-Disable-frame-filtering-completely.patch |  31 ---
>  11 files changed, 1 insertion(+), 412 deletions(-)  delete mode 100644
> target/linux/arc770/Makefile  delete mode 100644 target/linux/arc770/base-
> files/etc/board.d/02_network
>  delete mode 100644 target/linux/arc770/config-5.4  delete mode 100644
> target/linux/arc770/generic/profiles/00-default.mk
>  delete mode 100644 target/linux/arc770/generic/target.mk
>  delete mode 100644 target/linux/arc770/image/Config.in
>  delete mode 100644 target/linux/arc770/image/Makefile
>  delete mode 100755 target/linux/arc770/image/gen_axs10x_sdcard_img.sh
>  delete mode 100644 target/linux/arc770/image/uEnv.txt
>  delete mode 100644 target/linux/arc770/patches-5.4/700-stmmac-Disable-
> frame-filtering-completely.patch
> 
> diff --git a/package/devel/perf/Makefile b/package/devel/perf/Makefile
> index bbf3aaf9ceac..9efd8f56e6b9 100644
> --- a/package/devel/perf/Makefile
> +++ b/package/devel/perf/Makefile
> @@ -27,7 +27,7 @@ include $(INCLUDE_DIR)/nls.mk  define Package/perf
>SECTION:=devel
>CATEGORY:=Development
> -  DEPENDS:= +libelf +libdw +PACKAGE_libunwind:libunwind +libpthread
> +librt +objdump @!IN_SDK @!TARGET_arc770 @KERNEL_PERF_EVENTS
> +  DEPENDS:= +libelf +libdw +PACKAGE_libunwind:libunwind +libpthread
> + +librt +objdump @!IN_SDK @KERNEL_PERF_EVENTS
>TITLE:=Linux performance monitoring tool
>VERSION:=$(LINUX_VERSION)-$(PKG_RELEASE)
>URL:=http://www.kernel.org
> diff --git a/target/linux/arc770/Makefile b/target/linux/arc770/Makefile
> deleted file mode 100644 index 1320c8283ba3..
> --- a/target/linux/arc770/Makefile
> +++ /dev/null
> @@ -1,22 +0,0 @@
> -# SPDX-License-Identifier: GPL-2.0-only -# -# Copyright (C) 2015
> OpenWrt.org
> -
> -include $(TOPDIR)/rules.mk
> -
> -ARCH:=arc
> -BOARD:=arc770
> -BOARDNAME:=Synopsys DesignWare ARC 770D -SUBTARGETS:=generic
> -
> -KERNEL_PATCHVER:=5.4
> -
> -DEVICE_TYPE:=basic
> -
> -define Target/Description
> - Synopsys DesignWare boards
> -endef
> -
> -include $(INCLUDE_DIR)/target.mk
> -
> -$(eval $(call BuildTarget))
> diff --git a/target/linux/arc770/base-files/etc/board.d/02_network
> b/target/linux/arc770/base-files/etc/board.d/02_network
> deleted file mode 100644
> index c90f3fb6a695..
> --- a/target/linux/arc770/base-files/etc/board.d/02_network
> +++ /dev/null
> @@ -1,17 +0,0 @@
> -#
> -# Copyright (C) 2015 OpenWrt.org
> -#
> -
> -. /lib/functions/uci-defaults.sh
> -
> -board_config_update
> -
> -case "$(board_name)" in
> -snps,axs101)
> - ucidef_set_interface_lan "eth0" "dhcp"
> - ;;
> -esac
> -
> -board_config_flush
> -
> -exit 0
> diff --git a/target/linux/arc770/config-5.4
b/target/linux/arc770/config-5.4
> deleted file mode 100644 index 4cd5f195e698..
> --- a/target/linux/arc770/config-5.4
> +++ /dev/null
> @@ -1,195 +0,0 @@
> -# CONFIG_16KSTACKS is not set
> -CONFIG_ARC=y
> -CONFIG_ARCH_32BIT_OFF_T=y
> -CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
> -CONFIG_ARCH_HAS_DMA_COHERENT_TO_PFN=y
> -CONFIG_ARCH_HAS_DMA_PREP_COHERENT=y
> -CONFIG_ARCH_HAS_PTE_SPECIAL=y
> -CONFIG_ARCH_HAS_

Re: [PATCH] arc770: Remove arc770 target

2022-01-23 Thread Stijn Tintel
On 22/01/2022 21:24, Hauke Mehrtens wrote:
> The arc700 target is not booting up since some time, see here:
> https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/issues/400
>
> It looks like there is a problem in the toolchain when using glibc.
>
> Currently no one is working on fixing this problem, remove the target
> instead. This target also does not have many users we are aware of.
>
> If someone wants to have this target back, feel free to add a fixed
> version of this target again.
>
> Signed-off-by: Hauke Mehrtens 
Acked-by: Stijn Tintel 

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[PATCH] arc770: Remove arc770 target

2022-01-22 Thread Hauke Mehrtens
The arc700 target is not booting up since some time, see here:
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/issues/400

It looks like there is a problem in the toolchain when using glibc.

Currently no one is working on fixing this problem, remove the target
instead. This target also does not have many users we are aware of.

If someone wants to have this target back, feel free to add a fixed
version of this target again.

Signed-off-by: Hauke Mehrtens 
---
 package/devel/perf/Makefile   |   2 +-
 target/linux/arc770/Makefile  |  22 --
 .../arc770/base-files/etc/board.d/02_network  |  17 --
 target/linux/arc770/config-5.4| 195 --
 .../arc770/generic/profiles/00-default.mk |  13 --
 target/linux/arc770/generic/target.mk |   8 -
 target/linux/arc770/image/Config.in   |   5 -
 target/linux/arc770/image/Makefile|  84 
 .../arc770/image/gen_axs10x_sdcard_img.sh |  29 ---
 target/linux/arc770/image/uEnv.txt|   7 -
 ...c-Disable-frame-filtering-completely.patch |  31 ---
 11 files changed, 1 insertion(+), 412 deletions(-)
 delete mode 100644 target/linux/arc770/Makefile
 delete mode 100644 target/linux/arc770/base-files/etc/board.d/02_network
 delete mode 100644 target/linux/arc770/config-5.4
 delete mode 100644 target/linux/arc770/generic/profiles/00-default.mk
 delete mode 100644 target/linux/arc770/generic/target.mk
 delete mode 100644 target/linux/arc770/image/Config.in
 delete mode 100644 target/linux/arc770/image/Makefile
 delete mode 100755 target/linux/arc770/image/gen_axs10x_sdcard_img.sh
 delete mode 100644 target/linux/arc770/image/uEnv.txt
 delete mode 100644 
target/linux/arc770/patches-5.4/700-stmmac-Disable-frame-filtering-completely.patch

diff --git a/package/devel/perf/Makefile b/package/devel/perf/Makefile
index bbf3aaf9ceac..9efd8f56e6b9 100644
--- a/package/devel/perf/Makefile
+++ b/package/devel/perf/Makefile
@@ -27,7 +27,7 @@ include $(INCLUDE_DIR)/nls.mk
 define Package/perf
   SECTION:=devel
   CATEGORY:=Development
-  DEPENDS:= +libelf +libdw +PACKAGE_libunwind:libunwind +libpthread +librt 
+objdump @!IN_SDK @!TARGET_arc770 @KERNEL_PERF_EVENTS
+  DEPENDS:= +libelf +libdw +PACKAGE_libunwind:libunwind +libpthread +librt 
+objdump @!IN_SDK @KERNEL_PERF_EVENTS
   TITLE:=Linux performance monitoring tool
   VERSION:=$(LINUX_VERSION)-$(PKG_RELEASE)
   URL:=http://www.kernel.org
diff --git a/target/linux/arc770/Makefile b/target/linux/arc770/Makefile
deleted file mode 100644
index 1320c8283ba3..
--- a/target/linux/arc770/Makefile
+++ /dev/null
@@ -1,22 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-only
-#
-# Copyright (C) 2015 OpenWrt.org
-
-include $(TOPDIR)/rules.mk
-
-ARCH:=arc
-BOARD:=arc770
-BOARDNAME:=Synopsys DesignWare ARC 770D
-SUBTARGETS:=generic
-
-KERNEL_PATCHVER:=5.4
-
-DEVICE_TYPE:=basic
-
-define Target/Description
-   Synopsys DesignWare boards
-endef
-
-include $(INCLUDE_DIR)/target.mk
-
-$(eval $(call BuildTarget))
diff --git a/target/linux/arc770/base-files/etc/board.d/02_network 
b/target/linux/arc770/base-files/etc/board.d/02_network
deleted file mode 100644
index c90f3fb6a695..
--- a/target/linux/arc770/base-files/etc/board.d/02_network
+++ /dev/null
@@ -1,17 +0,0 @@
-#
-# Copyright (C) 2015 OpenWrt.org
-#
-
-. /lib/functions/uci-defaults.sh
-
-board_config_update
-
-case "$(board_name)" in
-snps,axs101)
-   ucidef_set_interface_lan "eth0" "dhcp"
-   ;;
-esac
-
-board_config_flush
-
-exit 0
diff --git a/target/linux/arc770/config-5.4 b/target/linux/arc770/config-5.4
deleted file mode 100644
index 4cd5f195e698..
--- a/target/linux/arc770/config-5.4
+++ /dev/null
@@ -1,195 +0,0 @@
-# CONFIG_16KSTACKS is not set
-CONFIG_ARC=y
-CONFIG_ARCH_32BIT_OFF_T=y
-CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
-CONFIG_ARCH_HAS_DMA_COHERENT_TO_PFN=y
-CONFIG_ARCH_HAS_DMA_PREP_COHERENT=y
-CONFIG_ARCH_HAS_PTE_SPECIAL=y
-CONFIG_ARCH_HAS_SETUP_DMA_OPS=y
-CONFIG_ARCH_HAS_SYNC_DMA_FOR_CPU=y
-CONFIG_ARCH_HAS_SYNC_DMA_FOR_DEVICE=y
-CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y
-CONFIG_ARC_BUILTIN_DTB_NAME=""
-CONFIG_ARC_CACHE=y
-CONFIG_ARC_CACHE_LINE_SHIFT=5
-CONFIG_ARC_CACHE_PAGES=y
-# CONFIG_ARC_CACHE_VIPT_ALIASING is not set
-# CONFIG_ARC_COMPACT_IRQ_LEVELS is not set
-# CONFIG_ARC_CPU_750D is not set
-CONFIG_ARC_CPU_770=y
-CONFIG_ARC_CURR_IN_REG=y
-CONFIG_ARC_DBG=y
-# CONFIG_ARC_DBG_TLB_PARANOIA is not set
-CONFIG_ARC_DW2_UNWIND=y
-CONFIG_ARC_EMUL_UNALIGNED=y
-# CONFIG_ARC_FPU_SAVE_RESTORE is not set
-CONFIG_ARC_HAS_DCACHE=y
-# CONFIG_ARC_HAS_DCCM is not set
-CONFIG_ARC_HAS_ICACHE=y
-# CONFIG_ARC_HAS_ICCM is not set
-CONFIG_ARC_HAS_LLSC=y
-CONFIG_ARC_HAS_SWAPE=y
-CONFIG_ARC_KVADDR_SIZE=256
-# CONFIG_ARC_METAWARE_HLINK is not set
-# CONFIG_ARC_MMU_V1 is not set
-# CONFIG_ARC_MMU_V2 is not set
-CONFIG_ARC_MMU_V3=y
-# CONFIG_ARC_PAGE_SIZE_16K is not set
-# CONFIG_ARC_PAGE_SIZE_4K is not set
-CONFIG_ARC_PAGE_SIZE_8K=y