build/config/sources/families/thead.conf

39 lines
784 B
Plaintext

#
# SPDX-License-Identifier: GPL-2.0
#
# Copyright (c) 2013-2023 Igor Pecovnik, igor@armbian.com
#
# This file is a part of the Armbian Build Framework
# https://github.com/armbian/build/
#
ARCH="riscv64"
BOOTSOURCE='https://github.com/chainsx/thead-u-boot'
BOOTBRANCH='branch:extlinux'
BOOTPATCHDIR="legacy"
UBOOT_TARGET_MAP=";;u-boot-with-spl.bin"
LINUXFAMILY="thead"
case "${BRANCH}" in
legacy)
UBOOT_COMPILER="riscv64-linux-gnu-"
UBOOT_USE_GCC='< 8.0'
BOOTDIR='u-boot-thead'
KERNELSOURCE='https://github.com/revyos/thead-kernel'
KERNELBRANCH="branch:lpi4a"
declare -g KERNEL_MAJOR_MINOR="5.10"
KERNELPATCHDIR="thead-${BRANCH}"
LINUXCONFIG="linux-thead-${BRANCH}"
;;
esac
write_uboot_platform() {
echo "Please manually use fastboot to write u-boot."
}