diff options
author | Yi Li <adamliyi@msn.com> | 2016-09-14 15:51:29 +0800 |
---|---|---|
committer | Yi Li <adamliyi@msn.com> | 2016-10-03 19:59:47 +0800 |
commit | 08ba306cc7815c26f96f0af4d6202e1fbc108a11 (patch) | |
tree | 08dc0d07a3c6be4613a857d5096e9d37edf722df /meta-openbmc-machines/meta-evb/meta-evb-raspberrypi | |
parent | f37eede647c279172b52d9209cb55487e896465c (diff) | |
download | talos-openbmc-08ba306cc7815c26f96f0af4d6202e1fbc108a11.tar.gz talos-openbmc-08ba306cc7815c26f96f0af4d6202e1fbc108a11.zip |
Add raspberrypi as a platform
Add configure files to build OpenBMC for Raspberrypi.
Resolves openbmc/openbmc#399
Change-Id: Ibc9ca0357b672c2af8436dc310bc1f10f7773c55
Signed-off-by: Yi Li <adamliyi@msn.com>
Diffstat (limited to 'meta-openbmc-machines/meta-evb/meta-evb-raspberrypi')
3 files changed, 54 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-evb/meta-evb-raspberrypi/conf/bblayers.conf.sample b/meta-openbmc-machines/meta-evb/meta-evb-raspberrypi/conf/bblayers.conf.sample new file mode 100644 index 000000000..7a4476080 --- /dev/null +++ b/meta-openbmc-machines/meta-evb/meta-evb-raspberrypi/conf/bblayers.conf.sample @@ -0,0 +1,27 @@ +# 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##/import-layers/meta-raspberrypi \ + " +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##/import-layers/meta-raspberrypi \ + " diff --git a/meta-openbmc-machines/meta-evb/meta-evb-raspberrypi/conf/conf-notes.txt b/meta-openbmc-machines/meta-evb/meta-evb-raspberrypi/conf/conf-notes.txt new file mode 100644 index 000000000..9b3c01a55 --- /dev/null +++ b/meta-openbmc-machines/meta-evb/meta-evb-raspberrypi/conf/conf-notes.txt @@ -0,0 +1,2 @@ +Common targets are: + obmc-phosphor-image diff --git a/meta-openbmc-machines/meta-evb/meta-evb-raspberrypi/conf/local.conf.sample b/meta-openbmc-machines/meta-evb/meta-evb-raspberrypi/conf/local.conf.sample new file mode 100644 index 000000000..f6ab6bd94 --- /dev/null +++ b/meta-openbmc-machines/meta-evb/meta-evb-raspberrypi/conf/local.conf.sample @@ -0,0 +1,25 @@ +MACHINE ??= "raspberrypi" +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" + +# Set the root password to '0penBmc' +INHERIT += "extrausers" +EXTRA_USERS_PARAMS = " \ + usermod -p '\$1\$UGMqyqdG\$FZiylVFmRRfl9Z0Ue8G7e/' root; \ + " + +require conf/machine/include/obmc-bsp-common.inc |