<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div>Thanks Joel! There are some improvements to the boot command proposed here: <a href="https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/41778" class="">https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/41778</a></div><div>Maybe we pick those changes up in this initial commit so the two environment files are in sync? Otherwise we can submit a follow-up patch latest to update this .txt file.</div><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class="">On Jun 17, 2021, at 9:47 PM, Joel Stanley <<a href="mailto:joel@jms.id.au" class="">joel@jms.id.au</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">This adds the default environment from the OpenBMC project.<br class=""><br class="">Signed-off-by: Joel Stanley <<a href="mailto:joel@jms.id.au" class="">joel@jms.id.au</a>><br class=""></div></div></blockquote><div><br class=""></div><div>Reviewed-by: Adriana Kobylak <<a href="mailto:anoo@us.ibm.com" class="">anoo@us.ibm.com</a>></div><br class=""><blockquote type="cite" class=""><div class=""><div class="">---<br class=""> board/aspeed/ast2600_openbmc_mmc.txt       | 9 +++++++++<br class=""> configs/ast2600_openbmc_spl_emmc_defconfig | 2 ++<br class=""> 2 files changed, 11 insertions(+)<br class=""> create mode 100644 board/aspeed/ast2600_openbmc_mmc.txt<br class=""><br class="">diff --git a/board/aspeed/ast2600_openbmc_mmc.txt b/board/aspeed/ast2600_openbmc_mmc.txt<br class="">new file mode 100644<br class="">index 000000000000..47a474c92d70<br class="">--- /dev/null<br class="">+++ b/board/aspeed/ast2600_openbmc_mmc.txt<br class="">@@ -0,0 +1,9 @@<br class="">+bootargs=console=ttyS4,115200n8<br class="">+boota=setenv bootpart 2; setenv rootfs rofs-a; run setmmcargs; ext4load mmc 0:${bootpart} ${loadaddr} fitImage && bootm; echo Error loading kernel FIT image<br class="">+bootb=setenv bootpart 3; setenv rootfs rofs-b; run setmmcargs; ext4load mmc 0:${bootpart} ${loadaddr} fitImage && bootm; echo Error loading kernel FIT image<br class="">+bootcmd=if test "${bootside}" = "b"; then run bootb; run boota; else run boota; run bootb; fi<br class="">+bootdelay=2<br class="">+bootside=a<br class="">+loadaddr=0x83000000<br class="">+rootfs=rofs-a<br class="">+setmmcargs=setenv bootargs ${bootargs} rootwait root=PARTLABEL=${rootfs}<br class="">diff --git a/configs/ast2600_openbmc_spl_emmc_defconfig b/configs/ast2600_openbmc_spl_emmc_defconfig<br class="">index c5d03721c97a..344a4d8f9c96 100644<br class="">--- a/configs/ast2600_openbmc_spl_emmc_defconfig<br class="">+++ b/configs/ast2600_openbmc_spl_emmc_defconfig<br class="">@@ -83,6 +83,8 @@ CONFIG_CMD_MTDPARTS=y<br class=""> # CONFIG_SPL_EFI_PARTITION is not set<br class=""> CONFIG_SPL_OF_CONTROL=y<br class=""> CONFIG_ENV_IS_IN_MMC=y<br class="">+CONFIG_USE_DEFAULT_ENV_FILE=y<br class="">+CONFIG_DEFAULT_ENV_FILE="board/aspeed/ast2600_openbmc_mmc.txt"<br class=""> CONFIG_NET_RANDOM_ETHADDR=y<br class=""> CONFIG_SPL_DM=y<br class=""> CONFIG_REGMAP=y<br class="">-- <br class="">2.32.0<br class=""><br class=""></div></div></blockquote></div><br class=""></body></html>