Tinker Board 2(RK3399): fix incorrect detection of dram size on booting (#4383)

Co-authored-by: pinhaozhang <pinhaozhang@tencent.com>
This commit is contained in:
pinhaozhang
2022-11-07 03:28:19 +08:00
committed by GitHub
parent 5e8eab3cf8
commit 89e705136c
2 changed files with 6 additions and 2 deletions

View File

@@ -6,4 +6,4 @@ KERNEL_TARGET="current,edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3399-tinker-2.dtb"
BOOT_SCENARIO="blobless"
BOOT_SCENARIO="spl-blobs"

View File

@@ -65,7 +65,11 @@ if [[ $BOOT_SOC == rk3328 ]]; then
elif [[ $BOOT_SOC == rk3399 ]]; then
BOOT_SCENARIO="${BOOT_SCENARIO:=only-blobs}"
DDR_BLOB="${DDR_BLOB:=rk33/rk3399_ddr_933MHz_v1.25.bin}"
if [[ $BOARD_NAME == "Tinker Board 2" ]]; then
DDR_BLOB="${DDR_BLOB:=rk33/rk3399_ddr_800MHz_v1.27.bin}"
else
DDR_BLOB="${DDR_BLOB:=rk33/rk3399_ddr_933MHz_v1.25.bin}"
fi
MINILOADER_BLOB='rk33/rk3399_miniloader_v1.26.bin'
BL31_BLOB='rk33/rk3399_bl31_v1.35.elf'