public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Vagrant Cascadian <vagrant@debian.org>
To: Simon Glass <sjg@chromium.org>,
	U-Boot Mailing List <u-boot@lists.denx.de>
Cc: huang lin <hl@rock-chips.com>,
	Jeffy Chen <jeffy.chen@rock-chips.com>,
	Simon Glass <sjg@chromium.org>,
	Kever Yang <kever.yang@rock-chips.com>,
	Philipp Tomsich <philipp.tomsich@theobroma-systems.com>,
	Tom Rini <trini@konsulko.com>, Akash Gajjar <akash@openedev.com>,
	Jagan Teki <jagan@amarulasolutions.com>
Subject: Re: [PATCH 1/3] rockchip: Drop bootstage stash in TPL and SPL
Date: Tue, 21 Feb 2023 15:28:37 -0800	[thread overview]
Message-ID: <87cz62r42i.fsf@contorta> (raw)
In-Reply-To: <20230221193920.3546499-1-sjg@chromium.org>

[-- Attachment #1: Type: text/plain, Size: 1733 bytes --]

On 2023-02-21, Simon Glass wrote:
> 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>

Works for booting rockpro64-rk3399, thanks!

Tested-by: Vagrant Cascadian <vagrant@debian.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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

  parent reply	other threads:[~2023-02-21 23:28 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Vagrant Cascadian [this message]
2023-02-22 14:47 ` [PATCH 1/3] rockchip: Drop bootstage stash in TPL and SPL Quentin Schulz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87cz62r42i.fsf@contorta \
    --to=vagrant@debian.org \
    --cc=akash@openedev.com \
    --cc=hl@rock-chips.com \
    --cc=jagan@amarulasolutions.com \
    --cc=jeffy.chen@rock-chips.com \
    --cc=kever.yang@rock-chips.com \
    --cc=philipp.tomsich@theobroma-systems.com \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox