mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 09:54:35 +00:00

Currently the following memory layout is typically used on RK356x: [ 0, 256K) - SPL binary [ 256K, 2M) - TF-A / reserved [ -X, 4M) - SPL pre-reloc stack (SPL_STACK) [-128K, 4M) - pre-reloc malloc heap (SPL_SYS_MALLOC_F_LEN) [ -X, 6M) - SPL reloc stack (SPL_STACK_R_ADDR) [ 5M, 6M) - reloc malloc heap (SPL_STACK_R_MALLOC_SIMPLE_LEN) [ 10M, +X) - U-Boot proper binary (TEXT_BASE) [ -X, 12M) - U-Boot proper pre-reloc stack (CUSTOM_SYS_INIT_SP_ADDR) [-128K, 12M) - pre-reloc malloc heap (SYS_MALLOC_F_LEN) [ 64M, +16K) - SPL bss (SPL_BSS_START_ADDR, SPL_BSS_MAX_SIZE) SPL can safely load U-Boot proper + FDT to [10M, 12M-128K) with this layout. Migrate to use common bss, stack and malloc heap size and addresses to remove this size limitation. Signed-off-by: Jonas Karlman <jonas@kwiboo.se> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> (Update for pinetab2-rk3566_defconfig) Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
52 lines
1.1 KiB
Text
52 lines
1.1 KiB
Text
if ROCKCHIP_RK3568
|
|
|
|
choice
|
|
prompt "RK3568/RK3566 board select"
|
|
|
|
config TARGET_EVB_RK3568
|
|
bool "RK3568 evaluation board"
|
|
select BOARD_LATE_INIT
|
|
help
|
|
RK3568 EVB is a evaluation board for Rockchp RK3568.
|
|
|
|
config TARGET_ANBERNIC_RGXX3_RK3566
|
|
bool "Anbernic RGXX3"
|
|
help
|
|
Anbernic RGXX3 gaming device with Rockchip RK3566. This
|
|
config can be used with the RG353M, RG353P, RG353V, RG353VS,
|
|
and RG503. The correct device tree name will automatically
|
|
be selected by the bootloader.
|
|
|
|
config TARGET_ODROID_M1_RK3568
|
|
bool "ODROID-M1"
|
|
help
|
|
Hardkernel ODROID-M1 single board computer with a RK3568B2 SoC.
|
|
|
|
config TARGET_QUARTZ64_RK3566
|
|
bool "Pine64 Quartz64"
|
|
help
|
|
Pine64 Quartz64 single board computer with a RK3566 SoC.
|
|
|
|
endchoice
|
|
|
|
config ROCKCHIP_BOOT_MODE_REG
|
|
default 0xfdc20200
|
|
|
|
config ROCKCHIP_STIMER_BASE
|
|
default 0xfdd1c020
|
|
|
|
config SYS_SOC
|
|
default "rk3568"
|
|
|
|
config ROCKCHIP_COMMON_STACK_ADDR
|
|
default y
|
|
|
|
config TEXT_BASE
|
|
default 0x00a00000
|
|
|
|
source "board/rockchip/evb_rk3568/Kconfig"
|
|
source "board/anbernic/rgxx3_rk3566/Kconfig"
|
|
source "board/hardkernel/odroid_m1/Kconfig"
|
|
source "board/pine64/quartz64_rk3566/Kconfig"
|
|
|
|
endif
|