blob: 3c6bbc97c51ff08236dd8cf9a9e958d752bee549 [file] [log] [blame]
Brad Bishop437c0602015-10-06 01:53:40 -04001#@TYPE: Machine
2#@NAME: OpenBMC
3#@DESCRIPTION: Common machine configuration for OpenBMC chips
4
Rick Altherrb08bb152017-01-09 15:44:57 -08005KERNEL_CLASSES ?= "kernel-fitimage"
6KERNEL_IMAGETYPES ?= "fitImage"
Brad Bishop437c0602015-10-06 01:53:40 -04007KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
8
9UBOOT_SUFFIX ?= "bin"
Brad Bishop437c0602015-10-06 01:53:40 -040010
11MACHINEOVERRIDES =. "openbmc:"
Brad Bishop83bdcdf2015-10-08 15:18:38 -040012
Brad Bishop95c130a2017-08-04 23:38:54 -040013IMAGE_FSTYPES += "cpio.${INITRAMFS_CTYPE}.u-boot mtd-static mtd-static-tar mtd-static-alltar"
Brad Bishopabf218c2016-06-14 15:24:22 -040014OBMC_IMAGE_EXTRA_INSTALL_append = " u-boot-fw-utils"
Milton D. Miller II44b86a72016-01-28 09:49:39 -060015
Milton D. Miller II44b86a72016-01-28 09:49:39 -060016INITRAMFS_CTYPE ?= "lzma"
Rick Altherrc919f532017-01-11 17:33:47 -080017INITRAMFS_FSTYPES += "cpio.${INITRAMFS_CTYPE}"
Patrick Williams0fdcb442017-07-27 14:28:19 -050018INITRAMFS_IMAGE = "${@bb.utils.contains('MACHINE_FEATURES', \
19 'obmc-ubi-fs', '', 'obmc-phosphor-initramfs', d)}"
Milton D. Miller II44b86a72016-01-28 09:49:39 -060020
Nan Life6b9bc2016-11-23 01:58:30 +080021MACHINE_FEATURES_BACKFILL_CONSIDERED = "qemu-usermode"
Milton D. Miller II44b86a72016-01-28 09:49:39 -060022