mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
50 lines
1.6 KiB
Plaintext
50 lines
1.6 KiB
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/
|
|
#
|
|
# shellcheck source=config/sources/families/include/rockchip64_common.inc
|
|
source "${BASH_SOURCE%/*}/include/rockchip64_common.inc"
|
|
|
|
BOOTSOURCE='https://github.com/radxa/u-boot.git'
|
|
BOOTBRANCH='branch:next-dev-v2024.03' # Always use same version as rk3588, they share a patch dir
|
|
BOOTPATCHDIR="legacy/u-boot-radxa-rk35xx"
|
|
OVERLAY_PREFIX='rk35xx'
|
|
|
|
if [[ "$BOOT_SOC" == "rk3576" ]]; then
|
|
BOOTSCRIPT='boot-rk3576.cmd:boot.cmd'
|
|
else
|
|
BOOTSCRIPT='boot-rk35xx.cmd:boot.cmd'
|
|
fi
|
|
|
|
case $BRANCH in
|
|
|
|
legacy)
|
|
display_alert "WARNING: 'legacy' branch" "is deprecated and slated for removal. Please switch to another branch unless you know what you're doing :)" "wrn"
|
|
BOOTDIR='u-boot-rockchip64'
|
|
declare -g KERNEL_MAJOR_MINOR="5.10" # Major and minor versions of this kernel.
|
|
declare -g -i KERNEL_GIT_CACHE_TTL=120 # 2 minutes; this is a high-traffic repo
|
|
KERNELSOURCE='https://github.com/armbian/linux-rockchip.git'
|
|
KERNELBRANCH='branch:rk-5.10-rkr6'
|
|
KERNELPATCHDIR='rk35xx-legacy'
|
|
;;
|
|
|
|
vendor)
|
|
BOOTDIR='u-boot-rockchip64'
|
|
declare -g KERNEL_MAJOR_MINOR="6.1" # Major and minor versions of this kernel.
|
|
declare -g -i KERNEL_GIT_CACHE_TTL=120 # 2 minutes; this is a high-traffic repo
|
|
KERNELSOURCE='https://github.com/armbian/linux-rockchip.git'
|
|
KERNELBRANCH='branch:rk-6.1-rkr3'
|
|
KERNELPATCHDIR='rk35xx-vendor-6.1'
|
|
;;
|
|
esac
|
|
|
|
prepare_boot_configuration
|
|
|
|
family_tweaks_bsp() {
|
|
:
|
|
}
|