C-SKY 32-Bit CPUs Aim For Initial Support In Linux 4.20~5.0
Written by Michael Larabel in Hardware on 27 October 2018 at 07:40 AM EDT. 9 Comments
HARDWARE --
The Linux port to the C-SKY 32-bit CPU architecture is trying to get into the Linux 4.20~5.0 kernel.

At the start of the year is when the Linux kernel port to C-SKY was posted while now it's hoping to be mainlined for this next kernel cycle. C-SKY is a Chinese 32-bit CPU architecture for embedded 32-bit SoCs. These SoCs are low-power and intended for use-cases like cameras, set-top TV/media boxes, digital video recorders, printers, and other consumer appliances as well as industrial devices.

C-SKY Microsystems has joined the RISC-V Foundation but this current architecture doesn't appear based on RISC-V at all. In addition to the kernel bring-up, this year they have also volleyed patches for porting GCC to C-SKY along with other open-source user-space toolchain work for this new architecture.

The prominent C-SKY CPU core at this point appears to be the CK801 and supports 16/32-bit variable length instructions, only relies upon 70+ core instructions, and has a 2-stage pipeline.


Sent out this Saturday morning was a pull request seeking the inclusion of this "csky" kernel port to be added for Linux 4.20~5.0. The port has already gone through ten rounds of public code review over the past number of months and the port adds over 11,000 lines of code for bringing up the new architecture.

As of writing this port hasn't yet been merged so we'll see if Linus Torvalds decides it's ready for integration or will have to hold off for another cycle.

Until the rest of the C-SKY open-source support gets upstreamed, the company has made available their patches via GitHub against Glibc, U-Boot, uClibc, GCC, QEMU, and Binutils.

C-SKY is just one of several homegrown Chinese CPU efforts happening at the moment. Linux 4.20 is also bringing support for the AMD Zen-based Hygon Dhyana SoCs while there is also the VIA-partnered Zhaoxin CPUs that already have Linux support. Additionally there is also the long-standing MIPS-based Loongson processors that have long been supported.
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Related Hardware News
Popular News This Week