summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-bsp/meta-aspeed
diff options
context:
space:
mode:
authorEdward A. James <eajames@us.ibm.com>2017-08-15 14:18:12 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-08-18 16:16:00 +0000
commitfd6f07c2c85d2882c1384827305ad0a787f3c784 (patch)
treecb0c7f0b772da2d85fd70280ea793b219ecf51dd /meta-openbmc-bsp/meta-aspeed
parent3aa1ef696fd093d16b8c7472d1ffe0f199dc96e7 (diff)
downloadtalos-openbmc-fd6f07c2c85d2882c1384827305ad0a787f3c784.tar.gz
talos-openbmc-fd6f07c2c85d2882c1384827305ad0a787f3c784.zip
Add u-boot redundant environments
Update fw_env config with two sections. Update init script to handle redundant envs. Patch u-boot. Can be removed when openbmc/u-boot is updated and recipe bumped. Resolves openbmc/openbmc#1937 Change-Id: I15137f55d960381a0b3fbb58c53090bbd5b86482 Signed-off-by: Edward A. James <eajames@us.ibm.com>
Diffstat (limited to 'meta-openbmc-bsp/meta-aspeed')
-rw-r--r--meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-bsp/u-boot/files/fw_env.config3
-rw-r--r--meta-openbmc-bsp/meta-aspeed/meta-ast2500/recipes-bsp/u-boot/files/fw_env.config3
2 files changed, 4 insertions, 2 deletions
diff --git a/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-bsp/u-boot/files/fw_env.config b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-bsp/u-boot/files/fw_env.config
index 78c946699..b30372249 100644
--- a/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-bsp/u-boot/files/fw_env.config
+++ b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-bsp/u-boot/files/fw_env.config
@@ -13,7 +13,8 @@
# MTD SPI-dataflash example
# MTD device name Device offset Env. size Flash sector size Number of sectors
#/dev/mtd2 0x00000 0x20000
-/dev/mtd/u-boot-env 0x00000 0x20000
+/dev/mtd/u-boot-env 0x00000 0x10000
+/dev/mtd/u-boot-env 0x10000 0x10000
#/dev/mtd5 0x4200 0x4200
#/dev/mtd6 0x4200 0x4200
diff --git a/meta-openbmc-bsp/meta-aspeed/meta-ast2500/recipes-bsp/u-boot/files/fw_env.config b/meta-openbmc-bsp/meta-aspeed/meta-ast2500/recipes-bsp/u-boot/files/fw_env.config
index 78c946699..b30372249 100644
--- a/meta-openbmc-bsp/meta-aspeed/meta-ast2500/recipes-bsp/u-boot/files/fw_env.config
+++ b/meta-openbmc-bsp/meta-aspeed/meta-ast2500/recipes-bsp/u-boot/files/fw_env.config
@@ -13,7 +13,8 @@
# MTD SPI-dataflash example
# MTD device name Device offset Env. size Flash sector size Number of sectors
#/dev/mtd2 0x00000 0x20000
-/dev/mtd/u-boot-env 0x00000 0x20000
+/dev/mtd/u-boot-env 0x00000 0x10000
+/dev/mtd/u-boot-env 0x10000 0x10000
#/dev/mtd5 0x4200 0x4200
#/dev/mtd6 0x4200 0x4200
OpenPOWER on IntegriCloud