blob: 8290484231e7721256081a0ee7d82c0291a68ee9 [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
5MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
6EXTRA_IMAGEDEPENDS += "u-boot"
7
Rick Altherrc8b6a702016-07-18 21:27:27 -07008KERNEL_CLASSES ?= "kernel-uimage kernel-cuimage kernel-fitimage"
9KERNEL_IMAGETYPES ?= "cuImage fitImage"
Brad Bishop437c0602015-10-06 01:53:40 -040010KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
11
12UBOOT_SUFFIX ?= "bin"
Brad Bishop437c0602015-10-06 01:53:40 -040013
14MACHINEOVERRIDES =. "openbmc:"
Brad Bishop83bdcdf2015-10-08 15:18:38 -040015
Patrick Williamsf01fcca2016-06-20 14:06:54 -050016OBMC_PHOSPHOR_IMAGE_OVERLAY= "1"
Brad Bishop9ba1e6f2016-04-21 16:56:01 -040017IMAGE_FSTYPES += "cpio.${INITRAMFS_CTYPE}.u-boot"
Brad Bishopabf218c2016-06-14 15:24:22 -040018OBMC_IMAGE_EXTRA_INSTALL_append = " u-boot-fw-utils"
Milton D. Miller II44b86a72016-01-28 09:49:39 -060019
Brad Bishop83bdcdf2015-10-08 15:18:38 -040020IMAGE_CLASSES += "obmc-phosphor-image_types_uboot"
Milton D. Miller II44b86a72016-01-28 09:49:39 -060021
22INITRAMFS_CTYPE ?= "lzma"
23INITRAMFS_FSTYPES += "cpio.${INITRAMFS_CTYPE}"
24
25