Skip to content

Commit

Permalink
overwrite UBOOT_TARGET_MAP in board conf
Browse files Browse the repository at this point in the history
  • Loading branch information
paolosabatino committed Jul 8, 2024
1 parent b5c5004 commit 89c1411
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 8 additions & 0 deletions config/boards/xt-q8l-v10.tvb
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,11 @@ BOOT_FDT_FILE="rk3288-xt-q8l-v10.dtb"
MODULES_LEGACY="hci_uart rfcomm hidp"
KERNEL_TARGET="current,edge"
PACKAGE_LIST_BOARD="bluez"

function post_family_config__uboot_config() {
# Overwrite UBOOT_TARGET_MAP to use the proprietary rockchip
# ddrbin in place of u-boot TPL. The reason is that the board
# uses DDR2 memories and u-boot TPL is not capable of
# initializing DDR2.
UBOOT_TARGET_MAP="ROCKCHIP_TPL=$SRC/cache/sources/rkbin-tools/rk32/rk3288_ddr_400MHz_v1.08.bin;;u-boot-rockchip-with-spl.bin"
}
2 changes: 0 additions & 2 deletions config/sources/families/rockchip.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ if [[ "$BOOT_SOC" == "rk3288" ]]; then
OVERLAY_PREFIX='rockchip'
UBOOT_TARGET_MAP=";;u-boot-rockchip-with-spl.bin"

[[ "$BOARD" == "xt-q8l-v10" ]] && UBOOT_TARGET_MAP="ROCKCHIP_TPL=$SRC/cache/sources/rkbin-tools/rk32/rk3288_ddr_400MHz_v1.08.bin;;u-boot-rockchip-with-spl.bin"

BOOTBRANCH='tag:v2024.07'
BOOTPATCHDIR='v2024.07'

Expand Down

0 comments on commit 89c1411

Please sign in to comment.