diff options
author | Yuan Yao <yao.yuan@linaro.org> | 2018-09-12 09:58:22 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-10-25 21:17:41 +0300 |
commit | 72b8b7c0c8ee21bf8a91fd2e5f51423bb28788ee (patch) | |
tree | 6d09ec4e0e09ee9b96dbb809c3ff352562799fff /meta-hxt/meta-stardragon4800-rep2/conf | |
parent | 5b9a0fc143ece21f7ae73866a0037dcf4dd13c1a (diff) | |
download | openbmc-72b8b7c0c8ee21bf8a91fd2e5f51423bb28788ee.tar.xz |
Add meta-hxt and meta-stardragon-rep2
Initial a new platfom for ARM system
(From meta-hxt rev: a74be8cd66acd132d82daf45b6e92c89578c98b0)
Change-Id: Iee29816c86457ac2e07a55184fe7cc1aeb1ba216
Signed-off-by: Yuan Yao <yao.yuan@hxt-semitech.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-hxt/meta-stardragon4800-rep2/conf')
5 files changed, 84 insertions, 0 deletions
diff --git a/meta-hxt/meta-stardragon4800-rep2/conf/bblayers.conf.sample b/meta-hxt/meta-stardragon4800-rep2/conf/bblayers.conf.sample new file mode 100644 index 000000000..ded435f2f --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/conf/bblayers.conf.sample @@ -0,0 +1,35 @@ +# 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-perl \ + ##OEROOT##/meta-openembedded/meta-python \ + ##OEROOT##/meta-openembedded/meta-webserver \ + ##OEROOT##/meta-phosphor \ + ##OEROOT##/meta-aspeed \ + ##OEROOT##/meta-arm \ + ##OEROOT##/meta-hxt \ + ##OEROOT##/meta-hxt/meta-stardragon4800-rep2 \ + " +BBLAYERS_NON_REMOVABLE ?= " \ + ##OEROOT##/meta \ + ##OEROOT##/meta-poky \ + ##OEROOT##/meta-openembedded/meta-oe \ + ##OEROOT##/meta-openembedded/meta-networking \ + ##OEROOT##/meta-openembedded/meta-perl \ + ##OEROOT##/meta-openembedded/meta-python \ + ##OEROOT##/meta-openembedded/meta-webserver \ + ##OEROOT##/meta-phosphor \ + ##OEROOT##/meta-aspeed \ + ##OEROOT##/meta-arm \ + ##OEROOT##/meta-hxt \ + ##OEROOT##/meta-hxt/meta-stardragon4800-rep2 \ + " diff --git a/meta-hxt/meta-stardragon4800-rep2/conf/conf-notes.txt b/meta-hxt/meta-stardragon4800-rep2/conf/conf-notes.txt new file mode 100644 index 000000000..9b3c01a55 --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/conf/conf-notes.txt @@ -0,0 +1,2 @@ +Common targets are: + obmc-phosphor-image diff --git a/meta-hxt/meta-stardragon4800-rep2/conf/layer.conf b/meta-hxt/meta-stardragon4800-rep2/conf/layer.conf new file mode 100644 index 000000000..1232072fe --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/conf/layer.conf @@ -0,0 +1,9 @@ +# 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 += "stardragon4800-rep2" +BBFILE_PATTERN_stardragon4800-rep2 = "" diff --git a/meta-hxt/meta-stardragon4800-rep2/conf/local.conf.sample b/meta-hxt/meta-stardragon4800-rep2/conf/local.conf.sample new file mode 100644 index 000000000..3f5354ceb --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/conf/local.conf.sample @@ -0,0 +1,21 @@ +MACHINE ??= "stardragon4800-rep2" +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; \ + " diff --git a/meta-hxt/meta-stardragon4800-rep2/conf/machine/stardragon4800-rep2.conf b/meta-hxt/meta-stardragon4800-rep2/conf/machine/stardragon4800-rep2.conf new file mode 100644 index 000000000..fa39cc9cc --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/conf/machine/stardragon4800-rep2.conf @@ -0,0 +1,17 @@ +KMACHINE = "aspeed" +KERNEL_DEVICETREE = "${KMACHINE}-ast2500-evb.dtb" + +UBOOT_MACHINE = "ast_g5_ncsi_config" + +FLASH_SIZE = "32768" + + +PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-hostfw-config= "" +require conf/machine/include/ast2500.inc +require conf/machine/include/obmc-bsp-common.inc +require conf/machine/include/hxt.inc + +IMAGE_INSTALL_append = " ir38163-workaround \ + stardragon4800-rep2-console-client \ + socupdate \ +" |