diff options
9 files changed, 78 insertions, 0 deletions
diff --git a/meta-inspur/meta-fp5280g2/conf/bblayers.conf.sample b/meta-inspur/meta-fp5280g2/conf/bblayers.conf.sample new file mode 100644 index 000000000..85de97268 --- /dev/null +++ b/meta-inspur/meta-fp5280g2/conf/bblayers.conf.sample @@ -0,0 +1,31 @@ +# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf +# changes incompatibly +LCONF_VERSION = "8" + +BBPATH = "${TOPDIR}" +BBFILES ?= "" + +BBLAYERS ?= " \ + ##OEROOT##/meta \ + ##OEROOT##/meta-openembedded/meta-oe \ + ##OEROOT##/meta-openembedded/meta-networking \ + ##OEROOT##/meta-openembedded/meta-perl \ + ##OEROOT##/meta-openembedded/meta-python \ + ##OEROOT##/meta-phosphor \ + ##OEROOT##/meta-aspeed \ + ##OEROOT##/meta-openpower \ + ##OEROOT##/meta-inspur \ + ##OEROOT##/meta-inspur/meta-fp5280g2\ + " +BBLAYERS_NON_REMOVABLE ?= " \ + ##OEROOT##/meta \ + ##OEROOT##/meta-openembedded/meta-oe \ + ##OEROOT##/meta-openembedded/meta-networking \ + ##OEROOT##/meta-openembedded/meta-perl \ + ##OEROOT##/meta-openembedded/meta-python \ + ##OEROOT##/meta-phosphor \ + ##OEROOT##/meta-aspeed \ + ##OEROOT##/meta-openpower \ + ##OEROOT##/meta-inspur \ + ##OEROOT##/meta-inspur/meta-fp5280g2 \ + " diff --git a/meta-inspur/meta-fp5280g2/conf/conf-notes.txt b/meta-inspur/meta-fp5280g2/conf/conf-notes.txt new file mode 100644 index 000000000..9b3c01a55 --- /dev/null +++ b/meta-inspur/meta-fp5280g2/conf/conf-notes.txt @@ -0,0 +1,2 @@ +Common targets are: + obmc-phosphor-image diff --git a/meta-inspur/meta-fp5280g2/conf/distro/openbmc-fp5280g2.conf b/meta-inspur/meta-fp5280g2/conf/distro/openbmc-fp5280g2.conf new file mode 100644 index 000000000..2570a9a19 --- /dev/null +++ b/meta-inspur/meta-fp5280g2/conf/distro/openbmc-fp5280g2.conf @@ -0,0 +1 @@ +require conf/distro/openbmc-openpower.conf diff --git a/meta-inspur/meta-fp5280g2/conf/layer.conf b/meta-inspur/meta-fp5280g2/conf/layer.conf new file mode 100644 index 000000000..56da4ba91 --- /dev/null +++ b/meta-inspur/meta-fp5280g2/conf/layer.conf @@ -0,0 +1,10 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have recipes-* directories, add to BBFILES +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ + ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "fp5280g2-layer" +BBFILE_PATTERN_fp5280g2-layer := "^${LAYERDIR}/" +LAYERSERIES_COMPAT_fp5280g2-layer = "thud warrior" diff --git a/meta-inspur/meta-fp5280g2/conf/local.conf.sample b/meta-inspur/meta-fp5280g2/conf/local.conf.sample new file mode 100644 index 000000000..189fcb3d2 --- /dev/null +++ b/meta-inspur/meta-fp5280g2/conf/local.conf.sample @@ -0,0 +1,17 @@ +MACHINE ??= "fp5280g2" +DISTRO ?= "openbmc-fp5280g2" +PACKAGE_CLASSES ?= "package_rpm" +SANITY_TESTED_DISTROS_append ?= " *" +EXTRA_IMAGE_FEATURES = "debug-tweaks" +USER_CLASSES ?= "buildstats image-mklibs image-prelink" +PATCHRESOLVE = "noop" +BB_DISKMON_DIRS = "\ + STOPTASKS,${TMPDIR},1G,100K \ + STOPTASKS,${DL_DIR},1G,100K \ + STOPTASKS,${SSTATE_DIR},1G,100K \ + STOPTASKS,/tmp,100M,100K \ + ABORT,${TMPDIR},100M,1K \ + ABORT,${DL_DIR},100M,1K \ + ABORT,${SSTATE_DIR},100M,1K \ + ABORT,/tmp,10M,1K" +CONF_VERSION = "1" diff --git a/meta-inspur/meta-fp5280g2/conf/machine/fp5280g2.conf b/meta-inspur/meta-fp5280g2/conf/machine/fp5280g2.conf new file mode 100644 index 000000000..2e754bc1f --- /dev/null +++ b/meta-inspur/meta-fp5280g2/conf/machine/fp5280g2.conf @@ -0,0 +1,11 @@ +KMACHINE = "aspeed" +KERNEL_DEVICETREE = "${KMACHINE}-bmc-inspur-${MACHINE}.dtb" + +UBOOT_MACHINE = "ast_g5_ncsi_config" + +PREFERRED_PROVIDER_virtual/p9-vcs-workaround = '' + +require conf/machine/include/ast2500.inc +require conf/machine/include/obmc-bsp-common.inc +require conf/machine/include/openpower.inc +require conf/machine/include/p9.inc diff --git a/meta-inspur/meta-fp5280g2/recipes-kernel/linux/linux-aspeed/fp5280g2/fp5280g2.cfg b/meta-inspur/meta-fp5280g2/recipes-kernel/linux/linux-aspeed/fp5280g2/fp5280g2.cfg new file mode 100644 index 000000000..8217a18a7 --- /dev/null +++ b/meta-inspur/meta-fp5280g2/recipes-kernel/linux/linux-aspeed/fp5280g2/fp5280g2.cfg @@ -0,0 +1,2 @@ +CONFIG_SENSORS_TMP421=y +CONFIG_SENSORS_EMC1403=y diff --git a/meta-inspur/meta-fp5280g2/recipes-kernel/linux/linux-aspeed_%.bbappend b/meta-inspur/meta-fp5280g2/recipes-kernel/linux/linux-aspeed_%.bbappend new file mode 100644 index 000000000..4d2288fe4 --- /dev/null +++ b/meta-inspur/meta-fp5280g2/recipes-kernel/linux/linux-aspeed_%.bbappend @@ -0,0 +1,3 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI_append_fp5280g2 = " file://fp5280g2.cfg" diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/host/p9-host-start.bbappend b/meta-inspur/meta-fp5280g2/recipes-phosphor/host/p9-host-start.bbappend new file mode 100644 index 000000000..a2c59c5f8 --- /dev/null +++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/host/p9-host-start.bbappend @@ -0,0 +1 @@ +RDEPENDS_${PN}_remove_fp5280g2 = "p9-vcs-workaround" |