arch/cskey: remove (branch csky-in-the-sky)
Subsystems (2)
cover arch/cskey: remove (branch csky-in-the-sky)
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
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | 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 [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 1/5 arch/csky: drop architecture
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.
--- 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
Config.in.legacy +7 -0
@@ -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
DEVELOPERS +0 -1
@@ -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 <[email protected]> -F: arch/Config.in.csky F: board/csky/ F: configs/csky_*
arch/Config.in +0 -14
@@ -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
arch/Config.in.csky deleted +0 -52
52 lines not on this page · raw message
arch/arch.mk.csky deleted +0 -26
@@ -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
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 1/5] arch/csky: drop architecture
Hello Yann,
Le 27/07/2022 à 12:58, Yann E. MORIN a écrit :
Quoted 6 lines
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.
Best regards,
Romain
Quoted 157 lines
Signed-off-by Yann E. MORIN <[email protected]>Cc Guo Ren <[email protected]>Cc Thomas Petazzoni <[email protected]>Cc Arnout Vandecappelle (Essensium/Mind) <[email protected]>--- 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.cskyConfig.in.legacy +7
-0@@ -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_LEGACYDEVELOPERS +0
-1@@ -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 <[email protected]> -F: arch/Config.in.csky F: board/csky/ F: configs/csky_*arch/Config.in +0
-14@@ -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" endifarch/Config.in.csky deleted +0
-52@@ -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; -*-arch/arch.mk.csky deleted +0
-16@@ -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
arch/arch.mk.csky line 26
Quoted 10 lines
arch/arch.mk.csky deleted +0
-10- -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
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/5 configs: drop csky defconfig
In reply to Yann E. MORIN--- 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
DEVELOPERS +0 -4
@@ -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 <[email protected]> -F: board/csky/ -F: configs/csky_* - N: Gustavo Heinz <[email protected]> F: package/python-m2crypto/
board/csky/gx6605s/gdbinit deleted +0 -25
@@ -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 -
board/csky/gx6605s/gx6605s.dts deleted +0 -155
155 lines not on this page · raw message
board/csky/readme.txt deleted +0 -88
88 lines not on this page · raw message
configs/csky_gx6605s_defconfig deleted +0 -19
@@ -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"
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 2/5] configs: drop csky defconfig
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
Quoted 332 lines
Signed-off-by Yann E. MORIN <[email protected]>Cc Guo Ren <[email protected]>Cc Thomas Petazzoni <[email protected]>Cc Arnout Vandecappelle (Essensium/Mind) <[email protected]>--- 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_defconfigDEVELOPERS +0
-4@@ -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 <[email protected]> -F: board/csky/ -F: configs/csky_* - N: Gustavo Heinz <[email protected]> F: package/python-m2crypto/board/csky/gx6605s/gdbinit deleted +0
-25@@ -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 -board/csky/gx6605s/gx6605s.dts deleted +0
-155@@ -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"; - }; -};board/csky/readme.txt deleted +0
-88@@ -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 -configs/csky_gx6605s_defconfig deleted +0
-9@@ -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
configs/csky_gx6605s_defconfig line 19
Quoted 10 lines
configs/csky_gx6605s_defconfig deleted +0
-10-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
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 3/5 package: drop csky support in toolchain-related packages
In reply to Yann E. MORIN--- 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(-)
package/Makefile.in +0 -9
@@ -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
package/binutils/Config.in.host +1 -2
@@ -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"
package/gcc/Config.in.host +0 -4
@@ -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
package/gdb/Config.in +0 -1
@@ -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
package/gdb/Config.in.host +0 -2
@@ -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
package/gdb/gdb.hash +0 -3
@@ -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
package/gdb/gdb.mk +0 -6
@@ -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
package/glibc/Config.in +0 -1
@@ -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
package/linux-headers/Config.in.host +0 -3
@@ -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
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 4/5 package/pkg-meson: drop csky reference in ackage infra
In reply to Yann E. MORIN--- package/pkg-meson.mk | 2 -- 1 file changed, 2 deletions(-)
package/pkg-meson.mk +0 -2
@@ -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)
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 5/5 package: drop csky conditionals
In reply to Yann E. MORIN--- package/python-greenlet/Config.in | 1 - package/sedutil/Config.in | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-)
package/python-greenlet/Config.in +0 -1
@@ -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
package/sedutil/Config.in +1 -1
@@ -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 \
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hello,
Quoted 11 lines · On Wed, 27 Jul 2022 12:58:05 +0200 "Yann E. MORIN" <[email protected]>…
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
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot