From 96dc863831190ea868b2b49012e194fd0a142ec5 Mon Sep 17 00:00:00 2001 From: FranHsu Date: Tue, 29 Jan 2019 14:57:38 +0800 Subject: 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 Signed-off-by: Brad Bishop --- meta-quanta/meta-gsj/conf/machine/gsj.conf | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 meta-quanta/meta-gsj/conf/machine/gsj.conf (limited to 'meta-quanta/meta-gsj/conf/machine') 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" -- cgit v1.2.3