Brad Bishop | 437c060 | 2015-10-06 01:53:40 -0400 | [diff] [blame] | 1 | #@TYPE: Machine |
| 2 | #@NAME: OpenBMC |
| 3 | #@DESCRIPTION: Common machine configuration for OpenBMC chips |
| 4 | |
| 5 | MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" |
| 6 | EXTRA_IMAGEDEPENDS += "u-boot" |
| 7 | |
Rick Altherr | c8b6a70 | 2016-07-18 21:27:27 -0700 | [diff] [blame] | 8 | KERNEL_CLASSES ?= "kernel-uimage kernel-cuimage kernel-fitimage" |
| 9 | KERNEL_IMAGETYPES ?= "cuImage fitImage" |
Brad Bishop | 437c060 | 2015-10-06 01:53:40 -0400 | [diff] [blame] | 10 | KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" |
| 11 | |
| 12 | UBOOT_SUFFIX ?= "bin" |
Brad Bishop | 437c060 | 2015-10-06 01:53:40 -0400 | [diff] [blame] | 13 | |
| 14 | MACHINEOVERRIDES =. "openbmc:" |
Brad Bishop | 83bdcdf | 2015-10-08 15:18:38 -0400 | [diff] [blame] | 15 | |
Patrick Williams | f01fcca | 2016-06-20 14:06:54 -0500 | [diff] [blame] | 16 | OBMC_PHOSPHOR_IMAGE_OVERLAY= "1" |
Brad Bishop | 9ba1e6f | 2016-04-21 16:56:01 -0400 | [diff] [blame] | 17 | IMAGE_FSTYPES += "cpio.${INITRAMFS_CTYPE}.u-boot" |
Brad Bishop | abf218c | 2016-06-14 15:24:22 -0400 | [diff] [blame] | 18 | OBMC_IMAGE_EXTRA_INSTALL_append = " u-boot-fw-utils" |
Milton D. Miller II | 44b86a7 | 2016-01-28 09:49:39 -0600 | [diff] [blame] | 19 | |
Brad Bishop | 83bdcdf | 2015-10-08 15:18:38 -0400 | [diff] [blame] | 20 | IMAGE_CLASSES += "obmc-phosphor-image_types_uboot" |
Milton D. Miller II | 44b86a7 | 2016-01-28 09:49:39 -0600 | [diff] [blame] | 21 | |
| 22 | INITRAMFS_CTYPE ?= "lzma" |
| 23 | INITRAMFS_FSTYPES += "cpio.${INITRAMFS_CTYPE}" |
| 24 | |
| 25 | |