diff options
7 files changed, 85 insertions, 0 deletions
diff --git a/meta-openbmc-bsp/meta-nuvoton/meta-npcm7xx/conf/machine/evb-npcm750.conf b/meta-openbmc-bsp/meta-nuvoton/meta-npcm7xx/conf/machine/evb-npcm750.conf new file mode 100644 index 000000000..e06e93a7c --- /dev/null +++ b/meta-openbmc-bsp/meta-nuvoton/meta-npcm7xx/conf/machine/evb-npcm750.conf @@ -0,0 +1,9 @@ +KMACHINE = "nuvoton" +KERNEL_DEVICETREE = "${KMACHINE}-npcm750-evb.dtb" + +UBOOT_MACHINE = "PolegSVB_config" + +FLASH_SIZE = "32768" + +require conf/machine/include/npcm7xx.inc +require conf/machine/include/obmc-bsp-common.inc diff --git a/meta-openbmc-machines/meta-evb/meta-evb-nuvoton/conf/layer.conf b/meta-openbmc-machines/meta-evb/meta-evb-nuvoton/conf/layer.conf new file mode 100644 index 000000000..924e3a7f4 --- /dev/null +++ b/meta-openbmc-machines/meta-evb/meta-evb-nuvoton/conf/layer.conf @@ -0,0 +1,5 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH .= ":${LAYERDIR}" + +BBFILE_COLLECTIONS += "evb-nuvoton" +BBFILE_PATTERN_evb-nuvoton = "" diff --git a/meta-openbmc-machines/meta-evb/meta-evb-nuvoton/meta-evb-npcm750/README.md b/meta-openbmc-machines/meta-evb/meta-evb-nuvoton/meta-evb-npcm750/README.md new file mode 100644 index 000000000..2fbc4ac36 --- /dev/null +++ b/meta-openbmc-machines/meta-evb/meta-evb-nuvoton/meta-evb-npcm750/README.md @@ -0,0 +1,8 @@ +Nuvoton NPCM750 Evaluation Board +================ + +This is the Nuvoton NPCM750 evaluation board layer. +The NPCM750 is an ARM based SoC with external DDR RAM and +supports a large set of peripherals made by Nuvoton. +More information about the NPCM7XX can be found +[here](http://www.nuvoton.com/hq/products/cloud-computing/ibmc/?__locale=en).
\ No newline at end of file diff --git a/meta-openbmc-machines/meta-evb/meta-evb-nuvoton/meta-evb-npcm750/conf/bblayers.conf.sample b/meta-openbmc-machines/meta-evb/meta-evb-nuvoton/meta-evb-npcm750/conf/bblayers.conf.sample new file mode 100644 index 000000000..6298c5da2 --- /dev/null +++ b/meta-openbmc-machines/meta-evb/meta-evb-nuvoton/meta-evb-npcm750/conf/bblayers.conf.sample @@ -0,0 +1,35 @@ +# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf +# changes incompatibly +LCONF_VERSION = "6" + +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-python \ + ##OEROOT##/import-layers/meta-virtualization \ + ##OEROOT##/meta-phosphor \ + ##OEROOT##/meta-openbmc-bsp/meta-nuvoton \ + ##OEROOT##/meta-openbmc-bsp/meta-nuvoton/meta-npcm7xx \ + ##OEROOT##/meta-openbmc-machines/meta-evb \ + ##OEROOT##/meta-openbmc-machines/meta-evb/meta-evb-nuvoton \ + ##OEROOT##/meta-openbmc-machines/meta-evb/meta-evb-nuvoton/meta-evb-npcm750 \ + " +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-python \ + ##OEROOT##/import-layers/meta-virtualization \ + ##OEROOT##/meta-phosphor \ + ##OEROOT##/meta-openbmc-bsp/meta-nuvoton \ + ##OEROOT##/meta-openbmc-bsp/meta-nuvoton/meta-npcm7xx \ + ##OEROOT##/meta-openbmc-machines/meta-evb \ + ##OEROOT##/meta-openbmc-machines/meta-evb/meta-evb-nuvoton \ + ##OEROOT##/meta-openbmc-machines/meta-evb/meta-evb-nuvoton/meta-evb-npcm750 \ + " diff --git a/meta-openbmc-machines/meta-evb/meta-evb-nuvoton/meta-evb-npcm750/conf/conf-notes.txt b/meta-openbmc-machines/meta-evb/meta-evb-nuvoton/meta-evb-npcm750/conf/conf-notes.txt new file mode 100644 index 000000000..9b3c01a55 --- /dev/null +++ b/meta-openbmc-machines/meta-evb/meta-evb-nuvoton/meta-evb-npcm750/conf/conf-notes.txt @@ -0,0 +1,2 @@ +Common targets are: + obmc-phosphor-image diff --git a/meta-openbmc-machines/meta-evb/meta-evb-nuvoton/meta-evb-npcm750/conf/layer.conf b/meta-openbmc-machines/meta-evb/meta-evb-nuvoton/meta-evb-npcm750/conf/layer.conf new file mode 100644 index 000000000..9ed2757a8 --- /dev/null +++ b/meta-openbmc-machines/meta-evb/meta-evb-nuvoton/meta-evb-npcm750/conf/layer.conf @@ -0,0 +1,5 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH .= ":${LAYERDIR}" + +BBFILE_COLLECTIONS += "evb-npcm750" +BBFILE_PATTERN_evb-npcm750 = "" diff --git a/meta-openbmc-machines/meta-evb/meta-evb-nuvoton/meta-evb-npcm750/conf/local.conf.sample b/meta-openbmc-machines/meta-evb/meta-evb-nuvoton/meta-evb-npcm750/conf/local.conf.sample new file mode 100644 index 000000000..950554c97 --- /dev/null +++ b/meta-openbmc-machines/meta-evb/meta-evb-nuvoton/meta-evb-npcm750/conf/local.conf.sample @@ -0,0 +1,21 @@ +MACHINE ??= "evb-npcm750" +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; \ + " |