rk35xx/rockchip-rk3588: vendor: the unthinkable! add vendor branch for new 6.1-rkr1 BSP vendor kernel, and keep legacy for the 5.10-rkr6 BSP vendor kernel

- pointing to amazingfate's repo, for now
This commit is contained in:
Ricardo Pardini 2024-03-05 22:25:37 +01:00
parent edd866b8cf
commit ddcd68d0f7
2 changed files with 23 additions and 7 deletions

View File

@ -16,17 +16,24 @@ OVERLAY_PREFIX='rk35xx'
case $BRANCH in
legacy)
UBOOT_COMPILER="aarch64-linux-gnu-"
UBOOT_USE_GCC='< 8.0'
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'
declare -g -i KERNEL_GIT_CACHE_TTL=120 # 2 minutes; this is a high-traffic repo
declare -g KERNEL_MAJOR_MINOR="5.10" # Major and minor versions of this kernel.
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/amazingfate/linux-rockchip.git'
KERNELBRANCH='branch:rk-6.1-rkr1'
KERNELPATCHDIR='rk35xx-vendor-6.1'
;;
esac
prepare_boot_configuration

View File

@ -18,17 +18,26 @@ 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'
KERNELSOURCE='https://github.com/armbian/linux-rockchip.git'
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'
LINUXFAMILY=rk35xx
;;
vendor)
BOOTSCRIPT='boot-rk3588-legacy.cmd:boot.cmd'
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/amazingfate/linux-rockchip.git'
KERNELBRANCH='branch:rk-6.1-rkr1'
KERNELPATCHDIR='rk35xx-vendor-6.1'
LINUXFAMILY=rk35xx
;;
edge)
LINUXFAMILY=rockchip-rk3588
LINUXCONFIG='linux-rockchip-rk3588-'$BRANCH