linuxOS_AP06/device/rockchip/common/configs/Config.in.loader
2025-06-03 12:28:32 +08:00

71 lines
1.6 KiB
Plaintext

#
menuconfig RK_LOADER
bool "Loader (U-Boot)"
default y
if RK_LOADER
config RK_UBOOT_CFG
string "defconfig"
default "rk1808" if RK_CHIP_FAMILY = "rk1806"
default "evb-px3se" if RK_CHIP_FAMILY = "px3se"
default "rk3126" if RK_CHIP = "rk3126c"
default "rk3128x" if RK_CHIP_FAMILY = "rk3128h"
default "evb-rk3229" if RK_CHIP_FAMILY = "rk3229"
default "evb-px30" if RK_CHIP_FAMILY = "rk3358"
default "rv1126" if RK_CHIP_FAMILY = "rv1126_rv1109"
default RK_CHIP_FAMILY if RK_CHIP_FAMILY = "rk3308" || \
RK_CHIP_FAMILY = "rk3288" || RK_CHIP_FAMILY = "rk3588"
default RK_CHIP
config RK_UBOOT_CFG_FRAGMENTS
string "defconfig fragments (without .config suffix)"
config RK_UBOOT_OPTS
string "compile options"
default "--sz-uboot 1024 2 --sz-trust 1024 2" if RK_CHIP_FAMILY = "rk312x"
config RK_UBOOT_INI
string "loader ini config overriding"
help
The .ini file for packing loader.
Set "" to use default one.
config RK_UBOOT_TRUST_INI
string "trust ini config overriding"
help
The .ini file for packing trust image.
Set "" to use default one.
config RK_UBOOT_SPL
bool "force using SPL"
help
Force using U-Boot SPL instead of Rockchip MiniLoader binary.
config RK_UBOOT_RAW
bool "pack raw bootloader (idblock)"
help
Pack U-Boot into direct raw format (idblock).
config RK_UBOOT_ARCH
string
default "arm" if RK_UBOOT_ARM32
default "arm64" if RK_UBOOT_ARM64
choice
prompt "arch"
default RK_UBOOT_ARM32 if RK_KERNEL_ARM32
config RK_UBOOT_ARM64
bool "arm64"
depends on !RK_CHIP_ARM32
config RK_UBOOT_ARM32
bool "arm"
endchoice # arch
endif # Loader
endmenuconfig # Loader