[PATCH u-boot v2019.04-aspeed-openbmc 2/2] ast2600: Add environment for booting from mmc

Lei Yu yulei.sh at bytedance.com
Mon Jun 21 17:33:56 AEST 2021

On Mon, Jun 21, 2021 at 2:17 PM Joel Stanley <joel at jms.id.au> wrote:
> On Fri, 18 Jun 2021 at 03:12, Lei Yu <yulei.sh at bytedance.com> wrote:
> >
> > On Fri, Jun 18, 2021 at 10:49 AM Joel Stanley <joel at jms.id.au> wrote:
> > >
> > > This adds the default environment from the OpenBMC project.
> > > +CONFIG_DEFAULT_ENV_FILE="board/aspeed/ast2600_openbmc_mmc.txt"
> >
> > This is good, we hit an issue before that is related to the default
> > env not in the flash.
> > Could you kindly help to make the same change for other configs?
> > E.g. for ast2500/ast2600 evb config.
> That's a good idea.
> Do you use the mmc or nor flash to boot the ast2600 evb?

We use 64M nor flash on ast2600

> For the ast2500, the existing built-in config should work, as long as
> it's pointing to the correct flash offset. If it's not, then we can
> either update the existing bootcmd, or add a .txt with the desired
> config.

On ast2500, we hit an issue that is described in the below Discord thread.
Basically it's related to the default env in the u-boot code is not
sync with the u-boot-env partition.

Lei YU

More information about the openbmc mailing list