blob: 648eb9327889b54cb66cbd660e53e9e6998deb24 [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 Bishop811eeec2018-03-09 00:04:00 -050013IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', \
Brad Bishop81ea0922017-08-04 23:54:51 -040014 'obmc-ubi-fs', \
15 'mtd-ubi mtd-ubi-tar', \
16 'mtd-static mtd-static-tar mtd-static-alltar', d)}"
Brad Bishopabf218c2016-06-14 15:24:22 -040017OBMC_IMAGE_EXTRA_INSTALL_append = " u-boot-fw-utils"
Milton D. Miller II44b86a72016-01-28 09:49:39 -060018
Milton D. Miller II44b86a72016-01-28 09:49:39 -060019INITRAMFS_CTYPE ?= "lzma"
Rick Altherrc919f532017-01-11 17:33:47 -080020INITRAMFS_FSTYPES += "cpio.${INITRAMFS_CTYPE}"
Brad Bishop811eeec2018-03-09 00:04:00 -050021INITRAMFS_IMAGE ?= "obmc-phosphor-initramfs"
22INITRAMFS_IMAGE_df-obmc-ubi-fs ?= ""
Milton D. Miller II44b86a72016-01-28 09:49:39 -060023
Nan Life6b9bc2016-11-23 01:58:30 +080024MACHINE_FEATURES_BACKFILL_CONSIDERED = "qemu-usermode"
Milton D. Miller II44b86a72016-01-28 09:49:39 -060025