mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
* Add / modify (c) in bash scripts Signed-off-by: Igor <igor@armbian.com> * Add (c) to the source config files --------- Signed-off-by: Igor <igor@armbian.com>
52 lines
1.3 KiB
Plaintext
52 lines
1.3 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/
|
|
#
|
|
source "${BASH_SOURCE%/*}/include/rockchip64_common.inc"
|
|
|
|
BOOTSOURCE='https://github.com/radxa/u-boot.git'
|
|
BOOTBRANCH='branch:stable-5.10-rock5'
|
|
BOOTPATCHDIR="legacy"
|
|
OVERLAY_PREFIX='rockchip-rk3588'
|
|
|
|
case $BRANCH in
|
|
|
|
legacy)
|
|
BOOTSCRIPT='boot-rk3588-legacy.cmd:boot.cmd'
|
|
UBOOT_COMPILER="aarch64-linux-gnu-"
|
|
UBOOT_USE_GCC='< 8.0'
|
|
BOOTDIR='u-boot-rockchip64'
|
|
KERNELDIR='linux-rockchip64'
|
|
KERNELSOURCE='https://github.com/radxa/kernel'
|
|
export KERNEL_MAJOR_MINOR="5.10" # Major and minor versions of this kernel.
|
|
KERNELBRANCH='branch:linux-5.10-gen-rkr3.4'
|
|
KERNELPATCHDIR='rockchip-rk3588-legacy'
|
|
;;
|
|
|
|
edge)
|
|
|
|
SKIP_BOOTSPLASH="yes"
|
|
LINUXFAMILY=rockchip-rk3588
|
|
LINUXCONFIG='linux-rockchip-rk3588-'$BRANCH
|
|
KERNEL_MAJOR_MINOR="6.2" # Major and minor versions of this kernel.
|
|
KERNELBRANCH='tag:v6.2-rc7'
|
|
KERNELPATCHDIR='rockchip-rk3588-edge'
|
|
;;
|
|
|
|
esac
|
|
|
|
prepare_boot_configuration
|
|
|
|
family_tweaks_bsp() {
|
|
if [[ $BOARD == orangepi5 ]]; then
|
|
|
|
# Add USB2 init service. Otherwise, USB2 won't work by default
|
|
cp $SRC/packages/bsp/orangepi5/orangepi5-usb2-init.service $destination/lib/systemd/system/
|
|
|
|
fi
|
|
}
|