meta-amd: EthanolX platform configuration
This patch adds EthanolX platform configuration and describes the
OpenBMC features that EthanolX will support.
Build Steps:
. setup ethanolx
Build the OpenBMC flash image
"bitbake obmc-phosphor-image"
Flashing
Flash image will be generated here:
"openbmc/build/ethanolx/tmp/deploy/images/ethanolx/
obmc-phosphor-image-ethanolx.static.mtd"
Flash obmc-phosphor-image-ethanolx.static.mtd image using Dediprog.
Running
Connect Serial Cable to Management UART Header and the serial console
should boot OpenBMC console.
Change-Id: I0a56012bf806d33c3229aa9bbaad7f36865af8cc
Signed-off-by: Supreeth Venkatesh <supreeth.venkatesh@amd.com>
diff --git a/meta-ethanolx/conf/machine/ethanolx.conf b/meta-ethanolx/conf/machine/ethanolx.conf
new file mode 100644
index 0000000..e85e5af
--- /dev/null
+++ b/meta-ethanolx/conf/machine/ethanolx.conf
@@ -0,0 +1,38 @@
+
+KMACHINE = "aspeed"
+KERNEL_DEVICETREE = "${KMACHINE}-bmc-amd-${MACHINE}.dtb"
+
+UBOOT_MACHINE_ethanolx = "ast_g5_phy_config"
+
+require conf/machine/include/ast2500.inc
+require conf/machine/include/obmc-bsp-common.inc
+
+SERIAL_CONSOLES = "115200;ttyS4"
+
+FLASH_SIZE = "32768"
+
+OBMC_MACHINE_FEATURES += "\
+ obmc-bmc-state-mgmt \
+ obmc-chassis-state-mgmt \
+ obmc-host-state-mgmt \
+ obmc-phosphor-chassis-mgmt \
+ obmc-host-ipmi \
+ obmc-phosphor-fan-mgmt \
+ obmc-phosphor-flash-mgmt \
+ "
+
+VIRTUAL-RUNTIME_skeleton_workbook = "${MACHINE}-config"
+VIRTUAL-RUNTIME_obmc-host-state-manager ?= ""
+VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= ""
+
+PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-amd-apps"
+PREFERRED_PROVIDER_virtual/obmc-fan-mgmt = "packagegroup-amd-apps"
+PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-amd-apps"
+PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw ?= "phosphor-ipmi-kcs"
+PREFERRED_PROVIDER_virtual/obmc-inventory-data ?= "${VIRTUAL-RUNTIME_skeleton_workbook}"
+PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-amd-apps"
+PREFERRED_PROVIDER_virtual/obmc-host-ctl ?= ""
+
+OVERRIDES .= ":amd"
+
+