summaryrefslogtreecommitdiff
path: root/meta-ibm
diff options
context:
space:
mode:
authorAdriana Kobylak <anoo@us.ibm.com>2023-06-23 18:06:05 +0300
committerAndrew Geissler <geissonator@yahoo.com>2023-06-26 18:43:44 +0300
commit4254f1b647f4595cbc2ab7d043655edae541c5b8 (patch)
tree039ae1902da480a01b577e6fa2d08c0d9bbc5be7 /meta-ibm
parent59c98f4cab8df2fa9c7bd483a79065368754844c (diff)
downloadopenbmc-4254f1b647f4595cbc2ab7d043655edae541c5b8.tar.xz
meta-ibm: p10bmc: Move Bonnell dtb to be first on list
The first dtb listed in the KERNEL_DEVICETREE list is the default used for the BMC's genesis boot. The Bonnell device tree specifies an eeprom that's larger in size than other p10bmc systems. Therefore the device driver currently truncates the data on this eeprom when doing a genesis boot on Bonnell since the default device tree is for Rainier. Move Bonnell to the top of the list to be the default since it has the larger eeprom size. Tested: Booted Rainier and Everest on simulation to test a genesis BMC boot. Verified they first booted with the Bonnell's device tree, then the BMC automatically rebooted after the machine type was identified and the device tree corresponding to the system was loaded. Change-Id: Icb9abe7d8b04d42befd9eb906d095f4fa046ab3c Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to 'meta-ibm')
-rw-r--r--meta-ibm/conf/machine/p10bmc.conf10
1 files changed, 7 insertions, 3 deletions
diff --git a/meta-ibm/conf/machine/p10bmc.conf b/meta-ibm/conf/machine/p10bmc.conf
index e42ec227f9..bf067c372d 100644
--- a/meta-ibm/conf/machine/p10bmc.conf
+++ b/meta-ibm/conf/machine/p10bmc.conf
@@ -1,10 +1,14 @@
DISTRO_NAME = "IBM eBMC (OpenBMC for IBM Enterprise Systems)"
+# The first dtb listed is the one used by default on a BMC genesis boot.
+# Need bonnell to be the first one because it contains an eeprom that's bigger
+# than in the other systems. Otherwise the device driver would truncate the data
+# on that eeprom on a bonnell system.
KERNEL_DEVICETREE = \
- "aspeed-bmc-ibm-rainier.dtb \
+ "aspeed-bmc-ibm-bonnell.dtb \
+ aspeed-bmc-ibm-rainier.dtb \
aspeed-bmc-ibm-rainier-4u.dtb \
- aspeed-bmc-ibm-everest.dtb \
- aspeed-bmc-ibm-bonnell.dtb"
+ aspeed-bmc-ibm-everest.dtb"
UBOOT_MACHINE = "ast2600_openbmc_spl_emmc_defconfig"
UBOOT_DEVICETREE = "ast2600-p10bmc"
SPL_BINARY = "spl/u-boot-spl.bin"