summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-gsj/conf/machine
diff options
context:
space:
mode:
authorFranHsu <Fran.Hsu@quantatw.com>2019-01-29 09:57:38 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-02-04 16:50:52 +0300
commit96dc863831190ea868b2b49012e194fd0a142ec5 (patch)
tree3e5e99e68f7d2a1e6b667f88eb543c6ee8cc370a /meta-quanta/meta-gsj/conf/machine
parentf33e9a1c62bd0f703b63c2a7849f035c66cde488 (diff)
downloadopenbmc-96dc863831190ea868b2b49012e194fd0a142ec5.tar.xz
Add a new layer meta-gsj to meta-quanta.
Tested: This commit included the basic machine config and package group setting for project GSJ. And it could build successfully with meta-nuvoton fix (https://gerrit.openbmc-project.xyz/#/c/openbmc/openbmc/+/17719/). But the built image cannot run on EVB now, it is because the image generate script still not ready yet. (From meta-quanta rev: e08538d3df34128ef92c0593c1556931e62c614a) Change-Id: I2724915dd674bbce0db16a3714bc50cf8993f9b9 Signed-off-by: FranHsu <Fran.Hsu@quantatw.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-quanta/meta-gsj/conf/machine')
-rw-r--r--meta-quanta/meta-gsj/conf/machine/gsj.conf26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-quanta/meta-gsj/conf/machine/gsj.conf b/meta-quanta/meta-gsj/conf/machine/gsj.conf
new file mode 100644
index 000000000..08e9078fc
--- /dev/null
+++ b/meta-quanta/meta-gsj/conf/machine/gsj.conf
@@ -0,0 +1,26 @@
+KMACHINE = "nuvoton"
+KERNEL_DEVICETREE = "${KMACHINE}-npcm730-gsj.dtb"
+
+UBOOT_MACHINE = "PolegSVB_config"
+
+FLASH_SIZE = "65536"
+require conf/machine/include/npcm7xx.inc
+require conf/machine/include/obmc-bsp-common.inc
+
+IMAGE_FSTYPES += " cpio.${INITRAMFS_CTYPE}.u-boot"
+IMAGE_FSTYPES += " mtd-ubi-tar"
+
+OBMC_MACHINE_FEATURES += "\
+ obmc-phosphor-fan-mgmt \
+ obmc-phosphor-chassis-mgmt \
+ obmc-phosphor-flash-mgmt \
+ obmc-host-ipmi \
+ obmc-host-state-mgmt \
+ obmc-chassis-state-mgmt \
+ obmc-bmc-state-mgmt \
+ "
+
+PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-gsj-apps"
+PREFERRED_PROVIDER_virtual/obmc-fan-mgmt = "packagegroup-gsj-apps"
+PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-gsj-apps"
+PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-gsj-apps"