diff options
author | Anton Gerasimov <anton@advancedtelematic.com> | 2017-05-10 14:09:40 +0200 |
---|---|---|
committer | Anton Gerasimov <anton@advancedtelematic.com> | 2017-05-11 14:38:55 +0200 |
commit | db156eb572c52c70f6b4ec111734f314febddc47 (patch) | |
tree | 645434eda8f625aa88b84972b57cc0c305a60f0d /classes | |
parent | 83e834567264d2e38ea6e184a809159e5a13f5a8 (diff) | |
parent | 221a3753efeb67ea2c5e06dc7033c03385d37a00 (diff) | |
download | meta-updater-db156eb572c52c70f6b4ec111734f314febddc47.tar.gz |
Merge remote-tracking branch 'origin/morty' into feat/noop
Diffstat (limited to 'classes')
-rw-r--r-- | classes/sota.bbclass | 7 | ||||
-rw-r--r-- | classes/sota_am335x-evm-wifi.bbclass | 18 |
2 files changed, 21 insertions, 4 deletions
diff --git a/classes/sota.bbclass b/classes/sota.bbclass index ab9611a..6fbba26 100644 --- a/classes/sota.bbclass +++ b/classes/sota.bbclass | |||
@@ -1,12 +1,10 @@ | |||
1 | python __anonymous() { | 1 | python __anonymous() { |
2 | if bb.utils.contains('DISTRO_FEATURES', 'sota', True, False, d): | 2 | if bb.utils.contains('DISTRO_FEATURES', 'sota', True, False, d): |
3 | d.appendVar("OVERRIDES", ":sota") | ||
4 | #d.appendVar("IMAGE_INSTALL", " ostree os-release") | ||
5 | |||
6 | d.appendVarFlag("do_image_wic", "depends", " %s:do_image_otaimg" % d.getVar("IMAGE_BASENAME", True)) | 3 | d.appendVarFlag("do_image_wic", "depends", " %s:do_image_otaimg" % d.getVar("IMAGE_BASENAME", True)) |
7 | #d.appendVar("EXTRA_IMAGEDEPENDS", " parted-native mtools-native dosfstools-native") | ||
8 | } | 4 | } |
9 | 5 | ||
6 | OVERRIDES .= "${@bb.utils.contains('DISTRO_FEATURES', 'sota', ':sota', '', d)}" | ||
7 | |||
10 | IMAGE_INSTALL_append_sota = " ostree os-release" | 8 | IMAGE_INSTALL_append_sota = " ostree os-release" |
11 | IMAGE_CLASSES += " image_types_ostree image_types_ota" | 9 | IMAGE_CLASSES += " image_types_ostree image_types_ota" |
12 | IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'ostreepush otaimg wic', ' ', d)}" | 10 | IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'ostreepush otaimg wic', ' ', d)}" |
@@ -27,5 +25,6 @@ SOTA_MACHINE_rarpberrypi3 ?= "raspberrypi" | |||
27 | SOTA_MACHINE_porter ?= "porter" | 25 | SOTA_MACHINE_porter ?= "porter" |
28 | SOTA_MACHINE_intel-corei7-64 ?= "minnowboard" | 26 | SOTA_MACHINE_intel-corei7-64 ?= "minnowboard" |
29 | SOTA_MACHINE_qemux86-64 ?= "qemux86-64" | 27 | SOTA_MACHINE_qemux86-64 ?= "qemux86-64" |
28 | SOTA_MACHINE_am335x-evm ?= "am335x-evm-wifi" | ||
30 | 29 | ||
31 | inherit sota_${SOTA_MACHINE} | 30 | inherit sota_${SOTA_MACHINE} |
diff --git a/classes/sota_am335x-evm-wifi.bbclass b/classes/sota_am335x-evm-wifi.bbclass new file mode 100644 index 0000000..821e8fb --- /dev/null +++ b/classes/sota_am335x-evm-wifi.bbclass | |||
@@ -0,0 +1,18 @@ | |||
1 | IMAGE_CLASSES += "image_types_uboot" | ||
2 | |||
3 | KERNEL_IMAGETYPE_sota = "uImage" | ||
4 | |||
5 | OSTREE_BOOTLOADER ?= "u-boot" | ||
6 | |||
7 | EXTRA_IMAGEDEPENDS_append_sota = " acer-bootfiles" | ||
8 | IMAGE_BOOT_FILES_sota = "bootfiles/*" | ||
9 | OSTREE_KERNEL_ARGS ?= "ramdisk_size=16384 root=/dev/ram0 rw rootfstype=ext4 rootwait rootdelay=2 ostree_root=/dev/mmcblk0p2 console=ttyO0,115200n8l" | ||
10 | |||
11 | IMAGE_INSTALL_append_sota = " uim iw wl18xx-calibrator wlconf wl18xx-fw hostapd wpa-supplicant" | ||
12 | IMAGE_INSTALL_remove_sota = " connman connman-client" | ||
13 | |||
14 | PREFERRED_VERSION_linux-ti-staging_sota = "4.4.54+gitAUTOINC+ecd4eada6f" | ||
15 | |||
16 | KERNEL_EXTRA_ARGS_append_sota = " LOADADDR=${UBOOT_ENTRYPOINT}" | ||
17 | |||
18 | VIRTUAL-RUNTIME_net_manager_sota = "systemd" | ||