summaryrefslogtreecommitdiffstats
path: root/conf/include/local/sota_raspberrypi.inc
diff options
context:
space:
mode:
Diffstat (limited to 'conf/include/local/sota_raspberrypi.inc')
-rw-r--r--conf/include/local/sota_raspberrypi.inc16
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 @@
1MACHINE ?= "raspberrypi3"
2
3# normal image class is sdcard_image-rpi-gdp, for sota it is image_types_uboot & sdcard_image-rpi-ota
4IMAGE_CLASSES += "image_types_uboot sdcard_image-rpi-ota"
5
6# normal image is rpi-sdimg, for sota it is rpi-sdimg-ota
7IMAGE_FSTYPES += "rpi-sdimg-ota"
8### both rpi-sdimg and rpi-sdimg-ota broken
9IMAGE_FSTYPES += "ext4.xz ext4.bmap tar.xz"
10
11KERNEL_IMAGETYPE_sota = "uImage"
12PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
13UBOOT_MACHINE_raspberrypi2 = "rpi_2_defconfig"
14UBOOT_MACHINE_raspberrypi3 = "rpi_3_32b_defconfig"
15
16OSTREE_BOOTLOADER ?= "u-boot"