Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions config/boards/armsom-sige7.csc
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ BOARD_NAME="ArmSoM Sige7"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="Z-Keven"
BOOTCONFIG="armsom-sige7-rk3588_defconfig"
KERNEL_TARGET="legacy,vendor,edge,collabora"
KERNEL_TEST_TARGET="legacy" # in case different then kernel target
KERNEL_TARGET="vendor,edge,collabora"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-armsom-sige7.dtb"
Expand Down
3 changes: 1 addition & 2 deletions config/boards/armsom-w3.csc
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ BOARD_NAME="ArmSoM W3"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER=""
BOOTCONFIG="armsom-w3-rk3588_defconfig"
KERNEL_TARGET="legacy,vendor"
KERNEL_TEST_TARGET="legacy" # in case different then kernel target
KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-armsom-w3.dtb"
Expand Down
2 changes: 1 addition & 1 deletion config/boards/bananapim7.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ BOARD_MAINTAINER="amazingfate"
BOOT_FDT_FILE="rockchip/rk3588-bananapi-m7.dtb"
# Those are included in armsom-sige7.csc, but this file is parsed directly by the JSON matrix generator and thus those need to be in here
BOARD_MAINTAINER="Z-Keven"
KERNEL_TARGET="legacy,vendor,edge,collabora"
KERNEL_TARGET="vendor,edge,collabora"
BOARDFAMILY="rockchip-rk3588"
2 changes: 1 addition & 1 deletion config/boards/hinlink-h28k.csc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ BOARD_NAME="HinLink H28k"
BOARDFAMILY="rk35xx"
BOOTCONFIG="hinlink_rk3528_defconfig"
BOARD_MAINTAINER="sputnik2019"
KERNEL_TARGET="legacy,vendor"
KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3528-hinlink-h28k.dtb"
Expand Down
2 changes: 1 addition & 1 deletion config/boards/hinlink-h66k.csc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ BOARD_NAME="Hinlink H66K"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
BOOTCONFIG="radxa-e25-rk3568_defconfig"
KERNEL_TARGET="legacy,vendor"
KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3568-hinlink-h66k.dtb"
Expand Down
2 changes: 1 addition & 1 deletion config/boards/hinlink-h68k.csc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ BOARD_NAME="Hinlink H68K"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
BOOTCONFIG="radxa-e25-rk3568_defconfig"
KERNEL_TARGET="legacy,vendor"
KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3568-hinlink-h68k.dtb"
Expand Down
2 changes: 1 addition & 1 deletion config/boards/hinlink-h88k.csc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER=""
BOARD_FIRMWARE_INSTALL="-full"
BOOTCONFIG="rock-5b-rk3588_defconfig"
KERNEL_TARGET="legacy,vendor,edge"
KERNEL_TARGET="vendor,edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-hinlink-h88k.dtb"
Expand Down
2 changes: 1 addition & 1 deletion config/boards/hinlink-hnas.csc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ BOARD_NAME="Hinlink HNAS"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
BOOTCONFIG="radxa-e25-rk3568_defconfig"
KERNEL_TARGET="legacy,vendor"
KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3568-hinlink-hnas.dtb"
Expand Down
2 changes: 1 addition & 1 deletion config/boards/hinlink-ht2.csc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ BOARD_NAME="HinLink HT2"
BOARDFAMILY="rk35xx"
BOOTCONFIG="hinlink_rk3528_defconfig"
BOARD_MAINTAINER="hoochiwetech"
KERNEL_TARGET="legacy,vendor"
KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3528-hinlink-ht2.dtb"
Expand Down
10 changes: 3 additions & 7 deletions config/boards/indiedroid-nova.csc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ declare -g BOARD_MAINTAINER="lanefu"
declare -g BOARDFAMILY="rockchip-rk3588"
declare -g BOOTCONFIG="indiedroid_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
declare -g BOOT_SOC="rk3588"
declare -g KERNEL_TARGET="legacy,vendor,collabora,edge"
declare -g KERNEL_TARGET="vendor,collabora,edge"
declare -g FULL_DESKTOP="yes"
declare -g BOOT_LOGO="desktop"
declare -g BOOT_FDT_FILE="rockchip/rk3588s-indiedroid-nova.dtb"
Expand All @@ -29,13 +29,8 @@ function post_family_config__indiedroid-nova_use_stvhay_uboot() {
}

# BSP kernel uses device name from contract manufacturer rather than production name in mainline
function post_family_config_branch_legacy__use_9tripod_dtb() {
declare -g BOOT_FDT_FILE="rockchip/rk3588s-9tripod-linux.dtb"
}

# post_family_config hook which also run for vendor kernel
function post_family_config_branch_vendor__use_9tripod_dtb() {
post_family_config_branch_legacy__use_9tripod_dtb
declare -g BOOT_FDT_FILE="rockchip/rk3588s-9tripod-linux.dtb"
}

# Add bluetooth packages to the image (not rootfs cache)
Expand Down Expand Up @@ -85,6 +80,7 @@ function pre_customize_image__indiedroid_add_bluetooth() {
EOD
chroot_sdcard systemctl enable bluetooth-rtl8821cs.service
}

function post_family_tweaks__indiedroid_naming_audios() {
display_alert "$BOARD" "Renaming indiedroid audios" "info"

Expand Down
2 changes: 1 addition & 1 deletion config/boards/khadas-edge2.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ declare -g BOARD_NAME="Khadas Edge2"
declare -g BOARDFAMILY="rockchip-rk3588"
declare -g BOARD_MAINTAINER="igorpecovnik"
declare -g BOOT_SOC="rk3588" # Just to avoid errors in rockchip64_commmon
declare -g KERNEL_TARGET="legacy,vendor,edge"
declare -g KERNEL_TARGET="vendor,edge"
declare -g KERNEL_TEST_TARGET="vendor"
declare -g IMAGE_PARTITION_TABLE="gpt"
declare -g BOOT_FDT_FILE="rockchip/rk3588s-khadas-edge2.dtb" # Specific to this board
Expand Down
2 changes: 1 addition & 1 deletion config/boards/lckfb-taishanpi.csc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ BOARD_NAME="LCKFB Taishan Pi"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
BOOTCONFIG="radxa-zero3-rk3566_defconfig"
KERNEL_TARGET="legacy,vendor"
KERNEL_TARGET="vendor"
BOOT_FDT_FILE="rockchip/rk3566-taishanpi-v10.dtb"
BOOT_SCENARIO="spl-blobs"
IMAGE_PARTITION_TABLE="gpt"
Expand Down
2 changes: 1 addition & 1 deletion config/boards/mangopi-m28k.csc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ BOARD_NAME="Mangopi M28K"
BOARDFAMILY="rk35xx"
BOOTCONFIG="hinlink_rk3528_defconfig"
BOARD_MAINTAINER="sputnik2019"
KERNEL_TARGET="legacy,vendor"
KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3528-mangopi-m28k.dtb"
Expand Down
2 changes: 1 addition & 1 deletion config/boards/nanopc-cm3588-nas.csc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER=""
BOOTCONFIG="nanopc_cm3588_defconfig" # Enables booting from NVMe. Vendor name, not standard, see hook below, set BOOT_SOC below to compensate
BOOT_SOC="rk3588"
KERNEL_TARGET="legacy,vendor,current,edge,collabora"
KERNEL_TARGET="vendor,current,edge,collabora"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
IMAGE_PARTITION_TABLE="gpt"
Expand Down
2 changes: 1 addition & 1 deletion config/boards/nanopct6.csc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="Tonymac32"
BOOTCONFIG="nanopc_t6_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
BOOT_SOC="rk3588"
KERNEL_TARGET="legacy,vendor,current,edge,collabora"
KERNEL_TARGET="vendor,current,edge,collabora"
KERNEL_TEST_TARGET="vendor,edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
Expand Down
2 changes: 1 addition & 1 deletion config/boards/nanopi-r6s.csc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="efectn"
BOOTCONFIG="nanopi-r6s-rk3588s_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
BOOT_SOC="rk3588"
KERNEL_TARGET="legacy,vendor,edge"
KERNEL_TARGET="vendor,edge"
KERNEL_TEST_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
Expand Down
2 changes: 1 addition & 1 deletion config/boards/orangepi3b.csc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
BOOTCONFIG="orangepi-3b-rk3566_defconfig"
BOOT_SOC="rk3566"
KERNEL_TARGET="legacy,vendor,edge"
KERNEL_TARGET="vendor,edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3566-orangepi-3b.dtb"
Expand Down
9 changes: 1 addition & 8 deletions config/boards/orangepi5-plus.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="efectn"
BOOTCONFIG="orangepi_5_plus_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
BOOT_SOC="rk3588"
KERNEL_TARGET="legacy,vendor,edge"
KERNEL_TARGET="vendor,edge"
KERNEL_TEST_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
Expand All @@ -28,13 +28,6 @@ function post_family_tweaks__orangepi5plus_naming_audios() {
return 0
}

# Use vendor-provided U-Boot for 'legacy' kernel branch; let's avoid conditionals in family config.
function post_family_config_branch_legacy__orangepi5plus_use_vendor_uboot() {
BOOTSOURCE='https://github.com/orangepi-xunlong/u-boot-orangepi.git'
BOOTBRANCH='branch:v2017.09-rk3588'
BOOTPATCHDIR="legacy/u-boot-orangepi5-rk3588"
}

# Use vendor-provided U-Boot for 'vendor' kernel branch; let's avoid conditionals in family config.
function post_family_config_branch_vendor__orangepi5plus_use_vendor_uboot() {
BOOTSOURCE='https://github.com/orangepi-xunlong/u-boot-orangepi.git'
Expand Down
4 changes: 2 additions & 2 deletions config/boards/orangepi5.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ BOARD_MAINTAINER="efectn"
BOOTCONFIG="orangepi_5_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
BOOTCONFIG_SATA="orangepi_5_sata_defconfig"
BOOT_SOC="rk3588"
KERNEL_TARGET="legacy,vendor,edge"
KERNEL_TARGET="vendor,edge"
KERNEL_TEST_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
Expand Down Expand Up @@ -64,7 +64,7 @@ function post_family_tweaks__orangepi5_naming_audios() {
return 0
}

function post_family_config_branch_legacy__orangepi5_uboot_add_sata_target() {
function post_family_config_branch_vendor__orangepi5_uboot_add_sata_target() {
display_alert "$BOARD" "Configuring ($BOARD) standard and sata uboot target map" "info"

UBOOT_TARGET_MAP="
Expand Down
5 changes: 2 additions & 3 deletions config/boards/orangepi5pro.wip
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ BOARD_MAINTAINER=""
BOOTCONFIG="orangepi_5_pro_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
BOOTCONFIG_SATA="orangepi_5_pro_sata_defconfig"
BOOT_SOC="rk3588"
KERNEL_TARGET="legacy,vendor"
KERNEL_TEST_TARGET="legacy"
KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588s-orangepi-5-pro.dtb"
Expand All @@ -26,7 +25,7 @@ function post_family_tweaks__orangepi5pro_naming_audios() {
return 0
}

function post_family_config_branch_legacy__orangepi5pro_uboot_add_sata_target() {
function post_family_config_branch_vendor__orangepi5pro_uboot_add_sata_target() {
display_alert "$BOARD" "Configuring ($BOARD) standard and sata uboot target map" "info"

UBOOT_TARGET_MAP="
Expand Down
2 changes: 1 addition & 1 deletion config/boards/radxa-e25.csc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ BOARD_NAME="Radxa E25"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER="krachlatte"
BOOTCONFIG="radxa-e25-rk3568_defconfig"
KERNEL_TARGET="legacy,vendor,current,edge"
KERNEL_TARGET="vendor,current,edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3568-radxa-e25.dtb"
Expand Down
2 changes: 1 addition & 1 deletion config/boards/radxa-zero3.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ BOARD_NAME="Radxa ZERO 3"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER="Radxa"
BOOTCONFIG="radxa-zero3-rk3566_defconfig"
KERNEL_TARGET="legacy,vendor,edge"
KERNEL_TARGET="vendor,edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3566-radxa-zero3.dtb"
Expand Down
2 changes: 1 addition & 1 deletion config/boards/rock-3a.csc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ BOARD_NAME="Rock 3A"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER="amazingfate ZazaBR vamzii catalinii"
BOOTCONFIG="rock-3a-rk3568_defconfig"
KERNEL_TARGET="legacy,vendor,current,edge"
KERNEL_TARGET="vendor,current,edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3568-rock-3a.dtb"
Expand Down
2 changes: 1 addition & 1 deletion config/boards/rock-5-cmio.csc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER=""
BOOTCONFIG="radxa-cm5-io-rk3588s_defconfig"
BOOT_SOC="rk3588"
KERNEL_TARGET="legacy,vendor"
KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588s-radxa-cm5-io.dtb"
Expand Down
3 changes: 1 addition & 2 deletions config/boards/rock-5-itx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ BOARD_NAME="Rock 5 ITX"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER=""
BOOTCONFIG="rock-5-itx-rk3588_defconfig"
KERNEL_TARGET="legacy,vendor"
KERNEL_TEST_TARGET="legacy" # in case different then kernel target
KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-rock-5-itx.dtb"
Expand Down
4 changes: 2 additions & 2 deletions config/boards/rock-5a.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ BOARD_NAME="Rock 5A"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="amazingfate"
BOOTCONFIG="rock-5a-rk3588s_defconfig"
KERNEL_TARGET="legacy,vendor,edge,collabora"
KERNEL_TARGET="vendor,edge,collabora"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588s-rock-5a.dtb"
Expand All @@ -25,7 +25,7 @@ function post_family_tweaks__rock5a_naming_audios() {
return 0
}

function post_family_config_branch_legacy__dual_uboot_for_rock5a() {
function post_family_config_branch_vendor__dual_uboot_for_rock5a() {
display_alert "$BOARD" "Configuring ($BOARD) normal/SPI uboot target map" "info"
UBOOT_TARGET_MAP="
BL31=$RKBIN_DIR/$BL31_BLOB rock-5a-spi-rk3588s_defconfig spl/u-boot-spl.bin u-boot.dtb u-boot.itb;;rkspi_loader.img
Expand Down
2 changes: 1 addition & 1 deletion config/boards/rock-5b.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ BOARD_NAME="Rock 5B"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="amazingfate linhz0hz"
BOOTCONFIG="rock-5b-rk3588_defconfig"
KERNEL_TARGET="legacy,vendor,edge,collabora"
KERNEL_TARGET="vendor,edge,collabora"
KERNEL_TEST_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
Expand Down
2 changes: 1 addition & 1 deletion config/boards/station-m2.csc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ BOARD_NAME="Station M2"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
BOOTCONFIG="station-m2-rk3566_defconfig"
KERNEL_TARGET="legacy,vendor,current,edge"
KERNEL_TARGET="vendor,current,edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3566-firefly-roc-pc.dtb"
Expand Down
2 changes: 1 addition & 1 deletion config/boards/station-m3.csc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
BOARD_NAME="Station M3"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="chainsx"
KERNEL_TARGET="legacy,vendor"
KERNEL_TARGET="vendor"
BOOTCONFIG="rock-5a-rk3588s_defconfig"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
Expand Down
1 change: 1 addition & 0 deletions config/sources/families/rk35xx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ OVERLAY_PREFIX='rk35xx'
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
Expand Down
1 change: 1 addition & 0 deletions config/sources/families/rockchip-rk3588.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ OVERLAY_PREFIX='rockchip-rk3588'
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"
BOOTSCRIPT='boot-rk3588-legacy.cmd:boot.cmd'
BOOTDIR='u-boot-rockchip64'
declare -g KERNEL_MAJOR_MINOR="5.10" # Major and minor versions of this kernel.
Expand Down