blob: f4649e38a7cdf01a389550002c9749dd5f1cb6c0 [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
Patrick Williamsf01fcca2016-06-20 14:06:54 -050013OBMC_PHOSPHOR_IMAGE_OVERLAY= "1"
Brad Bishop9ba1e6f2016-04-21 16:56:01 -040014IMAGE_FSTYPES += "cpio.${INITRAMFS_CTYPE}.u-boot"
Brad Bishopabf218c2016-06-14 15:24:22 -040015OBMC_IMAGE_EXTRA_INSTALL_append = " u-boot-fw-utils"
Milton D. Miller II44b86a72016-01-28 09:49:39 -060016
Rick Altherr0e7e7092017-01-04 17:25:18 -080017IMAGE_CLASSES += "image_types_uboot"
Milton D. Miller II44b86a72016-01-28 09:49:39 -060018
19INITRAMFS_CTYPE ?= "lzma"
Rick Altherrc919f532017-01-11 17:33:47 -080020INITRAMFS_FSTYPES += "cpio.${INITRAMFS_CTYPE}"
Rick Altherr47916b32017-01-10 13:57:46 -080021INITRAMFS_IMAGE = "obmc-phosphor-initramfs"
Milton D. Miller II44b86a72016-01-28 09:49:39 -060022
Nan Life6b9bc2016-11-23 01:58:30 +080023MACHINE_FEATURES_BACKFILL_CONSIDERED = "qemu-usermode"
Milton D. Miller II44b86a72016-01-28 09:49:39 -060024