summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2017-05-10 14:09:40 +0200
committerAnton Gerasimov <anton@advancedtelematic.com>2017-05-11 14:38:55 +0200
commitdb156eb572c52c70f6b4ec111734f314febddc47 (patch)
tree645434eda8f625aa88b84972b57cc0c305a60f0d /classes
parent83e834567264d2e38ea6e184a809159e5a13f5a8 (diff)
parent221a3753efeb67ea2c5e06dc7033c03385d37a00 (diff)
downloadmeta-updater-db156eb572c52c70f6b4ec111734f314febddc47.tar.gz
Merge remote-tracking branch 'origin/morty' into feat/noop
Diffstat (limited to 'classes')
-rw-r--r--classes/sota.bbclass7
-rw-r--r--classes/sota_am335x-evm-wifi.bbclass18
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 @@
1python __anonymous() { 1python __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
6OVERRIDES .= "${@bb.utils.contains('DISTRO_FEATURES', 'sota', ':sota', '', d)}"
7
10IMAGE_INSTALL_append_sota = " ostree os-release" 8IMAGE_INSTALL_append_sota = " ostree os-release"
11IMAGE_CLASSES += " image_types_ostree image_types_ota" 9IMAGE_CLASSES += " image_types_ostree image_types_ota"
12IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'ostreepush otaimg wic', ' ', d)}" 10IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'ostreepush otaimg wic', ' ', d)}"
@@ -27,5 +25,6 @@ SOTA_MACHINE_rarpberrypi3 ?= "raspberrypi"
27SOTA_MACHINE_porter ?= "porter" 25SOTA_MACHINE_porter ?= "porter"
28SOTA_MACHINE_intel-corei7-64 ?= "minnowboard" 26SOTA_MACHINE_intel-corei7-64 ?= "minnowboard"
29SOTA_MACHINE_qemux86-64 ?= "qemux86-64" 27SOTA_MACHINE_qemux86-64 ?= "qemux86-64"
28SOTA_MACHINE_am335x-evm ?= "am335x-evm-wifi"
30 29
31inherit sota_${SOTA_MACHINE} 30inherit 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 @@
1IMAGE_CLASSES += "image_types_uboot"
2
3KERNEL_IMAGETYPE_sota = "uImage"
4
5OSTREE_BOOTLOADER ?= "u-boot"
6
7EXTRA_IMAGEDEPENDS_append_sota = " acer-bootfiles"
8IMAGE_BOOT_FILES_sota = "bootfiles/*"
9OSTREE_KERNEL_ARGS ?= "ramdisk_size=16384 root=/dev/ram0 rw rootfstype=ext4 rootwait rootdelay=2 ostree_root=/dev/mmcblk0p2 console=ttyO0,115200n8l"
10
11IMAGE_INSTALL_append_sota = " uim iw wl18xx-calibrator wlconf wl18xx-fw hostapd wpa-supplicant"
12IMAGE_INSTALL_remove_sota = " connman connman-client"
13
14PREFERRED_VERSION_linux-ti-staging_sota = "4.4.54+gitAUTOINC+ecd4eada6f"
15
16KERNEL_EXTRA_ARGS_append_sota = " LOADADDR=${UBOOT_ENTRYPOINT}"
17
18VIRTUAL-RUNTIME_net_manager_sota = "systemd"