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 | |
Rick Altherr | b08bb15 | 2017-01-09 15:44:57 -0800 | [diff] [blame] | 5 | KERNEL_CLASSES ?= "kernel-fitimage" |
| 6 | KERNEL_IMAGETYPES ?= "fitImage" |
Brad Bishop | 437c060 | 2015-10-06 01:53:40 -0400 | [diff] [blame] | 7 | KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" |
| 8 | |
| 9 | UBOOT_SUFFIX ?= "bin" |
Brad Bishop | 437c060 | 2015-10-06 01:53:40 -0400 | [diff] [blame] | 10 | |
| 11 | MACHINEOVERRIDES =. "openbmc:" |
Brad Bishop | 83bdcdf | 2015-10-08 15:18:38 -0400 | [diff] [blame] | 12 | |
Brad Bishop | 0e27f20 | 2017-07-22 14:49:25 -0400 | [diff] [blame] | 13 | IMAGE_FSTYPES += "cpio.${INITRAMFS_CTYPE}.u-boot overlay" |
Brad Bishop | abf218c | 2016-06-14 15:24:22 -0400 | [diff] [blame] | 14 | OBMC_IMAGE_EXTRA_INSTALL_append = " u-boot-fw-utils" |
Milton D. Miller II | 44b86a7 | 2016-01-28 09:49:39 -0600 | [diff] [blame] | 15 | |
Milton D. Miller II | 44b86a7 | 2016-01-28 09:49:39 -0600 | [diff] [blame] | 16 | INITRAMFS_CTYPE ?= "lzma" |
Rick Altherr | c919f53 | 2017-01-11 17:33:47 -0800 | [diff] [blame] | 17 | INITRAMFS_FSTYPES += "cpio.${INITRAMFS_CTYPE}" |
Rick Altherr | 47916b3 | 2017-01-10 13:57:46 -0800 | [diff] [blame] | 18 | INITRAMFS_IMAGE = "obmc-phosphor-initramfs" |
Milton D. Miller II | 44b86a7 | 2016-01-28 09:49:39 -0600 | [diff] [blame] | 19 | |
Nan Li | fe6b9bc | 2016-11-23 01:58:30 +0800 | [diff] [blame] | 20 | MACHINE_FEATURES_BACKFILL_CONSIDERED = "qemu-usermode" |
Milton D. Miller II | 44b86a7 | 2016-01-28 09:49:39 -0600 | [diff] [blame] | 21 | |