All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH u-boot v2019.04-aspeed-openbmc 0/2] Store default u-boot env in
@ 2021-06-18  2:47 Joel Stanley
  2021-06-18  2:47 ` [PATCH u-boot v2019.04-aspeed-openbmc 1/2] Makefile: Conditionally add defaultenv_h to envtools target Joel Stanley
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Joel Stanley @ 2021-06-18  2:47 UTC (permalink / raw)
  To: openbmc, Eddie James, Adriana Kobylak; +Cc: Andrew Jeffery

This patch adds the u-boot environment to the u-boot binary, and a build
fix for the new configuration that I have also sent upstream.

We currently rely on the default environment being populated in the
image. This has the downside that if something corrupts the environment,
the system won't know how to boot itself.

The ast2600_openbmc_mmc.txt is copied from
meta-aspeed/recipes-bsp/u-boot/files/u-boot-env-ast2600.txt.

The downside of this approach is we would need to keep the files in
sync, or change the yocto tooling so the in-flash environment is
generated from this copy.

Please respond with your thoughts on this approach.

Joel Stanley (2):
  Makefile: Conditionally add defaultenv_h to envtools target
  ast2600: Add environment for booting from mmc

 Makefile                                   | 2 ++
 board/aspeed/ast2600_openbmc_mmc.txt       | 9 +++++++++
 configs/ast2600_openbmc_spl_emmc_defconfig | 2 ++
 3 files changed, 13 insertions(+)
 create mode 100644 board/aspeed/ast2600_openbmc_mmc.txt

-- 
2.32.0


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

end of thread, other threads:[~2021-06-21  7:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-18  2:47 [PATCH u-boot v2019.04-aspeed-openbmc 0/2] Store default u-boot env in Joel Stanley
2021-06-18  2:47 ` [PATCH u-boot v2019.04-aspeed-openbmc 1/2] Makefile: Conditionally add defaultenv_h to envtools target Joel Stanley
2021-06-18  2:47 ` [PATCH u-boot v2019.04-aspeed-openbmc 2/2] ast2600: Add environment for booting from mmc Joel Stanley
2021-06-18  3:12   ` Lei Yu
2021-06-21  6:17     ` Joel Stanley
2021-06-21  7:33       ` Lei Yu
2021-06-18 15:51   ` Adriana Kobylak
2021-06-21  6:18     ` Joel Stanley
2021-06-18  4:12 ` [PATCH u-boot v2019.04-aspeed-openbmc 0/2] Store default u-boot env in Andrew Jeffery
2021-06-18 15:56   ` Adriana Kobylak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.