Skip to content

Commit

Permalink
Hook leftovers when introducing vendor kernel for Rockchip 3588
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik committed Mar 6, 2024
1 parent 5b978dc commit f556281
Showing 3 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/boards/armsom-sige7.csc
Original file line number Diff line number Diff line change
@@ -18,6 +18,10 @@ BL31_BLOB='rk35/rk3588_bl31_v1.38.elf'

# post_family_config hook which only runs when branch is legacy.
function post_family_config_branch_legacy__uboot_armsom() {
post_family_config_branch_vendor__uboot_armsom
}
# post_family_config hook which only runs when branch is vendor.
function post_family_config_branch_vendor__uboot_armsom() {
display_alert "$BOARD" "Configuring armsom u-boot" "info"
declare -g BOOTSOURCE='https://github.com/radxa/u-boot.git'
declare -g BOOTBRANCH="commit:b54d452d46459bc6e4cfc1a2795c9aad143aa174" # specific commit in next-dev branch
4 changes: 4 additions & 0 deletions config/boards/armsom-w3.csc
Original file line number Diff line number Diff line change
@@ -18,6 +18,10 @@ BL31_BLOB='rk35/rk3588_bl31_v1.38.elf'

# post_family_config hook which only runs when branch is legacy.
function post_family_config_branch_legacy__uboot_armsom() {
post_family_config_branch_vendor__uboot_armsom
}
# post_family_config hook which only runs when branch is legacy.
function post_family_config_branch_vendor__uboot_armsom() {
display_alert "$BOARD" "Configuring armsom u-boot" "info"
declare -g BOOTSOURCE='https://github.com/radxa/u-boot.git'
declare -g BOOTBRANCH="commit:b54d452d46459bc6e4cfc1a2795c9aad143aa174" # specific commit in next-dev branch
5 changes: 5 additions & 0 deletions config/boards/indiedroid-nova.csc
Original file line number Diff line number Diff line change
@@ -32,6 +32,11 @@ 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
}

# Add bluetooth packages to the image (not rootfs cache)
function post_family_config__bluetooth_hciattach_add_bluetooth_packages() {
display_alert "${BOARD}" "adding bluetooth packages to image" "info"

0 comments on commit f556281

Please sign in to comment.