blob: 165eca4227ca47ccbe6a227d52c0b3b7f1b97925 [file] [log] [blame]
Brad Bishop3d7ad812015-10-06 01:53:40 -04001#@TYPE: Machine
2#@NAME: OpenBMC
3#@DESCRIPTION: Common machine configuration for OpenBMC chips
4
Rick Altherr8ce17d12017-01-09 15:44:57 -08005KERNEL_CLASSES ?= "kernel-fitimage"
6KERNEL_IMAGETYPES ?= "fitImage"
Brad Bishop3d7ad812015-10-06 01:53:40 -04007KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
8
9UBOOT_SUFFIX ?= "bin"
Brad Bishop3d7ad812015-10-06 01:53:40 -040010
11MACHINEOVERRIDES =. "openbmc:"
Brad Bishopbecb70f2015-10-08 15:18:38 -040012
Brad Bishopdfd2dd22017-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 Bishopadb60e82016-06-14 15:24:22 -040018OBMC_IMAGE_EXTRA_INSTALL_append = " u-boot-fw-utils"
Milton D. Miller II3e287b32016-01-28 09:49:39 -060019
Milton D. Miller II3e287b32016-01-28 09:49:39 -060020INITRAMFS_CTYPE ?= "lzma"
Rick Altherr1ed6fe32017-01-11 17:33:47 -080021INITRAMFS_FSTYPES += "cpio.${INITRAMFS_CTYPE}"
Patrick Williams3e62b0d2017-07-27 14:28:19 -050022INITRAMFS_IMAGE = "${@bb.utils.contains('MACHINE_FEATURES', \
23 'obmc-ubi-fs', '', 'obmc-phosphor-initramfs', d)}"
Milton D. Miller II3e287b32016-01-28 09:49:39 -060024
Nan Lib4f50192016-11-23 01:58:30 +080025MACHINE_FEATURES_BACKFILL_CONSIDERED = "qemu-usermode"
Milton D. Miller II3e287b32016-01-28 09:49:39 -060026