commit | f1d00122b3714028055caa2d09888643ca743601 | [log] [tgz] |
---|---|---|
author | Milton D. Miller II <miltonm@us.ibm.com> | Wed Jan 20 15:28:27 2016 -0600 |
committer | Milton D. Miller II <miltonm@us.ibm.com> | Thu Jan 28 15:45:45 2016 -0600 |
tree | dd8b6f7512d838fcdb1c42fae634298e05884b54 | |
parent | ee7c1206b575b634e27b605664bdaade9dd814ec [diff] |
u-boot : add fw_env.config Add the fw_env.config file to SRC_URI to include it in the build tree, and update it to point to /dev/mtd2 as 128k, which the current flash layout. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
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 9cb3ad2..fe09890 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
@@ -7,11 +7,12 @@ # NOR example # MTD device name Device offset Env. size Flash sector size Number of sectors -/dev/mtd1 0x0000 0x20000 0x20000 +#/dev/mtd1 0x0000 0x20000 0x20000 #/dev/mtd2 0x0000 0x4000 0x4000 # MTD SPI-dataflash example # MTD device name Device offset Env. size Flash sector size Number of sectors +/dev/mtd2 0x00000 0x20000 #/dev/mtd5 0x4200 0x4200 #/dev/mtd6 0x4200 0x4200
diff --git a/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-bsp/u-boot/u-boot_2013.07%.bbappend b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-bsp/u-boot/u-boot_2013.07%.bbappend index 12fddbf..50adb9f 100644 --- a/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-bsp/u-boot/u-boot_2013.07%.bbappend +++ b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-bsp/u-boot/u-boot_2013.07%.bbappend
@@ -1,5 +1,6 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/files:" +SRC_URI += "file://fw_env.config" SRC_URI += "file://config.patch" # Do not install u-boot in rootfs