blob: 988a8963b35fa243d225efb59037bb9628c1eda7 [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
5MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
6EXTRA_IMAGEDEPENDS += "u-boot"
7
Rick Altherr8ce17d12017-01-09 15:44:57 -08008KERNEL_CLASSES ?= "kernel-fitimage"
9KERNEL_IMAGETYPES ?= "fitImage"
Brad Bishop3d7ad812015-10-06 01:53:40 -040010KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
11
12UBOOT_SUFFIX ?= "bin"
Brad Bishop3d7ad812015-10-06 01:53:40 -040013
14MACHINEOVERRIDES =. "openbmc:"
Brad Bishopbecb70f2015-10-08 15:18:38 -040015
Patrick Williams20546942016-06-20 14:06:54 -050016OBMC_PHOSPHOR_IMAGE_OVERLAY= "1"
Brad Bishop64367e42016-04-21 16:56:01 -040017IMAGE_FSTYPES += "cpio.${INITRAMFS_CTYPE}.u-boot"
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
Rick Altherr2a9a08a2017-01-04 17:25:18 -080020IMAGE_CLASSES += "image_types_uboot"
Milton D. Miller II3e287b32016-01-28 09:49:39 -060021
22INITRAMFS_CTYPE ?= "lzma"
Rick Altherr1ed6fe32017-01-11 17:33:47 -080023INITRAMFS_FSTYPES += "cpio.${INITRAMFS_CTYPE}"
Rick Altherrd5d32a42017-01-10 13:57:46 -080024INITRAMFS_IMAGE = "obmc-phosphor-initramfs"
Milton D. Miller II3e287b32016-01-28 09:49:39 -060025
Nan Lib4f50192016-11-23 01:58:30 +080026MACHINE_FEATURES_BACKFILL_CONSIDERED = "qemu-usermode"
Milton D. Miller II3e287b32016-01-28 09:49:39 -060027