From: Dragan Simic <dsimic@manjaro.org>
To: Christopher Obbard <chris.obbard@collabora.com>
Cc: Jonas Karlman <jonas@kwiboo.se>,
Trevor Woerner <twoerner@gmail.com>,
U-Boot Mailing List <u-boot@lists.denx.de>,
Eugen Hristev <eugen.hristev@collabora.com>,
Tom Rini <trini@konsulko.com>,
Kever Yang <kever.yang@rock-chips.com>
Subject: Re: [PATCH] configs: rockchip: rock5b: enable environment
Date: Tue, 05 Mar 2024 14:39:27 +0100 [thread overview]
Message-ID: <d8d1cf0d32ceedc82938638730f69fd2@manjaro.org> (raw)
In-Reply-To: <c0785fe90bc1128140480f7812cf6facbf6e637c.camel@collabora.com>
Hello all,
On 2024-03-05 10:36, Christopher Obbard wrote:
> On Tue, 2024-03-05 at 10:31 +0100, Jonas Karlman wrote:
>> On 2024-03-05 03: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.
>>
>> This board has SPI flash, so storing env in SPI flash is probably a
>> better default.
>
> I agree with that.
>
>> However, preferably the env should be stored/loaded from
>> the same device that TPL/SPL was loaded from.
>
> Do you know if there is some mechanism in U-Boot to do this already ?
>
> It could be useful to enable autodetection on many boards which can
> boot U-
> Boot from either SPI flash / eMMC / SD card.
I agree that doing this on all Rockchip boards should be the way to go,
or
perhaps to use the device that the U-Boot proper was loaded from.
Moreover, it would, for example, allow a microSD card to be used as a
rescue
boot media for the users to recover from a borked environment.
next prev parent reply other threads:[~2024-03-05 13:39 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
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 [this message]
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=d8d1cf0d32ceedc82938638730f69fd2@manjaro.org \
--to=dsimic@manjaro.org \
--cc=chris.obbard@collabora.com \
--cc=eugen.hristev@collabora.com \
--cc=jonas@kwiboo.se \
--cc=kever.yang@rock-chips.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