diff options
author | Joel Stanley <joel@jms.id.au> | 2021-06-21 09:44:32 +0300 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2021-06-22 03:26:06 +0300 |
commit | 5c3273bbcc59a5f41810a3c977d6eba7933ebd2e (patch) | |
tree | cf5ca8df754bae554a99291c4acd98af6f177788 /meta-aspeed/recipes-core | |
parent | 8043b8af8243162fe5e12e00ecc0c37b533d302f (diff) | |
download | openbmc-5c3273bbcc59a5f41810a3c977d6eba7933ebd2e.tar.xz |
u-boot-aspeed: Add environment for booting from mmc
This adds the u-boot environment to the u-boot binary.
On the 2600 with mmc 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.
This wasn't a problem for NOR based systems as the built in command knew
how to boot the system (unless you were using a 'special' setup such as
Witherspoon's UBI setup).
The ast2600_openbmc_mmc.txt is copied from
meta-aspeed/recipes-bsp/u-boot/files/u-boot-env-ast2600.txt.
Adriana has indicated she will update openbmc to use the .txt from the
u-boot tree to generate the filesystem image (or we could stop doing
that, and simply use the default?).
The environment processing step requires xxd on the build system.
Joel Stanley (2):
Makefile: Conditionally add defaultenv_h to envtools target
ast2600: Add environment for booting from mmc
Change-Id: I0381ac168285bade75115b7b415e18dd7fc8694e
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'meta-aspeed/recipes-core')
0 files changed, 0 insertions, 0 deletions