armbian-build/config/sources/families/rockchip-rk3588.conf
2022-12-31 13:37:31 -08:00

34 lines
756 B
Plaintext

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)
UBOOT_COMPILER="aarch64-linux-gnu-"
UBOOT_USE_GCC='< 8.0'
BOOTDIR='u-boot-rockchip64'
KERNELDIR='linux-rockchip64'
KERNELSOURCE='https://github.com/radxa/kernel'
KERNELBRANCH='branch:linux-5.10-gen-rkr3.4'
KERNELPATCHDIR='rockchip-rk3588-legacy'
;;
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
}