Skip to content

Commit 0b49ac0

Browse files
ColorfulRhinoDangku
authored andcommitted
rk35xx: Remove legacy kernel target from board configs (armbian#6881)
Deprecate `legacy`, but only remove from board configs for now. Print a warning, the whole branch is slated for removal.
1 parent 9ee5657 commit 0b49ac0

31 files changed

+36
-41
lines changed

config/boards/armsom-sige7.csc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ BOARD_NAME="ArmSoM Sige7"
33
BOARDFAMILY="rockchip-rk3588"
44
BOARD_MAINTAINER="Z-Keven"
55
BOOTCONFIG="armsom-sige7-rk3588_defconfig"
6-
KERNEL_TARGET="legacy,vendor,edge,collabora"
7-
KERNEL_TEST_TARGET="legacy" # in case different then kernel target
6+
KERNEL_TARGET="vendor,edge,collabora"
87
FULL_DESKTOP="yes"
98
BOOT_LOGO="desktop"
109
BOOT_FDT_FILE="rockchip/rk3588-armsom-sige7.dtb"

config/boards/armsom-w3.csc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ BOARD_NAME="ArmSoM W3"
33
BOARDFAMILY="rockchip-rk3588"
44
BOARD_MAINTAINER=""
55
BOOTCONFIG="armsom-w3-rk3588_defconfig"
6-
KERNEL_TARGET="legacy,vendor"
7-
KERNEL_TEST_TARGET="legacy" # in case different then kernel target
6+
KERNEL_TARGET="vendor"
87
FULL_DESKTOP="yes"
98
BOOT_LOGO="desktop"
109
BOOT_FDT_FILE="rockchip/rk3588-armsom-w3.dtb"

config/boards/bananapim7.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ BOARD_MAINTAINER="amazingfate"
44
BOOT_FDT_FILE="rockchip/rk3588-bananapi-m7.dtb"
55
# 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
66
BOARD_MAINTAINER="Z-Keven"
7-
KERNEL_TARGET="legacy,vendor,edge,collabora"
7+
KERNEL_TARGET="vendor,edge,collabora"
88
BOARDFAMILY="rockchip-rk3588"

config/boards/hinlink-h28k.csc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ BOARD_NAME="HinLink H28k"
33
BOARDFAMILY="rk35xx"
44
BOOTCONFIG="hinlink_rk3528_defconfig"
55
BOARD_MAINTAINER="sputnik2019"
6-
KERNEL_TARGET="legacy,vendor"
6+
KERNEL_TARGET="vendor"
77
FULL_DESKTOP="yes"
88
BOOT_LOGO="desktop"
99
BOOT_FDT_FILE="rockchip/rk3528-hinlink-h28k.dtb"

config/boards/hinlink-h66k.csc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ BOARD_NAME="Hinlink H66K"
33
BOARDFAMILY="rk35xx"
44
BOARD_MAINTAINER=""
55
BOOTCONFIG="radxa-e25-rk3568_defconfig"
6-
KERNEL_TARGET="legacy,vendor"
6+
KERNEL_TARGET="vendor"
77
FULL_DESKTOP="yes"
88
BOOT_LOGO="desktop"
99
BOOT_FDT_FILE="rockchip/rk3568-hinlink-h66k.dtb"

config/boards/hinlink-h68k.csc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ BOARD_NAME="Hinlink H68K"
33
BOARDFAMILY="rk35xx"
44
BOARD_MAINTAINER=""
55
BOOTCONFIG="radxa-e25-rk3568_defconfig"
6-
KERNEL_TARGET="legacy,vendor"
6+
KERNEL_TARGET="vendor"
77
FULL_DESKTOP="yes"
88
BOOT_LOGO="desktop"
99
BOOT_FDT_FILE="rockchip/rk3568-hinlink-h68k.dtb"

config/boards/hinlink-h88k.csc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ BOARDFAMILY="rockchip-rk3588"
44
BOARD_MAINTAINER=""
55
BOARD_FIRMWARE_INSTALL="-full"
66
BOOTCONFIG="rock-5b-rk3588_defconfig"
7-
KERNEL_TARGET="legacy,vendor,edge"
7+
KERNEL_TARGET="vendor,edge"
88
FULL_DESKTOP="yes"
99
BOOT_LOGO="desktop"
1010
BOOT_FDT_FILE="rockchip/rk3588-hinlink-h88k.dtb"

config/boards/hinlink-hnas.csc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ BOARD_NAME="Hinlink HNAS"
33
BOARDFAMILY="rk35xx"
44
BOARD_MAINTAINER=""
55
BOOTCONFIG="radxa-e25-rk3568_defconfig"
6-
KERNEL_TARGET="legacy,vendor"
6+
KERNEL_TARGET="vendor"
77
FULL_DESKTOP="yes"
88
BOOT_LOGO="desktop"
99
BOOT_FDT_FILE="rockchip/rk3568-hinlink-hnas.dtb"

config/boards/hinlink-ht2.csc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ BOARD_NAME="HinLink HT2"
33
BOARDFAMILY="rk35xx"
44
BOOTCONFIG="hinlink_rk3528_defconfig"
55
BOARD_MAINTAINER="hoochiwetech"
6-
KERNEL_TARGET="legacy,vendor"
6+
KERNEL_TARGET="vendor"
77
FULL_DESKTOP="yes"
88
BOOT_LOGO="desktop"
99
BOOT_FDT_FILE="rockchip/rk3528-hinlink-ht2.dtb"

config/boards/indiedroid-nova.csc

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ declare -g BOARD_MAINTAINER="lanefu"
44
declare -g BOARDFAMILY="rockchip-rk3588"
55
declare -g BOOTCONFIG="indiedroid_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
66
declare -g BOOT_SOC="rk3588"
7-
declare -g KERNEL_TARGET="legacy,vendor,collabora,edge"
7+
declare -g KERNEL_TARGET="vendor,collabora,edge"
88
declare -g FULL_DESKTOP="yes"
99
declare -g BOOT_LOGO="desktop"
1010
declare -g BOOT_FDT_FILE="rockchip/rk3588s-indiedroid-nova.dtb"
@@ -29,13 +29,8 @@ function post_family_config__indiedroid-nova_use_stvhay_uboot() {
2929
}
3030

3131
# BSP kernel uses device name from contract manufacturer rather than production name in mainline
32-
function post_family_config_branch_legacy__use_9tripod_dtb() {
33-
declare -g BOOT_FDT_FILE="rockchip/rk3588s-9tripod-linux.dtb"
34-
}
35-
36-
# post_family_config hook which also run for vendor kernel
3732
function post_family_config_branch_vendor__use_9tripod_dtb() {
38-
post_family_config_branch_legacy__use_9tripod_dtb
33+
declare -g BOOT_FDT_FILE="rockchip/rk3588s-9tripod-linux.dtb"
3934
}
4035

4136
# Add bluetooth packages to the image (not rootfs cache)
@@ -85,6 +80,7 @@ function pre_customize_image__indiedroid_add_bluetooth() {
8580
EOD
8681
chroot_sdcard systemctl enable bluetooth-rtl8821cs.service
8782
}
83+
8884
function post_family_tweaks__indiedroid_naming_audios() {
8985
display_alert "$BOARD" "Renaming indiedroid audios" "info"
9086

0 commit comments

Comments
 (0)