blob: 165eca4227ca47ccbe6a227d52c0b3b7f1b97925 [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 Bishop81ea0922017-08-04 23:54:51 -040013IMAGE_FSTYPES += "cpio.${INITRAMFS_CTYPE}.u-boot"
14IMAGE_FSTYPES += "${@bb.utils.contains('MACHINE_FEATURES', \
15 'obmc-ubi-fs', \
16 'mtd-ubi mtd-ubi-tar', \
17 'mtd-static mtd-static-tar mtd-static-alltar', d)}"
Brad Bishopabf218c2016-06-14 15:24:22 -040018OBMC_IMAGE_EXTRA_INSTALL_append = " u-boot-fw-utils"
Milton D. Miller II44b86a72016-01-28 09:49:39 -060019
Milton D. Miller II44b86a72016-01-28 09:49:39 -060020INITRAMFS_CTYPE ?= "lzma"
Rick Altherrc919f532017-01-11 17:33:47 -080021INITRAMFS_FSTYPES += "cpio.${INITRAMFS_CTYPE}"
Patrick Williams0fdcb442017-07-27 14:28:19 -050022INITRAMFS_IMAGE = "${@bb.utils.contains('MACHINE_FEATURES', \
23 'obmc-ubi-fs', '', 'obmc-phosphor-initramfs', d)}"
Milton D. Miller II44b86a72016-01-28 09:49:39 -060024
Nan Life6b9bc2016-11-23 01:58:30 +080025MACHINE_FEATURES_BACKFILL_CONSIDERED = "qemu-usermode"
Milton D. Miller II44b86a72016-01-28 09:49:39 -060026