diff options
author | Rick Altherr <raltherr@google.com> | 2017-01-30 13:43:55 -0800 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-02-15 02:40:10 +0000 |
commit | b7975ed3835d6b13e2db48fb16092070d76bf241 (patch) | |
tree | e8d864218b9d2dd18e2cb07e46453955231643d5 /meta-openbmc-machines | |
parent | 23b2ff58109e3436d410344c4d3218d6efd10d6f (diff) | |
download | talos-openbmc-b7975ed3835d6b13e2db48fb16092070d76bf241.tar.gz talos-openbmc-b7975ed3835d6b13e2db48fb16092070d76bf241.zip |
quanta-q71l: initial machine support
Minimal changes to build an OpenBMC image that boots to a login prompt
on a Quanta Q71L server.
Change-Id: Idb78e976f6044d12cee39de8b000dfcbff318c7e
Signed-off-by: Rick Altherr <raltherr@google.com>
Diffstat (limited to 'meta-openbmc-machines')
7 files changed, 90 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-x86/conf/layer.conf b/meta-openbmc-machines/meta-x86/conf/layer.conf new file mode 100644 index 000000000..7567416da --- /dev/null +++ b/meta-openbmc-machines/meta-x86/conf/layer.conf @@ -0,0 +1,5 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH .= ":${LAYERDIR}" + +BBFILE_COLLECTIONS += "obmc_machines_x86" +BBFILE_PATTERN_obmc_machines_x86 = "" diff --git a/meta-openbmc-machines/meta-x86/meta-quanta/conf/layer.conf b/meta-openbmc-machines/meta-x86/meta-quanta/conf/layer.conf new file mode 100644 index 000000000..017e91274 --- /dev/null +++ b/meta-openbmc-machines/meta-x86/meta-quanta/conf/layer.conf @@ -0,0 +1,5 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH .= ":${LAYERDIR}" + +BBFILE_COLLECTIONS += "quanta" +BBFILE_PATTERN_quanta = "" diff --git a/meta-openbmc-machines/meta-x86/meta-quanta/meta-q71l/conf/bblayers.conf.sample b/meta-openbmc-machines/meta-x86/meta-quanta/meta-q71l/conf/bblayers.conf.sample new file mode 100644 index 000000000..1669a9901 --- /dev/null +++ b/meta-openbmc-machines/meta-x86/meta-quanta/meta-q71l/conf/bblayers.conf.sample @@ -0,0 +1,37 @@ +# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf +# changes incompatibly +LCONF_VERSION = "7" + +BBPATH = "${TOPDIR}" +BBFILES ?= "" + +BBLAYERS ?= " \ + ##OEROOT##/meta \ + ##OEROOT##/meta-poky \ + ##OEROOT##/import-layers/meta-openembedded/meta-oe \ + ##OEROOT##/import-layers/meta-openembedded/meta-networking \ + ##OEROOT##/import-layers/meta-openembedded/meta-perl \ + ##OEROOT##/import-layers/meta-openembedded/meta-python \ + ##OEROOT##/import-layers/meta-virtualization \ + ##OEROOT##/meta-phosphor \ + ##OEROOT##/meta-openbmc-bsp/meta-aspeed \ + ##OEROOT##/meta-openbmc-bsp/meta-aspeed/meta-ast2400 \ + ##OEROOT##/meta-openbmc-machines/meta-x86 \ + ##OEROOT##/meta-openbmc-machines/meta-x86/meta-quanta \ + ##OEROOT##/meta-openbmc-machines/meta-x86/meta-quanta/meta-q71l \ + " +BBLAYERS_NON_REMOVABLE ?= " \ + ##OEROOT##/meta \ + ##OEROOT##/meta-poky \ + ##OEROOT##/import-layers/meta-openembedded/meta-oe \ + ##OEROOT##/import-layers/meta-openembedded/meta-networking \ + ##OEROOT##/import-layers/meta-openembedded/meta-perl \ + ##OEROOT##/import-layers/meta-openembedded/meta-python \ + ##OEROOT##/import-layers/meta-virtualization \ + ##OEROOT##/meta-phosphor \ + ##OEROOT##/meta-openbmc-bsp/meta-aspeed \ + ##OEROOT##/meta-openbmc-bsp/meta-aspeed/meta-ast2400 \ + ##OEROOT##/meta-openbmc-machines/meta-x86 \ + ##OEROOT##/meta-openbmc-machines/meta-x86/meta-quanta \ + ##OEROOT##/meta-openbmc-machines/meta-x86/meta-quanta/meta-q71l \ + " diff --git a/meta-openbmc-machines/meta-x86/meta-quanta/meta-q71l/conf/conf-notes.txt b/meta-openbmc-machines/meta-x86/meta-quanta/meta-q71l/conf/conf-notes.txt new file mode 100644 index 000000000..9b3c01a55 --- /dev/null +++ b/meta-openbmc-machines/meta-x86/meta-quanta/meta-q71l/conf/conf-notes.txt @@ -0,0 +1,2 @@ +Common targets are: + obmc-phosphor-image diff --git a/meta-openbmc-machines/meta-x86/meta-quanta/meta-q71l/conf/layer.conf b/meta-openbmc-machines/meta-x86/meta-quanta/meta-q71l/conf/layer.conf new file mode 100644 index 000000000..80bae52e9 --- /dev/null +++ b/meta-openbmc-machines/meta-x86/meta-quanta/meta-q71l/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 += "q71l" +BBFILE_PATTERN_q71l = "" diff --git a/meta-openbmc-machines/meta-x86/meta-quanta/meta-q71l/conf/local.conf.sample b/meta-openbmc-machines/meta-x86/meta-quanta/meta-q71l/conf/local.conf.sample new file mode 100644 index 000000000..8862b5c68 --- /dev/null +++ b/meta-openbmc-machines/meta-x86/meta-quanta/meta-q71l/conf/local.conf.sample @@ -0,0 +1,21 @@ +MACHINE ??= "quanta-q71l" +DISTRO ?= "openbmc-phosphor" +PACKAGE_CLASSES ?= "package_rpm" +SANITY_TESTED_DISTROS_append ?= " RedHatEnterpriseWorkstation-6.*" +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-openbmc-machines/meta-x86/meta-quanta/meta-q71l/conf/machine/quanta-q71l.conf b/meta-openbmc-machines/meta-x86/meta-quanta/meta-q71l/conf/machine/quanta-q71l.conf new file mode 100644 index 000000000..498fd536e --- /dev/null +++ b/meta-openbmc-machines/meta-x86/meta-quanta/meta-q71l/conf/machine/quanta-q71l.conf @@ -0,0 +1,11 @@ +KMACHINE = "aspeed" +KERNEL_DEVICETREE = "${KMACHINE}-bmc-${MACHINE}.dtb" + +require conf/machine/include/ast2400.inc +require conf/machine/include/obmc-bsp-common.inc + +UBOOT_MACHINE_palmetto = "ast_g4_ncsi_config" +UBOOT_ENTRYPOINT = "0x40008000" +UBOOT_LOADADDRESS = "0x40008000" + +FLASH_SIZE = "32768" |