commit cdfcc37428e (origin/master, origin/HEAD, master) + https://lore.kernel.org/all/20240315120126.75424-1-chris.obbard@collabora.com/ + https://lore.kernel.org/all/20240322205027.3860170-1-jonas@kwiboo.se/ + https://lore.kernel.org/all/20240331202921.262323-1-jonas@kwiboo.se/ diff --git a/configs/puma-rk3399_defconfig b/configs/puma-rk3399_defconfig index 26d524cabb0..14e9721e9ed 100644 --- a/configs/puma-rk3399_defconfig +++ b/configs/puma-rk3399_defconfig @@ -17,6 +17,11 @@ CONFIG_ROCKCHIP_BOOT_MODE_REG=0x0 CONFIG_ROCKCHIP_SPI_IMAGE=y CONFIG_TARGET_PUMA_RK3399=y CONFIG_SPL_STACK=0xff8effff +CONFIG_SPL_HAS_BSS_LINKER_SECTION=y +CONFIG_SPL_BSS_START_ADDR=0xff8e0000 +CONFIG_SPL_BSS_MAX_SIZE=0x10000 +CONFIG_SPL_STACK_R=y +CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x10000 CONFIG_DEBUG_UART_BASE=0xFF180000 CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_SPL_SPI_FLASH_SUPPORT=y @@ -24,17 +29,15 @@ CONFIG_SPL_SPI=y CONFIG_SYS_LOAD_ADDR=0x800800 CONFIG_DEBUG_UART=y # CONFIG_SPL_FIT_SIGNATURE is not set +CONFIG_BOOTSTAGE=y +CONFIG_SPL_BOOTSTAGE=y +CONFIG_TPL_BOOTSTAGE=y CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-puma-haikou.dtb" CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_SPL_MAX_SIZE=0x2e000 CONFIG_SPL_PAD_TO=0x38000 -CONFIG_SPL_HAS_BSS_LINKER_SECTION=y -CONFIG_SPL_BSS_START_ADDR=0xff8e0000 -CONFIG_SPL_BSS_MAX_SIZE=0x10000 # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SPL_STACK_R=y -CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x10000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x200 CONFIG_SPL_I2C=y CONFIG_SPL_POWER=y @@ -50,6 +53,7 @@ CONFIG_CMD_USB=y CONFIG_CMD_BMP=y CONFIG_CMD_CACHE=y CONFIG_CMD_TIME=y +CONFIG_CMD_BOOTSTAGE=y CONFIG_CMD_PMIC=y CONFIG_CMD_REGULATOR=y CONFIG_SPL_OF_CONTROL=y U-Boot TPL 2024.04-00482-g78fd3bd2898 (Apr 03 2024 - 16:10:24) Channel 0: DDR3, 666MHz BW=32 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=2048MB Channel 1: DDR3, 666MHz BW=32 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=2048MB 256B stride Trying to boot from BOOTROM Returning to boot ROM... U-Boot SPL 2024.04-00482-g78fd3bd2898 (Apr 03 2024 - 16:10:24 +0200) Trying to boot from MMC2 load_simple_fit: Skip load 'atf-5': image size is 0! NOTICE: BL31: v2.9(release):v2.9.0 NOTICE: BL31: Built : 17:47:58, Jun 21 2023 U-Boot 2024.04-00482-g78fd3bd2898 (Apr 03 2024 - 16:10:24 +0200) SoC: Rockchip rk3399 Reset cause: POR Model: Theobroma Systems RK3399-Q7 SoM DRAM: 4 GiB (effective 3.9 GiB) PMIC: RK808 Core: 305 devices, 31 uclasses, devicetree: separate MMC: mmc@fe320000: 1, mmc@fe330000: 0 Loading Environment from MMC... *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Model: Theobroma Systems RK3399-Q7 SoM Net: eth0: ethernet@fe300000 Hit any key to stop autoboot: 0 => bootstage report Timer summary in microseconds (10 records): Mark Elapsed Stage 0 0 reset 615,421 615,421 board_init_f 2,939,294 2,323,873 board_init_r 3,031,479 92,185 eth_common_init 3,118,007 86,528 eth_initialize 3,127,041 9,034 main_loop 3,850,596 723,555 cli_loop Accumulated time: 6,598 dm_r 12,909 of_live 1,319,893 dm_f