diff options
Diffstat (limited to 'meta-evb/meta-evb-aspeed')
5 files changed, 70 insertions, 0 deletions
diff --git a/meta-evb/meta-evb-aspeed/meta-evb-ast2600/README.md b/meta-evb/meta-evb-aspeed/meta-evb-ast2600/README.md new file mode 100644 index 000000000..fd1e33442 --- /dev/null +++ b/meta-evb/meta-evb-aspeed/meta-evb-ast2600/README.md @@ -0,0 +1,9 @@ +Convenience layer for building OpenBMC on ASPEED AST2600 EVB +================ + +This layer allows you to build OpenBMC for AST2600 EVB in the Aspeed BSP layer +without having to manually configure bblayers.conf and local.conf. + +The AST2600 is an ARM, service management SOC made by ASPEED. More information +about the AST2600 can be found +[here](http://aspeedtech.com/server_ast2600/). diff --git a/meta-evb/meta-evb-aspeed/meta-evb-ast2600/conf/bblayers.conf.sample b/meta-evb/meta-evb-aspeed/meta-evb-ast2600/conf/bblayers.conf.sample new file mode 100644 index 000000000..f9f079a26 --- /dev/null +++ b/meta-evb/meta-evb-aspeed/meta-evb-ast2600/conf/bblayers.conf.sample @@ -0,0 +1,27 @@ +# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf +# changes incompatibly +LCONF_VERSION = "8" + +BBPATH = "${TOPDIR}" +BBFILES ?= "" + +BBLAYERS ?= " \ + ##OEROOT##/meta \ + ##OEROOT##/meta-poky \ + ##OEROOT##/meta-openembedded/meta-oe \ + ##OEROOT##/meta-openembedded/meta-networking \ + ##OEROOT##/meta-openembedded/meta-python \ + ##OEROOT##/meta-phosphor \ + ##OEROOT##/meta-aspeed \ + ##OEROOT##/meta-evb/meta-evb-aspeed/meta-evb-ast2600 \ + " +BBLAYERS_NON_REMOVABLE ?= " \ + ##OEROOT##/meta \ + ##OEROOT##/meta-poky \ + ##OEROOT##/meta-openembedded/meta-oe \ + ##OEROOT##/meta-openembedded/meta-networking \ + ##OEROOT##/meta-openembedded/meta-python \ + ##OEROOT##/meta-phosphor \ + ##OEROOT##/meta-aspeed \ + ##OEROOT##/meta-evb/meta-evb-aspeed/meta-evb-ast2600 \ + " diff --git a/meta-evb/meta-evb-aspeed/meta-evb-ast2600/conf/conf-notes.txt b/meta-evb/meta-evb-aspeed/meta-evb-ast2600/conf/conf-notes.txt new file mode 100644 index 000000000..9b3c01a55 --- /dev/null +++ b/meta-evb/meta-evb-aspeed/meta-evb-ast2600/conf/conf-notes.txt @@ -0,0 +1,2 @@ +Common targets are: + obmc-phosphor-image diff --git a/meta-evb/meta-evb-aspeed/meta-evb-ast2600/conf/layer.conf b/meta-evb/meta-evb-aspeed/meta-evb-ast2600/conf/layer.conf new file mode 100644 index 000000000..2a88b8aa2 --- /dev/null +++ b/meta-evb/meta-evb-aspeed/meta-evb-ast2600/conf/layer.conf @@ -0,0 +1,11 @@ +# 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 += "meta-evb-ast2600" +BBFILE_PATTERN_meta-evb-ast2600 = "^${LAYERDIR}/" + +LAYERSERIES_COMPAT_meta-evb-ast2600 = "dunfell gatesgarth" diff --git a/meta-evb/meta-evb-aspeed/meta-evb-ast2600/conf/local.conf.sample b/meta-evb/meta-evb-aspeed/meta-evb-ast2600/conf/local.conf.sample new file mode 100644 index 000000000..ab109b046 --- /dev/null +++ b/meta-evb/meta-evb-aspeed/meta-evb-ast2600/conf/local.conf.sample @@ -0,0 +1,21 @@ +MACHINE ??= "evb-ast2600" +DISTRO ?= "openbmc-phosphor" +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" +INHERIT += "extrausers" +EXTRA_USERS_PARAMS = " \ + usermod -p '\$1\$UGMqyqdG\$FZiylVFmRRfl9Z0Ue8G7e/' root; \ + " |