summaryrefslogtreecommitdiffstats
path: root/classes/sota_raspberrypi.bbclass
diff options
context:
space:
mode:
authorAnton Gerasimov <anton.gerasimov@here.com>2019-02-21 15:54:39 +0100
committerAnton Gerasimov <anton.gerasimov@here.com>2019-02-25 15:35:01 +0100
commit690262acdba2511b14798c04b19d9dcc7df2d538 (patch)
treecdf2890f58fb10431fa9adf6c0bb1319c34816bf /classes/sota_raspberrypi.bbclass
parent3b9b75140ea58f546829cb3cf1b234e5b650de77 (diff)
downloadmeta-updater-feat/universaluenv.tar.gz
Add universal uEnv recipefeat/universaluenv
Signed-off-by: Anton Gerasimov <anton.gerasimov@here.com>
Diffstat (limited to 'classes/sota_raspberrypi.bbclass')
-rw-r--r--classes/sota_raspberrypi.bbclass8
1 files changed, 3 insertions, 5 deletions
diff --git a/classes/sota_raspberrypi.bbclass b/classes/sota_raspberrypi.bbclass
index e1c0054..88b5f21 100644
--- a/classes/sota_raspberrypi.bbclass
+++ b/classes/sota_raspberrypi.bbclass
@@ -2,16 +2,12 @@ RPI_USE_U_BOOT_sota = "1"
2 2
3KERNEL_CLASSES_append_sota = " kernel-fitimage" 3KERNEL_CLASSES_append_sota = " kernel-fitimage"
4KERNEL_IMAGETYPE_sota = "fitImage" 4KERNEL_IMAGETYPE_sota = "fitImage"
5INITRAMFS_FSTYPES = "cpio.gz"
6OSTREE_KERNEL = "${KERNEL_IMAGETYPE}-${INITRAMFS_IMAGE}-${MACHINE}-${KERNEL_FIT_LINK_NAME}" 5OSTREE_KERNEL = "${KERNEL_IMAGETYPE}-${INITRAMFS_IMAGE}-${MACHINE}-${KERNEL_FIT_LINK_NAME}"
7 6
8# DTB needs to be relocated to apply overlays 7# DTB needs to be relocated to apply overlays
9UBOOT_DTB_LOADADDRESS = "0x05000000" 8UBOOT_DTB_LOADADDRESS = "0x05000000"
10UBOOT_DTBO_LOADADDRESS = "0x06000000" 9UBOOT_DTBO_LOADADDRESS = "0x06000000"
11 10
12# Deploy config fragment list to OSTree root fs
13IMAGE_INSTALL_append = " fit-conf"
14
15PREFERRED_PROVIDER_virtual/bootloader_sota ?= "u-boot" 11PREFERRED_PROVIDER_virtual/bootloader_sota ?= "u-boot"
16UBOOT_ENTRYPOINT_sota ?= "0x00008000" 12UBOOT_ENTRYPOINT_sota ?= "0x00008000"
17 13
@@ -19,7 +15,7 @@ IMAGE_FSTYPES_remove_sota = "rpi-sdimg"
19OSTREE_BOOTLOADER ?= "u-boot" 15OSTREE_BOOTLOADER ?= "u-boot"
20 16
21# OSTree puts its own boot.scr to bcm2835-bootfiles 17# OSTree puts its own boot.scr to bcm2835-bootfiles
22IMAGE_BOOT_FILES_sota = "bcm2835-bootfiles/* u-boot.bin;${SDIMG_KERNELIMAGE}" 18IMAGE_BOOT_FILES_sota = "bcm2835-bootfiles/* uEnv.txt u-boot.bin;${SDIMG_KERNELIMAGE}"
23 19
24# Just the overlays that will be used should be listed 20# Just the overlays that will be used should be listed
25KERNEL_DEVICETREE_raspberrypi2_sota ?= " bcm2709-rpi-2-b.dtb " 21KERNEL_DEVICETREE_raspberrypi2_sota ?= " bcm2709-rpi-2-b.dtb "
@@ -35,3 +31,5 @@ OSTREE_KERNEL_ARGS_sota ?= " 8250.nr_uarts=1 bcm2708_fb.fbwidth=656 bcm2708_fb.f
35 31
36SOTA_CLIENT_FEATURES_append = " ubootenv" 32SOTA_CLIENT_FEATURES_append = " ubootenv"
37 33
34SOTA_ROLLBACK_MECHANISM = "file-env"
35