summaryrefslogtreecommitdiffstats
path: root/meta-quanta/meta-f0b/conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-quanta/meta-f0b/conf')
-rw-r--r--meta-quanta/meta-f0b/conf/bblayers.conf.sample27
-rw-r--r--meta-quanta/meta-f0b/conf/conf-notes.txt2
-rw-r--r--meta-quanta/meta-f0b/conf/layer.conf10
-rw-r--r--meta-quanta/meta-f0b/conf/local.conf.sample19
-rw-r--r--meta-quanta/meta-f0b/conf/machine/f0b.conf23
5 files changed, 81 insertions, 0 deletions
diff --git a/meta-quanta/meta-f0b/conf/bblayers.conf.sample b/meta-quanta/meta-f0b/conf/bblayers.conf.sample
new file mode 100644
index 000000000..28b258258
--- /dev/null
+++ b/meta-quanta/meta-f0b/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-openembedded/meta-oe \
+ ##OEROOT##/meta-openembedded/meta-networking \
+ ##OEROOT##/meta-openembedded/meta-python \
+ ##OEROOT##/meta-phosphor \
+ ##OEROOT##/meta-aspeed \
+ ##OEROOT##/meta-quanta \
+ ##OEROOT##/meta-quanta/meta-f0b \
+ "
+BBLAYERS_NON_REMOVABLE ?= " \
+ ##OEROOT##/meta \
+ ##OEROOT##/meta-openembedded/meta-oe \
+ ##OEROOT##/meta-openembedded/meta-networking \
+ ##OEROOT##/meta-openembedded/meta-python \
+ ##OEROOT##/meta-phosphor \
+ ##OEROOT##/meta-aspeed \
+ ##OEROOT##/meta-quanta \
+ ##OEROOT##/meta-quanta/meta-f0b \
+ "
diff --git a/meta-quanta/meta-f0b/conf/conf-notes.txt b/meta-quanta/meta-f0b/conf/conf-notes.txt
new file mode 100644
index 000000000..9b3c01a55
--- /dev/null
+++ b/meta-quanta/meta-f0b/conf/conf-notes.txt
@@ -0,0 +1,2 @@
+Common targets are:
+ obmc-phosphor-image
diff --git a/meta-quanta/meta-f0b/conf/layer.conf b/meta-quanta/meta-f0b/conf/layer.conf
new file mode 100644
index 000000000..66f5bb3ce
--- /dev/null
+++ b/meta-quanta/meta-f0b/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 += "f0b-layer"
+BBFILE_PATTERN_f0b-layer = ""
+LAYERSERIES_COMPAT_f0b-layer = "thud"
diff --git a/meta-quanta/meta-f0b/conf/local.conf.sample b/meta-quanta/meta-f0b/conf/local.conf.sample
new file mode 100644
index 000000000..e892ef8aa
--- /dev/null
+++ b/meta-quanta/meta-f0b/conf/local.conf.sample
@@ -0,0 +1,19 @@
+
+MACHINE ??= "f0b"
+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"
diff --git a/meta-quanta/meta-f0b/conf/machine/f0b.conf b/meta-quanta/meta-f0b/conf/machine/f0b.conf
new file mode 100644
index 000000000..7ffc266c8
--- /dev/null
+++ b/meta-quanta/meta-f0b/conf/machine/f0b.conf
@@ -0,0 +1,23 @@
+KMACHINE = "aspeed"
+
+# The device tree of F0B is not ready yet, temporarily replace it with aspeed-ast2500-evb.dtb
+KERNEL_DEVICETREE = "${KMACHINE}-ast2500-evb.dtb"
+
+UBOOT_MACHINE = "ast_g5_phy_config"
+
+MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
+
+# Overwrite flash offsets
+FLASH_UBOOT_OFFSET = "0"
+FLASH_KERNEL_OFFSET = "512"
+FLASH_UBI_OFFSET = "${FLASH_KERNEL_OFFSET}"
+FLASH_ROFS_OFFSET = "4864"
+FLASH_RWFS_OFFSET = "49152"
+FLASH_SIZE = "65536"
+
+require conf/machine/include/ast2500.inc
+require conf/machine/include/obmc-bsp-common.inc
+
+PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw = "phosphor-ipmi-kcs"
+PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-inventory = "f0b-ipmi-inventory-map-native"
+PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-read-inventory = "f0b-ipmi-fru-read-inventory-native"
OpenPOWER on IntegriCloud