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 | b08bb15 | 2017-01-09 15:44:57 -0800 | [diff] [blame] | 8 | KERNEL_CLASSES ?= "kernel-fitimage" |
| 9 | KERNEL_IMAGETYPES ?= "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 | |
Rick Altherr | 0e7e709 | 2017-01-04 17:25:18 -0800 | [diff] [blame] | 20 | IMAGE_CLASSES += "image_types_uboot" |
Milton D. Miller II | 44b86a7 | 2016-01-28 09:49:39 -0600 | [diff] [blame] | 21 | |
| 22 | INITRAMFS_CTYPE ?= "lzma" |
Rick Altherr | d950c53 | 2016-12-16 13:18:15 -0800 | [diff] [blame] | 23 | INITRAMFS_FSTYPES += "cpio.${INITRAMFS_CTYPE}.u-boot" |
Milton D. Miller II | 44b86a7 | 2016-01-28 09:49:39 -0600 | [diff] [blame] | 24 | |
Nan Li | fe6b9bc | 2016-11-23 01:58:30 +0800 | [diff] [blame] | 25 | MACHINE_FEATURES_BACKFILL_CONSIDERED = "qemu-usermode" |
Milton D. Miller II | 44b86a7 | 2016-01-28 09:49:39 -0600 | [diff] [blame] | 26 | |