
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.