diff options
| author | Anton Gerasimov <anton@advancedtelematic.com> | 2016-12-23 12:35:31 +0100 |
|---|---|---|
| committer | Anton Gerasimov <anton@advancedtelematic.com> | 2016-12-23 12:35:31 +0100 |
| commit | 4a264b592a001ab35b9ec0a4cf916873e4c39930 (patch) | |
| tree | 4769993506bf139e818dd9925b18f2ccdc2fec79 | |
| parent | db58e575655be131df4a597d66bfdec2ca128474 (diff) | |
| download | meta-updater-4a264b592a001ab35b9ec0a4cf916873e4c39930.tar.gz | |
Add u-boot configs for intel machines
| -rw-r--r-- | conf/distro/sota.conf.inc | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/conf/distro/sota.conf.inc b/conf/distro/sota.conf.inc index 7602464..d9b88c7 100644 --- a/conf/distro/sota.conf.inc +++ b/conf/distro/sota.conf.inc | |||
| @@ -10,7 +10,9 @@ OSTREE_BRANCHNAME ?= "ota-${MACHINE}" | |||
| 10 | OSTREE_OSNAME ?= "poky" | 10 | OSTREE_OSNAME ?= "poky" |
| 11 | OSTREE_INITRAMFS_IMAGE ?= "initramfs-ostree-image" | 11 | OSTREE_INITRAMFS_IMAGE ?= "initramfs-ostree-image" |
| 12 | 12 | ||
| 13 | # Platform-specific configuration | 13 | # Platform-specific configurations |
| 14 | |||
| 15 | ## RaspberryPi | ||
| 14 | IMAGE_CLASSES_append_raspberrypi2 = " image_types_uboot sdcard_image-rpi-ota" | 16 | IMAGE_CLASSES_append_raspberrypi2 = " image_types_uboot sdcard_image-rpi-ota" |
| 15 | IMAGE_CLASSES_append_raspberrypi3 = " image_types_uboot sdcard_image-rpi-ota" | 17 | IMAGE_CLASSES_append_raspberrypi3 = " image_types_uboot sdcard_image-rpi-ota" |
| 16 | IMAGE_FSTYPES += "${@'rpi-sdimg-ota' if d.getVar('MACHINE', True).startswith('raspberrypi') else ''}" | 18 | IMAGE_FSTYPES += "${@'rpi-sdimg-ota' if d.getVar('MACHINE', True).startswith('raspberrypi') else ''}" |
| @@ -27,5 +29,15 @@ PREFERRED_PROVIDER_virtual/bootloader_raspberrypi3 = "u-boot" | |||
| 27 | # Some BSPs (e.g. meta-raspberrypi) use this variable to turn debug on/off | 29 | # Some BSPs (e.g. meta-raspberrypi) use this variable to turn debug on/off |
| 28 | DISTRO_TYPE ?= "${@bb.utils.contains("IMAGE_FEATURES", "debug-tweaks", "debug", "release",d)}" | 30 | DISTRO_TYPE ?= "${@bb.utils.contains("IMAGE_FEATURES", "debug-tweaks", "debug", "release",d)}" |
| 29 | 31 | ||
| 32 | ## Minnowboard | ||
| 33 | PREFERRED_PROVIDER_virtual/bootloader_intel-corei7-64 = "u-boot-ota" | ||
| 34 | UBOOT_MACHINE_intel-corei7-64 = "minnowmax_defconfig" | ||
| 35 | |||
| 36 | ## QEMU | ||
| 37 | PREFERRED_PROVIDER_virtual/bootloader_qemux86 = "u-boot-ota" | ||
| 38 | UBOOT_MACHINE_qemux86 = "qemu-x86_defconfig" | ||
| 39 | PREFERRED_PROVIDER_virtual/bootloader_qemux86-64= "u-boot-ota" | ||
| 40 | UBOOT_MACHINE_qemux86-64 = "qemu-x86_defconfig" | ||
| 41 | |||
| 30 | DISTROOVERRIDES_append = ":sota" | 42 | DISTROOVERRIDES_append = ":sota" |
| 31 | DISTRO_FEATURES_append = " sota" | 43 | DISTRO_FEATURES_append = " sota" |
