summaryrefslogtreecommitdiffstats
path: root/classes/sota.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/sota.bbclass')
-rw-r--r--classes/sota.bbclass11
1 files changed, 11 insertions, 0 deletions
diff --git a/classes/sota.bbclass b/classes/sota.bbclass
index 92b4c43..12f8148 100644
--- a/classes/sota.bbclass
+++ b/classes/sota.bbclass
@@ -38,6 +38,15 @@ GARAGE_TARGET_NAME ?= "${OSTREE_BRANCHNAME}"
38GARAGE_TARGET_VERSION ?= "" 38GARAGE_TARGET_VERSION ?= ""
39GARAGE_TARGET_URL ?= "https://example.com/" 39GARAGE_TARGET_URL ?= "https://example.com/"
40 40
41SOTA_BOOTLOADER_EXTRA_PARAMS ??= ""
42SOTA_BOOTLOADER_BOOTCOMMAND ??= "bootm"
43SOTA_BOOTLOADER_KERNEL_ADDR ??= "\$\{ramdisk_addr_r\}"
44SOTA_BOOTLOADER_RAMDISK_ADDR ??= "-"
45SOTA_BOOTLOADER_FDT_ADDR ??= "-"
46SOTA_BOOTLOADER_BOOT_PART ??= "mmc 0:1"
47SOTA_BOOTLOADER_MAIN_PART ??= "mmc 0:2"
48SOTA_BOOTLOADER_ROOT_DEVICE ??= "/dev/mmcblk0p2"
49
41SOTA_MACHINE ??="none" 50SOTA_MACHINE ??="none"
42SOTA_MACHINE_rpi ?= "raspberrypi" 51SOTA_MACHINE_rpi ?= "raspberrypi"
43SOTA_MACHINE_porter ?= "porter" 52SOTA_MACHINE_porter ?= "porter"
@@ -49,4 +58,6 @@ SOTA_MACHINE_am335x-evm ?= "am335x-evm-wifi"
49SOTA_OVERRIDES_BLACKLIST = "ostree ota" 58SOTA_OVERRIDES_BLACKLIST = "ostree ota"
50SOTA_REQUIRED_VARIABLES = "OSTREE_REPO OSTREE_BRANCHNAME OSTREE_OSNAME OSTREE_BOOTLOADER OSTREE_BOOT_PARTITION GARAGE_SIGN_REPO GARAGE_TARGET_NAME" 59SOTA_REQUIRED_VARIABLES = "OSTREE_REPO OSTREE_BRANCHNAME OSTREE_OSNAME OSTREE_BOOTLOADER OSTREE_BOOT_PARTITION GARAGE_SIGN_REPO GARAGE_TARGET_NAME"
51 60
61do_image_wic[depends] += " ota-u-boot-script:do_deploy "
62
52inherit sota_sanity sota_${SOTA_MACHINE} image_repo_manifest 63inherit sota_sanity sota_${SOTA_MACHINE} image_repo_manifest