aboutsummaryrefslogtreecommitdiff
path: root/configs/csky_gx6605s_defconfig
diff options
context:
space:
mode:
authorGravatar Guo Ren <ren_guo@c-sky.com>2019-06-24 19:43:01 +0800
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-08-02 23:42:51 +0200
commit6e359e26e355fbb1f8a078b20e735ec97f6e07d9 (patch)
treefecba37b4a5f2fe29cddf7ebb20f1e2c84804aec /configs/csky_gx6605s_defconfig
parent2834df2b4be44b320215aae0d5310e2f06da5dd8 (diff)
downloadbuildroot-6e359e26e355fbb1f8a078b20e735ec97f6e07d9.tar.gz
buildroot-6e359e26e355fbb1f8a078b20e735ec97f6e07d9.tar.bz2
configs/csky_gx6605s: bump kernel to 5.0 and use buildroot toolchain
The most important change is to use the toolchain compiled by buildroot itself. We also bump kernel to 5.0 with kernel.org. Gx6605s' PHYS_OFFSET if 0x10000000 and we make qemu and gx6605s the same to ease maintaince. This PHYS_OFFSET is also OK for 610 qemu. In this patch we add gx6605s.dts in board/csky, because linux-5.0 doesn't contain gx6605s.dts in its tree. Signed-off-by: Guo Ren <ren_guo@c-sky.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'configs/csky_gx6605s_defconfig')
-rw-r--r--configs/csky_gx6605s_defconfig29
1 files changed, 15 insertions, 14 deletions
diff --git a/configs/csky_gx6605s_defconfig b/configs/csky_gx6605s_defconfig
index d0a2aadc6d..f1f9579dca 100644
--- a/configs/csky_gx6605s_defconfig
+++ b/configs/csky_gx6605s_defconfig
@@ -1,18 +1,19 @@
+# Architecture
BR2_csky=y
-BR2_GLOBAL_PATCH_DIR="board/csky/gx6605s/patches"
-BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
-BR2_TOOLCHAIN_EXTERNAL_URL="https://github.com/c-sky/tools/raw/master/csky-linux-tools-x86_64-glibc-linux-4.9.56-20180128.tar.gz"
-BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="csky-linux"
-BR2_TOOLCHAIN_EXTERNAL_GCC_6=y
-BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_9=y
-BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
-BR2_TOOLCHAIN_EXTERNAL_CXX=y
-BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY=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_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/c-sky/linux-4.9.y/archive/6064a9bdf48cefbccc4f6472dd04251f0dec1931.tar.gz"
-BR2_LINUX_KERNEL_DEFCONFIG="gx66xx"
+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_INTREE_DTS_NAME="gx6605s"
-BR2_TARGET_ROOTFS_EXT2=y
+BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/csky/gx6605s/gx6605s.dts"