Initial commit

This commit is contained in:
Your Name
2026-04-23 17:07:55 +08:00
commit b7e39e063b
16725 changed files with 1625565 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
# 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 += "meta-bhs"
BBFILE_PATTERN_meta-bhs = "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-bhs = "14"
LAYERDEPENDS_meta-bhs = "core"
LAYERSERIES_COMPAT_meta-bhs = "mickledore"
+39
View File
@@ -0,0 +1,39 @@
KERNEL_DEVICETREE = "aspeed-ast2600-evb.dtb"
UBOOT_MACHINE = "ast2600_openbmc_spl_defconfig"
UBOOT_DEVICETREE = "ast2600-evb"
SPL_BINARY = "spl/u-boot-spl.bin"
SOCSEC_SIGN_ENABLE = "0"
require conf/machine/include/bmc-common.inc
require conf/machine/include/ast2600.inc
require conf/machine/include/obmc-evb-common.inc
SERIAL_CONSOLES = "115200;ttyS4"
FLASH_SIZE = "65536"
MACHINE_FEATURES += "\
obmc-bmc-state-mgmt \
obmc-chassis-state-mgmt \
obmc-host-state-mgmt \
obmc-phosphor-chassis-mgmt \
obmc-host-ipmi \
obmc-phosphor-fan-mgmt \
obmc-phosphor-flash-mgmt \
"
VIRTUAL-RUNTIME_obmc-host-state-manager ?= "x86-power-control"
VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "x86-power-control"
VIRTUAL-RUNTIME_obmc-sensors-hwmon ?= "dbus-sensors"
VIRTUAL-RUNTIME_obmc-inventory-manager = "entity-manager"
PREFERRED_PROVIDER_virtual/obmc-inventory-data = "entity-manager"
PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-luxshare-apps"
#PREFERRED_PROVIDER_virtual/obmc-fan-mgmt = "packagegroup-luxshare-apps"
PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-luxshare-apps"
PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw ?= "phosphor-ipmi-kcs"
PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-luxshare-apps"
PREFERRED_PROVIDER_virtual/phosphor-led-manager-config-native = "led-manager-config-native"
default_user_commands = "\
useradd -p '\$1\$UGMqyqdg\$iuxCzWsMmQru3a31HxoEb/' -u 1000 -M -d /tmp -G priv-admin,web,redfish,ipmi ADMIN; \
"
EXTRA_USERS_PARAMS:append:pn-obmc-phosphor-image = "${default_user_commands}"
@@ -0,0 +1,20 @@
# 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-phosphor \
##OEROOT##/meta-aspeed \
##OEROOT##/meta-evb/meta-evb-aspeed/meta-evb-ast2600 \
##OEROOT##/meta-luxshare/ \
##OEROOT##/meta-luxshare/meta-common \
##OEROOT##/meta-luxshare/meta-bhs \
"
@@ -0,0 +1,5 @@
Common targets are:
obmc-phosphor-image: Includes OpenBMC Phosphor userspace and Web UI
Note that the core targets will not set the default phosphor password.
@@ -0,0 +1,21 @@
MACHINE ??= "bhs-ast2600"
DISTRO ?= "openbmc-phosphor"
PACKAGE_CLASSES ?= "package_ipk"
SANITY_TESTED_DISTROS:append ?= " *"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
#BB_NO_NETWORK = "1"
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"
#SSTATE_DIR=""
#DL_DIR=""
require conf/machine/include/obmc-bsp-common.inc