public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 1/3] rockchip: Drop bootstage stash in TPL and SPL
@ 2023-02-21 19:39 Simon Glass
  2023-02-21 19:39 ` [PATCH 2/3] rockchip: Disable DISTRO_DEFAULTS for rockpro64 Simon Glass
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: Simon Glass @ 2023-02-21 19:39 UTC (permalink / raw)
  To: U-Boot Mailing List
  Cc: huang lin, Jeffy Chen, Simon Glass, Kever Yang, Philipp Tomsich,
	Vagrant Cascadian, Tom Rini, Akash Gajjar, Jagan Teki

Unfortunately the IRAM used to stash the bootstage records in TPL
becomes accessible after SPL runs. Presumably this is because of ATF
taking it over.

We could move the stash to another address in SPL, before passing it to
U-Boot proper. But it seems easier to wait until we have support for
standard passage[1] which should not be too far away.

For now, disable it in TPL and SPL.

[1] https://patchwork.ozlabs.org/project/uboot/cover/
    20220117150428.1580273-1-sjg@chromium.org/

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 configs/rockpro64-rk3399_defconfig | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/configs/rockpro64-rk3399_defconfig b/configs/rockpro64-rk3399_defconfig
index dd67f9dff64..49614236819 100644
--- a/configs/rockpro64-rk3399_defconfig
+++ b/configs/rockpro64-rk3399_defconfig
@@ -13,7 +13,6 @@ CONFIG_DM_RESET=y
 CONFIG_ROCKCHIP_RK3399=y
 CONFIG_TARGET_ROCKPRO64_RK3399=y
 CONFIG_SPL_STACK=0x400000
-CONFIG_BOOTSTAGE_STASH_ADDR=0xff8e0000
 CONFIG_DEBUG_UART_BASE=0xFF1A0000
 CONFIG_DEBUG_UART_CLOCK=24000000
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
@@ -21,11 +20,7 @@ CONFIG_SPL_SPI=y
 CONFIG_SYS_LOAD_ADDR=0x800800
 CONFIG_DEBUG_UART=y
 CONFIG_BOOTSTAGE=y
-CONFIG_SPL_BOOTSTAGE=y
-CONFIG_TPL_BOOTSTAGE=y
 CONFIG_BOOTSTAGE_REPORT=y
-CONFIG_SPL_BOOTSTAGE_RECORD_COUNT=10
-CONFIG_BOOTSTAGE_STASH=y
 CONFIG_USE_PREBOOT=y
 CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-rockpro64.dtb"
 CONFIG_DISPLAY_BOARDINFO_LATE=y
-- 
2.39.2.637.g21b0678d19-goog


^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2023-03-17  5:26 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-21 19:39 [PATCH 1/3] rockchip: Drop bootstage stash in TPL and SPL Simon Glass
2023-02-21 19:39 ` [PATCH 2/3] rockchip: Disable DISTRO_DEFAULTS for rockpro64 Simon Glass
2023-02-21 23:30   ` Vagrant Cascadian
2023-02-22 18:19     ` Vagrant Cascadian
2023-02-22 18:24       ` Tom Rini
2023-02-22 18:56         ` Jonas Karlman
2023-02-22 18:58           ` Simon Glass
2023-02-22 19:01             ` Tom Rini
2023-02-22 19:03               ` Simon Glass
2023-02-22 19:15                 ` Tom Rini
2023-03-16 11:01                   ` Peter Robinson
2023-03-16 18:17                     ` Tom Rini
2023-03-17  5:25                       ` Simon Glass
2023-02-21 19:39 ` [PATCH 3/3] bootstd: Enable BOOTSTD_DEFAULTS by default Simon Glass
2023-02-21 23:29   ` Vagrant Cascadian
2023-02-21 23:28 ` [PATCH 1/3] rockchip: Drop bootstage stash in TPL and SPL Vagrant Cascadian
2023-02-22 14:47 ` Quentin Schulz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox