Initial commit
This commit is contained in:
@@ -0,0 +1 @@
|
||||
MACHINEOVERRIDES =. "ibm-power-cpu:"
|
||||
@@ -0,0 +1,2 @@
|
||||
MACHINEOVERRIDES =. "ibm-power10-cpu:"
|
||||
require conf/machine/include/ibm-power-cpu.inc
|
||||
@@ -0,0 +1,2 @@
|
||||
MACHINEOVERRIDES =. "ibm-power8-cpu:"
|
||||
require conf/machine/include/ibm-power-cpu.inc
|
||||
@@ -0,0 +1,2 @@
|
||||
MACHINEOVERRIDES =. "ibm-power9-cpu:"
|
||||
require conf/machine/include/ibm-power-cpu.inc
|
||||
@@ -0,0 +1,2 @@
|
||||
IMAGE_FSTYPES += "wic.xz mmc-ext4-tar"
|
||||
INITRAMFS_IMAGE = "obmc-phosphor-initramfs"
|
||||
@@ -0,0 +1,11 @@
|
||||
INITRAMFS_CTYPE="zst"
|
||||
INITRAMFS_CTYPE:flash-32768="xz"
|
||||
|
||||
IMAGE_FSTYPES += "cpio.${INITRAMFS_CTYPE}.fitImage mtd-static-norootfs"
|
||||
|
||||
# We don't want to build an initial kernel-based FIT image because the
|
||||
# initramfs is going to be the eventual rootfs from this image and not
|
||||
# a smaller initramfs.
|
||||
INITRAMFS_IMAGE = ""
|
||||
KERNEL_IMAGETYPE = "${ARCH_DEFAULT_KERNELIMAGETYPE}"
|
||||
KERNEL_IMAGETYPES = "${ARCH_DEFAULT_KERNELIMAGETYPE}"
|
||||
@@ -0,0 +1,2 @@
|
||||
IMAGE_FSTYPES += "mtd-static mtd-static-tar mtd-static-alltar"
|
||||
INITRAMFS_IMAGE = "obmc-phosphor-initramfs"
|
||||
@@ -0,0 +1,2 @@
|
||||
IMAGE_FSTYPES += "mtd-ubi mtd-ubi-tar"
|
||||
INITRAMFS_IMAGE = ""
|
||||
@@ -0,0 +1,18 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: OpenBMC
|
||||
#@DESCRIPTION: Common machine configuration for OpenBMC chips
|
||||
|
||||
KERNEL_CLASSES ?= "kernel-fitimage"
|
||||
KERNEL_IMAGETYPES ?= "fitImage vmlinux"
|
||||
|
||||
FLASH_SIZE ?= "32768"
|
||||
|
||||
OBMC_IMAGE_INCLUDE = "static"
|
||||
OBMC_IMAGE_INCLUDE:df-obmc-static-norootfs = "static-norootfs"
|
||||
OBMC_IMAGE_INCLUDE:df-obmc-ubi-fs = "ubi-fs"
|
||||
OBMC_IMAGE_INCLUDE:df-phosphor-mmc = "mmc"
|
||||
|
||||
require conf/machine/include/image-type/${OBMC_IMAGE_INCLUDE}.inc
|
||||
|
||||
INITRAMFS_CTYPE ?= "xz"
|
||||
INITRAMFS_FSTYPES = "cpio.${INITRAMFS_CTYPE}"
|
||||
@@ -0,0 +1,4 @@
|
||||
# EVB systems have different packages they can support, due to not having a
|
||||
# managed host. Enable this machine override to allow other recipes to know
|
||||
# that the machine is a special type.
|
||||
MACHINEOVERRIDES =. "phosphor-evb:"
|
||||
Reference in New Issue
Block a user