From: Eugen Hristev <eugen.hristev@collabora.com>
To: Trevor Woerner <twoerner@gmail.com>,
U-Boot Mailing List <u-boot@lists.denx.de>
Cc: Jonas Karlman <jonas@kwiboo.se>, Tom Rini <trini@konsulko.com>,
Kever Yang <kever.yang@rock-chips.com>,
Weizhao Ouyang <o451686892@gmail.com>,
Jagan Teki <jagan@edgeble.ai>
Subject: Re: [PATCH] configs: rockchip: rock5a: enable environment
Date: Tue, 5 Mar 2024 07:40:50 +0200 [thread overview]
Message-ID: <cbe1b045-b8f1-4ea2-b831-2dbb52aade35@collabora.com> (raw)
In-Reply-To: <20240305021051.22405-3-twoerner@gmail.com>
On 3/5/24 04:10, Trevor Woerner wrote:
> Following the pattern of other Rockchip devices, enable the U-Boot
> environment to be stored in MMC. This patch specifically assumes the
> environment will be stored on the SDcard.
>
> Signed-off-by: Trevor Woerner <twoerner@gmail.com>
> ---
> configs/rock5a-rk3588s_defconfig | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/configs/rock5a-rk3588s_defconfig b/configs/rock5a-rk3588s_defconfig
> index a6471a519514..ac6411667d9a 100644
> --- a/configs/rock5a-rk3588s_defconfig
> +++ b/configs/rock5a-rk3588s_defconfig
> @@ -8,6 +8,7 @@ CONFIG_SPL_LIBGENERIC_SUPPORT=y
> CONFIG_NR_DRAM_BANKS=2
> CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
> CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xc00000
> +CONFIG_ENV_SIZE=0x8000
> CONFIG_DEFAULT_DEVICE_TREE="rk3588s-rock-5a"
> CONFIG_ROCKCHIP_RK3588=y
> CONFIG_SPL_ROCKCHIP_COMMON_BOARD=y
> @@ -48,6 +49,8 @@ CONFIG_CMD_REGULATOR=y
> CONFIG_SPL_OF_CONTROL=y
> CONFIG_OF_LIVE=y
> CONFIG_OF_SPL_REMOVE_PROPS="clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents"
> +CONFIG_ENV_IS_IN_MMC=y
> +CONFIG_SYS_MMC_ENV_DEV=1
> CONFIG_SPL_DM_SEQ_ALIAS=y
> CONFIG_SPL_REGMAP=y
> CONFIG_SPL_SYSCON=y
Hi Trevor,
What will happen if there is no Sd-Card, and we boot from eMMC or SPI flash ?
The rockchip pattern is usually to have a standard config for all boards and it is
not stored anywhere.
Kever, Jonas, please correct me if I am wrong.
Eugen
next prev parent reply other threads:[~2024-03-05 5:41 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-05 2:10 [PATCH] configs: rockchip: rock-pi-s: enable environment Trevor Woerner
2024-03-05 2:10 ` [PATCH] configs: rockchip: rock3a: " Trevor Woerner
2024-03-05 9:29 ` Jonas Karlman
2024-03-05 2:10 ` [PATCH] configs: rockchip: rock5a: " Trevor Woerner
2024-03-05 5:40 ` Eugen Hristev [this message]
2024-03-05 9:17 ` Jonas Karlman
2024-03-05 13:45 ` Trevor Woerner
2024-03-05 17:01 ` Jonas Karlman
2024-03-06 9:53 ` Kever Yang
2024-03-05 2:10 ` [PATCH] configs: rockchip: rock5b: " Trevor Woerner
2024-03-05 9:31 ` Jonas Karlman
2024-03-05 9:36 ` Christopher Obbard
2024-03-05 10:09 ` Jonas Karlman
2024-03-05 10:11 ` Quentin Schulz
2024-03-05 14:32 ` Jonas Karlman
2024-03-05 13:39 ` Dragan Simic
2024-03-05 9:55 ` [PATCH] configs: rockchip: rock-pi-s: " Jonas Karlman
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=cbe1b045-b8f1-4ea2-b831-2dbb52aade35@collabora.com \
--to=eugen.hristev@collabora.com \
--cc=jagan@edgeble.ai \
--cc=jonas@kwiboo.se \
--cc=kever.yang@rock-chips.com \
--cc=o451686892@gmail.com \
--cc=trini@konsulko.com \
--cc=twoerner@gmail.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