Initial commit
This commit is contained in:
@@ -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 += "lannister"
|
||||
BBFILE_PATTERN_lannister = "^${LAYERDIR}/"
|
||||
LAYERSERIES_COMPAT_lannister = "langdale mickledore"
|
||||
@@ -0,0 +1,22 @@
|
||||
KMACHINE = "aspeed"
|
||||
KERNEL_DEVICETREE = "${KMACHINE}-bmc-wistron-${MACHINE}.dtb"
|
||||
|
||||
require conf/machine/include/wistron.inc
|
||||
require conf/machine/include/ast2600.inc
|
||||
require conf/machine/include/obmc-bsp-common.inc
|
||||
|
||||
UBOOT_MACHINE = "ast2600_openbmc_defconfig"
|
||||
UBOOT_DEVICETREE = "ast2600-intel"
|
||||
SPL_BINARY = "spl/u-boot-spl.bin"
|
||||
SOCSEC_SIGN_ENABLE = "0"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS4"
|
||||
|
||||
FLASH_SIZE = "65536"
|
||||
|
||||
OBMC_MACHINE_FEATURES += "\
|
||||
obmc-chassis-state-mgmt \
|
||||
obmc-host-state-mgmt \
|
||||
"
|
||||
VIRTUAL-RUNTIME_obmc-host-state-manager ?= "x86-power-control"
|
||||
VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "x86-power-control"
|
||||
@@ -0,0 +1,18 @@
|
||||
# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
|
||||
# changes incompatibly
|
||||
LCONF_VERSION = "8"
|
||||
|
||||
BBPATH = "${TOPDIR}"
|
||||
BBFILES ?= ""
|
||||
|
||||
BBLAYERS ?= " \
|
||||
##OEROOT##/meta \
|
||||
##OEROOT##/meta-poky \
|
||||
##OEROOT##/meta-openembedded/meta-oe \
|
||||
##OEROOT##/meta-openembedded/meta-networking \
|
||||
##OEROOT##/meta-openembedded/meta-python \
|
||||
##OEROOT##/meta-aspeed \
|
||||
##OEROOT##/meta-phosphor \
|
||||
##OEROOT##/meta-wistron \
|
||||
##OEROOT##/meta-wistron/meta-lannister \
|
||||
"
|
||||
@@ -0,0 +1,2 @@
|
||||
Common targets are:
|
||||
obmc-phosphor-image
|
||||
@@ -0,0 +1,18 @@
|
||||
MACHINE ??= "lannister"
|
||||
DISTRO ?= "openbmc-phosphor"
|
||||
PACKAGE_CLASSES ?= "package_ipk"
|
||||
SANITY_TESTED_DISTROS:append ?= " *"
|
||||
EXTRA_IMAGE_FEATURES += "debug-tweaks"
|
||||
USER_CLASSES ?= "buildstats"
|
||||
PATCHRESOLVE = "noop"
|
||||
BB_DISKMON_DIRS = "\
|
||||
STOPTASKS,${TMPDIR},1G,100K \
|
||||
STOPTASKS,${DL_DIR},1G,100K \
|
||||
STOPTASKS,${SSTATE_DIR},1G,100K \
|
||||
STOPTASKS,/tmp,100M,100K \
|
||||
HALT,${TMPDIR},100M,1K \
|
||||
HALT,${DL_DIR},100M,1K \
|
||||
HALT,${SSTATE_DIR},100M,1K \
|
||||
HALT,/tmp,10M,1K"
|
||||
CONF_VERSION = "2"
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
CONFIG_SENSORS_ASPEED=n
|
||||
CONFIG_SENSORS_ASPEED_G6=y
|
||||
CONFIG_SPI_ASPEED_SMC=y
|
||||
CONFIG_SPI_FMC=y
|
||||
CONFIG_I3C=y
|
||||
CONFIG_DW_I3C_MASTER=y
|
||||
CONFIG_ASPEED_I3C_MASTER=y
|
||||
CONFIG_I3CDEV=y
|
||||
CONFIG_U_SERIAL_CONSOLE=n
|
||||
CONFIG_HIGHMEM=n
|
||||
CONFIG_I2C_SLAVE_MQUEUE=y
|
||||
CONFIG_PINCTRL_ASPEED_G6=y
|
||||
CONFIG_DEBUG_LL=n
|
||||
CONFIG_DEBUG_LL_UART_8250=n
|
||||
CONFIG_EARLY_PRINTK=n
|
||||
CONFIG_LOG_BUF_SHIFT=21
|
||||
CONFIG_DEBUG_PINCTRL=n
|
||||
CONFIG_SUSPEND=n
|
||||
CONFIG_ASPEED_MCTP=y
|
||||
CONFIG_KERNEL_LZO=n
|
||||
CONFIG_KERNEL_XZ=y
|
||||
@@ -0,0 +1,5 @@
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
KERNEL_VERSION_SANITY_SKIP="1"
|
||||
SRC_URI += "\
|
||||
file://lannister.cfg \
|
||||
"
|
||||
Reference in New Issue
Block a user