summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-runbmc-nuvoton/conf
diff options
context:
space:
mode:
authorSamuel Jiang <Samuel.Jiang@quantatw.com>2018-12-28 09:32:14 +0300
committerAndrew Geissler <geissonator@yahoo.com>2019-02-19 16:34:59 +0300
commit8107d68eb231feef627d907a69e96f8e7245e9b4 (patch)
tree028b8313987e95a2a5ffa20d6a1f43c336617c0a /meta-quanta/meta-runbmc-nuvoton/conf
parentfb721b2d86d8edffba56c7c3286197ada88e8b3a (diff)
downloadopenbmc-8107d68eb231feef627d907a69e96f8e7245e9b4.tar.xz
meta-quanta: Add meta-runbmc-nuvoton machine
Initial introduction of Quanta RunBMC family. The meta-runbmc-nuvoton equipped with Nuvoton NPCM750 BMC SoC. Tested: Build Quanta RunBMC board and load on the target hardware. Ensure that BMC boots to console. (From meta-quanta rev: 3501fdf64a14ad925fa911800f662585eb5b5965) Change-Id: If43607a2c7ae177ea2c91b406d7d99fcf4450936 Signed-off-by: Samuel Jiang <Samuel.Jiang@quantatw.com> Signed-off-by: PKLee-Quanta <p.k.lee@quantatw.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-quanta/meta-runbmc-nuvoton/conf')
-rw-r--r--meta-quanta/meta-runbmc-nuvoton/conf/bblayers.conf.sample27
-rw-r--r--meta-quanta/meta-runbmc-nuvoton/conf/conf-notes.txt2
-rw-r--r--meta-quanta/meta-runbmc-nuvoton/conf/layer.conf10
-rw-r--r--meta-quanta/meta-runbmc-nuvoton/conf/local.conf.sample17
-rw-r--r--meta-quanta/meta-runbmc-nuvoton/conf/machine/runbmc-nuvoton.conf11
5 files changed, 67 insertions, 0 deletions
diff --git a/meta-quanta/meta-runbmc-nuvoton/conf/bblayers.conf.sample b/meta-quanta/meta-runbmc-nuvoton/conf/bblayers.conf.sample
new file mode 100644
index 000000000..1e6f3b030
--- /dev/null
+++ b/meta-quanta/meta-runbmc-nuvoton/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-nuvoton \
+ ##OEROOT##/meta-quanta \
+ ##OEROOT##/meta-quanta/meta-runbmc-nuvoton \
+ "
+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-nuvoton \
+ ##OEROOT##/meta-quanta \
+ ##OEROOT##/meta-quanta/meta-runbmc-nuvoton \
+ "
diff --git a/meta-quanta/meta-runbmc-nuvoton/conf/conf-notes.txt b/meta-quanta/meta-runbmc-nuvoton/conf/conf-notes.txt
new file mode 100644
index 000000000..9b3c01a55
--- /dev/null
+++ b/meta-quanta/meta-runbmc-nuvoton/conf/conf-notes.txt
@@ -0,0 +1,2 @@
+Common targets are:
+ obmc-phosphor-image
diff --git a/meta-quanta/meta-runbmc-nuvoton/conf/layer.conf b/meta-quanta/meta-runbmc-nuvoton/conf/layer.conf
new file mode 100644
index 000000000..0f45bc790
--- /dev/null
+++ b/meta-quanta/meta-runbmc-nuvoton/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 += "runbmc-nuvoton-layer"
+BBFILE_PATTERN_runbmc-nuvoton-layer = ""
+LAYERSERIES_COMPAT_runbmc-nuvoton-layer = "thud"
diff --git a/meta-quanta/meta-runbmc-nuvoton/conf/local.conf.sample b/meta-quanta/meta-runbmc-nuvoton/conf/local.conf.sample
new file mode 100644
index 000000000..37ae2b3a8
--- /dev/null
+++ b/meta-quanta/meta-runbmc-nuvoton/conf/local.conf.sample
@@ -0,0 +1,17 @@
+MACHINE ??= "runbmc-nuvoton"
+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"
diff --git a/meta-quanta/meta-runbmc-nuvoton/conf/machine/runbmc-nuvoton.conf b/meta-quanta/meta-runbmc-nuvoton/conf/machine/runbmc-nuvoton.conf
new file mode 100644
index 000000000..4653ce568
--- /dev/null
+++ b/meta-quanta/meta-runbmc-nuvoton/conf/machine/runbmc-nuvoton.conf
@@ -0,0 +1,11 @@
+KMACHINE = "nuvoton"
+KERNEL_DEVICETREE = "${KMACHINE}-npcm750-runbmc.dtb"
+
+UBOOT_MACHINE = "PolegSVB_config"
+
+FLASH_SIZE = "32768"
+require conf/machine/include/npcm7xx.inc
+require conf/machine/include/obmc-bsp-common.inc
+
+IMAGE_FSTYPES += " cpio.${INITRAMFS_CTYPE}.u-boot"
+IMAGE_FSTYPES += " mtd-ubi-tar"