diff options
author | Anton Gerasimov <anton@advancedtelematic.com> | 2017-05-05 14:52:31 +0200 |
---|---|---|
committer | Anton Gerasimov <anton@advancedtelematic.com> | 2017-05-05 14:52:31 +0200 |
commit | f3b1df60bff83941e112d0f0594e497822efb6cc (patch) | |
tree | 99b911e0f56e98d49ad86049b3199c1306e12ffa /classes | |
parent | 9e9caee2ffcc549aaa0b852558e79518ebcc8c92 (diff) | |
download | meta-updater-f3b1df60bff83941e112d0f0594e497822efb6cc.tar.gz |
Add support for am335x-evm based board with WiFi
Diffstat (limited to 'classes')
-rw-r--r-- | classes/sota.bbclass | 5 | ||||
-rw-r--r-- | classes/sota_am335x-evm-wifi.bbclass | 17 |
2 files changed, 19 insertions, 3 deletions
diff --git a/classes/sota.bbclass b/classes/sota.bbclass index 0697932..a1a5028 100644 --- a/classes/sota.bbclass +++ b/classes/sota.bbclass | |||
@@ -21,13 +21,12 @@ OSTREE_BRANCHNAME ?= "ota-${MACHINE}" | |||
21 | OSTREE_OSNAME ?= "poky" | 21 | OSTREE_OSNAME ?= "poky" |
22 | OSTREE_INITRAMFS_IMAGE ?= "initramfs-ostree-image" | 22 | OSTREE_INITRAMFS_IMAGE ?= "initramfs-ostree-image" |
23 | 23 | ||
24 | # Prelinking increases the size of downloads and causes build errors | ||
25 | USER_CLASSES_remove = "image-prelink" | ||
26 | |||
27 | SOTA_MACHINE ?= "none" | 24 | SOTA_MACHINE ?= "none" |
28 | SOTA_MACHINE_raspberrypi = "raspberrypi" | 25 | SOTA_MACHINE_raspberrypi = "raspberrypi" |
29 | SOTA_MACHINE_raspberrypi3 = "raspberrypi" | 26 | SOTA_MACHINE_raspberrypi3 = "raspberrypi" |
30 | SOTA_MACHINE_porter = "porter" | 27 | SOTA_MACHINE_porter = "porter" |
31 | SOTA_MACHINE_intel-corei7-64 = "minnowboard" | 28 | SOTA_MACHINE_intel-corei7-64 = "minnowboard" |
32 | SOTA_MACHINE_qemux86-64 = "qemux86-64" | 29 | SOTA_MACHINE_qemux86-64 = "qemux86-64" |
30 | SOTA_MACHINE_qemux86-64 = "qemux86-64" | ||
31 | SOTA_MACHINE_am335x-evm = "am335x-evm-wifi" | ||
33 | inherit sota_${SOTA_MACHINE} | 32 | 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..24d0832 --- /dev/null +++ b/classes/sota_am335x-evm-wifi.bbclass | |||
@@ -0,0 +1,17 @@ | |||
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 connman" | ||
12 | |||
13 | PREFERRED_VERSION_linux-ti-staging_sota = "4.4.54+gitAUTOINC+ecd4eada6f" | ||
14 | |||
15 | KERNEL_EXTRA_ARGS_append_sota = " LOADADDR=${UBOOT_ENTRYPOINT}" | ||
16 | |||
17 | VIRTUAL-RUNTIME_net_manager_sota = "systemd" | ||