blob: 2cbdd89d46b6aec817355ba03d70f453d344d683 [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"
Brad Bishop8623bbe2018-03-09 00:04:00 -050014IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', \
Brad Bishopdfd2dd22017-08-04 23:54:51 -040015 '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}"
Brad Bishop8623bbe2018-03-09 00:04:00 -050022INITRAMFS_IMAGE ?= "obmc-phosphor-initramfs"
23INITRAMFS_IMAGE_df-obmc-ubi-fs ?= ""
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