31f5c8561f
This patch updates the csky custom external toolchain to fix a broken host dependency of gdb on libexpat.so.0 (most hosts now ship libexpat.so.1). gdb is required to copy and and boot the kernel (see board/csky/readme.txt). The updated gdb no longer has this host dependency, which solves the issue. Since this external toolchain was built and tested with csky kernel 4.9.56, this patch also updates to that kernel version. Finally, this 4.9.56 csky kernel changed its default bootargs. So we add a patch to preserve the same behavior as the previous version. Signed-off-by: Julien Olivain <juju@cotds.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
19 lines
813 B
Plaintext
19 lines
813 B
Plaintext
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_TARGET_GENERIC_GETTY_PORT="ttyS0"
|
|
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_DTS_SUPPORT=y
|
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="gx6605s"
|
|
BR2_TARGET_ROOTFS_EXT2=y
|