diff options
-rw-r--r-- | classes/sota.bbclass | 5 | ||||
-rw-r--r-- | classes/sota_am335x-evm-wifi.bbclass | 17 | ||||
-rw-r--r-- | conf/distro/poky-sota-systemd.conf | 3 | ||||
-rw-r--r-- | conf/distro/poky-sota.conf | 3 | ||||
-rw-r--r-- | conf/include/bblayers/sota_am335x-evm.inc | 2 |
5 files changed, 27 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" | ||
diff --git a/conf/distro/poky-sota-systemd.conf b/conf/distro/poky-sota-systemd.conf index e6f43f7..3a50d66 100644 --- a/conf/distro/poky-sota-systemd.conf +++ b/conf/distro/poky-sota-systemd.conf | |||
@@ -10,3 +10,6 @@ VIRTUAL-RUNTIME_init_manager = "systemd" | |||
10 | 10 | ||
11 | INHERIT += " sota" | 11 | INHERIT += " sota" |
12 | IMAGE_INSTALL_append = " connman connman-client rvi-sota-client" | 12 | IMAGE_INSTALL_append = " connman connman-client rvi-sota-client" |
13 | |||
14 | # Prelinking increases the size of downloads and causes build errors | ||
15 | USER_CLASSES_remove = "image-prelink" | ||
diff --git a/conf/distro/poky-sota.conf b/conf/distro/poky-sota.conf index 6972a94..d6d2a1e 100644 --- a/conf/distro/poky-sota.conf +++ b/conf/distro/poky-sota.conf | |||
@@ -7,3 +7,6 @@ DISTRO_CODENAME = "sota" | |||
7 | 7 | ||
8 | INHERIT += " sota" | 8 | INHERIT += " sota" |
9 | IMAGE_INSTALL_append = " connman connman-client" | 9 | IMAGE_INSTALL_append = " connman connman-client" |
10 | |||
11 | # Prelinking increases the size of downloads and causes build errors | ||
12 | USER_CLASSES_remove = "image-prelink" | ||
diff --git a/conf/include/bblayers/sota_am335x-evm.inc b/conf/include/bblayers/sota_am335x-evm.inc new file mode 100644 index 0000000..f2d485d --- /dev/null +++ b/conf/include/bblayers/sota_am335x-evm.inc | |||
@@ -0,0 +1,2 @@ | |||
1 | |||
2 | BBLAYERS += " ${METADIR}/meta-ti " | ||