From 79c1ddc24665a90fdce6f079fe436f2ba6690e2c Mon Sep 17 00:00:00 2001 From: "Thang Q. Nguyen" Date: Mon, 7 Jun 2021 02:37:41 +0000 Subject: meta-ampere: mtjade: change to use 64MB layout As more features added to Mt.Jade OpenBMC, 32MB is not enough anymore. In addition, the Mt.Jade has 64MB SPI-NOR for BMC firmware. This commit changes to use 64MB BMC layout to have more room for incoming features. Tested: 1. Compile the firmware, flash to Mt.Jade BMC from u-boot and check if it can boot to Linux successfully. 2. Compile another image and check if firmware update works fine. Signed-off-by: Thang Q. Nguyen Change-Id: Ifa3e91a630909ffde39da5bb0ce55d2ad123100d --- meta-ampere/meta-jade/conf/machine/mtjade.conf | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'meta-ampere') diff --git a/meta-ampere/meta-jade/conf/machine/mtjade.conf b/meta-ampere/meta-jade/conf/machine/mtjade.conf index 2649c2e91..1e417929c 100644 --- a/meta-ampere/meta-jade/conf/machine/mtjade.conf +++ b/meta-ampere/meta-jade/conf/machine/mtjade.conf @@ -6,6 +6,13 @@ require conf/machine/include/ast2500.inc require conf/machine/include/obmc-bsp-common.inc require conf/distro/include/phosphor-isolation.inc +# Reformat SPI flash layout to 64MB +FLASH_SIZE = "65536" +FLASH_UBOOT_OFFSET = "0" +FLASH_KERNEL_OFFSET = "1024" +FLASH_ROFS_OFFSET = "10240" +FLASH_RWFS_OFFSET = "43008" + OBMC_MACHINE_FEATURES += "\ obmc-phosphor-chassis-mgmt \ obmc-phosphor-flash-mgmt \ -- cgit v1.2.3