diff options
author | Anton Gerasimov <anton.gerasimov@here.com> | 2019-02-21 15:54:39 +0100 |
---|---|---|
committer | Anton Gerasimov <anton.gerasimov@here.com> | 2019-02-21 15:54:39 +0100 |
commit | f97aa66abf9a5d781478d367ce275ca61137ed2d (patch) | |
tree | 857884b9b1cc26d8a6df08a9f0a26ee33c8bb427 /classes/sota.bbclass | |
parent | 3b9b75140ea58f546829cb3cf1b234e5b650de77 (diff) | |
download | meta-updater-wip/unversaluenv.tar.gz |
Add universal uEnv recipewip/unversaluenv
Signed-off-by: Anton Gerasimov <anton.gerasimov@here.com>
Diffstat (limited to 'classes/sota.bbclass')
-rw-r--r-- | classes/sota.bbclass | 11 |
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}" | |||
38 | GARAGE_TARGET_VERSION ?= "" | 38 | GARAGE_TARGET_VERSION ?= "" |
39 | GARAGE_TARGET_URL ?= "https://example.com/" | 39 | GARAGE_TARGET_URL ?= "https://example.com/" |
40 | 40 | ||
41 | SOTA_BOOTLOADER_EXTRA_PARAMS ??= "" | ||
42 | SOTA_BOOTLOADER_BOOTCOMMAND ??= "bootm" | ||
43 | SOTA_BOOTLOADER_KERNEL_ADDR ??= "\$\{ramdisk_addr_r\}" | ||
44 | SOTA_BOOTLOADER_RAMDISK_ADDR ??= "-" | ||
45 | SOTA_BOOTLOADER_FDT_ADDR ??= "-" | ||
46 | SOTA_BOOTLOADER_BOOT_PART ??= "mmc 0:1" | ||
47 | SOTA_BOOTLOADER_MAIN_PART ??= "mmc 0:2" | ||
48 | SOTA_BOOTLOADER_ROOT_DEVICE ??= "/dev/mmcblk0p2" | ||
49 | |||
41 | SOTA_MACHINE ??="none" | 50 | SOTA_MACHINE ??="none" |
42 | SOTA_MACHINE_rpi ?= "raspberrypi" | 51 | SOTA_MACHINE_rpi ?= "raspberrypi" |
43 | SOTA_MACHINE_porter ?= "porter" | 52 | SOTA_MACHINE_porter ?= "porter" |
@@ -49,4 +58,6 @@ SOTA_MACHINE_am335x-evm ?= "am335x-evm-wifi" | |||
49 | SOTA_OVERRIDES_BLACKLIST = "ostree ota" | 58 | SOTA_OVERRIDES_BLACKLIST = "ostree ota" |
50 | SOTA_REQUIRED_VARIABLES = "OSTREE_REPO OSTREE_BRANCHNAME OSTREE_OSNAME OSTREE_BOOTLOADER OSTREE_BOOT_PARTITION GARAGE_SIGN_REPO GARAGE_TARGET_NAME" | 59 | SOTA_REQUIRED_VARIABLES = "OSTREE_REPO OSTREE_BRANCHNAME OSTREE_OSNAME OSTREE_BOOTLOADER OSTREE_BOOT_PARTITION GARAGE_SIGN_REPO GARAGE_TARGET_NAME" |
51 | 60 | ||
61 | do_image_wic[depends] += " ota-u-boot-script:do_deploy " | ||
62 | |||
52 | inherit sota_sanity sota_${SOTA_MACHINE} image_repo_manifest | 63 | inherit sota_sanity sota_${SOTA_MACHINE} image_repo_manifest |