Initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
BBRANCH = "master"
|
||||
SRC_URI = "git://github.com/HewlettPackard/gxp-bootblock.git;branch=${BBRANCH};protocol=https"
|
||||
SRCREV = "bab416f8ca8c8465d308cfeb7f8d5abc21ba343b"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit deploy
|
||||
|
||||
do_deploy () {
|
||||
install -d ${DEPLOYDIR}
|
||||
install -m 644 gxp-bootblock.bin ${DEPLOYDIR}/gxp-bootblock.bin
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
# TODO: Manually copy the U-Boot signing key and customer-key-block here:
|
||||
HPE_GXP_KEY_FILES_DIR = "${COREBASE}/meta-hpe/meta-gxp/recipes-bsp/image/files"
|
||||
|
||||
inherit deploy
|
||||
|
||||
do_deploy () {
|
||||
install -d ${DEPLOYDIR}
|
||||
|
||||
# Copy in the bootblock
|
||||
install -m 644 ${HPE_GXP_KEY_FILES_DIR}/gxp-bootblock.bin ${DEPLOYDIR}/gxp-bootblock.bin
|
||||
|
||||
# Copy in files from the files subdirectory
|
||||
install -m 644 ${HPE_GXP_KEY_FILES_DIR}/header.sig ${DEPLOYDIR}/hpe-uboot-header.section
|
||||
|
||||
# Copy in the U-Boot signing key
|
||||
install -m 644 ${HPE_GXP_KEY_FILES_DIR}/private_key.pem ${DEPLOYDIR}/hpe-uboot-signing-key.pem
|
||||
|
||||
# Copy in the customer keyblock
|
||||
install -m 644 ${HPE_GXP_KEY_FILES_DIR}/customer-key-block ${DEPLOYDIR}/customer-key-block
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
LICENSE = "CLOSED"
|
||||
LIC_FILES_CHKSUM = ""
|
||||
|
||||
addtask deploy before do_build after do_compile
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
# TODO: Manually copy the U-Boot signing key here:
|
||||
HPE_GXP_KEY_FILES_DIR = "${COREBASE}/meta-hpe/meta-gxp/recipes-bsp/image/files"
|
||||
|
||||
inherit deploy
|
||||
|
||||
do_deploy () {
|
||||
install -d ${DEPLOYDIR}
|
||||
|
||||
# Copy in the bootblock
|
||||
install -m 644 ${HPE_GXP_KEY_FILES_DIR}/gxp2-bootblock.bin ${DEPLOYDIR}/gxp-bootblock.bin
|
||||
|
||||
# Copy in files from the files subdirectory
|
||||
install -m 644 ${HPE_GXP_KEY_FILES_DIR}/header.sig ${DEPLOYDIR}/hpe-uboot-header.section
|
||||
install -m 644 ${HPE_GXP_KEY_FILES_DIR}/header-512.sig ${DEPLOYDIR}/hpe-uboot-header-512.section
|
||||
|
||||
# Copy in the U-Boot signing key
|
||||
install -m 644 ${HPE_GXP_KEY_FILES_DIR}/customer_private_key.pem ${DEPLOYDIR}/hpe-uboot-signing-key.pem
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
# We have a conf and classes directory, add to BBPATH
|
||||
BBPATH .= ":${LAYERDIR}"
|
||||
|
||||
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
|
||||
${LAYERDIR}/recipes-*/*/*.bbappend"
|
||||
|
||||
BBFILE_COLLECTIONS += "gxp-layer"
|
||||
BBFILE_PATTERN_gxp-layer = "^${LAYERDIR}/"
|
||||
LAYERVERSION_gxp-layer = "1"
|
||||
LAYERSERIES_COMPAT_gxp-layer = "langdale mickledore"
|
||||
|
||||
GXPBASE = '${@os.path.normpath("${LAYERDIR}/")}'
|
||||
@@ -0,0 +1,14 @@
|
||||
inherit uboot-sign
|
||||
|
||||
UBOOT_SIGN_ENABLE = "0"
|
||||
UBOOT_SIGN_KEYDIR = "${COREBASE}/meta-hpe/meta-gxp/recipes-bsp/u-boot/u-boot-gxp/"
|
||||
UBOOT_SIGN_KEYNAME = "dev"
|
||||
FIT_HASH_ALG = "sha512"
|
||||
UBOOT_FIT_HASH_ALG = "sha512"
|
||||
|
||||
concat_dtb_helper:append() {
|
||||
if [ -e "${DEPLOYDIR}/${UBOOT_NODTB_IMAGE}" -a -e "$deployed_uboot_dtb_binary" ]; then
|
||||
cd ${DEPLOYDIR}
|
||||
cat ${UBOOT_NODTB_IMAGE} $deployed_uboot_dtb_binary | tee ${B}/${UBOOT_BINARY} > ${UBOOT_IMAGE}
|
||||
fi
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: HPE GXP
|
||||
#@DESCRIPTION: Common machine configuration for the HPE GXP Chip
|
||||
|
||||
require conf/machine/include/hpe_soc.inc
|
||||
|
||||
UBOOT_ARCH ?= "arm"
|
||||
|
||||
DISTRO_FEATURES ?= "ipv4 ipv6"
|
||||
|
||||
SOC_FAMILY = "gxp-b1"
|
||||
include conf/machine/include/soc-family.inc
|
||||
MACHINEOVERRIDES .= ":gxp"
|
||||
|
||||
DEFAULTTUNE ?= "armv6-novfp"
|
||||
require conf/machine/include/arm/arch-armv6.inc
|
||||
|
||||
UBOOT_MACHINE ?= "gxp_defconfig"
|
||||
UBOOT_ENTRYPOINT ?= "0x40100000"
|
||||
UBOOT_LOADADDRESS ?= "0x40100000"
|
||||
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-obmc"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-gxp"
|
||||
PREFERRED_PROVIDER_u-boot ?= "u-boot-gxp"
|
||||
PREFERRED_PROVIDER_u-boot-fw-utils ?= "u-boot-fw-utils-gxp"
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
inherit gxp-bootblock
|
||||
@@ -0,0 +1,16 @@
|
||||
HOMEPAGE = "https://github.com/HewlettPackard/gxp-uboot"
|
||||
DEPENDS += "flex-native bison-native bc-native"
|
||||
|
||||
LICENSE = "GPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||
PE = "1"
|
||||
|
||||
# We use the revision in order to avoid having to fetch it from the
|
||||
# repo during parse
|
||||
SRCREV = "7e035b9bf331426919aa993a6bb1de3c837e5d3c"
|
||||
UBRANCH = "v2020.10-gxp-openbmc"
|
||||
SRC_URI = "git://github.com/HewlettPackard/gxp-uboot.git;branch=${UBRANCH};protocol=https"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
PV = "v2020.10+git${SRCPV}"
|
||||
@@ -0,0 +1,25 @@
|
||||
# Configuration file for fw_(printenv/setenv) utility.
|
||||
# Up to two entries are valid, in this case the redundant
|
||||
# environment sector is assumed present.
|
||||
# Notice, that the "Number of sectors" is ignored on NOR and SPI-dataflash.
|
||||
# Furthermore, if the Flash sector size is omitted, this value is assumed to
|
||||
# be the same as the Environment size, which is valid for NOR and SPI-dataflash
|
||||
|
||||
# NOR example
|
||||
# MTD device name Device offset Env. size Flash sector size Number of sectors
|
||||
#/dev/mtd1 0x0000 0x20000 0x20000
|
||||
#/dev/mtd2 0x0000 0x4000 0x4000
|
||||
|
||||
# MTD SPI-dataflash example
|
||||
# MTD device name Device offset Env. size Flash sector size Number of sectors
|
||||
#/dev/mtd2 0x00000 0x20000
|
||||
/dev/mtd/alt-u-boot-env 0x00000 0x10000
|
||||
/dev/mtd/alt-u-boot-env 0x10000 0x10000
|
||||
#/dev/mtd5 0x4200 0x4200
|
||||
#/dev/mtd6 0x4200 0x4200
|
||||
|
||||
# NAND example
|
||||
#/dev/mtd0 0x4000 0x4000 0x20000 2
|
||||
|
||||
# Block device example
|
||||
#/dev/mmcblk0 0xc0000 0x20000
|
||||
@@ -0,0 +1,25 @@
|
||||
# Configuration file for fw_(printenv/setenv) utility.
|
||||
# Up to two entries are valid, in this case the redundant
|
||||
# environment sector is assumed present.
|
||||
# Notice, that the "Number of sectors" is ignored on NOR and SPI-dataflash.
|
||||
# Furthermore, if the Flash sector size is omitted, this value is assumed to
|
||||
# be the same as the Environment size, which is valid for NOR and SPI-dataflash
|
||||
|
||||
# NOR example
|
||||
# MTD device name Device offset Env. size Flash sector size Number of sectors
|
||||
#/dev/mtd1 0x0000 0x20000 0x20000
|
||||
#/dev/mtd2 0x0000 0x4000 0x4000
|
||||
|
||||
# MTD SPI-dataflash example
|
||||
# MTD device name Device offset Env. size Flash sector size Number of sectors
|
||||
#/dev/mtd2 0x00000 0x20000
|
||||
/dev/mtd/u-boot-env 0x00000 0x10000
|
||||
/dev/mtd/u-boot-env 0x10000 0x10000
|
||||
#/dev/mtd5 0x4200 0x4200
|
||||
#/dev/mtd6 0x4200 0x4200
|
||||
|
||||
# NAND example
|
||||
#/dev/mtd0 0x4000 0x4000 0x20000 2
|
||||
|
||||
# Block device example
|
||||
#/dev/mmcblk0 0xc0000 0x20000
|
||||
@@ -0,0 +1,43 @@
|
||||
require u-boot-common-gxp_2020.10.inc
|
||||
|
||||
SRC_URI += "file://fw_env.config"
|
||||
SRC_URI += "file://alt_fw_env.config"
|
||||
|
||||
SUMMARY = "U-Boot bootloader fw_printenv/setenv utilities"
|
||||
DEPENDS += "mtd-utils"
|
||||
|
||||
PROVIDES += "u-boot-fw-utils"
|
||||
|
||||
INSANE_SKIP:${PN} = "already-stripped"
|
||||
EXTRA_OEMAKE:class-target = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${CC} ${CFLAGS} ${LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" V=1'
|
||||
EXTRA_OEMAKE:class-cross = 'ARCH=${TARGET_ARCH} CC="${CC} ${CFLAGS} ${LDFLAGS}" V=1'
|
||||
|
||||
inherit uboot-config
|
||||
|
||||
do_compile () {
|
||||
oe_runmake ${UBOOT_MACHINE}
|
||||
oe_runmake envtools
|
||||
}
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${base_sbindir}
|
||||
install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv
|
||||
ln -sf fw_printenv ${D}${base_sbindir}/fw_setenv
|
||||
|
||||
install -d ${D}${sysconfdir}
|
||||
install -m 644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config
|
||||
install -m 644 ${WORKDIR}/alt_fw_env.config ${D}${sysconfdir}/alt_fw_env.config
|
||||
}
|
||||
|
||||
do_install:class-cross () {
|
||||
install -d ${D}${bindir_cross}
|
||||
install -m 755 ${S}/tools/env/fw_printenv ${D}${bindir_cross}/fw_printenv
|
||||
ln -sf fw_printenv ${D}${bindir_cross}/fw_setenv
|
||||
}
|
||||
|
||||
SYSROOT_DIRS:append:class-cross = " ${bindir_cross}"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
BBCLASSEXTEND = "cross"
|
||||
|
||||
RDEPENDS:${PN} = "udev-gxp-mtd-partitions"
|
||||
@@ -0,0 +1,8 @@
|
||||
require recipes-bsp/u-boot/u-boot-common.inc
|
||||
require recipes-bsp/u-boot/u-boot.inc
|
||||
require u-boot-common-gxp_2020.10.inc
|
||||
require conf/machine/include/fitimage-sign.inc
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
PROVIDES += "u-boot"
|
||||
@@ -0,0 +1,69 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ $# -ne 2 ]
|
||||
then
|
||||
echo "usage: $0 <start|stop> <config>" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
action=$1
|
||||
config=$2
|
||||
|
||||
gadget_name=mass-storage
|
||||
gadget_dir=/sys/kernel/config/usb_gadget/$gadget_name
|
||||
|
||||
case "$config" in
|
||||
0)
|
||||
nbd_device=/dev/nbd0
|
||||
;;
|
||||
*)
|
||||
echo "invalid config $config" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
set -ex
|
||||
|
||||
case "$action" in
|
||||
start)
|
||||
mkdir -p $gadget_dir
|
||||
(
|
||||
cd $gadget_dir
|
||||
# http://www.linux-usb.org/usb.ids
|
||||
# |-> 1d6b Linux Foundation
|
||||
# |-> 0104 Multifunction Composite Gadget
|
||||
echo "0x1d6b" > idVendor
|
||||
echo "0x0104" > idProduct
|
||||
mkdir -p strings/0x409
|
||||
echo "OpenBMC" > strings/0x409/manufacturer
|
||||
echo "Virtual Media Device" > strings/0x409/product
|
||||
mkdir -p configs/c.1/strings/0x409
|
||||
echo "config 1" > configs/c.1/strings/0x409/configuration
|
||||
mkdir -p functions/mass_storage.usb0
|
||||
ln -s functions/mass_storage.usb0 configs/c.1
|
||||
echo 1 > functions/mass_storage.usb0/lun.0/removable
|
||||
echo 1 > functions/mass_storage.usb0/lun.0/ro
|
||||
echo 0 > functions/mass_storage.usb0/lun.0/cdrom
|
||||
echo $nbd_device > functions/mass_storage.usb0/lun.0/file
|
||||
echo "80402000.udc" > UDC
|
||||
)
|
||||
;;
|
||||
stop)
|
||||
(
|
||||
cd $gadget_dir
|
||||
echo "" > UDC
|
||||
rm configs/c.1/mass_storage.usb0
|
||||
rmdir functions/mass_storage.usb0
|
||||
rmdir configs/c.1/strings/0x409
|
||||
rmdir configs/c.1
|
||||
rmdir strings/0x409
|
||||
)
|
||||
rmdir $gadget_dir
|
||||
;;
|
||||
*)
|
||||
echo "invalid action $action" >&2
|
||||
exit 1
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
FILES:${PN} += "${sysconfdir}/nbd-proxy/state"
|
||||
SRC_URI += "file://state_hook"
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${sysconfdir}/nbd-proxy/
|
||||
install -m 0755 ${WORKDIR}/state_hook ${D}${sysconfdir}/nbd-proxy/state
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
CONFIG_FEATURE_FANCY_HEAD=y
|
||||
@@ -0,0 +1,2 @@
|
||||
SRC_URI += "file://FEATURE_FANCY_HEAD.cfg"
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
@@ -0,0 +1,15 @@
|
||||
SUMMARY = "udev rules for MTD partitions"
|
||||
DESCRIPTION = "udev rules for MTD partitions"
|
||||
PR = "r1"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
SRC_URI += "file://76-gxp-mtd-partitions.rules"
|
||||
|
||||
RDEPENDS:${PN} += "udev"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}/${nonarch_base_libdir}/udev/rules.d
|
||||
install -m 0644 ${WORKDIR}/76-gxp-mtd-partitions.rules ${D}/${nonarch_base_libdir}/udev/rules.d
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
ENV{DEVTYPE}=="mtd", SYMLINK+="mtd/%s{name}"
|
||||
@@ -0,0 +1,25 @@
|
||||
DESCRIPTION = "Linux kernel for GXP"
|
||||
SECTION = "kernel"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
|
||||
PROVIDES += "virtual/kernel"
|
||||
|
||||
KCONFIG_MODE="--alldefconfig"
|
||||
|
||||
KSRC ?= "git://github.com/HewlettPackard/gxp-linux.git;branch=${KBRANCH};protocol=https"
|
||||
SRC_URI = "${KSRC}"
|
||||
SRC_URI += " file://defconfig"
|
||||
|
||||
FILESEXTRAPATHS:prepend_linux-obmc := "${THISDIR}/linux-obmc:"
|
||||
|
||||
LINUX_VERSION_EXTENSION ?= "-${SRCREV}"
|
||||
|
||||
PV = "${LINUX_VERSION}+git${SRCPV}"
|
||||
|
||||
inherit kernel
|
||||
require recipes-kernel/linux/linux-yocto.inc
|
||||
|
||||
# From 4.16+ the COPYING file changed
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
|
||||
KERNEL_FEATURES:remove = "phosphor-gpio-keys"
|
||||
|
||||
@@ -0,0 +1,287 @@
|
||||
CONFIG_KERNEL_XZ=y
|
||||
CONFIG_DEFAULT_HOSTNAME="gxp"
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_BSD_PROCESS_ACCT=y
|
||||
CONFIG_BSD_PROCESS_ACCT_V3=y
|
||||
CONFIG_LOG_BUF_SHIFT=18
|
||||
CONFIG_CFS_BANDWIDTH=y
|
||||
CONFIG_RT_GROUP_SCHED=y
|
||||
CONFIG_CGROUP_FREEZER=y
|
||||
CONFIG_CGROUP_DEVICE=y
|
||||
CONFIG_CGROUP_CPUACCT=y
|
||||
CONFIG_CGROUP_BPF=y
|
||||
CONFIG_NAMESPACES=y
|
||||
CONFIG_SCHED_AUTOGROUP=y
|
||||
CONFIG_RELAY=y
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_KALLSYMS_ALL=y
|
||||
CONFIG_BPF_SYSCALL=y
|
||||
CONFIG_EMBEDDED=y
|
||||
# CONFIG_COMPAT_BRK is not set
|
||||
CONFIG_SLAB=y
|
||||
CONFIG_ARCH_MULTI_V6=y
|
||||
CONFIG_ARCH_HPE=y
|
||||
CONFIG_ARCH_HPE_GXP=y
|
||||
CONFIG_SECCOMP=y
|
||||
# CONFIG_ATAGS is not set
|
||||
# CONFIG_SUSPEND is not set
|
||||
CONFIG_ARM_CRYPTO=y
|
||||
CONFIG_CRYPTO_SHA1_ARM=y
|
||||
CONFIG_CRYPTO_SHA256_ARM=y
|
||||
CONFIG_CRYPTO_SHA512_ARM=y
|
||||
CONFIG_CRYPTO_AES_ARM=y
|
||||
CONFIG_CRYPTO_CHACHA20_NEON=y
|
||||
CONFIG_CRYPTO_POLY1305_ARM=y
|
||||
CONFIG_JUMP_LABEL=y
|
||||
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
|
||||
CONFIG_KSM=y
|
||||
CONFIG_CLEANCACHE=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_PACKET_DIAG=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_UNIX_DIAG=y
|
||||
CONFIG_XFRM_USER=y
|
||||
CONFIG_XFRM_STATISTICS=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_IP_ADVANCED_ROUTER=y
|
||||
CONFIG_IP_MULTIPLE_TABLES=y
|
||||
CONFIG_IP_ROUTE_MULTIPATH=y
|
||||
CONFIG_IP_ROUTE_VERBOSE=y
|
||||
CONFIG_IP_PNP=y
|
||||
CONFIG_IP_PNP_DHCP=y
|
||||
CONFIG_IP_PNP_BOOTP=y
|
||||
CONFIG_IPV6_ROUTER_PREF=y
|
||||
CONFIG_IPV6_ROUTE_INFO=y
|
||||
CONFIG_IPV6_OPTIMISTIC_DAD=y
|
||||
# CONFIG_IPV6_SIT is not set
|
||||
CONFIG_IPV6_MULTIPLE_TABLES=y
|
||||
CONFIG_BPFILTER=y
|
||||
CONFIG_VLAN_8021Q=y
|
||||
CONFIG_NETLINK_DIAG=y
|
||||
CONFIG_NET_NCSI=y
|
||||
# CONFIG_WIRELESS is not set
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
# CONFIG_STANDALONE is not set
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_BLOCK=y
|
||||
CONFIG_MTD_PHYSMAP=y
|
||||
CONFIG_MTD_PHYSMAP_OF=y
|
||||
CONFIG_MTD_PLATRAM=y
|
||||
CONFIG_MTD_SPI_NOR=y
|
||||
CONFIG_SPI_GXP_SPIFI=y
|
||||
CONFIG_BLK_DEV_NULL_BLK=y
|
||||
CONFIG_BLK_DEV_LOOP=y
|
||||
CONFIG_BLK_DEV_NBD=y
|
||||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_EEPROM_AT24=y
|
||||
CONFIG_SCSI=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
# CONFIG_SCSI_LOWLEVEL is not set
|
||||
CONFIG_NETDEVICES=y
|
||||
# CONFIG_NET_VENDOR_ALACRITECH is not set
|
||||
# CONFIG_NET_VENDOR_AMAZON is not set
|
||||
# CONFIG_NET_VENDOR_AQUANTIA is not set
|
||||
# CONFIG_NET_VENDOR_ARC is not set
|
||||
# CONFIG_NET_VENDOR_AURORA is not set
|
||||
# CONFIG_NET_VENDOR_BROADCOM is not set
|
||||
# CONFIG_NET_VENDOR_CADENCE is not set
|
||||
# CONFIG_NET_VENDOR_CAVIUM is not set
|
||||
# CONFIG_NET_VENDOR_CIRRUS is not set
|
||||
# CONFIG_NET_VENDOR_CORTINA is not set
|
||||
# CONFIG_NET_VENDOR_EZCHIP is not set
|
||||
# CONFIG_NET_VENDOR_FARADAY is not set
|
||||
# CONFIG_NET_VENDOR_GOOGLE is not set
|
||||
# CONFIG_NET_VENDOR_HISILICON is not set
|
||||
# CONFIG_NET_VENDOR_HUAWEI is not set
|
||||
# CONFIG_NET_VENDOR_INTEL is not set
|
||||
# CONFIG_NET_VENDOR_MARVELL is not set
|
||||
# CONFIG_NET_VENDOR_MELLANOX is not set
|
||||
# CONFIG_NET_VENDOR_MICREL is not set
|
||||
# CONFIG_NET_VENDOR_MICROCHIP is not set
|
||||
# CONFIG_NET_VENDOR_MICROSEMI is not set
|
||||
# CONFIG_NET_VENDOR_NATSEMI is not set
|
||||
# CONFIG_NET_VENDOR_NETRONOME is not set
|
||||
# CONFIG_NET_VENDOR_NI is not set
|
||||
# CONFIG_NET_VENDOR_PENSANDO is not set
|
||||
# CONFIG_NET_VENDOR_QUALCOMM is not set
|
||||
# CONFIG_NET_VENDOR_RENESAS is not set
|
||||
# CONFIG_NET_VENDOR_ROCKER is not set
|
||||
# CONFIG_NET_VENDOR_SAMSUNG is not set
|
||||
# CONFIG_NET_VENDOR_SEEQ is not set
|
||||
# CONFIG_NET_VENDOR_SOLARFLARE is not set
|
||||
# CONFIG_NET_VENDOR_SMSC is not set
|
||||
# CONFIG_NET_VENDOR_SOCIONEXT is not set
|
||||
# CONFIG_NET_VENDOR_STMICRO is not set
|
||||
# CONFIG_NET_VENDOR_SYNOPSYS is not set
|
||||
# CONFIG_NET_VENDOR_VIA is not set
|
||||
# CONFIG_NET_VENDOR_WIZNET is not set
|
||||
# CONFIG_NET_VENDOR_XILINX is not set
|
||||
CONFIG_GXP_UMAC=y
|
||||
# CONFIG_USB_NET_DRIVERS is not set
|
||||
# CONFIG_WLAN is not set
|
||||
# CONFIG_INPUT_LEDS is not set
|
||||
CONFIG_INPUT_EVDEV=y
|
||||
# CONFIG_KEYBOARD_ATKBD is not set
|
||||
CONFIG_KEYBOARD_GPIO=y
|
||||
CONFIG_KEYBOARD_GPIO_POLLED=y
|
||||
# CONFIG_INPUT_MOUSE is not set
|
||||
CONFIG_VT_HW_CONSOLE_BINDING=y
|
||||
# CONFIG_LEGACY_PTYS is not set
|
||||
CONFIG_SERIAL_8250=y
|
||||
# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
CONFIG_SERIAL_8250_NR_UARTS=6
|
||||
CONFIG_SERIAL_8250_RUNTIME_UARTS=6
|
||||
CONFIG_SERIAL_8250_EXTENDED=y
|
||||
CONFIG_SERIAL_8250_SHARE_IRQ=y
|
||||
CONFIG_SERIAL_8250_GXP_VUART=y
|
||||
CONFIG_SERIAL_OF_PLATFORM=y
|
||||
CONFIG_TTY_PRINTK=y
|
||||
CONFIG_IPMI_HANDLER=y
|
||||
CONFIG_IPMI_DEVICE_INTERFACE=y
|
||||
CONFIG_IPMI_SI=y
|
||||
CONFIG_IPMI_SSIF=y
|
||||
CONFIG_HPE_KCS_IPMI_BMC=y
|
||||
CONFIG_IPMB_DEVICE_INTERFACE=y
|
||||
CONFIG_HW_RANDOM_TIMERIOMEM=y
|
||||
CONFIG_I2C_CHARDEV=y
|
||||
CONFIG_I2C_GXP=y
|
||||
CONFIG_I2C_SLAVE=y
|
||||
CONFIG_I2C_SLAVE_EEPROM=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_GPIOLIB=y
|
||||
CONFIG_GPIO_SYSFS=y
|
||||
CONFIG_GPIO_GXP_XREG=y
|
||||
CONFIG_GPIO_GXP=y
|
||||
CONFIG_SENSORS_PECI_CPUTEMP=y
|
||||
CONFIG_SENSORS_PECI_DIMMTEMP=y
|
||||
CONFIG_SENSORS_SBTSI=y
|
||||
CONFIG_SENSORS_EMC1403=y
|
||||
CONFIG_SENSORS_GXP_FAN_CTRL=y
|
||||
CONFIG_SENSORS_GXP_CORETEMP=y
|
||||
CONFIG_SENSORS_GXP_PSU=y
|
||||
CONFIG_SENSORS_GXP_POWER=y
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_GXP_WATCHDOG=y
|
||||
CONFIG_MFD_SYSCON=y
|
||||
CONFIG_FB=y
|
||||
CONFIG_FB_THUMBNAIL=y
|
||||
CONFIG_HAS_IOMEM =y
|
||||
CONFIG_MEDIA_SUPPORT=y
|
||||
CONFIG_MEDIA_CAMERA_SUPPORT=y
|
||||
CONFIG_V4L_PLATFORM_DRIVERS=y
|
||||
CONFIG_VIDEO_GXP_THUMBNAIL=y
|
||||
CONFIG_USB_HIDDEV=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
|
||||
CONFIG_USB_XHCI_HCD=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_ROOT_HUB_TT=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_HCD_PLATFORM=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GXP_UDC=y
|
||||
CONFIG_USB_CONFIGFS=y
|
||||
CONFIG_USB_CONFIGFS_SERIAL=y
|
||||
CONFIG_USB_CONFIGFS_ACM=y
|
||||
CONFIG_USB_CONFIGFS_OBEX=y
|
||||
CONFIG_USB_CONFIGFS_NCM=y
|
||||
CONFIG_USB_CONFIGFS_ECM=y
|
||||
CONFIG_USB_CONFIGFS_ECM_SUBSET=y
|
||||
CONFIG_USB_CONFIGFS_RNDIS=y
|
||||
CONFIG_USB_CONFIGFS_EEM=y
|
||||
CONFIG_USB_CONFIGFS_MASS_STORAGE=y
|
||||
CONFIG_USB_CONFIGFS_F_LB_SS=y
|
||||
CONFIG_USB_CONFIGFS_F_FS=y
|
||||
CONFIG_USB_CONFIGFS_F_HID=y
|
||||
CONFIG_USB_CONFIGFS_F_PRINTER=y
|
||||
CONFIG_NEW_LEDS=y
|
||||
CONFIG_LEDS_CLASS=y
|
||||
CONFIG_LEDS_GPIO=y
|
||||
CONFIG_LEDS_TRIGGERS=y
|
||||
CONFIG_LEDS_TRIGGER_TIMER=y
|
||||
CONFIG_LEDS_TRIGGER_ONESHOT=y
|
||||
CONFIG_LEDS_TRIGGER_MTD=y
|
||||
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
||||
CONFIG_LEDS_TRIGGER_CPU=y
|
||||
CONFIG_LEDS_TRIGGER_GPIO=y
|
||||
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
|
||||
CONFIG_LEDS_TRIGGER_TRANSIENT=y
|
||||
CONFIG_LEDS_TRIGGER_PANIC=y
|
||||
# CONFIG_VIRTIO_MENU is not set
|
||||
# CONFIG_VHOST_MENU is not set
|
||||
# CONFIG_IOMMU_SUPPORT is not set
|
||||
CONFIG_HPE_GXP_XREG=y
|
||||
CONFIG_HPE_GXP_FN2=y
|
||||
CONFIG_HPE_GXP_CSM=y
|
||||
CONFIG_HPE_GXP_SROM=y
|
||||
CONFIG_HPE_GXP_CHIF=y
|
||||
CONFIG_HPE_GXP_DBG=y
|
||||
CONFIG_PECI=y
|
||||
CONFIG_PECI_CHARDEV=y
|
||||
CONFIG_PECI_GXP=y
|
||||
CONFIG_FANOTIFY=y
|
||||
CONFIG_AUTOFS_FS=y
|
||||
CONFIG_OVERLAY_FS=y
|
||||
CONFIG_OVERLAY_FS_REDIRECT_DIR=y
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_FAT_DEFAULT_UTF8=y
|
||||
CONFIG_EXFAT_FS=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_TMPFS_POSIX_ACL=y
|
||||
CONFIG_JFFS2_FS=y
|
||||
# CONFIG_JFFS2_FS_WRITEBUFFER is not set
|
||||
CONFIG_JFFS2_SUMMARY=y
|
||||
CONFIG_JFFS2_FS_XATTR=y
|
||||
# CONFIG_JFFS2_FS_POSIX_ACL is not set
|
||||
# CONFIG_JFFS2_FS_SECURITY is not set
|
||||
CONFIG_SQUASHFS=y
|
||||
CONFIG_SQUASHFS_XZ=y
|
||||
CONFIG_SQUASHFS_ZSTD=y
|
||||
CONFIG_SQUASHFS_4K_DEVBLK_SIZE=y
|
||||
# CONFIG_NETWORK_FILESYSTEMS is not set
|
||||
CONFIG_NLS_CODEPAGE_437=y
|
||||
CONFIG_NLS_ASCII=y
|
||||
CONFIG_NLS_ISO8859_1=y
|
||||
CONFIG_NLS_UTF8=y
|
||||
CONFIG_CRYPTO_CCM=y
|
||||
CONFIG_CRYPTO_GCM=y
|
||||
CONFIG_CRYPTO_CRC32C=y
|
||||
CONFIG_CRYPTO_ARC4=y
|
||||
CONFIG_CRYPTO_DEFLATE=y
|
||||
CONFIG_CRYPTO_LZO=y
|
||||
CONFIG_CRYPTO_ZSTD=y
|
||||
CONFIG_CRYPTO_ANSI_CPRNG=y
|
||||
CONFIG_CRYPTO_USER_API_HASH=y
|
||||
# CONFIG_CRYPTO_HW is not set
|
||||
CONFIG_CRC16=y
|
||||
# CONFIG_XZ_DEC_X86 is not set
|
||||
# CONFIG_XZ_DEC_POWERPC is not set
|
||||
# CONFIG_XZ_DEC_IA64 is not set
|
||||
# CONFIG_XZ_DEC_SPARC is not set
|
||||
CONFIG_PRINTK_TIME=y
|
||||
CONFIG_BOOT_PRINTK_DELAY=y
|
||||
CONFIG_DYNAMIC_DEBUG=y
|
||||
CONFIG_DEBUG_INFO=y
|
||||
# CONFIG_ENABLE_MUST_CHECK is not set
|
||||
CONFIG_MAGIC_SYSRQ=y
|
||||
CONFIG_PANIC_ON_OOPS=y
|
||||
CONFIG_FUNCTION_PROFILER=y
|
||||
CONFIG_STACK_TRACER=y
|
||||
CONFIG_SCHED_TRACER=y
|
||||
CONFIG_STRICT_DEVMEM=y
|
||||
CONFIG_DEBUG_USER=y
|
||||
CONFIG_DEBUG_LL=y
|
||||
CONFIG_DEBUG_LL_UART_8250=y
|
||||
CONFIG_DEBUG_UART_PHYS=0xC00000F0
|
||||
CONFIG_DEBUG_UART_VIRT=0xF00000F0
|
||||
CONFIG_DEBUG_UART_8250_SHIFT=0
|
||||
CONFIG_EARLY_PRINTK=y
|
||||
CONFIG_TEST_KSTRTOX=y
|
||||
CONFIG_IPMI_KCS_BMC_CDEV_IPMI=y
|
||||
CONFIG_FUSE_FS=y
|
||||
@@ -0,0 +1,10 @@
|
||||
KBRANCH ?= "dev-5.14-gxp-openbmc"
|
||||
LINUX_VERSION ?= "5.14.0"
|
||||
SRCREV="4ff23625306630ce50d9454fca590fa9b2daeb53"
|
||||
|
||||
require linux-obmc.inc
|
||||
require conf/machine/include/fitimage-sign.inc
|
||||
|
||||
# OpenBMC loads in kernel features via other mechanisms so this check
|
||||
# in the kernel-yocto.bbclass is not required
|
||||
#KERNEL_DANGLING_FEATURES_WARN_ONLY="1"
|
||||
Reference in New Issue
Block a user