diff options
Diffstat (limited to 'conf/include/local/sota_raspberrypi.inc')
-rw-r--r-- | conf/include/local/sota_raspberrypi.inc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/conf/include/local/sota_raspberrypi.inc b/conf/include/local/sota_raspberrypi.inc new file mode 100644 index 0000000..51919f0 --- /dev/null +++ b/conf/include/local/sota_raspberrypi.inc | |||
@@ -0,0 +1,16 @@ | |||
1 | MACHINE ?= "raspberrypi3" | ||
2 | |||
3 | # normal image class is sdcard_image-rpi-gdp, for sota it is image_types_uboot & sdcard_image-rpi-ota | ||
4 | IMAGE_CLASSES += "image_types_uboot sdcard_image-rpi-ota" | ||
5 | |||
6 | # normal image is rpi-sdimg, for sota it is rpi-sdimg-ota | ||
7 | IMAGE_FSTYPES += "rpi-sdimg-ota" | ||
8 | ### both rpi-sdimg and rpi-sdimg-ota broken | ||
9 | IMAGE_FSTYPES += "ext4.xz ext4.bmap tar.xz" | ||
10 | |||
11 | KERNEL_IMAGETYPE_sota = "uImage" | ||
12 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot" | ||
13 | UBOOT_MACHINE_raspberrypi2 = "rpi_2_defconfig" | ||
14 | UBOOT_MACHINE_raspberrypi3 = "rpi_3_32b_defconfig" | ||
15 | |||
16 | OSTREE_BOOTLOADER ?= "u-boot" | ||