Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/5] arch/csky: drop architecture
  2022-07-27 10:58 [Buildroot] [PATCH 0/5] arch/cskey: remove (branch csky-in-the-sky) Yann E. MORIN
@ 2022-07-27 10:58 ` Yann E. MORIN
  2022-07-27 14:37   ` Romain Naour
  2022-07-27 10:58 ` [Buildroot] [PATCH 2/5] configs: drop csky defconfig Yann E. MORIN
                   ` (4 subsequent siblings)
  5 siblings, 1 reply; 9+ messages in thread
From: Yann E. MORIN @ 2022-07-27 10:58 UTC (permalink / raw)
  To: buildroot; +Cc: Thomas Petazzoni, Yann E. MORIN, Guo Ren

We currently have no internal and no external toolchain for csky.
The website is down (no https:// available, and the http:// index
page is 404).

This commit removes the architecture entry; remnants will be dropped in
followup changes.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Guo Ren <ren_guo@c-sky.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 Config.in.legacy    |  7 ++++++
 DEVELOPERS          |  1 -
 arch/Config.in      | 14 ------------
 arch/Config.in.csky | 52 ---------------------------------------------
 arch/arch.mk.csky   | 26 -----------------------
 5 files changed, 7 insertions(+), 93 deletions(-)
 delete mode 100644 arch/Config.in.csky
 delete mode 100644 arch/arch.mk.csky

diff --git a/Config.in.legacy b/Config.in.legacy
index 949bca1cd0..24b4236ade 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,13 @@ endif
 
 comment "Legacy options removed in 2022.08"
 
+config BR2_csky
+	bool "csky architecture removed"
+	select BR2_LEGACY
+	help
+	  The csky architecture was removed, by lack of toolchain
+	  support.
+
 config BR2_PACKAGE_MESA3D_DRI_DRIVER_I915
 	bool "mesa DRI i915 driver removed"
 	select BR2_LEGACY
diff --git a/DEVELOPERS b/DEVELOPERS
index 270fc52de1..04c9588f34 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1182,7 +1182,6 @@ F:	support/testing/tests/package/sample_python_pybind.py
 F:	support/testing/tests/package/test_python_pybind.py
 
 N:	Guo Ren <ren_guo@c-sky.com>
-F:	arch/Config.in.csky
 F:	board/csky/
 F:	configs/csky_*
 
diff --git a/arch/Config.in b/arch/Config.in
index 1d38c7a065..1c0c400a98 100644
--- a/arch/Config.in
+++ b/arch/Config.in
@@ -70,16 +70,6 @@ config BR2_aarch64_be
 	  http://www.arm.com/products/processors/instruction-set-architectures/armv8-architecture.php
 	  http://en.wikipedia.org/wiki/ARM
 
-config BR2_csky
-	bool "csky"
-	select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT
-	select BR2_USE_MMU
-	select BR2_ARCH_NEEDS_GCC_AT_LEAST_9
-	help
-	  csky is processor IP from china.
-	  http://www.c-sky.com/
-	  http://www.github.com/c-sky
-
 config BR2_i386
 	bool "i386"
 	select BR2_USE_MMU
@@ -376,10 +366,6 @@ if BR2_arm || BR2_armeb || BR2_aarch64 || BR2_aarch64_be
 source "arch/Config.in.arm"
 endif
 
-if BR2_csky
-source "arch/Config.in.csky"
-endif
-
 if BR2_m68k
 source "arch/Config.in.m68k"
 endif
diff --git a/arch/Config.in.csky b/arch/Config.in.csky
deleted file mode 100644
index b20b39e225..0000000000
--- a/arch/Config.in.csky
+++ /dev/null
@@ -1,52 +0,0 @@
-choice
-	prompt "Target Architecture Variant"
-	default BR2_ck610
-	help
-	  Specific CPU variant to use
-
-config BR2_ck610
-	# Not supported by upstream gcc <= 9, and handled as a special
-	# exception in package/gcc/Config.in.host
-	bool "ck610"
-
-config BR2_ck807
-	bool "ck807"
-
-config BR2_ck810
-	bool "ck810"
-
-config BR2_ck860
-	bool "ck860"
-
-endchoice
-
-config BR2_CSKY_FPU
-	bool "Enable FPU coprocessor"
-	depends on BR2_ck810 || BR2_ck807 || BR2_ck860
-	help
-	  You can say N here if your C-SKY CPU doesn't have a
-	  Floating-Point Coprocessor or if you don't need FPU support
-	  for your user-space programs.
-
-config BR2_CSKY_VDSP
-	bool "Enable VDSP enhanced instructions Co-processor"
-	depends on BR2_CSKY_FPU
-
-config BR2_GCC_TARGET_FLOAT_ABI
-	default "soft"		if !BR2_CSKY_FPU
-	default "hard"		if BR2_CSKY_FPU
-
-config BR2_ARCH
-	default "csky"
-
-config BR2_NORMALIZED_ARCH
-	default "csky"
-
-config BR2_ENDIAN
-	default "LITTLE"
-
-config BR2_READELF_ARCH_NAME
-	default "CSKY"
-
-# vim: ft=kconfig
-# -*- mode:kconfig; -*-
diff --git a/arch/arch.mk.csky b/arch/arch.mk.csky
deleted file mode 100644
index fb59ae22fd..0000000000
--- a/arch/arch.mk.csky
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-# Configure the GCC_TARGET_ARCH variable and append the
-# appropriate C-SKY ISA extensions.
-#
-
-ifeq ($(BR2_csky),y)
-
-ifeq ($(BR2_ck610),y)
-GCC_TARGET_CPU := ck610
-else ifeq ($(BR2_ck807),y)
-GCC_TARGET_CPU := ck807
-else ifeq ($(BR2_ck810),y)
-GCC_TARGET_CPU := ck810
-else ifeq ($(BR2_ck860),y)
-GCC_TARGET_CPU := ck860
-endif
-
-ifeq ($(BR2_CSKY_FPU),y)
-GCC_TARGET_CPU := $(GCC_TARGET_CPU)f
-endif
-
-ifeq ($(BR2_CSKY_VDSP),y)
-GCC_TARGET_CPU := $(GCC_TARGET_CPU)v
-endif
-
-endif
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH 0/5] arch/cskey: remove (branch csky-in-the-sky)
@ 2022-07-27 10:58 Yann E. MORIN
  2022-07-27 10:58 ` [Buildroot] [PATCH 1/5] arch/csky: drop architecture Yann E. MORIN
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Yann E. MORIN @ 2022-07-27 10:58 UTC (permalink / raw)
  To: buildroot; +Cc: Thomas Petazzoni, Guo Ren, Yann E . MORIN

Hello All!

This series removes support for the csky architecture in Buildroot.

We haven't had a toolchain for csky for a long time, so it means csky
is, for all practical concerns, unbuildable:

  - support for the internal toolchain was dropped in 2021-10-17 with
    commit 547d681b45ed (package/gcc: remove csky version);

  - we have no external, pre-built toolchain for csky.

So, drop the support for csky altogether.

Regards,
Yann E. MORIN.


----------------------------------------------------------------
Yann E. MORIN (5):
      arch/csky: drop architecture
      configs: drop csky defconfig
      package: drop csky support in toolchain-related packages
      package/pkg-meson: drop csky reference in ackage infra
      package: drop csky conditionals

 Config.in.legacy                     |   7 ++
 DEVELOPERS                           |   5 --
 arch/Config.in                       |  14 ----
 arch/Config.in.csky                  |  52 ------------
 arch/arch.mk.csky                    |  26 ------
 board/csky/gx6605s/gdbinit           |  25 ------
 board/csky/gx6605s/gx6605s.dts       | 155 -----------------------------------
 board/csky/readme.txt                |  88 --------------------
 configs/csky_gx6605s_defconfig       |  19 -----
 package/Makefile.in                  |   9 --
 package/binutils/Config.in.host      |   3 +-
 package/gcc/Config.in.host           |   4 -
 package/gdb/Config.in                |   1 -
 package/gdb/Config.in.host           |   2 -
 package/gdb/gdb.hash                 |   3 -
 package/gdb/gdb.mk                   |   6 --
 package/glibc/Config.in              |   1 -
 package/linux-headers/Config.in.host |   3 -
 package/pkg-meson.mk                 |   2 -
 package/python-greenlet/Config.in    |   1 -
 package/sedutil/Config.in            |   2 +-
 21 files changed, 9 insertions(+), 419 deletions(-)
 delete mode 100644 arch/Config.in.csky
 delete mode 100644 arch/arch.mk.csky
 delete mode 100644 board/csky/gx6605s/gdbinit
 delete mode 100644 board/csky/gx6605s/gx6605s.dts
 delete mode 100644 board/csky/readme.txt
 delete mode 100644 configs/csky_gx6605s_defconfig

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH 2/5] configs: drop csky defconfig
  2022-07-27 10:58 [Buildroot] [PATCH 0/5] arch/cskey: remove (branch csky-in-the-sky) Yann E. MORIN
  2022-07-27 10:58 ` [Buildroot] [PATCH 1/5] arch/csky: drop architecture Yann E. MORIN
@ 2022-07-27 10:58 ` Yann E. MORIN
  2022-07-27 14:39   ` Romain Naour
  2022-07-27 10:58 ` [Buildroot] [PATCH 3/5] package: drop csky support in toolchain-related packages Yann E. MORIN
                   ` (3 subsequent siblings)
  5 siblings, 1 reply; 9+ messages in thread
From: Yann E. MORIN @ 2022-07-27 10:58 UTC (permalink / raw)
  To: buildroot; +Cc: Thomas Petazzoni, Yann E. MORIN, Guo Ren

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Guo Ren <ren_guo@c-sky.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 DEVELOPERS                     |   4 -
 board/csky/gx6605s/gdbinit     |  25 ------
 board/csky/gx6605s/gx6605s.dts | 155 ---------------------------------
 board/csky/readme.txt          |  88 -------------------
 configs/csky_gx6605s_defconfig |  19 ----
 5 files changed, 291 deletions(-)
 delete mode 100644 board/csky/gx6605s/gdbinit
 delete mode 100644 board/csky/gx6605s/gx6605s.dts
 delete mode 100644 board/csky/readme.txt
 delete mode 100644 configs/csky_gx6605s_defconfig

diff --git a/DEVELOPERS b/DEVELOPERS
index 04c9588f34..7747cefa0d 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1181,10 +1181,6 @@ F:	support/testing/tests/package/br2-external/python-pybind
 F:	support/testing/tests/package/sample_python_pybind.py
 F:	support/testing/tests/package/test_python_pybind.py
 
-N:	Guo Ren <ren_guo@c-sky.com>
-F:	board/csky/
-F:	configs/csky_*
-
 N:	Gustavo Heinz <gustavo@gsthnz.com>
 F:	package/python-m2crypto/
 
diff --git a/board/csky/gx6605s/gdbinit b/board/csky/gx6605s/gdbinit
deleted file mode 100644
index d602aad46d..0000000000
--- a/board/csky/gx6605s/gdbinit
+++ /dev/null
@@ -1,25 +0,0 @@
-tar jtag jtag://127.0.0.1:1025
-reset
-
-# setup CCR (Cache Config Reg)
-# 0-1:MP,2:IE,3:DE,4:WB,5:RS,6:Z,7:BE
-set $cr18 = 0x7d
-
-# vendor custom setup, double cache line & preload
-set $cr30 = 0xc
-
-# pin mux for serial8250
-set *(unsigned int *) 0xa030a14c |= (1 << 22) | (1 << 23)
-
-# pass devicetree blob
-# r2 is magic
-# r3 is address
-set $r2 = 0x20150401
-set $r3 = 0x92000000
-restore gx6605s.dtb binary 0x92000000
-
-# flush cache
-set $cr17 = 0x33
-
-load
-
diff --git a/board/csky/gx6605s/gx6605s.dts b/board/csky/gx6605s/gx6605s.dts
deleted file mode 100644
index e4d46f59a0..0000000000
--- a/board/csky/gx6605s/gx6605s.dts
+++ /dev/null
@@ -1,155 +0,0 @@
-/dts-v1/;
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
-/ {
-	model = "C-SKY gx6605s";
-	compatible = "csky,gx6605s";
-	#address-cells = <1>;
-	#size-cells = <1>;
-
-	memory {
-		device_type = "memory";
-		reg = <0x10000000 0x04000000>;
-	};
-
-	soc {
-		#address-cells = <1>;
-		#size-cells = <1>;
-		compatible = "simple-bus";
-		ranges;
-
-		dummy_apb: apb-clock {
-			compatible = "fixed-clock";
-			clock-frequency = <27000000>;
-			clock-output-names = "dummy_apb";
-			#clock-cells = <0>;
-		};
-
-		intc: interrupt-controller@500000 {
-			compatible = "csky,gx6605s-intc";
-			reg = <0x00500000 0x400>;
-			interrupt-controller;
-			#interrupt-cells = <1>;
-		};
-
-		timer@20a000 {
-			compatible = "csky,gx6605s-timer";
-			reg = <0x0020a000 0x400>;
-			clocks = <&dummy_apb>;
-			interrupts = <10>;
-			interrupt-parent = <&intc>;
-		};
-
-		ehci-hcd@900000 {
-			compatible = "generic-ehci";
-			reg = <0x00900000 0x400>;
-			interrupt-parent = <&intc>;
-			interrupts = <59>;
-		};
-
-		ohci-hcd0@a00000 {
-			compatible = "generic-ohci";
-			reg = <0x00a00000 0x400>;
-			interrupt-parent = <&intc>;
-			interrupts = <58>;
-		};
-
-		ohci-hcd1@b00000 {
-			compatible = "generic-ohci";
-			reg = <0x00b00000 0x400>;
-			interrupt-parent = <&intc>;
-			interrupts = <57>;
-		};
-
-		serial@403000 {
-			compatible = "ns16550a";
-			reg = <0x00403000 0x400>;
-			interrupt-parent = <&intc>;
-			interrupts = <15>;
-			clock-frequency = <29491200>;
-			baud = <115200>;
-			reg-shift = <2>;
-			reg-io-width = <1>;
-		};
-
-		gpio0: gpio@305000 {
-			compatible = "wd,mbl-gpio";
-			reg-names = "dirout", "dat", "set", "clr";
-			reg = <0x305000 4>, <0x305004 4>, <0x305008 4>, <0x30500c 4>;
-			bgpio-base = <0>;
-			#gpio-cells = <2>;
-			gpio-controller;
-		};
-
-		gpio_buttons {
-			compatible = "gpio-keys-polled";
-			#address-cells = <1>;
-			#size-cells = <0>;
-			poll-interval = <100>;
-			autorepeat;
-
-			button0 {
-				label = "button8";
-				linux,code = <KEY_LEFT>;
-				gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
-			};
-
-			button1 {
-				label = "button6";
-				linux,code = <KEY_RIGHT>;
-				gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
-			};
-
-			button2 {
-				label = "button5";
-				linux,code = <KEY_UP>;
-				gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
-			};
-
-			button3 {
-				label = "button9";
-				linux,code = <KEY_DOWN>;
-				gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
-			};
-
-			button4 {
-				label = "button7";
-				linux,code = <KEY_ENTER>;
-				gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
-			};
-		};
-
-		gpio_leds {
-			compatible = "gpio-leds";
-
-			led0 {
-				label = "led10";
-				gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
-				linux,default-trigger = "heartbeat";
-			};
-
-			led1 {
-				label = "led11";
-				gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
-				linux,default-trigger = "timer";
-			};
-
-			led2 {
-				label = "led12";
-				gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
-				linux,default-trigger = "default-on";
-			};
-
-			led3 {
-				label = "led13";
-				gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
-				linux,default-trigger = "default-on";
-			};
-		};
-	};
-
-	chosen {
-		bootargs = "console=ttyS0,115200 init=/sbin/init root=/dev/sda2 rw rootwait";
-	};
-};
diff --git a/board/csky/readme.txt b/board/csky/readme.txt
deleted file mode 100644
index dc82dcc1d7..0000000000
--- a/board/csky/readme.txt
+++ /dev/null
@@ -1,88 +0,0 @@
-C-SKY Development Kit
-
-Intro
-=====
-
-C-SKY is a CPU Architecture from www.c-sky.com and has it own instruction set.
-Just like arm and mips in linux/arch, it named as 'csky'.
-
-gx6605s develop board is made by Hangzhou Nationalchip and C-SKY.
-
-Hardware Spec:
-  * CPU: ck610 up to 594Mhz
-  * Integrate with 64MB ddr2 in SOC.
-  * Integrate with hardware Jtag.
-  * Integrate with usb-to-serial chip.
-  * USB ehci controller in SOC.
-  * Power Supply: DC 5V from two micro-usb.
-
-How to build it
-===============
-
-Configure Buildroot
--------------------
-
-The csky_gx6605s_defconfig configuration is a sample configuration with
-all that is required to bring the gx6605s Development Board:
-
-  $ make csky_gx6605s_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.ext2
-    +-- <board name>.dtb
-
-How to run it
-=============
-
-Prepare Jtag-Server
--------------------
-
-  Download the Jtag-Server here:
-
-  https://github.com/c-sky/tools/raw/master/DebugServerConsole-linux-x86_64-V4.2.00-20161213.tar.gz
-
-  Go to the unpacked directory:
-
-  $./DebugServerConsole -ddc -rstwait 1000 -prereset -port 1025
-
-  Perhaps you need to use "sudo", which need libusb to detect c510:b210
-
-  $ sudo ./DebugServerConsole -ddc -rstwait 1000 -prereset -port 1025
-
-Prepare USB drive
------------------
-
-  You sould determine which device associated to the usb drive
-  carefully. eg:
-
-  $ cat /proc/partitions
-   8       48    1971712 sdd
-   8       49     976720 sdd1
-
-  $ sudo dd if=rootfs.ext2 of=/dev/sdd1
-  $ sudo sync
-
-Run
----
-
-  Plug the usb drive on gx6605s dev board.
-
-  Setup the Console with the rate 115200/8-N-1.
-
-  $ cd output/images
-  $ ../host/bin/csky-linux-gdb -x ../../board/csky/gx6605s/gdbinit vmlinux
-
diff --git a/configs/csky_gx6605s_defconfig b/configs/csky_gx6605s_defconfig
deleted file mode 100644
index f1f9579dca..0000000000
--- a/configs/csky_gx6605s_defconfig
+++ /dev/null
@@ -1,19 +0,0 @@
-# Architecture
-BR2_csky=y
-BR2_ck610=y
-
-# System
-BR2_TARGET_ROOTFS_EXT2=y
-BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
-
-# Linux headers same as kernel, a 5.0 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y
-
-# Kernel
-BR2_LINUX_KERNEL=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.0.12"
-BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
-BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/csky/linux-ck610.config.fragment"
-BR2_LINUX_KERNEL_DTS_SUPPORT=y
-BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/csky/gx6605s/gx6605s.dts"
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH 3/5] package: drop csky support in toolchain-related packages
  2022-07-27 10:58 [Buildroot] [PATCH 0/5] arch/cskey: remove (branch csky-in-the-sky) Yann E. MORIN
  2022-07-27 10:58 ` [Buildroot] [PATCH 1/5] arch/csky: drop architecture Yann E. MORIN
  2022-07-27 10:58 ` [Buildroot] [PATCH 2/5] configs: drop csky defconfig Yann E. MORIN
@ 2022-07-27 10:58 ` Yann E. MORIN
  2022-07-27 10:58 ` [Buildroot] [PATCH 4/5] package/pkg-meson: drop csky reference in ackage infra Yann E. MORIN
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: Yann E. MORIN @ 2022-07-27 10:58 UTC (permalink / raw)
  To: buildroot; +Cc: Thomas Petazzoni, Yann E. MORIN, Guo Ren

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Guo Ren <ren_guo@c-sky.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/Makefile.in                  | 9 ---------
 package/binutils/Config.in.host      | 3 +--
 package/gcc/Config.in.host           | 4 ----
 package/gdb/Config.in                | 1 -
 package/gdb/Config.in.host           | 2 --
 package/gdb/gdb.hash                 | 3 ---
 package/gdb/gdb.mk                   | 6 ------
 package/glibc/Config.in              | 1 -
 package/linux-headers/Config.in.host | 3 ---
 9 files changed, 1 insertion(+), 31 deletions(-)

diff --git a/package/Makefile.in b/package/Makefile.in
index 580e9d14ca..ff60f85092 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -75,15 +75,6 @@ ABI := $(ABI)hf
 endif
 endif
 
-# For C-SKY abiv1 & abiv2
-ifeq ($(BR2_csky),y)
-ifeq ($(BR2_ck610),y)
-ABI = abiv1
-else
-ABI = abiv2
-endif
-endif
-
 # For FSL PowerPC there's SPE
 ifeq ($(BR2_powerpc_SPE),y)
 ABI = spe
diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host
index 5bdda25faf..9fa0cc4e8d 100644
--- a/package/binutils/Config.in.host
+++ b/package/binutils/Config.in.host
@@ -7,14 +7,13 @@ config BR2_PACKAGE_HOST_BINUTILS_SUPPORTS_CFI
 
 choice
 	prompt "Binutils Version"
-	default BR2_BINUTILS_VERSION_2_37_X if !BR2_arc && !BR2_csky
+	default BR2_BINUTILS_VERSION_2_37_X if !BR2_arc
 	default BR2_BINUTILS_VERSION_ARC if BR2_arc
 	help
 	  Select the version of binutils you wish to use.
 
 config BR2_BINUTILS_VERSION_2_36_X
 	bool "binutils 2.36.1"
-	depends on !BR2_csky
 
 config BR2_BINUTILS_VERSION_2_37_X
 	bool "binutils 2.37"
diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
index 74abad71d7..ba2a2ee072 100644
--- a/package/gcc/Config.in.host
+++ b/package/gcc/Config.in.host
@@ -27,10 +27,6 @@ config BR2_GCC_VERSION_10_X
 	# powerpc spe support has been deprecated since gcc 8.x.
 	# https://gcc.gnu.org/ml/gcc/2018-04/msg00102.html
 	depends on !BR2_powerpc_SPE
-	# C-SKY sk610 needs abiv1, which is not supported in
-	# upstream gcc. C-SKY gcc upstream support not tested
-	# with upstream binutils and glibc.
-	depends on !BR2_csky
 	# ARC HS48 rel 31 only supported by gcc arc fork.
 	depends on !BR2_archs4x_rel31
 	select BR2_TOOLCHAIN_GCC_AT_LEAST_10
diff --git a/package/gdb/Config.in b/package/gdb/Config.in
index a39837fe71..cf5a2a892c 100644
--- a/package/gdb/Config.in
+++ b/package/gdb/Config.in
@@ -52,7 +52,6 @@ config BR2_PACKAGE_GDB_DEBUGGER
 	bool "full debugger"
 	depends on BR2_USE_WCHAR
 	depends on !BR2_sh
-	depends on !BR2_csky
 	select BR2_PACKAGE_GMP if BR2_GDB_VERSION_11
 	select BR2_PACKAGE_NCURSES
 
diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host
index 43af64a1ed..15d5f52a36 100644
--- a/package/gdb/Config.in.host
+++ b/package/gdb/Config.in.host
@@ -44,7 +44,6 @@ choice
 	prompt "GDB debugger Version"
 	default BR2_GDB_VERSION_10
 	depends on !BR2_arc
-	depends on !BR2_csky
 	help
 	  Select the version of gdb you wish to use.
 
@@ -67,7 +66,6 @@ endif
 config BR2_GDB_VERSION
 	string
 	default "arc-2020.09-release-gdb" if BR2_arc
-	default "4ecb98fbc2f94dbe01b69384afbc515107de73df" if BR2_csky
 	default "9.2"      if BR2_GDB_VERSION_9_2
 	default "10.2"	   if BR2_GDB_VERSION_10 || !BR2_PACKAGE_HOST_GDB
 	default "11.2"     if BR2_GDB_VERSION_11
diff --git a/package/gdb/gdb.hash b/package/gdb/gdb.hash
index e7933374f1..cb7f4c805d 100644
--- a/package/gdb/gdb.hash
+++ b/package/gdb/gdb.hash
@@ -5,6 +5,3 @@ sha512  07e9026423438049b11f4f784d57401ece4e940570f613bd6958b3714fe7fbc2c048470b
 
 # Locally calculated (fetched from Github)
 sha512  5a2acf2fd33ab2ff589e1037ca40abda54328997dcff26b2b49b874bd3be980be5a63342962254f3c3bda98e32ce7a33af704d37353352833dee193135600458  gdb-arc-2020.09-release-gdb.tar.gz
-
-# Locally calculated (fetched from https://github.com/c-sky/binutils-gdb)
-sha512  c421e1f3c0d6cfb3c04544573c0c4b0075c8d8e3d563c6c234fcc1e4c2167ab203d1e57aec3b58abd348dc46f8cf9b47b753d3a43dba3ea970c9c9a6bd78c07b  gdb-4ecb98fbc2f94dbe01b69384afbc515107de73df.tar.gz
diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
index 9bde2beea1..86e57481de 100644
--- a/package/gdb/gdb.mk
+++ b/package/gdb/gdb.mk
@@ -14,12 +14,6 @@ GDB_SOURCE = gdb-$(GDB_VERSION).tar.gz
 GDB_FROM_GIT = y
 endif
 
-ifeq ($(BR2_csky),y)
-GDB_SITE = $(call github,c-sky,binutils-gdb,$(GDB_VERSION))
-GDB_SOURCE = gdb-$(GDB_VERSION).tar.gz
-GDB_FROM_GIT = y
-endif
-
 GDB_LICENSE = GPL-2.0+, LGPL-2.0+, GPL-3.0+, LGPL-3.0+
 GDB_LICENSE_FILES = COPYING COPYING.LIB COPYING3 COPYING3.LIB
 GDB_CPE_ID_VENDOR = gnu
diff --git a/package/glibc/Config.in b/package/glibc/Config.in
index c0526cdd9e..23cbfcd9aa 100644
--- a/package/glibc/Config.in
+++ b/package/glibc/Config.in
@@ -21,7 +21,6 @@ config BR2_PACKAGE_GLIBC_ARCH_SUPPORTS
 	default y if BR2_microblaze
 	default y if BR2_nios2
 	default y if BR2_arc && BR2_ARC_ATOMIC_EXT
-	default y if BR2_csky
 	depends on !BR2_powerpc_SPE
 	depends on BR2_RISCV_ISA_RVA || !BR2_riscv
 	depends on BR2_USE_MMU
diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host
index 678c3d35f7..c2e872abfb 100644
--- a/package/linux-headers/Config.in.host
+++ b/package/linux-headers/Config.in.host
@@ -30,18 +30,15 @@ config BR2_KERNEL_HEADERS_AS_KERNEL
 config BR2_KERNEL_HEADERS_4_9
 	bool "Linux 4.9.x kernel headers"
 	depends on !BR2_riscv
-	depends on !BR2_csky
 	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_csky
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
 
 config BR2_KERNEL_HEADERS_4_19
 	bool "Linux 4.19.x kernel headers"
-	depends on !BR2_csky
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
 
 config BR2_KERNEL_HEADERS_5_4
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH 4/5] package/pkg-meson: drop csky reference in ackage infra
  2022-07-27 10:58 [Buildroot] [PATCH 0/5] arch/cskey: remove (branch csky-in-the-sky) Yann E. MORIN
                   ` (2 preceding siblings ...)
  2022-07-27 10:58 ` [Buildroot] [PATCH 3/5] package: drop csky support in toolchain-related packages Yann E. MORIN
@ 2022-07-27 10:58 ` Yann E. MORIN
  2022-07-27 10:58 ` [Buildroot] [PATCH 5/5] package: drop csky conditionals Yann E. MORIN
  2022-07-27 15:04 ` [Buildroot] [PATCH 0/5] arch/cskey: remove (branch csky-in-the-sky) Thomas Petazzoni via buildroot
  5 siblings, 0 replies; 9+ messages in thread
From: Yann E. MORIN @ 2022-07-27 10:58 UTC (permalink / raw)
  To: buildroot; +Cc: Thomas Petazzoni, Yann E. MORIN, Guo Ren

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Guo Ren <ren_guo@c-sky.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/pkg-meson.mk | 2 --
 1 file changed, 2 deletions(-)

diff --git a/package/pkg-meson.mk b/package/pkg-meson.mk
index 0835e08e3a..156b005fdd 100644
--- a/package/pkg-meson.mk
+++ b/package/pkg-meson.mk
@@ -36,8 +36,6 @@ else ifeq ($(BR2_arm)$(BR2_armeb),y)
 PKG_MESON_TARGET_CPU_FAMILY = arm
 else ifeq ($(BR2_aarch64)$(BR2_aarch64_be),y)
 PKG_MESON_TARGET_CPU_FAMILY = aarch64
-else ifeq ($(BR2_csky),y)
-PKG_MESON_TARGET_CPU_FAMILY = csky
 else ifeq ($(BR2_i386),y)
 PKG_MESON_TARGET_CPU_FAMILY = x86
 else ifeq ($(BR2_m68k),y)
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH 5/5] package: drop csky conditionals
  2022-07-27 10:58 [Buildroot] [PATCH 0/5] arch/cskey: remove (branch csky-in-the-sky) Yann E. MORIN
                   ` (3 preceding siblings ...)
  2022-07-27 10:58 ` [Buildroot] [PATCH 4/5] package/pkg-meson: drop csky reference in ackage infra Yann E. MORIN
@ 2022-07-27 10:58 ` Yann E. MORIN
  2022-07-27 15:04 ` [Buildroot] [PATCH 0/5] arch/cskey: remove (branch csky-in-the-sky) Thomas Petazzoni via buildroot
  5 siblings, 0 replies; 9+ messages in thread
From: Yann E. MORIN @ 2022-07-27 10:58 UTC (permalink / raw)
  To: buildroot; +Cc: Thomas Petazzoni, Yann E. MORIN, Guo Ren

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Guo Ren <ren_guo@c-sky.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/python-greenlet/Config.in | 1 -
 package/sedutil/Config.in         | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/package/python-greenlet/Config.in b/package/python-greenlet/Config.in
index c73eeb7b15..9f66ebe119 100644
--- a/package/python-greenlet/Config.in
+++ b/package/python-greenlet/Config.in
@@ -2,7 +2,6 @@ config BR2_PACKAGE_PYTHON_GREENLET_ARCH_SUPPORTS
 	bool
 	default y if BR2_arm || BR2_armeb
 	default y if BR2_aarch64
-	default y if BR2_csky
 	default y if BR2_m68k
 	default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
 	default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
diff --git a/package/sedutil/Config.in b/package/sedutil/Config.in
index f3452b60fb..e695f2bed7 100644
--- a/package/sedutil/Config.in
+++ b/package/sedutil/Config.in
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_SEDUTIL_ARCH_SUPPORTS
 	bool
 	# no big endian support
-	default y if BR2_arcle || BR2_arm || BR2_aarch64 || BR2_csky \
+	default y if BR2_arcle || BR2_arm || BR2_aarch64 \
 	       || BR2_i386 || BR2_microblazeel || BR2_mipsel \
 	       || BR2_mips64el || BR2_nios2 || BR2_powerpc64le \
 	       || BR2_sh4 || BR2_sh4a || BR2_x86_64 \
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [Buildroot] [PATCH 1/5] arch/csky: drop architecture
  2022-07-27 10:58 ` [Buildroot] [PATCH 1/5] arch/csky: drop architecture Yann E. MORIN
@ 2022-07-27 14:37   ` Romain Naour
  0 siblings, 0 replies; 9+ messages in thread
From: Romain Naour @ 2022-07-27 14:37 UTC (permalink / raw)
  To: Yann E. MORIN, buildroot; +Cc: Guo Ren, Thomas Petazzoni

Hello Yann,

Le 27/07/2022 à 12:58, Yann E. MORIN a écrit :
> We currently have no internal and no external toolchain for csky.
> The website is down (no https:// available, and the http:// index
> page is 404).
> 
> This commit removes the architecture entry; remnants will be dropped in
> followup changes.

Reviewed-by: Romain Naour <romain.naour@smile.fr>

Best regards,
Romain


> 
> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
> Cc: Guo Ren <ren_guo@c-sky.com>
> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> ---
>  Config.in.legacy    |  7 ++++++
>  DEVELOPERS          |  1 -
>  arch/Config.in      | 14 ------------
>  arch/Config.in.csky | 52 ---------------------------------------------
>  arch/arch.mk.csky   | 26 -----------------------
>  5 files changed, 7 insertions(+), 93 deletions(-)
>  delete mode 100644 arch/Config.in.csky
>  delete mode 100644 arch/arch.mk.csky
> 
> diff --git a/Config.in.legacy b/Config.in.legacy
> index 949bca1cd0..24b4236ade 100644
> --- a/Config.in.legacy
> +++ b/Config.in.legacy
> @@ -146,6 +146,13 @@ endif
>  
>  comment "Legacy options removed in 2022.08"
>  
> +config BR2_csky
> +	bool "csky architecture removed"
> +	select BR2_LEGACY
> +	help
> +	  The csky architecture was removed, by lack of toolchain
> +	  support.
> +
>  config BR2_PACKAGE_MESA3D_DRI_DRIVER_I915
>  	bool "mesa DRI i915 driver removed"
>  	select BR2_LEGACY
> diff --git a/DEVELOPERS b/DEVELOPERS
> index 270fc52de1..04c9588f34 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -1182,7 +1182,6 @@ F:	support/testing/tests/package/sample_python_pybind.py
>  F:	support/testing/tests/package/test_python_pybind.py
>  
>  N:	Guo Ren <ren_guo@c-sky.com>
> -F:	arch/Config.in.csky
>  F:	board/csky/
>  F:	configs/csky_*
>  
> diff --git a/arch/Config.in b/arch/Config.in
> index 1d38c7a065..1c0c400a98 100644
> --- a/arch/Config.in
> +++ b/arch/Config.in
> @@ -70,16 +70,6 @@ config BR2_aarch64_be
>  	  http://www.arm.com/products/processors/instruction-set-architectures/armv8-architecture.php
>  	  http://en.wikipedia.org/wiki/ARM
>  
> -config BR2_csky
> -	bool "csky"
> -	select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT
> -	select BR2_USE_MMU
> -	select BR2_ARCH_NEEDS_GCC_AT_LEAST_9
> -	help
> -	  csky is processor IP from china.
> -	  http://www.c-sky.com/
> -	  http://www.github.com/c-sky
> -
>  config BR2_i386
>  	bool "i386"
>  	select BR2_USE_MMU
> @@ -376,10 +366,6 @@ if BR2_arm || BR2_armeb || BR2_aarch64 || BR2_aarch64_be
>  source "arch/Config.in.arm"
>  endif
>  
> -if BR2_csky
> -source "arch/Config.in.csky"
> -endif
> -
>  if BR2_m68k
>  source "arch/Config.in.m68k"
>  endif
> diff --git a/arch/Config.in.csky b/arch/Config.in.csky
> deleted file mode 100644
> index b20b39e225..0000000000
> --- a/arch/Config.in.csky
> +++ /dev/null
> @@ -1,52 +0,0 @@
> -choice
> -	prompt "Target Architecture Variant"
> -	default BR2_ck610
> -	help
> -	  Specific CPU variant to use
> -
> -config BR2_ck610
> -	# Not supported by upstream gcc <= 9, and handled as a special
> -	# exception in package/gcc/Config.in.host
> -	bool "ck610"
> -
> -config BR2_ck807
> -	bool "ck807"
> -
> -config BR2_ck810
> -	bool "ck810"
> -
> -config BR2_ck860
> -	bool "ck860"
> -
> -endchoice
> -
> -config BR2_CSKY_FPU
> -	bool "Enable FPU coprocessor"
> -	depends on BR2_ck810 || BR2_ck807 || BR2_ck860
> -	help
> -	  You can say N here if your C-SKY CPU doesn't have a
> -	  Floating-Point Coprocessor or if you don't need FPU support
> -	  for your user-space programs.
> -
> -config BR2_CSKY_VDSP
> -	bool "Enable VDSP enhanced instructions Co-processor"
> -	depends on BR2_CSKY_FPU
> -
> -config BR2_GCC_TARGET_FLOAT_ABI
> -	default "soft"		if !BR2_CSKY_FPU
> -	default "hard"		if BR2_CSKY_FPU
> -
> -config BR2_ARCH
> -	default "csky"
> -
> -config BR2_NORMALIZED_ARCH
> -	default "csky"
> -
> -config BR2_ENDIAN
> -	default "LITTLE"
> -
> -config BR2_READELF_ARCH_NAME
> -	default "CSKY"
> -
> -# vim: ft=kconfig
> -# -*- mode:kconfig; -*-
> diff --git a/arch/arch.mk.csky b/arch/arch.mk.csky
> deleted file mode 100644
> index fb59ae22fd..0000000000
> --- a/arch/arch.mk.csky
> +++ /dev/null
> @@ -1,26 +0,0 @@
> -#
> -# Configure the GCC_TARGET_ARCH variable and append the
> -# appropriate C-SKY ISA extensions.
> -#
> -
> -ifeq ($(BR2_csky),y)
> -
> -ifeq ($(BR2_ck610),y)
> -GCC_TARGET_CPU := ck610
> -else ifeq ($(BR2_ck807),y)
> -GCC_TARGET_CPU := ck807
> -else ifeq ($(BR2_ck810),y)
> -GCC_TARGET_CPU := ck810
> -else ifeq ($(BR2_ck860),y)
> -GCC_TARGET_CPU := ck860
> -endif
> -
> -ifeq ($(BR2_CSKY_FPU),y)
> -GCC_TARGET_CPU := $(GCC_TARGET_CPU)f
> -endif
> -
> -ifeq ($(BR2_CSKY_VDSP),y)
> -GCC_TARGET_CPU := $(GCC_TARGET_CPU)v
> -endif
> -
> -endif

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Buildroot] [PATCH 2/5] configs: drop csky defconfig
  2022-07-27 10:58 ` [Buildroot] [PATCH 2/5] configs: drop csky defconfig Yann E. MORIN
@ 2022-07-27 14:39   ` Romain Naour
  0 siblings, 0 replies; 9+ messages in thread
From: Romain Naour @ 2022-07-27 14:39 UTC (permalink / raw)
  To: Yann E. MORIN, buildroot; +Cc: Guo Ren, Thomas Petazzoni

Hello Yann,

Le 27/07/2022 à 12:58, Yann E. MORIN a écrit :

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/2750359289

Best regards,
Romain


> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
> Cc: Guo Ren <ren_guo@c-sky.com>
> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> ---
>  DEVELOPERS                     |   4 -
>  board/csky/gx6605s/gdbinit     |  25 ------
>  board/csky/gx6605s/gx6605s.dts | 155 ---------------------------------
>  board/csky/readme.txt          |  88 -------------------
>  configs/csky_gx6605s_defconfig |  19 ----
>  5 files changed, 291 deletions(-)
>  delete mode 100644 board/csky/gx6605s/gdbinit
>  delete mode 100644 board/csky/gx6605s/gx6605s.dts
>  delete mode 100644 board/csky/readme.txt
>  delete mode 100644 configs/csky_gx6605s_defconfig
> 
> diff --git a/DEVELOPERS b/DEVELOPERS
> index 04c9588f34..7747cefa0d 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -1181,10 +1181,6 @@ F:	support/testing/tests/package/br2-external/python-pybind
>  F:	support/testing/tests/package/sample_python_pybind.py
>  F:	support/testing/tests/package/test_python_pybind.py
>  
> -N:	Guo Ren <ren_guo@c-sky.com>
> -F:	board/csky/
> -F:	configs/csky_*
> -
>  N:	Gustavo Heinz <gustavo@gsthnz.com>
>  F:	package/python-m2crypto/
>  
> diff --git a/board/csky/gx6605s/gdbinit b/board/csky/gx6605s/gdbinit
> deleted file mode 100644
> index d602aad46d..0000000000
> --- a/board/csky/gx6605s/gdbinit
> +++ /dev/null
> @@ -1,25 +0,0 @@
> -tar jtag jtag://127.0.0.1:1025
> -reset
> -
> -# setup CCR (Cache Config Reg)
> -# 0-1:MP,2:IE,3:DE,4:WB,5:RS,6:Z,7:BE
> -set $cr18 = 0x7d
> -
> -# vendor custom setup, double cache line & preload
> -set $cr30 = 0xc
> -
> -# pin mux for serial8250
> -set *(unsigned int *) 0xa030a14c |= (1 << 22) | (1 << 23)
> -
> -# pass devicetree blob
> -# r2 is magic
> -# r3 is address
> -set $r2 = 0x20150401
> -set $r3 = 0x92000000
> -restore gx6605s.dtb binary 0x92000000
> -
> -# flush cache
> -set $cr17 = 0x33
> -
> -load
> -
> diff --git a/board/csky/gx6605s/gx6605s.dts b/board/csky/gx6605s/gx6605s.dts
> deleted file mode 100644
> index e4d46f59a0..0000000000
> --- a/board/csky/gx6605s/gx6605s.dts
> +++ /dev/null
> @@ -1,155 +0,0 @@
> -/dts-v1/;
> -#include <dt-bindings/gpio/gpio.h>
> -#include <dt-bindings/input/input.h>
> -
> -/ {
> -	model = "C-SKY gx6605s";
> -	compatible = "csky,gx6605s";
> -	#address-cells = <1>;
> -	#size-cells = <1>;
> -
> -	memory {
> -		device_type = "memory";
> -		reg = <0x10000000 0x04000000>;
> -	};
> -
> -	soc {
> -		#address-cells = <1>;
> -		#size-cells = <1>;
> -		compatible = "simple-bus";
> -		ranges;
> -
> -		dummy_apb: apb-clock {
> -			compatible = "fixed-clock";
> -			clock-frequency = <27000000>;
> -			clock-output-names = "dummy_apb";
> -			#clock-cells = <0>;
> -		};
> -
> -		intc: interrupt-controller@500000 {
> -			compatible = "csky,gx6605s-intc";
> -			reg = <0x00500000 0x400>;
> -			interrupt-controller;
> -			#interrupt-cells = <1>;
> -		};
> -
> -		timer@20a000 {
> -			compatible = "csky,gx6605s-timer";
> -			reg = <0x0020a000 0x400>;
> -			clocks = <&dummy_apb>;
> -			interrupts = <10>;
> -			interrupt-parent = <&intc>;
> -		};
> -
> -		ehci-hcd@900000 {
> -			compatible = "generic-ehci";
> -			reg = <0x00900000 0x400>;
> -			interrupt-parent = <&intc>;
> -			interrupts = <59>;
> -		};
> -
> -		ohci-hcd0@a00000 {
> -			compatible = "generic-ohci";
> -			reg = <0x00a00000 0x400>;
> -			interrupt-parent = <&intc>;
> -			interrupts = <58>;
> -		};
> -
> -		ohci-hcd1@b00000 {
> -			compatible = "generic-ohci";
> -			reg = <0x00b00000 0x400>;
> -			interrupt-parent = <&intc>;
> -			interrupts = <57>;
> -		};
> -
> -		serial@403000 {
> -			compatible = "ns16550a";
> -			reg = <0x00403000 0x400>;
> -			interrupt-parent = <&intc>;
> -			interrupts = <15>;
> -			clock-frequency = <29491200>;
> -			baud = <115200>;
> -			reg-shift = <2>;
> -			reg-io-width = <1>;
> -		};
> -
> -		gpio0: gpio@305000 {
> -			compatible = "wd,mbl-gpio";
> -			reg-names = "dirout", "dat", "set", "clr";
> -			reg = <0x305000 4>, <0x305004 4>, <0x305008 4>, <0x30500c 4>;
> -			bgpio-base = <0>;
> -			#gpio-cells = <2>;
> -			gpio-controller;
> -		};
> -
> -		gpio_buttons {
> -			compatible = "gpio-keys-polled";
> -			#address-cells = <1>;
> -			#size-cells = <0>;
> -			poll-interval = <100>;
> -			autorepeat;
> -
> -			button0 {
> -				label = "button8";
> -				linux,code = <KEY_LEFT>;
> -				gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
> -			};
> -
> -			button1 {
> -				label = "button6";
> -				linux,code = <KEY_RIGHT>;
> -				gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
> -			};
> -
> -			button2 {
> -				label = "button5";
> -				linux,code = <KEY_UP>;
> -				gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
> -			};
> -
> -			button3 {
> -				label = "button9";
> -				linux,code = <KEY_DOWN>;
> -				gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
> -			};
> -
> -			button4 {
> -				label = "button7";
> -				linux,code = <KEY_ENTER>;
> -				gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
> -			};
> -		};
> -
> -		gpio_leds {
> -			compatible = "gpio-leds";
> -
> -			led0 {
> -				label = "led10";
> -				gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
> -				linux,default-trigger = "heartbeat";
> -			};
> -
> -			led1 {
> -				label = "led11";
> -				gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
> -				linux,default-trigger = "timer";
> -			};
> -
> -			led2 {
> -				label = "led12";
> -				gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
> -				linux,default-trigger = "default-on";
> -			};
> -
> -			led3 {
> -				label = "led13";
> -				gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
> -				linux,default-trigger = "default-on";
> -			};
> -		};
> -	};
> -
> -	chosen {
> -		bootargs = "console=ttyS0,115200 init=/sbin/init root=/dev/sda2 rw rootwait";
> -	};
> -};
> diff --git a/board/csky/readme.txt b/board/csky/readme.txt
> deleted file mode 100644
> index dc82dcc1d7..0000000000
> --- a/board/csky/readme.txt
> +++ /dev/null
> @@ -1,88 +0,0 @@
> -C-SKY Development Kit
> -
> -Intro
> -=====
> -
> -C-SKY is a CPU Architecture from www.c-sky.com and has it own instruction set.
> -Just like arm and mips in linux/arch, it named as 'csky'.
> -
> -gx6605s develop board is made by Hangzhou Nationalchip and C-SKY.
> -
> -Hardware Spec:
> -  * CPU: ck610 up to 594Mhz
> -  * Integrate with 64MB ddr2 in SOC.
> -  * Integrate with hardware Jtag.
> -  * Integrate with usb-to-serial chip.
> -  * USB ehci controller in SOC.
> -  * Power Supply: DC 5V from two micro-usb.
> -
> -How to build it
> -===============
> -
> -Configure Buildroot
> --------------------
> -
> -The csky_gx6605s_defconfig configuration is a sample configuration with
> -all that is required to bring the gx6605s Development Board:
> -
> -  $ make csky_gx6605s_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.ext2
> -    +-- <board name>.dtb
> -
> -How to run it
> -=============
> -
> -Prepare Jtag-Server
> --------------------
> -
> -  Download the Jtag-Server here:
> -
> -  https://github.com/c-sky/tools/raw/master/DebugServerConsole-linux-x86_64-V4.2.00-20161213.tar.gz
> -
> -  Go to the unpacked directory:
> -
> -  $./DebugServerConsole -ddc -rstwait 1000 -prereset -port 1025
> -
> -  Perhaps you need to use "sudo", which need libusb to detect c510:b210
> -
> -  $ sudo ./DebugServerConsole -ddc -rstwait 1000 -prereset -port 1025
> -
> -Prepare USB drive
> ------------------
> -
> -  You sould determine which device associated to the usb drive
> -  carefully. eg:
> -
> -  $ cat /proc/partitions
> -   8       48    1971712 sdd
> -   8       49     976720 sdd1
> -
> -  $ sudo dd if=rootfs.ext2 of=/dev/sdd1
> -  $ sudo sync
> -
> -Run
> ----
> -
> -  Plug the usb drive on gx6605s dev board.
> -
> -  Setup the Console with the rate 115200/8-N-1.
> -
> -  $ cd output/images
> -  $ ../host/bin/csky-linux-gdb -x ../../board/csky/gx6605s/gdbinit vmlinux
> -
> diff --git a/configs/csky_gx6605s_defconfig b/configs/csky_gx6605s_defconfig
> deleted file mode 100644
> index f1f9579dca..0000000000
> --- a/configs/csky_gx6605s_defconfig
> +++ /dev/null
> @@ -1,19 +0,0 @@
> -# Architecture
> -BR2_csky=y
> -BR2_ck610=y
> -
> -# System
> -BR2_TARGET_ROOTFS_EXT2=y
> -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
> -
> -# Linux headers same as kernel, a 5.0 series
> -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y
> -
> -# Kernel
> -BR2_LINUX_KERNEL=y
> -BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.0.12"
> -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
> -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/csky/linux-ck610.config.fragment"
> -BR2_LINUX_KERNEL_DTS_SUPPORT=y
> -BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/csky/gx6605s/gx6605s.dts"

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Buildroot] [PATCH 0/5] arch/cskey: remove (branch csky-in-the-sky)
  2022-07-27 10:58 [Buildroot] [PATCH 0/5] arch/cskey: remove (branch csky-in-the-sky) Yann E. MORIN
                   ` (4 preceding siblings ...)
  2022-07-27 10:58 ` [Buildroot] [PATCH 5/5] package: drop csky conditionals Yann E. MORIN
@ 2022-07-27 15:04 ` Thomas Petazzoni via buildroot
  5 siblings, 0 replies; 9+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-07-27 15:04 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: Guo Ren, buildroot

Hello,

On Wed, 27 Jul 2022 12:58:05 +0200
"Yann E. MORIN" <yann.morin.1998@free.fr> wrote:

> This series removes support for the csky architecture in Buildroot.
> 
> We haven't had a toolchain for csky for a long time, so it means csky
> is, for all practical concerns, unbuildable:
> 
>   - support for the internal toolchain was dropped in 2021-10-17 with
>     commit 547d681b45ed (package/gcc: remove csky version);
> 
>   - we have no external, pre-built toolchain for csky.
> 
> So, drop the support for csky altogether.

It took me a while to find the small joke that you always include when
dropping the support for an architecture, but I found it! I won't
disclose what it is, to not spoil others :-)

I applied, with the following changes:

- On patch 3/5, I removed the gdb patch that was specific to the C-SKY
  special version

- On patch 4/5, I fixed the small typo in the commit title.

Thanks for this work!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-07-27 15:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-27 10:58 [Buildroot] [PATCH 0/5] arch/cskey: remove (branch csky-in-the-sky) Yann E. MORIN
2022-07-27 10:58 ` [Buildroot] [PATCH 1/5] arch/csky: drop architecture Yann E. MORIN
2022-07-27 14:37   ` Romain Naour
2022-07-27 10:58 ` [Buildroot] [PATCH 2/5] configs: drop csky defconfig Yann E. MORIN
2022-07-27 14:39   ` Romain Naour
2022-07-27 10:58 ` [Buildroot] [PATCH 3/5] package: drop csky support in toolchain-related packages Yann E. MORIN
2022-07-27 10:58 ` [Buildroot] [PATCH 4/5] package/pkg-meson: drop csky reference in ackage infra Yann E. MORIN
2022-07-27 10:58 ` [Buildroot] [PATCH 5/5] package: drop csky conditionals Yann E. MORIN
2022-07-27 15:04 ` [Buildroot] [PATCH 0/5] arch/cskey: remove (branch csky-in-the-sky) Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox