Brad Bishop | 3d7ad81 | 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 | 8ce17d1 | 2017-01-09 15:44:57 -0800 | [diff] [blame] | 8 | KERNEL_CLASSES ?= "kernel-fitimage" |
| 9 | KERNEL_IMAGETYPES ?= "fitImage" |
Brad Bishop | 3d7ad81 | 2015-10-06 01:53:40 -0400 | [diff] [blame] | 10 | KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" |
| 11 | |
| 12 | UBOOT_SUFFIX ?= "bin" |
Brad Bishop | 3d7ad81 | 2015-10-06 01:53:40 -0400 | [diff] [blame] | 13 | |
| 14 | MACHINEOVERRIDES =. "openbmc:" |
Brad Bishop | becb70f | 2015-10-08 15:18:38 -0400 | [diff] [blame] | 15 | |
Patrick Williams | 2054694 | 2016-06-20 14:06:54 -0500 | [diff] [blame] | 16 | OBMC_PHOSPHOR_IMAGE_OVERLAY= "1" |
Brad Bishop | 64367e4 | 2016-04-21 16:56:01 -0400 | [diff] [blame] | 17 | IMAGE_FSTYPES += "cpio.${INITRAMFS_CTYPE}.u-boot" |
Brad Bishop | adb60e8 | 2016-06-14 15:24:22 -0400 | [diff] [blame] | 18 | OBMC_IMAGE_EXTRA_INSTALL_append = " u-boot-fw-utils" |
Milton D. Miller II | 3e287b3 | 2016-01-28 09:49:39 -0600 | [diff] [blame] | 19 | |
Rick Altherr | 2a9a08a | 2017-01-04 17:25:18 -0800 | [diff] [blame] | 20 | IMAGE_CLASSES += "image_types_uboot" |
Milton D. Miller II | 3e287b3 | 2016-01-28 09:49:39 -0600 | [diff] [blame] | 21 | |
| 22 | INITRAMFS_CTYPE ?= "lzma" |
Rick Altherr | d5d32a4 | 2017-01-10 13:57:46 -0800 | [diff] [blame] | 23 | INITRAMFS_FSTYPES += "cpio.${INITRAMFS_CTYPE} cpio.${INITRAMFS_CTYPE}.u-boot" |
| 24 | INITRAMFS_IMAGE = "obmc-phosphor-initramfs" |
Milton D. Miller II | 3e287b3 | 2016-01-28 09:49:39 -0600 | [diff] [blame] | 25 | |
Nan Li | b4f5019 | 2016-11-23 01:58:30 +0800 | [diff] [blame] | 26 | MACHINE_FEATURES_BACKFILL_CONSIDERED = "qemu-usermode" |
Milton D. Miller II | 3e287b3 | 2016-01-28 09:49:39 -0600 | [diff] [blame] | 27 | |