From fa7450681e525c790dd168e98410952e8fe05472 Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Wed, 29 Feb 2012 12:31:37 -0500 Subject: [PATCH 001/211] add README --- README | 1 + 1 file changed, 1 insertion(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 000000000..97848d924 --- /dev/null +++ b/README @@ -0,0 +1 @@ +BEC overlay From a40d36b41c3fe4d0f14fc2412b205234064afe51 Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Thu, 22 Mar 2012 14:11:27 -0400 Subject: [PATCH 002/211] add stuff --- conf/layer.conf | 9 ++++ recipes/images/bec-debug-image.bb | 73 +++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 conf/layer.conf create mode 100644 recipes/images/bec-debug-image.bb diff --git a/conf/layer.conf b/conf/layer.conf new file mode 100644 index 000000000..675a74291 --- /dev/null +++ b/conf/layer.conf @@ -0,0 +1,9 @@ +# We have a conf and classes directory, append to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have a recipes directory, add to BBFILES +BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" + +BBFILE_COLLECTIONS += "meta-bec" +BBFILE_PATTERN_meta-bec := "^${LAYERDIR}/" +BBFILE_PRIORITY_meta-bec = "15" diff --git a/recipes/images/bec-debug-image.bb b/recipes/images/bec-debug-image.bb new file mode 100644 index 000000000..db34341ac --- /dev/null +++ b/recipes/images/bec-debug-image.bb @@ -0,0 +1,73 @@ +# this image includes the base utilities needed to exercise most +# embedded linux hardware + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" + +IMAGE_PREPROCESS_COMMAND = "rootfs_update_timestamp" + +DISTRO_UPDATE_ALTERNATIVES ??= "" +ROOTFS_PKGMANAGE_PKGS ?= '${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${ROOTFS_PKGMANAGE} ${DISTRO_UPDATE_ALTERNATIVES}", d)}' + +CONMANPKGS ?= "connman connman-plugin-loopback connman-plugin-ethernet connman-plugin-wifi connman-systemd" +CONMANPKGS_libc-uclibc = "" + +IMAGE_INSTALL += "\ + angstrom-task-boot \ + task-basic \ + ${CONMANPKGS} \ + ${ROOTFS_PKGMANAGE_PKGS} \ + kernel-modules \ + rsync \ + devmem2 \ + evtest \ + netperf \ + madplay \ + gdbserver \ + gdb \ + mtd-utils \ + tslib \ + tslib-calibrate \ + tslib-tests \ + alsa-utils \ + alsa-utils-alsamixer \ + alsa-utils-aconnect \ + alsa-utils-alsaconf \ + alsa-utils-alsactl \ + alsa-utils-alsamixer \ + alsa-utils-amixer \ + alsa-utils-aplay \ + alsa-utils-aseqdump \ + alsa-utils-aseqnet \ + alsa-utils-iecset \ + alsa-utils-speakertest \ + e2fsprogs \ + e2fsprogs-mke2fs \ + e2fsprogs-fsck \ + e2fsprogs-e2fsck \ + e2fsprogs-tune2fs \ + dosfstools \ + usbutils \ + i2c-tools \ + minicom \ + wireless-tools \ + cpufrequtils \ + angstrom-uboot-scripts \ + nano \ + cpuburn-neon \ + sox \ + task-base-bluetooth \ + task-base-wifi \ + strace \ + screen \ + " + +IMAGE_DEV_MANAGER = "udev" +IMAGE_INIT_MANAGER = "systemd" +IMAGE_INITSCRIPTS = " " +IMAGE_LOGIN_MANAGER = "tinylogin shadow" + +export IMAGE_BASENAME = "bec-debug-image" + +inherit image + From 9ef1a86bc954a5be77aace0f9aa497d16a617e5d Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Wed, 16 Jan 2013 11:50:36 -0500 Subject: [PATCH 003/211] add serial test recipe --- recipes/serial-test/serial-test_git.bb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 recipes/serial-test/serial-test_git.bb diff --git a/recipes/serial-test/serial-test_git.bb b/recipes/serial-test/serial-test_git.bb new file mode 100644 index 000000000..b5a4b9025 --- /dev/null +++ b/recipes/serial-test/serial-test_git.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "Serial test application" +HOMEPAGE = "https://github.com/cbrake/linux-serial-test" +SECTION = "utils" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=544799d0b492f119fa04641d1b8868ed" +SRCREV = "4d5c8a4b40bdbee41e30244727b8813bc669d002" + +PV = "git${SRCPV}" +PR = "r2" + +SRC_URI = "git://github.com/cbrake/linux-serial-test.git;branch=master;protocol=git" + +S = "${WORKDIR}/git/" + +inherit cmake + From f136ee80d5d70a293aaac991ed574baddc90cafe Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Wed, 23 Jan 2013 12:10:18 -0500 Subject: [PATCH 004/211] add fbgrab recipe --- recipes/fbgrab/fbgrab-viewer-native_1.0.bb | 28 ++++++++++++ recipes/fbgrab/fbgrab/fbgrab_1bpp.patch | 52 ++++++++++++++++++++++ recipes/fbgrab/fbgrab/makefile.patch | 21 +++++++++ recipes/fbgrab/fbgrab_1.0.bb | 25 +++++++++++ 4 files changed, 126 insertions(+) create mode 100644 recipes/fbgrab/fbgrab-viewer-native_1.0.bb create mode 100644 recipes/fbgrab/fbgrab/fbgrab_1bpp.patch create mode 100644 recipes/fbgrab/fbgrab/makefile.patch create mode 100644 recipes/fbgrab/fbgrab_1.0.bb diff --git a/recipes/fbgrab/fbgrab-viewer-native_1.0.bb b/recipes/fbgrab/fbgrab-viewer-native_1.0.bb new file mode 100644 index 000000000..b3a8969e3 --- /dev/null +++ b/recipes/fbgrab/fbgrab-viewer-native_1.0.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "Viewer for a network enabled fbgrab" +HOMEPAGE = "http://svn.openezx.org/trunk/src/userspace/fbgrab/" +LICENSE = "GPL" +SECTION = "console/network" +DEPENDS = "libpng-native" +SRCREV = "1943" +PV = "0.0+svn${SRCDATE}" +PR = "r30" + +SRC_URI = "svn://svn.openezx.org/trunk/src/userspace;module=fbgrab;proto=http" +S = "${WORKDIR}/fbgrab" + +inherit native + +do_compile() { + ${CC} ${CFLAGS} ${LDFLAGS} -g -Wall -lpng -lX11 -o fbgrab-viewer fbgrab-viewer.c +} + +do_deploy() { + install -d ${DEPLOY_DIR_IMAGE} + install -m 0755 fbgrab-viewer ${DEPLOY_DIR_IMAGE}/fbgrab-viewer +} + +do_install() { + : +} + +addtask deploy before do_install after do_compile diff --git a/recipes/fbgrab/fbgrab/fbgrab_1bpp.patch b/recipes/fbgrab/fbgrab/fbgrab_1bpp.patch new file mode 100644 index 000000000..8c6dff27b --- /dev/null +++ b/recipes/fbgrab/fbgrab/fbgrab_1bpp.patch @@ -0,0 +1,52 @@ +--- fbgrab-1.0.orig/fbgrab.c 2002-04-15 22:22:54.000000000 +0200 ++++ fbgrab-1.0/fbgrab.c 2008-12-15 20:18:55.000000000 +0100 +@@ -135,6 +135,26 @@ + fatal_error("Error: Not enough memory or data\n"); + } + ++static void convert1to32(int width, int height, ++ unsigned char *inbuffer, ++ unsigned char *outbuffer) ++{ ++ unsigned int i, j; ++ unsigned char *ptr = outbuffer; ++ ++ for (i=0; i < (unsigned int) height*width >> 3; i++) ++ { ++ for(j=0; j < 8; j++) ++ { ++ /* BLUE = 0, GREEN = 1, RED = 2 */ ++ *ptr = *(ptr+1) = *(ptr+2) = ((inbuffer[i] >> (7-j)) & 1) ? 255 : 0; ++ /* ALPHA = 3 */ ++ *(ptr+3) = '\0'; ++ ptr += 4; ++ } ++ } ++} ++ + static void convert1555to32(int width, int height, + unsigned char *inbuffer, + unsigned char *outbuffer) +@@ -270,6 +290,10 @@ + + switch(bits) + { ++ case 1: ++ convert1to32(width, height, inbuffer, outbuffer); ++ write_PNG(outbuffer, filename, width, height, interlace); ++ break; + case 15: + convert1555to32(width, height, inbuffer, outbuffer); + write_PNG(outbuffer, filename, width, height, interlace); +@@ -405,7 +429,10 @@ + strncpy(infile, device, MAX_LEN - 1); + } + +- buf_size = width * height * (((unsigned int) bitdepth + 7) >> 3); ++ if (bitdepth == 1) ++ buf_size = (width * height) >> 3; ++ else ++ buf_size = width * height * (((unsigned int) bitdepth + 7) >> 3); + + buf_p = malloc(buf_size); + diff --git a/recipes/fbgrab/fbgrab/makefile.patch b/recipes/fbgrab/fbgrab/makefile.patch new file mode 100644 index 000000000..01ee502bd --- /dev/null +++ b/recipes/fbgrab/fbgrab/makefile.patch @@ -0,0 +1,21 @@ +--- fbgrab-1.0/Makefile.orig 2002-03-20 20:49:06.000000000 +0100 ++++ fbgrab-1.0/Makefile 2004-06-11 18:02:56.000000000 +0200 +@@ -4,13 +4,12 @@ + ### + + fbgrab: fbgrab.c +- splint +posixlib fbgrab.c +- gcc -g -Wall fbgrab.c -lpng -lz -o fbgrab ++ ${CC} ${CFLAGS} ${LDFLAGS} fbgrab.c -lpng -lm -lz -o fbgrab + + install: + strip fbgrab +- install fbgrab /usr/bin/fbgrab +- install fbgrab.1.man /usr/man/man1/fbgrab.1 ++ install fbgrab ${DESTDIR}/usr/bin/fbgrab ++ install fbgrab.1.man ${DESTDIR}/usr/share/man/man1/fbgrab.1 + + clean: +- rm -f fbgrab *~ \#*\# +\ No newline at end of file ++ rm -f fbgrab *~ \#*\# diff --git a/recipes/fbgrab/fbgrab_1.0.bb b/recipes/fbgrab/fbgrab_1.0.bb new file mode 100644 index 000000000..f9694d4dc --- /dev/null +++ b/recipes/fbgrab/fbgrab_1.0.bb @@ -0,0 +1,25 @@ +SECTION = "console/network" +DESCRIPTION = "framebuffer screenshot program" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=ea5bed2f60d357618ca161ad539f7c0a" + +PR = "r2" + +DEPENDS = " zlib libpng " + +SRC_URI = "http://hem.bredband.net/gmogmo/fbgrab/fbgrab-${PV}.tar.gz;name=archive \ + file://makefile.patch \ + http://people.openezx.org/ao2/fbgrab_network_mode.diff;name=patch \ + file://fbgrab_1bpp.patch \ + " + +do_install() { + install -d ${D}${bindir} ${D}${mandir}/man1/ + install -m 0755 fbgrab ${D}${bindir} + install -m 0644 fbgrab.1.man ${D}${mandir}/man1/fbgrab.1 +} + +SRC_URI[archive.md5sum] = "7af4d8774684182ed690d5da82d6d234" +SRC_URI[archive.sha256sum] = "9158241a20978dcc4caf0692684da9dd3640fd6f5c8b72581bd099198d670510" +SRC_URI[patch.md5sum] = "71bf1218c52a6e4a1f38406748285255" +SRC_URI[patch.sha256sum] = "e8cf4fe15d7e99e86016db3ddc1f403c35c49f40c4d37209d76cd5785c541aa8" From dbf623d7955c221707c29ef97aca534f9659253b Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Wed, 23 Jan 2013 12:10:34 -0500 Subject: [PATCH 005/211] add fs stress test recipes --- recipes/fs-stress-test/fs-stress-test_git.bb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 recipes/fs-stress-test/fs-stress-test_git.bb diff --git a/recipes/fs-stress-test/fs-stress-test_git.bb b/recipes/fs-stress-test/fs-stress-test_git.bb new file mode 100644 index 000000000..83dcb71e1 --- /dev/null +++ b/recipes/fs-stress-test/fs-stress-test_git.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "File System stress test app" +HOMEPAGE = "https://github.com/cbrake/fs-stress-test" +SECTION = "utils" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=544799d0b492f119fa04641d1b8868ed" +SRCREV = "354a1f6780c7c7490cda53489cd27527bee84eb6" + +PV = "git${SRCPV}" +PR = "r1" + +SRC_URI = "git://github.com/cbrake/fs-stress-test.git;branch=master;protocol=git" + +S = "${WORKDIR}/git" + +inherit autotools + From 4efc333b207f9877dbeba7cbfd7b90785625d5c7 Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Thu, 24 Jan 2013 16:25:26 -0500 Subject: [PATCH 006/211] add updated version of libmicrohttpd --- recipes/libmicrohttpd/libmicrohttpd_0.9.24.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 recipes/libmicrohttpd/libmicrohttpd_0.9.24.bb diff --git a/recipes/libmicrohttpd/libmicrohttpd_0.9.24.bb b/recipes/libmicrohttpd/libmicrohttpd_0.9.24.bb new file mode 100644 index 000000000..f7e749829 --- /dev/null +++ b/recipes/libmicrohttpd/libmicrohttpd_0.9.24.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "GNU libmicrohttpd is a small C library that is supposed to make it easy to run an HTTP server as part of another application." +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=9331186f4f80db7da0e724bdd6554ee5" + +DEPENDS = "libgcrypt curl" + +SRC_URI = "ftp://ftp.nluug.nl/pub/gnu/libmicrohttpd//libmicrohttpd-${PV}.tar.gz" +SRC_URI[md5sum] = "2891c82cc85a92e6944cacf9ae413f7c" +SRC_URI[sha256sum] = "d04cf7796e0b9e2845432d266712992840937e5975ed45f51f89ccc50d53e232" + +inherit autotools lib_package + +do_compile_append() { + sed -i s:-L${STAGING_LIBDIR}::g libmicrohttpd.pc +} From b7dfcc229ec8e472c294501970d9a09a7b10f05b Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Tue, 12 Feb 2013 14:35:44 -0500 Subject: [PATCH 007/211] update serial test app version --- recipes/serial-test/serial-test_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/serial-test/serial-test_git.bb b/recipes/serial-test/serial-test_git.bb index b5a4b9025..9fb0cec00 100644 --- a/recipes/serial-test/serial-test_git.bb +++ b/recipes/serial-test/serial-test_git.bb @@ -3,10 +3,10 @@ HOMEPAGE = "https://github.com/cbrake/linux-serial-test" SECTION = "utils" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=544799d0b492f119fa04641d1b8868ed" -SRCREV = "4d5c8a4b40bdbee41e30244727b8813bc669d002" +SRCREV = "e777a65ea333955315e22c829aee7c16a6882cbb" PV = "git${SRCPV}" -PR = "r2" +PR = "r3" SRC_URI = "git://github.com/cbrake/linux-serial-test.git;branch=master;protocol=git" From aab30fb35edf974b57077466310a923c3f372675 Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Tue, 19 Feb 2013 18:12:55 -0500 Subject: [PATCH 008/211] update serial test version --- recipes/serial-test/serial-test_git.bb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/recipes/serial-test/serial-test_git.bb b/recipes/serial-test/serial-test_git.bb index 9fb0cec00..622abf395 100644 --- a/recipes/serial-test/serial-test_git.bb +++ b/recipes/serial-test/serial-test_git.bb @@ -3,10 +3,9 @@ HOMEPAGE = "https://github.com/cbrake/linux-serial-test" SECTION = "utils" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=544799d0b492f119fa04641d1b8868ed" -SRCREV = "e777a65ea333955315e22c829aee7c16a6882cbb" +SRCREV = "6bcdd65adab4883638140a22c1fbf4a199a1d4fc" -PV = "git${SRCPV}" -PR = "r3" +PR = "r1" SRC_URI = "git://github.com/cbrake/linux-serial-test.git;branch=master;protocol=git" From 1b75fd601f8eb4662d9630adcdc02ded8a2a386e Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Tue, 19 Feb 2013 18:15:44 -0500 Subject: [PATCH 009/211] update serial test --- recipes/serial-test/serial-test_git.bb | 2 -- 1 file changed, 2 deletions(-) diff --git a/recipes/serial-test/serial-test_git.bb b/recipes/serial-test/serial-test_git.bb index 622abf395..18c203540 100644 --- a/recipes/serial-test/serial-test_git.bb +++ b/recipes/serial-test/serial-test_git.bb @@ -5,8 +5,6 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=544799d0b492f119fa04641d1b8868ed" SRCREV = "6bcdd65adab4883638140a22c1fbf4a199a1d4fc" -PR = "r1" - SRC_URI = "git://github.com/cbrake/linux-serial-test.git;branch=master;protocol=git" S = "${WORKDIR}/git/" From 45a7ea85b7a01d254c7da80f3db93a1d4a4dae65 Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Mon, 22 Apr 2013 13:21:04 -0400 Subject: [PATCH 010/211] test commit --- README | 1 + 1 file changed, 1 insertion(+) diff --git a/README b/README index 97848d924..87704a599 100644 --- a/README +++ b/README @@ -1 +1,2 @@ BEC overlay + From 275a640c6ec15379a12b04d0488d4cc1656c9726 Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Mon, 22 Apr 2013 13:22:25 -0400 Subject: [PATCH 011/211] test update --- README | 1 + 1 file changed, 1 insertion(+) diff --git a/README b/README index 87704a599..d14092011 100644 --- a/README +++ b/README @@ -1,2 +1,3 @@ BEC overlay + From 0496ce9c3c1efb620210734ce8368c1b05d8b369 Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Tue, 25 Jun 2013 16:10:31 -0400 Subject: [PATCH 012/211] update bec debug image --- recipes/images/bec-debug-image.bb | 40 +++++++------------------------ 1 file changed, 9 insertions(+), 31 deletions(-) diff --git a/recipes/images/bec-debug-image.bb b/recipes/images/bec-debug-image.bb index db34341ac..bcd95ebfa 100644 --- a/recipes/images/bec-debug-image.bb +++ b/recipes/images/bec-debug-image.bb @@ -1,28 +1,20 @@ # this image includes the base utilities needed to exercise most # embedded linux hardware -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" +require recipes-images/angstrom/systemd-image.bb -IMAGE_PREPROCESS_COMMAND = "rootfs_update_timestamp" - -DISTRO_UPDATE_ALTERNATIVES ??= "" -ROOTFS_PKGMANAGE_PKGS ?= '${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${ROOTFS_PKGMANAGE} ${DISTRO_UPDATE_ALTERNATIVES}", d)}' - -CONMANPKGS ?= "connman connman-plugin-loopback connman-plugin-ethernet connman-plugin-wifi connman-systemd" -CONMANPKGS_libc-uclibc = "" +# e2fsprogs \ +# e2fsprogs-mke2fs \ +# e2fsprogs-fsck \ +# e2fsprogs-e2fsck \ +# e2fsprogs-tune2fs \ +# IMAGE_INSTALL += "\ - angstrom-task-boot \ - task-basic \ - ${CONMANPKGS} \ - ${ROOTFS_PKGMANAGE_PKGS} \ - kernel-modules \ rsync \ devmem2 \ evtest \ netperf \ - madplay \ gdbserver \ gdb \ mtd-utils \ @@ -41,33 +33,19 @@ IMAGE_INSTALL += "\ alsa-utils-aseqnet \ alsa-utils-iecset \ alsa-utils-speakertest \ - e2fsprogs \ - e2fsprogs-mke2fs \ - e2fsprogs-fsck \ - e2fsprogs-e2fsck \ - e2fsprogs-tune2fs \ dosfstools \ usbutils \ i2c-tools \ minicom \ + screen \ wireless-tools \ cpufrequtils \ - angstrom-uboot-scripts \ nano \ cpuburn-neon \ sox \ - task-base-bluetooth \ - task-base-wifi \ strace \ - screen \ + ethtool \ " -IMAGE_DEV_MANAGER = "udev" -IMAGE_INIT_MANAGER = "systemd" -IMAGE_INITSCRIPTS = " " -IMAGE_LOGIN_MANAGER = "tinylogin shadow" - export IMAGE_BASENAME = "bec-debug-image" -inherit image - From 00a3fb2f83de52f933211874ab70664224593453 Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Tue, 25 Jun 2013 16:14:01 -0400 Subject: [PATCH 013/211] add documentation on whitelisting license --- recipes/images/bec-debug-image.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes/images/bec-debug-image.bb b/recipes/images/bec-debug-image.bb index bcd95ebfa..10a44951a 100644 --- a/recipes/images/bec-debug-image.bb +++ b/recipes/images/bec-debug-image.bb @@ -1,6 +1,10 @@ # this image includes the base utilities needed to exercise most # embedded linux hardware +# note, the following must be set to build netperf: +# LICENSE_FLAGS_WHITELIST = "non-commercial" +# see conf/locallocal.conf.sample in BEC build template + require recipes-images/angstrom/systemd-image.bb # e2fsprogs \ From f1e78f868b77091acb03f6d608f562c154f6f17b Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Tue, 25 Jun 2013 17:14:08 -0400 Subject: [PATCH 014/211] add pyserial --- recipes/images/bec-debug-image.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/images/bec-debug-image.bb b/recipes/images/bec-debug-image.bb index 10a44951a..da5ff387e 100644 --- a/recipes/images/bec-debug-image.bb +++ b/recipes/images/bec-debug-image.bb @@ -49,6 +49,8 @@ IMAGE_INSTALL += "\ sox \ strace \ ethtool \ + python \ + python-pyserial \ " export IMAGE_BASENAME = "bec-debug-image" From 54c77cfdb71d5342e665df53dbec9ad018fcc028 Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Fri, 20 Sep 2013 12:52:44 -0400 Subject: [PATCH 015/211] start bec-simple-image -- copy from systemd-image --- recipes/images/bec-simple-image.bb | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 recipes/images/bec-simple-image.bb diff --git a/recipes/images/bec-simple-image.bb b/recipes/images/bec-simple-image.bb new file mode 100644 index 000000000..9a3f1735d --- /dev/null +++ b/recipes/images/bec-simple-image.bb @@ -0,0 +1,29 @@ +#Angstrom image to test systemd + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" + +IMAGE_PREPROCESS_COMMAND = "rootfs_update_timestamp" + +DISTRO_UPDATE_ALTERNATIVES ??= "" +ROOTFS_PKGMANAGE_PKGS ?= '${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${ROOTFS_PKGMANAGE} ${DISTRO_UPDATE_ALTERNATIVES}", d)}' + +CONMANPKGS ?= "connman connman-plugin-loopback connman-plugin-ethernet connman-plugin-wifi" +CONMANPKGS_libc-uclibc = "" + +IMAGE_INSTALL += " \ + angstrom-packagegroup-boot \ + packagegroup-basic \ + ${CONMANPKGS} \ + ${ROOTFS_PKGMANAGE_PKGS} \ + timestamp-service \ +" + +IMAGE_DEV_MANAGER = "udev" +IMAGE_INIT_MANAGER = "systemd" +IMAGE_INITSCRIPTS = " " +IMAGE_LOGIN_MANAGER = "busybox shadow" + +export IMAGE_BASENAME = "systemd-image" + +inherit image From 004f7418998dfea54de82e9ced80ac4d90961a42 Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Fri, 20 Sep 2013 12:53:11 -0400 Subject: [PATCH 016/211] bec-simple-image: remove CONNMAN --- recipes/images/bec-simple-image.bb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/recipes/images/bec-simple-image.bb b/recipes/images/bec-simple-image.bb index 9a3f1735d..d98d82aa5 100644 --- a/recipes/images/bec-simple-image.bb +++ b/recipes/images/bec-simple-image.bb @@ -8,13 +8,9 @@ IMAGE_PREPROCESS_COMMAND = "rootfs_update_timestamp" DISTRO_UPDATE_ALTERNATIVES ??= "" ROOTFS_PKGMANAGE_PKGS ?= '${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${ROOTFS_PKGMANAGE} ${DISTRO_UPDATE_ALTERNATIVES}", d)}' -CONMANPKGS ?= "connman connman-plugin-loopback connman-plugin-ethernet connman-plugin-wifi" -CONMANPKGS_libc-uclibc = "" - IMAGE_INSTALL += " \ angstrom-packagegroup-boot \ packagegroup-basic \ - ${CONMANPKGS} \ ${ROOTFS_PKGMANAGE_PKGS} \ timestamp-service \ " @@ -24,6 +20,6 @@ IMAGE_INIT_MANAGER = "systemd" IMAGE_INITSCRIPTS = " " IMAGE_LOGIN_MANAGER = "busybox shadow" -export IMAGE_BASENAME = "systemd-image" +export IMAGE_BASENAME = "bec-simple-image" inherit image From c726e7a0c4d9968e725f0fcfca0c6bf192750dd1 Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Fri, 20 Sep 2013 13:52:58 -0400 Subject: [PATCH 017/211] add network-hotplug recipe --- recipes/network-hotplug/files/network.rules | 1 + .../network-hotplug/files/network@.service | 11 ++++++++++ recipes/network-hotplug/network-hotplug.bb | 21 +++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 recipes/network-hotplug/files/network.rules create mode 100644 recipes/network-hotplug/files/network@.service create mode 100644 recipes/network-hotplug/network-hotplug.bb diff --git a/recipes/network-hotplug/files/network.rules b/recipes/network-hotplug/files/network.rules new file mode 100644 index 000000000..c61dab166 --- /dev/null +++ b/recipes/network-hotplug/files/network.rules @@ -0,0 +1 @@ +SUBSYSTEM=="net", KERNEL!="lo", ENV{SYSTEMD_WANTS}="network@$name.service" ENV{SYSTEMD_ALIAS}="/$name" diff --git a/recipes/network-hotplug/files/network@.service b/recipes/network-hotplug/files/network@.service new file mode 100644 index 000000000..0372eedbf --- /dev/null +++ b/recipes/network-hotplug/files/network@.service @@ -0,0 +1,11 @@ +# currently, the BindTo is not working + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/sbin/ifup -f %i +StandardOutput=syslog+console + +[Unit] +BindsTo=%i.device + diff --git a/recipes/network-hotplug/network-hotplug.bb b/recipes/network-hotplug/network-hotplug.bb new file mode 100644 index 000000000..15f0d3f12 --- /dev/null +++ b/recipes/network-hotplug/network-hotplug.bb @@ -0,0 +1,21 @@ +DESCRIPTION = "Network Hotplug" +LICENSE = "CLOSED" + +PR = "r2" + +SRC_URI = " \ + file://network@.service \ + file://network.rules \ + " + +FILES_${PN} = "${sysconfdir}/udev/rules.d/* ${base_libdir}/systemd/system/*" +RDEPENDS_${PN} = "udev" + +do_install() { + install -d ${D}${base_libdir}/systemd/system/basic.target.wants + install -m 0644 ${WORKDIR}/*.service ${D}${base_libdir}/systemd/system + + install -d ${D}${sysconfdir}/udev/rules.d + install -m 0644 ${WORKDIR}/network.rules ${D}${sysconfdir}/udev/rules.d/network.rules +} + From e3e4a16aab38b9490cb20a6df27cd6b09c8878b6 Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Mon, 23 Sep 2013 10:55:29 -0400 Subject: [PATCH 018/211] add network hotplug --- recipes/images/bec-simple-image.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/images/bec-simple-image.bb b/recipes/images/bec-simple-image.bb index d98d82aa5..e7ba60d2d 100644 --- a/recipes/images/bec-simple-image.bb +++ b/recipes/images/bec-simple-image.bb @@ -13,6 +13,7 @@ IMAGE_INSTALL += " \ packagegroup-basic \ ${ROOTFS_PKGMANAGE_PKGS} \ timestamp-service \ + network-hotplug \ " IMAGE_DEV_MANAGER = "udev" From 5f6e17efa30bf4a1dbc233485875dd342fe6088f Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Mon, 18 Nov 2013 17:03:39 -0500 Subject: [PATCH 019/211] add recipes to build lcd-test app --- recipes/lcd-test/lcd-test_git.bb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 recipes/lcd-test/lcd-test_git.bb diff --git a/recipes/lcd-test/lcd-test_git.bb b/recipes/lcd-test/lcd-test_git.bb new file mode 100644 index 000000000..5a96e4f0c --- /dev/null +++ b/recipes/lcd-test/lcd-test_git.bb @@ -0,0 +1,13 @@ +DESCRIPTION = "LCD test app and images" +HOMEPAGE = "https://github.com/cbrake/lcd-test" +SECTION = "utils" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=544799d0b492f119fa04641d1b8868ed" +SRCREV = "ff22957e1b836863e4fbd57437a2a518e87d0ef5" + +SRC_URI = "git://github.com/cbrake/lcd-test.git;branch=master;protocol=git" + +S = "${WORKDIR}/git/" + +inherit cmake + From d4c8d64ddaab6bd263ebe89ac05bb88764c1ee7d Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Mon, 18 Nov 2013 17:11:58 -0500 Subject: [PATCH 020/211] add lcd-test DEPENDS --- recipes/lcd-test/lcd-test_git.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/lcd-test/lcd-test_git.bb b/recipes/lcd-test/lcd-test_git.bb index 5a96e4f0c..67a7bf421 100644 --- a/recipes/lcd-test/lcd-test_git.bb +++ b/recipes/lcd-test/lcd-test_git.bb @@ -5,6 +5,8 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=544799d0b492f119fa04641d1b8868ed" SRCREV = "ff22957e1b836863e4fbd57437a2a518e87d0ef5" +DEPENDS = "gtk+" + SRC_URI = "git://github.com/cbrake/lcd-test.git;branch=master;protocol=git" S = "${WORKDIR}/git/" From cb09f4e42a11ef2a141a322038210da43533a4a2 Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Thu, 30 Jan 2014 16:50:46 -0500 Subject: [PATCH 021/211] workaround for libdc1394 --- recipes/libdc1394/libdc1394_git.bbappend | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 recipes/libdc1394/libdc1394_git.bbappend diff --git a/recipes/libdc1394/libdc1394_git.bbappend b/recipes/libdc1394/libdc1394_git.bbappend new file mode 100644 index 000000000..66bebf398 --- /dev/null +++ b/recipes/libdc1394/libdc1394_git.bbappend @@ -0,0 +1,6 @@ +# This patch is not in upstream dora once its applied we will +# remove the append + +DEPENDS += "libxv virtual/libsdl virtual/libx11 libusb1 libraw1394 \ + ${@base_contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl libglu', '', d)}" + From 4e3b21707983fa70e33feca7de80360181df572b Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Thu, 30 Jan 2014 16:51:19 -0500 Subject: [PATCH 022/211] simple initramfs image --- recipes/images/initramfs-image.bb | 37 +++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 recipes/images/initramfs-image.bb diff --git a/recipes/images/initramfs-image.bb b/recipes/images/initramfs-image.bb new file mode 100644 index 000000000..46ddb7f51 --- /dev/null +++ b/recipes/images/initramfs-image.bb @@ -0,0 +1,37 @@ +# will be used for the update image +DESCRIPTION = "initramfs updater image" +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +#IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${POKY_EXTRA_INSTALL}" + +# Do not pollute the initrd image with rootfs features +IMAGE_FEATURES = "" + +export IMAGE_BASENAME = "initramfs-image" +IMAGE_LINGUAS = "" + +LICENSE = "MIT" + +IMAGE_INSTALL = "\ + base-files \ + base-passwd \ + busybox \ + mtd-utils \ + e2fsprogs \ + e2fsprogs-mke2fs \ + util-linux-fsck \ + e2fsprogs-e2fsck \ + e2fsprogs-tune2fs \ + psplash \ + " + +IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}" +IMAGE_DEVICE_TABLES = "files/device_table-minimal.txt" +# remove not needed ipkg informations +ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; " + +inherit core-image + From e4011b6b53dbcdaa276020961d0e383e030b4244 Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Sat, 1 Feb 2014 12:31:30 -0500 Subject: [PATCH 023/211] add lcd-test-qt recipe --- recipes/lcd-test/lcd-test-qt_git.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 recipes/lcd-test/lcd-test-qt_git.bb diff --git a/recipes/lcd-test/lcd-test-qt_git.bb b/recipes/lcd-test/lcd-test-qt_git.bb new file mode 100644 index 000000000..ec72b2032 --- /dev/null +++ b/recipes/lcd-test/lcd-test-qt_git.bb @@ -0,0 +1,18 @@ +DESCRIPTION = "LCD test app and images" +HOMEPAGE = "https://github.com/cbrake/lcd-test" +SECTION = "utils" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=544799d0b492f119fa04641d1b8868ed" +SRCREV = "bbc73b79dc5e6d26c079c6fe939cf0bc80c976f7" + +SRC_URI = "git://github.com/cbrake/lcd-test.git;branch=master;protocol=git" + +S = "${WORKDIR}/git/" + +inherit qt4x11 + +do_install() { + export INSTALL_ROOT=${D} + make install +} + From 03daa92863e7432ba03ae9ff9710efeca49bce6a Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Tue, 25 Feb 2014 09:47:54 -0500 Subject: [PATCH 024/211] switch lcd-test to qt4e --- recipes/lcd-test/lcd-test-qt_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/lcd-test/lcd-test-qt_git.bb b/recipes/lcd-test/lcd-test-qt_git.bb index ec72b2032..637be7012 100644 --- a/recipes/lcd-test/lcd-test-qt_git.bb +++ b/recipes/lcd-test/lcd-test-qt_git.bb @@ -9,7 +9,7 @@ SRC_URI = "git://github.com/cbrake/lcd-test.git;branch=master;protocol=git" S = "${WORKDIR}/git/" -inherit qt4x11 +inherit qt4e do_install() { export INSTALL_ROOT=${D} From 5f48e3196ee149cd33a45ce8ce5885d903ba484e Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Tue, 25 Feb 2014 16:13:55 -0500 Subject: [PATCH 025/211] update lcd-test --- recipes/lcd-test/lcd-test-qt_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/lcd-test/lcd-test-qt_git.bb b/recipes/lcd-test/lcd-test-qt_git.bb index 637be7012..f3173d49f 100644 --- a/recipes/lcd-test/lcd-test-qt_git.bb +++ b/recipes/lcd-test/lcd-test-qt_git.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/cbrake/lcd-test" SECTION = "utils" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=544799d0b492f119fa04641d1b8868ed" -SRCREV = "bbc73b79dc5e6d26c079c6fe939cf0bc80c976f7" +SRCREV = "d63387ec78cf8497e37d6d21dce683ee9b9e358a" SRC_URI = "git://github.com/cbrake/lcd-test.git;branch=master;protocol=git" From 72ddc783e36ed9c37f33841980516b40b28ee530 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 9 Oct 2015 04:43:00 +0000 Subject: [PATCH 026/211] bec-debug-image: Base on oe-core core-image-full-cmdline So we can use it with any distro Signed-off-by: Khem Raj --- recipes/images/bec-debug-image.bb | 12 +++++------- .../{libdc1394_git.bbappend => libdc1394_%.bbappend} | 0 2 files changed, 5 insertions(+), 7 deletions(-) rename recipes/libdc1394/{libdc1394_git.bbappend => libdc1394_%.bbappend} (100%) diff --git a/recipes/images/bec-debug-image.bb b/recipes/images/bec-debug-image.bb index da5ff387e..837b00656 100644 --- a/recipes/images/bec-debug-image.bb +++ b/recipes/images/bec-debug-image.bb @@ -5,14 +5,13 @@ # LICENSE_FLAGS_WHITELIST = "non-commercial" # see conf/locallocal.conf.sample in BEC build template -require recipes-images/angstrom/systemd-image.bb - # e2fsprogs \ # e2fsprogs-mke2fs \ # e2fsprogs-fsck \ # e2fsprogs-e2fsck \ # e2fsprogs-tune2fs \ -# +# +require recipes-extended/images/core-image-full-cmdline.bb IMAGE_INSTALL += "\ rsync \ @@ -48,10 +47,9 @@ IMAGE_INSTALL += "\ cpuburn-neon \ sox \ strace \ - ethtool \ - python \ - python-pyserial \ + ethtool \ + python \ + python-pyserial \ " export IMAGE_BASENAME = "bec-debug-image" - diff --git a/recipes/libdc1394/libdc1394_git.bbappend b/recipes/libdc1394/libdc1394_%.bbappend similarity index 100% rename from recipes/libdc1394/libdc1394_git.bbappend rename to recipes/libdc1394/libdc1394_%.bbappend From 0b1dba183e08d52453393d5ee13eb409b39965a8 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 9 Oct 2015 04:49:50 +0000 Subject: [PATCH 027/211] bec.conf: Add BEC distro file Signed-off-by: Khem Raj --- conf/distro/bec.conf | 52 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 conf/distro/bec.conf diff --git a/conf/distro/bec.conf b/conf/distro/bec.conf new file mode 100644 index 000000000..cc865f5e4 --- /dev/null +++ b/conf/distro/bec.conf @@ -0,0 +1,52 @@ +# +# Distro Settings +# +DISTRO = "bec" +DISTRO_VERSION = "2.0" +DISTRO_NAME = "BEC Linux" +MAINTAINER = "BEC Systems " +TARGET_VENDOR = "-bec" +SDK_VENDOR = "-becsdk" + +BB_DANGLINGAPPENDS_WARNONLY = "1" +TCLIBCAPPEND = "" + +PREMIRRORS ??= "\ +bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ +cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ +git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ +gitsm://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ +hg://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ +osc://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ +p4://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ +svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n" + +MIRRORS =+ "\ +ftp://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ +http://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ +https://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n" + +MIRRORS_append = "\ + git://.*/.* http://sources.bec-systems.com/ \n \ + ftp://.*/.* http://sources.bec-systems.com/ \n \ + http://.*/.* http://sources.bec-systems.com/ \n \ + https://.*/.* http://sources.bec-systems.com/ \n" + +# The CONNECTIVITY_CHECK_URI's are used to test whether we can succesfully +# fetch from the network (and warn you if not). To disable the test set +# the variable to be empty. +# Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=master + +CONNECTIVITY_CHECK_URIS ?= " \ + https://eula-downloads.yoctoproject.org/index.php \ + http://bugzilla.yoctoproject.org/report.cgi" + +PRSERV_HOST = "localhost:0" +INHERIT = "buildhistory buildstats-summary buildstats" + +# Don't generate the mirror tarball for SCM repos, the snapshot is enough +BB_GENERATE_MIRROR_TARBALLS = "0" + +# the following is required because some BSP layers (fsl) don't set this, and then +# other BSP layers fail bitbake parsing (ti). +MACHINE_KERNEL_PR ??= "0" From c1e0bc81596543e371e18d68a4ef98318c535af4 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 10 Oct 2015 08:33:27 +0000 Subject: [PATCH 028/211] make buildhistory a git repo too Signed-off-by: Khem Raj --- conf/distro/bec.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/conf/distro/bec.conf b/conf/distro/bec.conf index cc865f5e4..08ae0c325 100644 --- a/conf/distro/bec.conf +++ b/conf/distro/bec.conf @@ -42,7 +42,9 @@ CONNECTIVITY_CHECK_URIS ?= " \ http://bugzilla.yoctoproject.org/report.cgi" PRSERV_HOST = "localhost:0" -INHERIT = "buildhistory buildstats-summary buildstats" + +USER_CLASSES ?= "buildstats buildhistory buildstats-summary" +BUILDHISTORY_COMMIT = "1" # Don't generate the mirror tarball for SCM repos, the snapshot is enough BB_GENERATE_MIRROR_TARBALLS = "0" From 188f555f6d9a3093841dc2c4400f2986bd333581 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 11 Oct 2015 03:59:00 +0000 Subject: [PATCH 029/211] bec-image: Add a bbclass to add common hooks to image Current hook is to remove password and let systemd enable networkd/dhcp Signed-off-by: Khem Raj --- classes/bec-image.bbclass | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 classes/bec-image.bbclass diff --git a/classes/bec-image.bbclass b/classes/bec-image.bbclass new file mode 100644 index 000000000..afebc9041 --- /dev/null +++ b/classes/bec-image.bbclass @@ -0,0 +1,31 @@ +IMAGE_FEATURES += "empty-root-password allow-empty-password" + +IMAGE_PREPROCESS_COMMAND += "do_systemd_network ; " + +do_systemd_network () { + install -d ${IMAGE_ROOTFS}${sysconfdir}/systemd/network + cat << EOF > ${IMAGE_ROOTFS}${sysconfdir}/systemd/network/10-en.network +[Match] +Name=en* + +[Network] +DHCP=yes +EOF + + cat << EOF > ${IMAGE_ROOTFS}${sysconfdir}/systemd/network/11-eth.network +[Match] +Name=eth* + +[Network] +DHCP=yes +EOF + + cat << EOF > ${IMAGE_ROOTFS}${sysconfdir}/systemd/network/12-wl.network +[Match] +Name=wl* + +[Network] +DHCP=yes +EOF + +} From b3a35bd9cfd9912fb95dcce55804368b3d60ad7e Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 11 Oct 2015 04:00:14 +0000 Subject: [PATCH 030/211] systemd: Enabled resolved and networkd Can replace connman for simpler n/w cases Signed-off-by: Khem Raj --- recipes/systemd/systemd_%.bbappend | 1 + 1 file changed, 1 insertion(+) create mode 100644 recipes/systemd/systemd_%.bbappend diff --git a/recipes/systemd/systemd_%.bbappend b/recipes/systemd/systemd_%.bbappend new file mode 100644 index 000000000..0fdefe9fb --- /dev/null +++ b/recipes/systemd/systemd_%.bbappend @@ -0,0 +1 @@ +PACKAGECONFIG_append = "resolved networkd" From 53bfc5d4558f0c011d987190bb72af2aa2a769b6 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 13 Nov 2015 04:59:00 +0000 Subject: [PATCH 031/211] bec-simple-image: Fix image to use oe-core Signed-off-by: Khem Raj --- recipes/images/bec-simple-image.bb | 20 ++++++-------------- recipes/images/initramfs-image.bb | 20 ++++++++++---------- 2 files changed, 16 insertions(+), 24 deletions(-) diff --git a/recipes/images/bec-simple-image.bb b/recipes/images/bec-simple-image.bb index e7ba60d2d..e8aec9cb5 100644 --- a/recipes/images/bec-simple-image.bb +++ b/recipes/images/bec-simple-image.bb @@ -1,26 +1,18 @@ -#Angstrom image to test systemd +# BEC sample image LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" IMAGE_PREPROCESS_COMMAND = "rootfs_update_timestamp" -DISTRO_UPDATE_ALTERNATIVES ??= "" -ROOTFS_PKGMANAGE_PKGS ?= '${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${ROOTFS_PKGMANAGE} ${DISTRO_UPDATE_ALTERNATIVES}", d)}' +IMAGE_FEATURES += "ssh-server-dropbear" +IMAGE_FEATURES += "package-management" IMAGE_INSTALL += " \ - angstrom-packagegroup-boot \ + packagegroup-core-boot \ packagegroup-basic \ - ${ROOTFS_PKGMANAGE_PKGS} \ - timestamp-service \ - network-hotplug \ + network-hotplug \ " - -IMAGE_DEV_MANAGER = "udev" -IMAGE_INIT_MANAGER = "systemd" -IMAGE_INITSCRIPTS = " " -IMAGE_LOGIN_MANAGER = "busybox shadow" - export IMAGE_BASENAME = "bec-simple-image" -inherit image +inherit core-image diff --git a/recipes/images/initramfs-image.bb b/recipes/images/initramfs-image.bb index 46ddb7f51..0bdb6ddb2 100644 --- a/recipes/images/initramfs-image.bb +++ b/recipes/images/initramfs-image.bb @@ -16,16 +16,16 @@ IMAGE_LINGUAS = "" LICENSE = "MIT" IMAGE_INSTALL = "\ - base-files \ - base-passwd \ - busybox \ - mtd-utils \ - e2fsprogs \ - e2fsprogs-mke2fs \ - util-linux-fsck \ - e2fsprogs-e2fsck \ - e2fsprogs-tune2fs \ - psplash \ + base-files \ + base-passwd \ + busybox \ + mtd-utils \ + e2fsprogs \ + e2fsprogs-mke2fs \ + util-linux-fsck \ + e2fsprogs-e2fsck \ + e2fsprogs-tune2fs \ + psplash \ " IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}" From b0023a16567ac6cf109e1c843360f68a373bd14a Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Tue, 4 Oct 2016 12:00:27 -0400 Subject: [PATCH 032/211] fbgrab is now in meta-oe --- recipes/fbgrab/fbgrab-viewer-native_1.0.bb | 28 ------------ recipes/fbgrab/fbgrab/fbgrab_1bpp.patch | 52 ---------------------- recipes/fbgrab/fbgrab/makefile.patch | 21 --------- recipes/fbgrab/fbgrab_1.0.bb | 25 ----------- 4 files changed, 126 deletions(-) delete mode 100644 recipes/fbgrab/fbgrab-viewer-native_1.0.bb delete mode 100644 recipes/fbgrab/fbgrab/fbgrab_1bpp.patch delete mode 100644 recipes/fbgrab/fbgrab/makefile.patch delete mode 100644 recipes/fbgrab/fbgrab_1.0.bb diff --git a/recipes/fbgrab/fbgrab-viewer-native_1.0.bb b/recipes/fbgrab/fbgrab-viewer-native_1.0.bb deleted file mode 100644 index b3a8969e3..000000000 --- a/recipes/fbgrab/fbgrab-viewer-native_1.0.bb +++ /dev/null @@ -1,28 +0,0 @@ -DESCRIPTION = "Viewer for a network enabled fbgrab" -HOMEPAGE = "http://svn.openezx.org/trunk/src/userspace/fbgrab/" -LICENSE = "GPL" -SECTION = "console/network" -DEPENDS = "libpng-native" -SRCREV = "1943" -PV = "0.0+svn${SRCDATE}" -PR = "r30" - -SRC_URI = "svn://svn.openezx.org/trunk/src/userspace;module=fbgrab;proto=http" -S = "${WORKDIR}/fbgrab" - -inherit native - -do_compile() { - ${CC} ${CFLAGS} ${LDFLAGS} -g -Wall -lpng -lX11 -o fbgrab-viewer fbgrab-viewer.c -} - -do_deploy() { - install -d ${DEPLOY_DIR_IMAGE} - install -m 0755 fbgrab-viewer ${DEPLOY_DIR_IMAGE}/fbgrab-viewer -} - -do_install() { - : -} - -addtask deploy before do_install after do_compile diff --git a/recipes/fbgrab/fbgrab/fbgrab_1bpp.patch b/recipes/fbgrab/fbgrab/fbgrab_1bpp.patch deleted file mode 100644 index 8c6dff27b..000000000 --- a/recipes/fbgrab/fbgrab/fbgrab_1bpp.patch +++ /dev/null @@ -1,52 +0,0 @@ ---- fbgrab-1.0.orig/fbgrab.c 2002-04-15 22:22:54.000000000 +0200 -+++ fbgrab-1.0/fbgrab.c 2008-12-15 20:18:55.000000000 +0100 -@@ -135,6 +135,26 @@ - fatal_error("Error: Not enough memory or data\n"); - } - -+static void convert1to32(int width, int height, -+ unsigned char *inbuffer, -+ unsigned char *outbuffer) -+{ -+ unsigned int i, j; -+ unsigned char *ptr = outbuffer; -+ -+ for (i=0; i < (unsigned int) height*width >> 3; i++) -+ { -+ for(j=0; j < 8; j++) -+ { -+ /* BLUE = 0, GREEN = 1, RED = 2 */ -+ *ptr = *(ptr+1) = *(ptr+2) = ((inbuffer[i] >> (7-j)) & 1) ? 255 : 0; -+ /* ALPHA = 3 */ -+ *(ptr+3) = '\0'; -+ ptr += 4; -+ } -+ } -+} -+ - static void convert1555to32(int width, int height, - unsigned char *inbuffer, - unsigned char *outbuffer) -@@ -270,6 +290,10 @@ - - switch(bits) - { -+ case 1: -+ convert1to32(width, height, inbuffer, outbuffer); -+ write_PNG(outbuffer, filename, width, height, interlace); -+ break; - case 15: - convert1555to32(width, height, inbuffer, outbuffer); - write_PNG(outbuffer, filename, width, height, interlace); -@@ -405,7 +429,10 @@ - strncpy(infile, device, MAX_LEN - 1); - } - -- buf_size = width * height * (((unsigned int) bitdepth + 7) >> 3); -+ if (bitdepth == 1) -+ buf_size = (width * height) >> 3; -+ else -+ buf_size = width * height * (((unsigned int) bitdepth + 7) >> 3); - - buf_p = malloc(buf_size); - diff --git a/recipes/fbgrab/fbgrab/makefile.patch b/recipes/fbgrab/fbgrab/makefile.patch deleted file mode 100644 index 01ee502bd..000000000 --- a/recipes/fbgrab/fbgrab/makefile.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- fbgrab-1.0/Makefile.orig 2002-03-20 20:49:06.000000000 +0100 -+++ fbgrab-1.0/Makefile 2004-06-11 18:02:56.000000000 +0200 -@@ -4,13 +4,12 @@ - ### - - fbgrab: fbgrab.c -- splint +posixlib fbgrab.c -- gcc -g -Wall fbgrab.c -lpng -lz -o fbgrab -+ ${CC} ${CFLAGS} ${LDFLAGS} fbgrab.c -lpng -lm -lz -o fbgrab - - install: - strip fbgrab -- install fbgrab /usr/bin/fbgrab -- install fbgrab.1.man /usr/man/man1/fbgrab.1 -+ install fbgrab ${DESTDIR}/usr/bin/fbgrab -+ install fbgrab.1.man ${DESTDIR}/usr/share/man/man1/fbgrab.1 - - clean: -- rm -f fbgrab *~ \#*\# -\ No newline at end of file -+ rm -f fbgrab *~ \#*\# diff --git a/recipes/fbgrab/fbgrab_1.0.bb b/recipes/fbgrab/fbgrab_1.0.bb deleted file mode 100644 index f9694d4dc..000000000 --- a/recipes/fbgrab/fbgrab_1.0.bb +++ /dev/null @@ -1,25 +0,0 @@ -SECTION = "console/network" -DESCRIPTION = "framebuffer screenshot program" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=ea5bed2f60d357618ca161ad539f7c0a" - -PR = "r2" - -DEPENDS = " zlib libpng " - -SRC_URI = "http://hem.bredband.net/gmogmo/fbgrab/fbgrab-${PV}.tar.gz;name=archive \ - file://makefile.patch \ - http://people.openezx.org/ao2/fbgrab_network_mode.diff;name=patch \ - file://fbgrab_1bpp.patch \ - " - -do_install() { - install -d ${D}${bindir} ${D}${mandir}/man1/ - install -m 0755 fbgrab ${D}${bindir} - install -m 0644 fbgrab.1.man ${D}${mandir}/man1/fbgrab.1 -} - -SRC_URI[archive.md5sum] = "7af4d8774684182ed690d5da82d6d234" -SRC_URI[archive.sha256sum] = "9158241a20978dcc4caf0692684da9dd3640fd6f5c8b72581bd099198d670510" -SRC_URI[patch.md5sum] = "71bf1218c52a6e4a1f38406748285255" -SRC_URI[patch.sha256sum] = "e8cf4fe15d7e99e86016db3ddc1f403c35c49f40c4d37209d76cd5785c541aa8" From ab03b6d5c14dd1cc14223833c198fc41801b8101 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 8 Feb 2017 21:13:21 -0800 Subject: [PATCH 033/211] libdc1394: Fix the bbappend to use bb.utils.contains base_contains is deprecated past 2.2 release Signed-off-by: Khem Raj --- recipes/libdc1394/libdc1394_%.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/libdc1394/libdc1394_%.bbappend b/recipes/libdc1394/libdc1394_%.bbappend index 66bebf398..4f64b1f14 100644 --- a/recipes/libdc1394/libdc1394_%.bbappend +++ b/recipes/libdc1394/libdc1394_%.bbappend @@ -2,5 +2,5 @@ # remove the append DEPENDS += "libxv virtual/libsdl virtual/libx11 libusb1 libraw1394 \ - ${@base_contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl libglu', '', d)}" + ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl libglu', '', d)}" From d0d786e4998d2bdc79e74cf73b81c2655b123313 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 10 May 2017 22:28:34 -0700 Subject: [PATCH 034/211] bec-simple-image: Update LIC_FILES_CHKSUM We point to license file from OE-Core which has been updated Signed-off-by: Khem Raj --- recipes/images/bec-simple-image.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/images/bec-simple-image.bb b/recipes/images/bec-simple-image.bb index e8aec9cb5..b729f0d65 100644 --- a/recipes/images/bec-simple-image.bb +++ b/recipes/images/bec-simple-image.bb @@ -1,7 +1,7 @@ # BEC sample image LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690" IMAGE_PREPROCESS_COMMAND = "rootfs_update_timestamp" From c44f6086ed7b373c6ea8eeb21655cdc98bd5c8da Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 12 May 2017 20:09:50 -0700 Subject: [PATCH 035/211] distro: Update policies as per latest reference distro from yocto This brings in the new goodness from poky secondly enables security flags so the distro is a bit hardened. Signed-off-by: Khem Raj --- README | 2 +- conf/distro/bec.conf | 53 ++++++++++++++++++++++++++++++-------------- conf/layer.conf | 2 ++ 3 files changed, 39 insertions(+), 18 deletions(-) diff --git a/README b/README index d14092011..69f3067db 100644 --- a/README +++ b/README @@ -1,3 +1,3 @@ -BEC overlay +BEC Distro Layer based on OpenEmbedded ( OE-Core ) diff --git a/conf/distro/bec.conf b/conf/distro/bec.conf index 08ae0c325..37a1bdb27 100644 --- a/conf/distro/bec.conf +++ b/conf/distro/bec.conf @@ -2,15 +2,11 @@ # Distro Settings # DISTRO = "bec" -DISTRO_VERSION = "2.0" DISTRO_NAME = "BEC Linux" MAINTAINER = "BEC Systems " TARGET_VENDOR = "-bec" SDK_VENDOR = "-becsdk" -BB_DANGLINGAPPENDS_WARNONLY = "1" -TCLIBCAPPEND = "" - PREMIRRORS ??= "\ bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ @@ -32,23 +28,46 @@ MIRRORS_append = "\ http://.*/.* http://sources.bec-systems.com/ \n \ https://.*/.* http://sources.bec-systems.com/ \n" -# The CONNECTIVITY_CHECK_URI's are used to test whether we can succesfully -# fetch from the network (and warn you if not). To disable the test set -# the variable to be empty. -# Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=master - -CONNECTIVITY_CHECK_URIS ?= " \ - https://eula-downloads.yoctoproject.org/index.php \ - http://bugzilla.yoctoproject.org/report.cgi" - PRSERV_HOST = "localhost:0" +TCLIBCAPPEND = "" -USER_CLASSES ?= "buildstats buildhistory buildstats-summary" +USER_CLASSES_append = " buildhistory buildstats-summary" BUILDHISTORY_COMMIT = "1" -# Don't generate the mirror tarball for SCM repos, the snapshot is enough -BB_GENERATE_MIRROR_TARBALLS = "0" - # the following is required because some BSP layers (fsl) don't set this, and then # other BSP layers fail bitbake parsing (ti). MACHINE_KERNEL_PR ??= "0" + +# accound for some layers which have bbappends for layers we dont include +BB_DANGLINGAPPENDS_WARNONLY = "1" + +# Poky goodness +# QA check settings - a little stricter than the OE-Core defaults +WARN_TO_ERROR_QA = "already-stripped compile-host-path install-host-path \ + installed-vs-shipped ldflags pn-overrides rpaths staticdev \ + useless-rpaths" +WARN_QA_remove = "${WARN_TO_ERROR_QA}" +ERROR_QA_append = " ${WARN_TO_ERROR_QA}" +#ERROR_QA_remove = "split-strip" +# +# Additional image features +# +# The following is a list of additional classes to use when building images which +# enable extra features. Some available options which can be included in this variable +# are: +# - 'buildstats' collect build statistics +# - 'image-mklibs' to reduce shared library files size for an image +# - 'image-prelink' in order to prelink the filesystem image +# - 'image-swab' to perform host system intrusion detection +# NOTE: if listing mklibs & prelink both, then make sure mklibs is before prelink +# NOTE: mklibs also needs to be explicitly enabled for a given image, see local.conf.extended +# image-prelink sometimes disabled due to issues with IFUNC symbol relocation +USER_CLASSES ?= "buildstats image-mklibs image-prelink" + +require conf/distro/include/no-static-libs.inc +require conf/distro/include/yocto-uninative.inc +require conf/distro/include/security_flags.inc + +INHERIT += "uninative" + +DISTRO_FEATURES_append = " largefile opengl ptest multiarch wayland pam " diff --git a/conf/layer.conf b/conf/layer.conf index 675a74291..d158adba3 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -7,3 +7,5 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" BBFILE_COLLECTIONS += "meta-bec" BBFILE_PATTERN_meta-bec := "^${LAYERDIR}/" BBFILE_PRIORITY_meta-bec = "15" + +LAYERDEPENDS_meta-bec = "core" From c3d6655361d85d61114006b9fe9801afc286a27d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 13 May 2017 17:31:42 -0700 Subject: [PATCH 036/211] bec.conf: Use thumb2 by default on armv7 and newer SOCs Unify the USER_CLASSES settings into one Signed-off-by: Khem Raj --- conf/distro/bec.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/conf/distro/bec.conf b/conf/distro/bec.conf index 37a1bdb27..6b59180eb 100644 --- a/conf/distro/bec.conf +++ b/conf/distro/bec.conf @@ -31,7 +31,6 @@ MIRRORS_append = "\ PRSERV_HOST = "localhost:0" TCLIBCAPPEND = "" -USER_CLASSES_append = " buildhistory buildstats-summary" BUILDHISTORY_COMMIT = "1" # the following is required because some BSP layers (fsl) don't set this, and then @@ -62,7 +61,7 @@ ERROR_QA_append = " ${WARN_TO_ERROR_QA}" # NOTE: if listing mklibs & prelink both, then make sure mklibs is before prelink # NOTE: mklibs also needs to be explicitly enabled for a given image, see local.conf.extended # image-prelink sometimes disabled due to issues with IFUNC symbol relocation -USER_CLASSES ?= "buildstats image-mklibs image-prelink" +USER_CLASSES ?= "buildstats buildhistory buildstats-summary image-mklibs image-prelink" require conf/distro/include/no-static-libs.inc require conf/distro/include/yocto-uninative.inc @@ -71,3 +70,7 @@ require conf/distro/include/security_flags.inc INHERIT += "uninative" DISTRO_FEATURES_append = " largefile opengl ptest multiarch wayland pam " + +# Enable thumb2 by default +ARM_INSTRUCTION_SET = "thumb" + From e69ac247df57774aa429c00df38283830666766d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 24 May 2017 13:19:44 -0700 Subject: [PATCH 037/211] bec.conf: Disable uninative When we have gcc7 on build host this will cause problems since libcstdc++ inside uninative is not good enough for handing gcc7 built native apps We can re-enable it when yocto project adds support for gcc7 into uninative Signed-off-by: Khem Raj --- conf/distro/bec.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/distro/bec.conf b/conf/distro/bec.conf index 6b59180eb..26db1679c 100644 --- a/conf/distro/bec.conf +++ b/conf/distro/bec.conf @@ -64,10 +64,10 @@ ERROR_QA_append = " ${WARN_TO_ERROR_QA}" USER_CLASSES ?= "buildstats buildhistory buildstats-summary image-mklibs image-prelink" require conf/distro/include/no-static-libs.inc -require conf/distro/include/yocto-uninative.inc +#require conf/distro/include/yocto-uninative.inc require conf/distro/include/security_flags.inc -INHERIT += "uninative" +#INHERIT += "uninative" DISTRO_FEATURES_append = " largefile opengl ptest multiarch wayland pam " From d883e58e7265aa2e184211bdc7631421fa605702 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 12 Jun 2017 15:00:24 -0700 Subject: [PATCH 038/211] libdc1394: Drop bbappend, the change has been merged upstream Signed-off-by: Khem Raj --- recipes/libdc1394/libdc1394_%.bbappend | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 recipes/libdc1394/libdc1394_%.bbappend diff --git a/recipes/libdc1394/libdc1394_%.bbappend b/recipes/libdc1394/libdc1394_%.bbappend deleted file mode 100644 index 4f64b1f14..000000000 --- a/recipes/libdc1394/libdc1394_%.bbappend +++ /dev/null @@ -1,6 +0,0 @@ -# This patch is not in upstream dora once its applied we will -# remove the append - -DEPENDS += "libxv virtual/libsdl virtual/libx11 libusb1 libraw1394 \ - ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl libglu', '', d)}" - From 114562e39851aefe85297ef3a7de7727f6d80791 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 12 Jun 2017 15:02:32 -0700 Subject: [PATCH 039/211] libmicrohttpd: Drop the recipe, its in meta-oe now a days Signed-off-by: Khem Raj --- recipes/libmicrohttpd/libmicrohttpd_0.9.24.bb | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 recipes/libmicrohttpd/libmicrohttpd_0.9.24.bb diff --git a/recipes/libmicrohttpd/libmicrohttpd_0.9.24.bb b/recipes/libmicrohttpd/libmicrohttpd_0.9.24.bb deleted file mode 100644 index f7e749829..000000000 --- a/recipes/libmicrohttpd/libmicrohttpd_0.9.24.bb +++ /dev/null @@ -1,15 +0,0 @@ -DESCRIPTION = "GNU libmicrohttpd is a small C library that is supposed to make it easy to run an HTTP server as part of another application." -LICENSE = "LGPLv2.1" -LIC_FILES_CHKSUM = "file://COPYING;md5=9331186f4f80db7da0e724bdd6554ee5" - -DEPENDS = "libgcrypt curl" - -SRC_URI = "ftp://ftp.nluug.nl/pub/gnu/libmicrohttpd//libmicrohttpd-${PV}.tar.gz" -SRC_URI[md5sum] = "2891c82cc85a92e6944cacf9ae413f7c" -SRC_URI[sha256sum] = "d04cf7796e0b9e2845432d266712992840937e5975ed45f51f89ccc50d53e232" - -inherit autotools lib_package - -do_compile_append() { - sed -i s:-L${STAGING_LIBDIR}::g libmicrohttpd.pc -} From cace96d23fdeb4f45b67e35f2a701f38191bd539 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 12 Jun 2017 15:05:56 -0700 Subject: [PATCH 040/211] network-hotplug: Switch the recipe license from CLOSED -> MIT Signed-off-by: Khem Raj --- recipes/network-hotplug/network-hotplug.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes/network-hotplug/network-hotplug.bb b/recipes/network-hotplug/network-hotplug.bb index 15f0d3f12..a6b564d96 100644 --- a/recipes/network-hotplug/network-hotplug.bb +++ b/recipes/network-hotplug/network-hotplug.bb @@ -1,6 +1,6 @@ DESCRIPTION = "Network Hotplug" -LICENSE = "CLOSED" - +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" PR = "r2" SRC_URI = " \ @@ -14,7 +14,7 @@ RDEPENDS_${PN} = "udev" do_install() { install -d ${D}${base_libdir}/systemd/system/basic.target.wants install -m 0644 ${WORKDIR}/*.service ${D}${base_libdir}/systemd/system - + install -d ${D}${sysconfdir}/udev/rules.d install -m 0644 ${WORKDIR}/network.rules ${D}${sysconfdir}/udev/rules.d/network.rules } From be744cc8a5c3e544fa6a6c5ca6cfcc0c1aed4dcb Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 13 Jun 2017 19:10:25 -0700 Subject: [PATCH 041/211] Make buildhistory setting overridable Needed for world build automation Signed-off-by: Khem Raj --- conf/distro/bec.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/distro/bec.conf b/conf/distro/bec.conf index 26db1679c..0192ebeeb 100644 --- a/conf/distro/bec.conf +++ b/conf/distro/bec.conf @@ -31,7 +31,7 @@ MIRRORS_append = "\ PRSERV_HOST = "localhost:0" TCLIBCAPPEND = "" -BUILDHISTORY_COMMIT = "1" +BUILDHISTORY_COMMIT ?= "1" # the following is required because some BSP layers (fsl) don't set this, and then # other BSP layers fail bitbake parsing (ti). From 8d49636f4f9fe0ca6b8ec3326006df9d5faa0446 Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Sat, 8 Jul 2017 10:15:17 -0400 Subject: [PATCH 042/211] copy updater to meta-bec --- recipes/updater/files/imx6ul-var-dart/init | 404 +++++++++++++++++++++ recipes/updater/updater_1.0.bb | 16 + 2 files changed, 420 insertions(+) create mode 100644 recipes/updater/files/imx6ul-var-dart/init create mode 100644 recipes/updater/updater_1.0.bb diff --git a/recipes/updater/files/imx6ul-var-dart/init b/recipes/updater/files/imx6ul-var-dart/init new file mode 100644 index 000000000..acced62ef --- /dev/null +++ b/recipes/updater/files/imx6ul-var-dart/init @@ -0,0 +1,404 @@ +#!/bin/sh + +# MTD partitions +#Device Name Start Size(B) Size(MiB) Size(Blks) +#mtd0 spl 0x0 0x200000 2 16 +#mtd1 uboot 0x200000 0x200000 2 16 +#mtd2 uboot env 0x400000 0x200000 2 16 +#mtd3 linux 0x600000 0xc00000 12 96 +#mtd4 rootfs 0x1200000 0x2d00000 45 360 +#mtd5 data 0x3f00000 0x4100000 65 520 +#total size = 0x8000000, 128MiB + +# Prints information +msg() { + echo "$@" >/dev/console +} + +UPDATER_VERSION="60" + +BOOT="mtd1" +KERNEL="mtd3" +ROOTFS="mtd4" +DATAPART="mtd5" +ROOTFS_MOUNT="/root" + +MTD_ROOTFS=4 +MTD_DATA=5 + +init_gpio() { + # turn on Audio amp + echo 18 > /sys/class/gpio/export + echo out > /sys/class/gpio/gpio18/direction + echo 1 > /sys/class/gpio/gpio18/value +} + +# populate bootparam environment +populate_bootparams() { + for p in `cat /proc/cmdline`; do + opt=`echo $p | cut -d'=' -f1` + opt=`echo $opt | tr '.-' '__'` + if [ "`echo $p | cut -d'=' -f1`" = "$p" ]; then + eval "bootparam_${opt}=true" + else + value="`echo $p | cut -d'=' -f2-`" + eval "bootparam_${opt}=\"${value}\"" + fi + done +} + +format_data_partition() { + msg "format_data" + ubidetach -m $MTD_DATA 2>/dev/null + flash_eraseall /dev/mtd$MTD_DATA + if ! ubiattach -m $MTD_DATA; then + msg "Error attaching to MTD data" + return 1 + fi + + ubimkvol /dev/ubi1 -N ubidata -m || return 1 +} + +mount_data() { + DATA_MOUNT_POINT=/data + + msg "mounting data partition" + mkdir -p $DATA_MOUNT_POINT + if ! mount -t ubifs ubi1:ubidata $DATA_MOUNT_POINT; then + msg "data partition mount failed, formatting" + format_data_partition + if ! mount -t ubifs ubi1:ubidata $DATA_MOUNT_POINT; then + msg "data partition mount after format failed, bailing" + espeak "updater, data partition error, please service unit" + return 1 + fi + fi + + mkdir -p $DATA_MOUNT_POINT/log + + msg "data partition mounted" + + return 0 +} + +update_uboot() { + if [ -e u-boot.img ]; then + msg "checking if u-boot needs updated" + SIZE=$(stat -c%s u-boot.img) + nanddump -l $SIZE -f uboot.dump /dev/$BOOT || return 1 + dd if=uboot.dump of=uboot.dump2 bs=$SIZE count=1 + if ! diff u-boot.img uboot.dump2 2>/dev/null; then + msg "updating uboot" + flash_eraseall /dev/$BOOT + nandwrite -p /dev/$BOOT u-boot.img + boot_updated=1 + else + msg "u-boot is up to date" + fi + rm uboot.dump + rm uboot.dump2 + fi +} + +update_kernel() { + kernel_needs_update=0 + + if [ -e zImage ]; then + msg "checking if kernel needs to be updated" + SIZE=$(stat -c%s zImage) + nanddump -l $SIZE -f zImage.dump /dev/$KERNEL || return 1 + dd if=zImage.dump of=zImage.dump2 bs=$SIZE count=1 + if ! diff zImage zImage.dump2 2>/dev/null; then + msg "zImage needs updated" + kernel_needs_update=1 + else + msg "kernel is up to date" + fi + rm zImage.dump + rm zImage.dump2 + fi + + if [ -e zImage.dtb ]; then + msg "checking if dtb needs to be updated" + SIZE=$(stat -c%s zImage.dtb) + nanddump -s 0xbe0000 -l $SIZE -f dtb.dump /dev/$KERNEL || return 1 + dd if=dtb.dump of=dtb.dump2 bs=$SIZE count=1 + if ! diff zImage.dtb dtb.dump2 2>/dev/null; then + msg "dtb needs updated" + kernel_needs_update=1 + else + msg "dtb is up to date" + fi + rm dtb.dump + rm dtb.dump2 + fi + + if [ "$kernel_needs_update" = "1" ]; then + msg "updating kernel image" + flash_eraseall /dev/$KERNEL || return 1 + msg "writing zImage" + nandwrite -p /dev/$KERNEL zImage || return 1 + msg "writing dtb" + nandwrite -p -s 0xbe0000 /dev/$KERNEL zImage.dtb || return 1 + msg "kernel update complete" + boot_updated=1 + fi + + msg "Returning from update_kernel, boot_update=$boot_updated" + + return 0 +} + +update_rootfs() { + if [ -e rootfs.ubi ]; then + msg "Writing new rootfs image, please wait ..." + ubidetach -m $MTD_ROOTFS 2>/dev/null + flash_eraseall /dev/$ROOTFS || return 1 + ubiformat /dev/$ROOTFS -f rootfs.ubi -s 2048 -O 2048 + msg "Rootfs update complete" + fi + return 0 +} + +process_update() { + UPDATE_FILE=$1 + if ! tar -C /tmp -xf $UPDATE_FILE; then + msg "Failed to extract update image" + return 1 + fi + + cd /tmp + if ! md5sum -c update.md5; then + msg "Error: checksum error in update file" + return 1 + else + espeak "updating system" + boot_updated=0 + update_uboot || return 1 + update_kernel || return 1 + + if [ "$boot_updated" = "1" ]; then + msg "Boot components updated, rebooting ..." + espeak "rebooting" + reboot -f + fi + + update_rootfs || return 1 + + cp version.txt /data/ + fi + cd / + # wait for user to remove USB flash disk + # not doing this for now + # while [ -e /sys/class/scsi_disk/* ]; do sleep 1; done + + espeak "update complete" + return 0 +} + +initialize() { + msg "============================================================" + msg "Updater version $UPDATER_VERSION" + + mount -t devtmpfs none /dev + mount -t sysfs sysfs /sys + mount -t proc proc /proc + + init_gpio + + # attach MTD partitions first so they are always in the right order + ubiattach -m $MTD_ROOTFS + ubiattach -m $MTD_DATA + + msg "Sleeping for 3 second(s) for USB flash to settle..." + sleep 3 + + espeak "point watch dart, updater version $UPDATER_VERSION" + + mkdir -p /usb + mkdir -p /data +} + +mount_usb() { + if mount /dev/sda1 /usb 2>/dev/null; then + usb_mounted=1 + msg 'found disk at /dev/sda1' + return 0 + fi + + if [ "$usb_mounted" = "0" ]; then + if mount /dev/sda /usb 2>/dev/null; then + usb_mounted=1 + msg 'found disk at /dev/sda' + return 0 + fi + fi + + return 1 +} + +mount_sd_boot() { + if mount /dev/mmcblk0p1 /boot 2>/dev/null; then + msg 'found sd boot partition' + return 0 + fi + + return 1 +} + + +umount_usb() { + if mount | grep usb; then + umount /usb + fi + + return 0 +} + +# searches for update*.pwu and update*.img files +# and then uses the newest version file it finds +# also supports the legacy update.img format for now + +find_update_file() { + DIR=$1 + cd $DIR + extensions="pwu img" + update="" + for ext in $extensions; do + update=$(echo $(ls update_dart*.${ext} -v -r 2>/dev/null) | sed "s/update.${ext}//" | sed "s/${ext}.*/${ext}/" | sed "s/^\s*//") + if echo $update | grep update > /dev/null; then + echo $update + break + fi + done + + if [ "${update}" = "" ]; then + if [ -e update.img ]; then + echo update.img + fi + fi + cd - > /dev/null +} + +update_from_usb() { + espeak "updater, found u s b disk" + update_file=$(find_update_file /usb) + if echo $update_file | grep update; then + msg "Found update image file on USB disk: $update_file" + if ! process_update /usb/$update_file; then + msg "Failed to process update from USB" + espeak "updater, failed to process update from u s b" + return 1 + else + msg "Update from USB complete" + return 0 + fi + fi + + return 1 +} + +update_from_sd() { + update_file=$(find_update_file /boot) + if echo $update_file | grep update; then + msg "Found update image file on SD disk: $update_file" + if ! process_update /boot/$update_file; then + msg "Failed to process update from SD" + espeak "updater, failed to process update from s d" + return 1 + else + msg "Update from SD complete" + espeak "update from s d complete, please remove s d card and cycle power" + sleep 9999d + fi + fi + return 1 +} + +update_from_data() { + update_file=$(find_update_file /data/update) + if echo $update_file | grep update; then + msg "Found update on data partition: $update_file" + if ! process_update /data/update/$update_file; then + msg "Failed to process update from nand" + espeak "updater, failed to process update from nand" + else + msg "Update from nand complete" + fi + + msg "Removing update files from data partition" + rm /data/update/* + fi +} + +#unmount_usb() { +#} + +mount_rootfs_sd() { + if ! mount /dev/mmcblk0p2 $ROOTFS_MOUNT; then + msg "Error mount SD rootfs, please fix ..." + espeak "updater, S D file system error" + sleep 9999d + fi + + mkdir -p $ROOTFS_MOUNT/media/boot + mount --move /boot $ROOTFS_MOUNT/media/boot +} + +mount_rootfs_nand() { + # may be attached by kernel on boot, but we have + # this here in case we programmed the rootfs + ubiattach -m $MTD_ROOTFS + + if ! mount -tubifs ubi0:rootfs $ROOTFS_MOUNT; then + msg "Error mounting nand rootfs, please fix ..." + espeak "updater, root f s file system error, please service unit" + sleep 9999d + fi +} + +boot() { + mkdir -p $ROOTFS_MOUNT + + if [ -e /dev/mmcblk0p1 ]; then + msg "Booting from SD ..." + espeak "booting system from S D" + mount_rootfs_sd + else + msg "Booting from NAND ..." + espeak "booting system" + mount_rootfs_nand + fi + + umount_usb + + + msg "Moving filesystems into rootfs..." + mkdir -p $ROOTFS_MOUNT/media/data + mount --move /data $ROOTFS_MOUNT/media/data + mount --move /dev $ROOTFS_MOUNT/dev + mount --move /proc $ROOTFS_MOUNT/proc + mount --move /sys $ROOTFS_MOUNT/sys + + msg "switching root filesystem" + + exec switch_root -c /dev/console $ROOTFS_MOUNT /sbin/init 5 +} + +update() { + # update precedence usb, SD, data partition + msg "checking usb ..." + if ! (mount_usb && update_from_usb); then + msg "checking sd ..." + if ! (mount_sd_boot && update_from_sd); then + msg "checking data ..." + update_from_data + fi + fi +} + +initialize +mount_data +update +boot + diff --git a/recipes/updater/updater_1.0.bb b/recipes/updater/updater_1.0.bb new file mode 100644 index 000000000..9a9e46572 --- /dev/null +++ b/recipes/updater/updater_1.0.bb @@ -0,0 +1,16 @@ + + +DESCRIPTION = "Application Updater" +LICENSE = "Proprietary" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28" + +PR = "r0" + +SRC_URI = "file://init" + +do_install() { + install -m 775 ${WORKDIR}/init ${D}/init +} + +FILES_${PN} += "/init" + From 4754daabba852524e480650506a7730f474be70b Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Sat, 8 Jul 2017 10:23:49 -0400 Subject: [PATCH 043/211] autoformat --- recipes/updater/files/imx6ul-var-dart/init | 25 ++++++++++------------ 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/recipes/updater/files/imx6ul-var-dart/init b/recipes/updater/files/imx6ul-var-dart/init index acced62ef..4184b5938 100644 --- a/recipes/updater/files/imx6ul-var-dart/init +++ b/recipes/updater/files/imx6ul-var-dart/init @@ -28,20 +28,20 @@ MTD_DATA=5 init_gpio() { # turn on Audio amp - echo 18 > /sys/class/gpio/export - echo out > /sys/class/gpio/gpio18/direction - echo 1 > /sys/class/gpio/gpio18/value + echo 18 >/sys/class/gpio/export + echo out >/sys/class/gpio/gpio18/direction + echo 1 >/sys/class/gpio/gpio18/value } # populate bootparam environment populate_bootparams() { - for p in `cat /proc/cmdline`; do - opt=`echo $p | cut -d'=' -f1` - opt=`echo $opt | tr '.-' '__'` - if [ "`echo $p | cut -d'=' -f1`" = "$p" ]; then + for p in $(cat /proc/cmdline); do + opt=$(echo $p | cut -d'=' -f1) + opt=$(echo $opt | tr '.-' '__') + if [ "$(echo $p | cut -d'=' -f1)" = "$p" ]; then eval "bootparam_${opt}=true" else - value="`echo $p | cut -d'=' -f2-`" + value="$(echo $p | cut -d'=' -f2-)" eval "bootparam_${opt}=\"${value}\"" fi done @@ -167,7 +167,7 @@ process_update() { return 1 fi - cd /tmp + cd /tmp if ! md5sum -c update.md5; then msg "Error: checksum error in update file" return 1 @@ -246,7 +246,6 @@ mount_sd_boot() { return 1 } - umount_usb() { if mount | grep usb; then umount /usb @@ -266,7 +265,7 @@ find_update_file() { update="" for ext in $extensions; do update=$(echo $(ls update_dart*.${ext} -v -r 2>/dev/null) | sed "s/update.${ext}//" | sed "s/${ext}.*/${ext}/" | sed "s/^\s*//") - if echo $update | grep update > /dev/null; then + if echo $update | grep update >/dev/null; then echo $update break fi @@ -277,7 +276,7 @@ find_update_file() { echo update.img fi fi - cd - > /dev/null + cd - >/dev/null } update_from_usb() { @@ -372,7 +371,6 @@ boot() { umount_usb - msg "Moving filesystems into rootfs..." mkdir -p $ROOTFS_MOUNT/media/data mount --move /data $ROOTFS_MOUNT/media/data @@ -401,4 +399,3 @@ initialize mount_data update boot - From 13574c05fc18b72ee85a5eaf15f7eb752d6745a1 Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Sat, 8 Jul 2017 11:12:21 -0400 Subject: [PATCH 044/211] updater changes --- recipes/images/updater-initramfs-image.bb | 36 ++++++++++++++++++++++ recipes/updater/files/imx6ul-var-dart/init | 4 +-- 2 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 recipes/images/updater-initramfs-image.bb diff --git a/recipes/images/updater-initramfs-image.bb b/recipes/images/updater-initramfs-image.bb new file mode 100644 index 000000000..bdb26e839 --- /dev/null +++ b/recipes/images/updater-initramfs-image.bb @@ -0,0 +1,36 @@ +# will be used for the update image +DESCRIPTION = "initramfs updater image" +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +#IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${POKY_EXTRA_INSTALL}" + +# Do not pollute the initrd image with rootfs features +IMAGE_FEATURES = "" + +export IMAGE_BASENAME = "initramfs-image" +IMAGE_LINGUAS = "" + +LICENSE = "MIT" + +IMAGE_INSTALL = "\ + base-files \ + base-passwd \ + busybox \ + updater \ + mtd-utils \ + mtd-utils-ubifs \ + e2fsprogs \ + e2fsprogs-mke2fs \ + util-linux-fsck \ + e2fsprogs-e2fsck \ + e2fsprogs-tune2fs \ + " + +IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}" +IMAGE_DEVICE_TABLES = "files/device_table-minimal.txt" + +inherit core-image + diff --git a/recipes/updater/files/imx6ul-var-dart/init b/recipes/updater/files/imx6ul-var-dart/init index 4184b5938..cf4549816 100644 --- a/recipes/updater/files/imx6ul-var-dart/init +++ b/recipes/updater/files/imx6ul-var-dart/init @@ -254,14 +254,14 @@ umount_usb() { return 0 } -# searches for update*.pwu and update*.img files +# searches for update*.upd and update*.img files # and then uses the newest version file it finds # also supports the legacy update.img format for now find_update_file() { DIR=$1 cd $DIR - extensions="pwu img" + extensions="upd img" update="" for ext in $extensions; do update=$(echo $(ls update_dart*.${ext} -v -r 2>/dev/null) | sed "s/update.${ext}//" | sed "s/${ext}.*/${ext}/" | sed "s/^\s*//") From 57708a4ec6ce270b1c34114e0f4617c2df9bf81b Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 6 Jul 2017 16:04:37 -0700 Subject: [PATCH 045/211] initramfs-image.bb: Fix LIC_FILES_CHKSUM Flagged by latest OE-Core ERROR: initramfs-image-1.0-r0 do_populate_lic: QA Issue: initramfs-image: The LIC_FILES_CHKSUM does not match for file:///mnt/a/oe/sources/openembedded-core/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 initramfs-image: The new md5 checksum is 4d92cd373abda3937c2bc47fbc49d690 Signed-off-by: Khem Raj --- recipes/images/initramfs-image.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/images/initramfs-image.bb b/recipes/images/initramfs-image.bb index 0bdb6ddb2..61f02a466 100644 --- a/recipes/images/initramfs-image.bb +++ b/recipes/images/initramfs-image.bb @@ -2,7 +2,7 @@ DESCRIPTION = "initramfs updater image" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" #IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${POKY_EXTRA_INSTALL}" From 5e83ed10fe443a96ba8b40f96b0dadc708f7dc9f Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 8 Jul 2017 15:55:05 -0700 Subject: [PATCH 046/211] updater: Add a dummy init This will make it build it on machines where init is not yet provided. Fixes Parsing recipes...WARNING: /mnt/a/oe/sources/meta-bec/recipes/updater/updater_1.0.bb: Unable to get checksum for updater SRC_URI entry init: file could not be found Signed-off-by: Khem Raj --- recipes/updater/files/init | 2 ++ recipes/updater/updater_1.0.bb | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) create mode 100644 recipes/updater/files/init diff --git a/recipes/updater/files/init b/recipes/updater/files/init new file mode 100644 index 000000000..d3a056ca6 --- /dev/null +++ b/recipes/updater/files/init @@ -0,0 +1,2 @@ +echo "Dummy init" +echo "Please create machine specific init file" diff --git a/recipes/updater/updater_1.0.bb b/recipes/updater/updater_1.0.bb index 9a9e46572..b2e363b8f 100644 --- a/recipes/updater/updater_1.0.bb +++ b/recipes/updater/updater_1.0.bb @@ -1,11 +1,7 @@ - - DESCRIPTION = "Application Updater" LICENSE = "Proprietary" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28" -PR = "r0" - SRC_URI = "file://init" do_install() { From f33e3a3e57482994f4010da42fce107f02ec4354 Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Tue, 25 Jul 2017 16:48:01 -0400 Subject: [PATCH 047/211] update updater --- recipes/updater/files/imx6ul-var-dart/init | 21 ++++++++++++++------- recipes/updater/updater_1.0.bb | 11 +++++++++-- 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/recipes/updater/files/imx6ul-var-dart/init b/recipes/updater/files/imx6ul-var-dart/init index cf4549816..b6bc22c86 100644 --- a/recipes/updater/files/imx6ul-var-dart/init +++ b/recipes/updater/files/imx6ul-var-dart/init @@ -15,7 +15,7 @@ msg() { echo "$@" >/dev/console } -UPDATER_VERSION="60" +UPDATER_VERSION="62" BOOT="mtd1" KERNEL="mtd3" @@ -118,12 +118,18 @@ update_kernel() { rm zImage.dump2 fi - if [ -e zImage.dtb ]; then + if dmesg | grep "Machine.*ULL"; then + DTB_FILE=zImage-ull.dtb + else + DTB_FILE=zImage.dtb + fi + + if [ -e $DTB_FILE ]; then msg "checking if dtb needs to be updated" - SIZE=$(stat -c%s zImage.dtb) + SIZE=$(stat -c%s $DTB_FILE) nanddump -s 0xbe0000 -l $SIZE -f dtb.dump /dev/$KERNEL || return 1 dd if=dtb.dump of=dtb.dump2 bs=$SIZE count=1 - if ! diff zImage.dtb dtb.dump2 2>/dev/null; then + if ! diff $DTB_FILE dtb.dump2 2>/dev/null; then msg "dtb needs updated" kernel_needs_update=1 else @@ -135,11 +141,12 @@ update_kernel() { if [ "$kernel_needs_update" = "1" ]; then msg "updating kernel image" + msg "DTB: $DTB_FILE" flash_eraseall /dev/$KERNEL || return 1 msg "writing zImage" nandwrite -p /dev/$KERNEL zImage || return 1 msg "writing dtb" - nandwrite -p -s 0xbe0000 /dev/$KERNEL zImage.dtb || return 1 + nandwrite -p -s 0xbe0000 /dev/$KERNEL $DTB_FILE || return 1 msg "kernel update complete" boot_updated=1 fi @@ -254,14 +261,14 @@ umount_usb() { return 0 } -# searches for update*.upd and update*.img files +# searches for update*.pwu and update*.img files # and then uses the newest version file it finds # also supports the legacy update.img format for now find_update_file() { DIR=$1 cd $DIR - extensions="upd img" + extensions="pwu img" update="" for ext in $extensions; do update=$(echo $(ls update_dart*.${ext} -v -r 2>/dev/null) | sed "s/update.${ext}//" | sed "s/${ext}.*/${ext}/" | sed "s/^\s*//") diff --git a/recipes/updater/updater_1.0.bb b/recipes/updater/updater_1.0.bb index b2e363b8f..08f79011c 100644 --- a/recipes/updater/updater_1.0.bb +++ b/recipes/updater/updater_1.0.bb @@ -2,11 +2,18 @@ DESCRIPTION = "Application Updater" LICENSE = "Proprietary" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28" -SRC_URI = "file://init" +RDEPENDS_${PN} += "espeak" + +PR = "r0" + +SRC_URI = "file://init \ + " do_install() { install -m 775 ${WORKDIR}/init ${D}/init + install -d ${D}/dev + mknod -m 622 ${D}/dev/console c 5 1 } -FILES_${PN} += "/init" +FILES_${PN} += "/init /dev /usr/share/pw" From eb4a3e2ed350cf5c0d5711c9482bd338c67886db Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Wed, 26 Jul 2017 17:43:21 -0400 Subject: [PATCH 048/211] imx6ul updater improvements --- recipes/images/initramfs-image.bb | 39 +++++----- recipes/updater/files/imx6ul-var-dart/init | 73 +++++++++---------- .../updater/files/imx6ul-var-dart/platform_pw | 9 +++ recipes/updater/updater_1.0.bb | 7 +- 4 files changed, 66 insertions(+), 62 deletions(-) create mode 100644 recipes/updater/files/imx6ul-var-dart/platform_pw diff --git a/recipes/images/initramfs-image.bb b/recipes/images/initramfs-image.bb index 61f02a466..9a4ac7c4c 100644 --- a/recipes/images/initramfs-image.bb +++ b/recipes/images/initramfs-image.bb @@ -5,33 +5,30 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" -#IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${POKY_EXTRA_INSTALL}" - # Do not pollute the initrd image with rootfs features IMAGE_FEATURES = "" export IMAGE_BASENAME = "initramfs-image" IMAGE_LINGUAS = "" -LICENSE = "MIT" - -IMAGE_INSTALL = "\ - base-files \ - base-passwd \ - busybox \ - mtd-utils \ - e2fsprogs \ - e2fsprogs-mke2fs \ - util-linux-fsck \ - e2fsprogs-e2fsck \ - e2fsprogs-tune2fs \ - psplash \ - " - +PACKAGE_INSTALL = "\ + base-files \ + base-passwd \ + busybox \ + updater \ + mtd-utils \ + mtd-utils-ubifs \ + e2fsprogs \ + e2fsprogs-mke2fs \ + util-linux-fsck \ + e2fsprogs-e2fsck \ + e2fsprogs-tune2fs \ + " IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}" -IMAGE_DEVICE_TABLES = "files/device_table-minimal.txt" -# remove not needed ipkg informations -ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; " - inherit core-image +IMAGE_DEVICE_TABLES = "files/device_table-minimal.txt" +IMAGE_ROOTFS_SIZE = "8192" +IMAGE_ROOTFS_EXTRA_SPACE = "0" +BAD_RECOMMENDATIONS += "busybox-syslog" + diff --git a/recipes/updater/files/imx6ul-var-dart/init b/recipes/updater/files/imx6ul-var-dart/init index b6bc22c86..0420761e5 100644 --- a/recipes/updater/files/imx6ul-var-dart/init +++ b/recipes/updater/files/imx6ul-var-dart/init @@ -10,12 +10,21 @@ #mtd5 data 0x3f00000 0x4100000 65 520 #total size = 0x8000000, 128MiB +UPDATER_VERSION="2" + +source platform + # Prints information msg() { echo "$@" >/dev/console } -UPDATER_VERSION="62" +speak() { + if [ "UPDATER_SPEECH" = "1" ]; then + espeak $1 + fi +} + BOOT="mtd1" KERNEL="mtd3" @@ -26,27 +35,6 @@ ROOTFS_MOUNT="/root" MTD_ROOTFS=4 MTD_DATA=5 -init_gpio() { - # turn on Audio amp - echo 18 >/sys/class/gpio/export - echo out >/sys/class/gpio/gpio18/direction - echo 1 >/sys/class/gpio/gpio18/value -} - -# populate bootparam environment -populate_bootparams() { - for p in $(cat /proc/cmdline); do - opt=$(echo $p | cut -d'=' -f1) - opt=$(echo $opt | tr '.-' '__') - if [ "$(echo $p | cut -d'=' -f1)" = "$p" ]; then - eval "bootparam_${opt}=true" - else - value="$(echo $p | cut -d'=' -f2-)" - eval "bootparam_${opt}=\"${value}\"" - fi - done -} - format_data_partition() { msg "format_data" ubidetach -m $MTD_DATA 2>/dev/null @@ -69,7 +57,7 @@ mount_data() { format_data_partition if ! mount -t ubifs ubi1:ubidata $DATA_MOUNT_POINT; then msg "data partition mount after format failed, bailing" - espeak "updater, data partition error, please service unit" + speak "updater, data partition error, please service unit" return 1 fi fi @@ -179,14 +167,14 @@ process_update() { msg "Error: checksum error in update file" return 1 else - espeak "updating system" + speak "updating system" boot_updated=0 update_uboot || return 1 update_kernel || return 1 if [ "$boot_updated" = "1" ]; then msg "Boot components updated, rebooting ..." - espeak "rebooting" + speak "rebooting" reboot -f fi @@ -199,7 +187,7 @@ process_update() { # not doing this for now # while [ -e /sys/class/scsi_disk/* ]; do sleep 1; done - espeak "update complete" + speak "update complete" return 0 } @@ -211,16 +199,23 @@ initialize() { mount -t sysfs sysfs /sys mount -t proc proc /proc - init_gpio + plat_init # attach MTD partitions first so they are always in the right order - ubiattach -m $MTD_ROOTFS - ubiattach -m $MTD_DATA + if ! ubiattach -m $MTD_ROOTFS; then + flash_eraseall /dev/mtd$MTD_ROOTFS + ubiattach -m $MTD_ROOTFS + fi + + if ! ubiattach -m $MTD_DATA; then + flash_eraseall /dev/mtd$MTD_DATA + ubiattach -m $MTD_DATA + fi msg "Sleeping for 3 second(s) for USB flash to settle..." sleep 3 - espeak "point watch dart, updater version $UPDATER_VERSION" + speak "point watch dart, updater version $UPDATER_VERSION" mkdir -p /usb mkdir -p /data @@ -287,13 +282,13 @@ find_update_file() { } update_from_usb() { - espeak "updater, found u s b disk" + speak "updater, found u s b disk" update_file=$(find_update_file /usb) if echo $update_file | grep update; then msg "Found update image file on USB disk: $update_file" if ! process_update /usb/$update_file; then msg "Failed to process update from USB" - espeak "updater, failed to process update from u s b" + speak "updater, failed to process update from u s b" return 1 else msg "Update from USB complete" @@ -310,11 +305,11 @@ update_from_sd() { msg "Found update image file on SD disk: $update_file" if ! process_update /boot/$update_file; then msg "Failed to process update from SD" - espeak "updater, failed to process update from s d" + speak "updater, failed to process update from s d" return 1 else msg "Update from SD complete" - espeak "update from s d complete, please remove s d card and cycle power" + speak "update from s d complete, please remove s d card and cycle power" sleep 9999d fi fi @@ -327,7 +322,7 @@ update_from_data() { msg "Found update on data partition: $update_file" if ! process_update /data/update/$update_file; then msg "Failed to process update from nand" - espeak "updater, failed to process update from nand" + speak "updater, failed to process update from nand" else msg "Update from nand complete" fi @@ -343,7 +338,7 @@ update_from_data() { mount_rootfs_sd() { if ! mount /dev/mmcblk0p2 $ROOTFS_MOUNT; then msg "Error mount SD rootfs, please fix ..." - espeak "updater, S D file system error" + speak "updater, S D file system error" sleep 9999d fi @@ -358,7 +353,7 @@ mount_rootfs_nand() { if ! mount -tubifs ubi0:rootfs $ROOTFS_MOUNT; then msg "Error mounting nand rootfs, please fix ..." - espeak "updater, root f s file system error, please service unit" + speak "updater, root f s file system error, please service unit" sleep 9999d fi } @@ -368,11 +363,11 @@ boot() { if [ -e /dev/mmcblk0p1 ]; then msg "Booting from SD ..." - espeak "booting system from S D" + speak "booting system from S D" mount_rootfs_sd else msg "Booting from NAND ..." - espeak "booting system" + speak "booting system" mount_rootfs_nand fi diff --git a/recipes/updater/files/imx6ul-var-dart/platform_pw b/recipes/updater/files/imx6ul-var-dart/platform_pw new file mode 100644 index 000000000..efba80f50 --- /dev/null +++ b/recipes/updater/files/imx6ul-var-dart/platform_pw @@ -0,0 +1,9 @@ +UPDATER_SPEECH=1 + +plat_init() { + # turn on Audio amp + echo 18 >/sys/class/gpio/export + echo out >/sys/class/gpio/gpio18/direction + echo 1 >/sys/class/gpio/gpio18/value +} + diff --git a/recipes/updater/updater_1.0.bb b/recipes/updater/updater_1.0.bb index 08f79011c..fe01ed59b 100644 --- a/recipes/updater/updater_1.0.bb +++ b/recipes/updater/updater_1.0.bb @@ -2,18 +2,21 @@ DESCRIPTION = "Application Updater" LICENSE = "Proprietary" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28" -RDEPENDS_${PN} += "espeak" +# FIXME, need to add following based on package +#RDEPENDS_${PN} += "espeak" PR = "r0" SRC_URI = "file://init \ + file://platform \ " do_install() { install -m 775 ${WORKDIR}/init ${D}/init + install -m 664 ${WORKDIR}/platform ${D}/platform install -d ${D}/dev mknod -m 622 ${D}/dev/console c 5 1 } -FILES_${PN} += "/init /dev /usr/share/pw" +FILES_${PN} += "/init /platform /dev /usr/share/pw" From 312a227b4c5ed97949fe1633442a70eceb5cd588 Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Thu, 27 Jul 2017 12:32:03 -0400 Subject: [PATCH 049/211] simplify ubiattach --- recipes/updater/files/imx6ul-var-dart/init | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/recipes/updater/files/imx6ul-var-dart/init b/recipes/updater/files/imx6ul-var-dart/init index 0420761e5..3c7fb9eb9 100644 --- a/recipes/updater/files/imx6ul-var-dart/init +++ b/recipes/updater/files/imx6ul-var-dart/init @@ -10,7 +10,7 @@ #mtd5 data 0x3f00000 0x4100000 65 520 #total size = 0x8000000, 128MiB -UPDATER_VERSION="2" +UPDATER_VERSION="3" source platform @@ -202,15 +202,8 @@ initialize() { plat_init # attach MTD partitions first so they are always in the right order - if ! ubiattach -m $MTD_ROOTFS; then - flash_eraseall /dev/mtd$MTD_ROOTFS - ubiattach -m $MTD_ROOTFS - fi - - if ! ubiattach -m $MTD_DATA; then - flash_eraseall /dev/mtd$MTD_DATA - ubiattach -m $MTD_DATA - fi + ubiattach -m $MTD_ROOTFS + ubiattach -m $MTD_DATA msg "Sleeping for 3 second(s) for USB flash to settle..." sleep 3 From 714fc17dc749e305533e41f866853e30ecfa4ef6 Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Thu, 27 Jul 2017 18:51:22 -0400 Subject: [PATCH 050/211] make ubi attach a little more robust during initial install --- recipes/updater/files/imx6ul-var-dart/init | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/recipes/updater/files/imx6ul-var-dart/init b/recipes/updater/files/imx6ul-var-dart/init index 3c7fb9eb9..a8fee2e1f 100644 --- a/recipes/updater/files/imx6ul-var-dart/init +++ b/recipes/updater/files/imx6ul-var-dart/init @@ -10,7 +10,7 @@ #mtd5 data 0x3f00000 0x4100000 65 520 #total size = 0x8000000, 128MiB -UPDATER_VERSION="3" +UPDATER_VERSION="4" source platform @@ -201,9 +201,18 @@ initialize() { plat_init - # attach MTD partitions first so they are always in the right order - ubiattach -m $MTD_ROOTFS - ubiattach -m $MTD_DATA + ubidetach -m $MTD_ROOTFS + ubidetach -m $MTD_DATA + + if ! ubiattach -m $MTD_ROOTFS; then + flash_eraseall /dev/mtd$MTD_ROOTFS + ubiattach -m $MTD_ROOTFS + fi + + if ! ubiattach -m $MTD_DATA; then + flash_eraseall /dev/mtd$MTD_DATA + ubiattach -m $MTD_DATA + fi msg "Sleeping for 3 second(s) for USB flash to settle..." sleep 3 From 8945cbbf3cf1b5ff1c9266b905cad374466a29ea Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 29 Jul 2017 08:02:50 -0700 Subject: [PATCH 051/211] updater: Fix build for non-dart platforms We need a dummy platform file, which will be used when building for platforms which dont use updater Signed-off-by: Khem Raj --- recipes/updater/files/imx6ul-var-dart/{platform_pw => platform} | 0 recipes/updater/files/platform | 2 ++ 2 files changed, 2 insertions(+) rename recipes/updater/files/imx6ul-var-dart/{platform_pw => platform} (100%) create mode 100644 recipes/updater/files/platform diff --git a/recipes/updater/files/imx6ul-var-dart/platform_pw b/recipes/updater/files/imx6ul-var-dart/platform similarity index 100% rename from recipes/updater/files/imx6ul-var-dart/platform_pw rename to recipes/updater/files/imx6ul-var-dart/platform diff --git a/recipes/updater/files/platform b/recipes/updater/files/platform new file mode 100644 index 000000000..e68f7465b --- /dev/null +++ b/recipes/updater/files/platform @@ -0,0 +1,2 @@ +echo "Dummy platform file" +echo "Please create machine specific platform file" From 0dc2a4f0e92d79a74f0dcd7d0851cbd781943d0d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 11 Aug 2017 14:49:36 -0700 Subject: [PATCH 052/211] distro: Enable uninative Signed-off-by: Khem Raj --- conf/distro/bec.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/distro/bec.conf b/conf/distro/bec.conf index 0192ebeeb..bbcd42ed9 100644 --- a/conf/distro/bec.conf +++ b/conf/distro/bec.conf @@ -64,10 +64,10 @@ ERROR_QA_append = " ${WARN_TO_ERROR_QA}" USER_CLASSES ?= "buildstats buildhistory buildstats-summary image-mklibs image-prelink" require conf/distro/include/no-static-libs.inc -#require conf/distro/include/yocto-uninative.inc +require conf/distro/include/yocto-uninative.inc require conf/distro/include/security_flags.inc -#INHERIT += "uninative" +INHERIT += "uninative" DISTRO_FEATURES_append = " largefile opengl ptest multiarch wayland pam " From 49dda0a2a9c315104d35ed5c9d701f60bdc2bdb3 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 23 Aug 2017 13:31:16 -0700 Subject: [PATCH 053/211] distro: Prefer new pkgconf for managing .pc files This implementation is in C and quite fast in processing and supports sysroots and cross compiles better than old pkgconfig Signed-off-by: Khem Raj --- conf/distro/bec.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/distro/bec.conf b/conf/distro/bec.conf index bbcd42ed9..19196fdc2 100644 --- a/conf/distro/bec.conf +++ b/conf/distro/bec.conf @@ -74,3 +74,6 @@ DISTRO_FEATURES_append = " largefile opengl ptest multiarch wayland pam " # Enable thumb2 by default ARM_INSTRUCTION_SET = "thumb" +PREFERRED_PROVIDER_pkgconfig = "pkgconf" +PREFERRED_PROVIDER_pkgconfig-native = "pkgconf-native" +PREFERRED_PROVIDER_nativesdk-pkgconfig = "nativesdk-pkgconf" From 8934f9c190fd939baac248d44b8584ec8544c03b Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Fri, 17 Nov 2017 16:44:51 -0500 Subject: [PATCH 054/211] remove obsolete recipe --- recipes/images/updater-initramfs-image.bb | 36 ----------------------- 1 file changed, 36 deletions(-) delete mode 100644 recipes/images/updater-initramfs-image.bb diff --git a/recipes/images/updater-initramfs-image.bb b/recipes/images/updater-initramfs-image.bb deleted file mode 100644 index bdb26e839..000000000 --- a/recipes/images/updater-initramfs-image.bb +++ /dev/null @@ -1,36 +0,0 @@ -# will be used for the update image -DESCRIPTION = "initramfs updater image" -LICENSE = "MIT" - -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ - file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" - -#IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${POKY_EXTRA_INSTALL}" - -# Do not pollute the initrd image with rootfs features -IMAGE_FEATURES = "" - -export IMAGE_BASENAME = "initramfs-image" -IMAGE_LINGUAS = "" - -LICENSE = "MIT" - -IMAGE_INSTALL = "\ - base-files \ - base-passwd \ - busybox \ - updater \ - mtd-utils \ - mtd-utils-ubifs \ - e2fsprogs \ - e2fsprogs-mke2fs \ - util-linux-fsck \ - e2fsprogs-e2fsck \ - e2fsprogs-tune2fs \ - " - -IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}" -IMAGE_DEVICE_TABLES = "files/device_table-minimal.txt" - -inherit core-image - From 01da33bd59c572f6d6de3c6e8e5b0481b9ef75e4 Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Mon, 20 Nov 2017 16:18:34 -0500 Subject: [PATCH 055/211] add splash screen to updater --- recipes/images/initramfs-image-splash.bb | 10 +++ recipes/updater/files/imx6ul-var-dart/init | 97 ++++++++++++++-------- 2 files changed, 72 insertions(+), 35 deletions(-) create mode 100644 recipes/images/initramfs-image-splash.bb diff --git a/recipes/images/initramfs-image-splash.bb b/recipes/images/initramfs-image-splash.bb new file mode 100644 index 000000000..bc1a3ee8a --- /dev/null +++ b/recipes/images/initramfs-image-splash.bb @@ -0,0 +1,10 @@ +require initramfs-image.bb + +PACKAGE_INSTALL += "\ + psplash \ + " + + +export IMAGE_BASENAME = "initramfs-image-splash" + + diff --git a/recipes/updater/files/imx6ul-var-dart/init b/recipes/updater/files/imx6ul-var-dart/init index a8fee2e1f..6396c2675 100644 --- a/recipes/updater/files/imx6ul-var-dart/init +++ b/recipes/updater/files/imx6ul-var-dart/init @@ -10,21 +10,49 @@ #mtd5 data 0x3f00000 0x4100000 65 520 #total size = 0x8000000, 128MiB -UPDATER_VERSION="4" +UPDATER_VERSION="15" source platform -# Prints information +speak() { + if [ "$UPDATER_SPEECH" = "1" ]; then + espeak $1 + fi +} + msg() { echo "$@" >/dev/console } -speak() { - if [ "UPDATER_SPEECH" = "1" ]; then - espeak $1 +# Prints information +msg_splash() { + msg $1 + + if [ "$splash_enabled" = 1 ]; then + progress=$2 + + if [ "$progress" = "" ]; then + progress="0" + fi + + TMPDIR=$SPLASH_DIR psplash-write "MSG $1" + TMPDIR=$SPLASH_DIR psplash-write "PROGRESS $progress" + usleep 500000 fi } +SPLASH_DIR="/mnt/.splash" + +start_splash() { + if [ -e /usr/bin/psplash ]; then + splash_enabled=1 + # set up psplash + mkdir -p "$SPLASH_DIR" + mount tmpfs -t tmpfs $SPLASH_DIR -o,size=40k 2>&1 > /dev/console + TMPDIR=$SPLASH_DIR psplash& 2>&1 > /dev/console + sleep 1 + fi +} BOOT="mtd1" KERNEL="mtd3" @@ -36,11 +64,11 @@ MTD_ROOTFS=4 MTD_DATA=5 format_data_partition() { - msg "format_data" + msg_splash "Formatting data partition" ubidetach -m $MTD_DATA 2>/dev/null flash_eraseall /dev/mtd$MTD_DATA if ! ubiattach -m $MTD_DATA; then - msg "Error attaching to MTD data" + msg_splash "Error attaching to MTD data" return 1 fi @@ -56,7 +84,7 @@ mount_data() { msg "data partition mount failed, formatting" format_data_partition if ! mount -t ubifs ubi1:ubidata $DATA_MOUNT_POINT; then - msg "data partition mount after format failed, bailing" + msg_splash "data partition mount after format failed" speak "updater, data partition error, please service unit" return 1 fi @@ -76,7 +104,7 @@ update_uboot() { nanddump -l $SIZE -f uboot.dump /dev/$BOOT || return 1 dd if=uboot.dump of=uboot.dump2 bs=$SIZE count=1 if ! diff u-boot.img uboot.dump2 2>/dev/null; then - msg "updating uboot" + msg_splash "updating uboot" flash_eraseall /dev/$BOOT nandwrite -p /dev/$BOOT u-boot.img boot_updated=1 @@ -128,29 +156,27 @@ update_kernel() { fi if [ "$kernel_needs_update" = "1" ]; then - msg "updating kernel image" + msg_splash "updating kernel image" msg "DTB: $DTB_FILE" flash_eraseall /dev/$KERNEL || return 1 msg "writing zImage" nandwrite -p /dev/$KERNEL zImage || return 1 msg "writing dtb" nandwrite -p -s 0xbe0000 /dev/$KERNEL $DTB_FILE || return 1 - msg "kernel update complete" + msg_splash "kernel update complete" boot_updated=1 fi - msg "Returning from update_kernel, boot_update=$boot_updated" - return 0 } update_rootfs() { if [ -e rootfs.ubi ]; then - msg "Writing new rootfs image, please wait ..." + msg_splash "Writing new image, please wait ..." ubidetach -m $MTD_ROOTFS 2>/dev/null flash_eraseall /dev/$ROOTFS || return 1 ubiformat /dev/$ROOTFS -f rootfs.ubi -s 2048 -O 2048 - msg "Rootfs update complete" + msg_splash "Image update complete" fi return 0 } @@ -158,13 +184,13 @@ update_rootfs() { process_update() { UPDATE_FILE=$1 if ! tar -C /tmp -xf $UPDATE_FILE; then - msg "Failed to extract update image" + msg_splash "Failed to extract update image" return 1 fi cd /tmp if ! md5sum -c update.md5; then - msg "Error: checksum error in update file" + msg_splash "Error: checksum error in update file" return 1 else speak "updating system" @@ -173,7 +199,7 @@ process_update() { update_kernel || return 1 if [ "$boot_updated" = "1" ]; then - msg "Boot components updated, rebooting ..." + msg_splash "Boot components updated, rebooting ..." speak "rebooting" reboot -f fi @@ -199,6 +225,8 @@ initialize() { mount -t sysfs sysfs /sys mount -t proc proc /proc + start_splash + plat_init ubidetach -m $MTD_ROOTFS @@ -215,9 +243,8 @@ initialize() { fi msg "Sleeping for 3 second(s) for USB flash to settle..." - sleep 3 - speak "point watch dart, updater version $UPDATER_VERSION" + speak "updater version $UPDATER_VERSION" mkdir -p /usb mkdir -p /data @@ -287,13 +314,13 @@ update_from_usb() { speak "updater, found u s b disk" update_file=$(find_update_file /usb) if echo $update_file | grep update; then - msg "Found update image file on USB disk: $update_file" + msg_splash "USB update: $update_file" if ! process_update /usb/$update_file; then - msg "Failed to process update from USB" + msg_splash "Failed to process update from USB" speak "updater, failed to process update from u s b" return 1 else - msg "Update from USB complete" + msg_splash "Update from USB complete" return 0 fi fi @@ -304,13 +331,13 @@ update_from_usb() { update_from_sd() { update_file=$(find_update_file /boot) if echo $update_file | grep update; then - msg "Found update image file on SD disk: $update_file" + msg_splash "SD update: $update_file" if ! process_update /boot/$update_file; then - msg "Failed to process update from SD" + msg_splash "Failed to process update from SD" speak "updater, failed to process update from s d" return 1 else - msg "Update from SD complete" + msg_splash "Update complete, please remove card and cycle power" speak "update from s d complete, please remove s d card and cycle power" sleep 9999d fi @@ -321,15 +348,15 @@ update_from_sd() { update_from_data() { update_file=$(find_update_file /data/update) if echo $update_file | grep update; then - msg "Found update on data partition: $update_file" + msg_splash "Data partition update: $update_file" if ! process_update /data/update/$update_file; then - msg "Failed to process update from nand" + msg_splash "Failed to process update from nand" speak "updater, failed to process update from nand" else - msg "Update from nand complete" + msg_splash "Update from nand complete" fi - msg "Removing update files from data partition" + msg_splash "Removing update files from data partition" rm /data/update/* fi } @@ -339,7 +366,7 @@ update_from_data() { mount_rootfs_sd() { if ! mount /dev/mmcblk0p2 $ROOTFS_MOUNT; then - msg "Error mount SD rootfs, please fix ..." + msg_splash "Error mount SD rootfs, please fix ..." speak "updater, S D file system error" sleep 9999d fi @@ -354,7 +381,7 @@ mount_rootfs_nand() { ubiattach -m $MTD_ROOTFS if ! mount -tubifs ubi0:rootfs $ROOTFS_MOUNT; then - msg "Error mounting nand rootfs, please fix ..." + msg_splash "Error mounting nand rootfs, please fix ..." speak "updater, root f s file system error, please service unit" sleep 9999d fi @@ -364,11 +391,11 @@ boot() { mkdir -p $ROOTFS_MOUNT if [ -e /dev/mmcblk0p1 ]; then - msg "Booting from SD ..." + msg_splash "Booting from SD ..." speak "booting system from S D" mount_rootfs_sd else - msg "Booting from NAND ..." + msg_splash "Booting from NAND ..." speak "booting system" mount_rootfs_nand fi @@ -382,7 +409,7 @@ boot() { mount --move /proc $ROOTFS_MOUNT/proc mount --move /sys $ROOTFS_MOUNT/sys - msg "switching root filesystem" + msg_splash "switching to main filesystem" exec switch_root -c /dev/console $ROOTFS_MOUNT /sbin/init 5 } From 0cb75c8eaa7bf45cbfa151cbccf22f35c064eaaf Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Tue, 21 Nov 2017 14:44:35 -0500 Subject: [PATCH 056/211] add 4.8 kernel to support overo --- recipes/linux/linux-yocto_4.8.bb | 44 ++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 recipes/linux/linux-yocto_4.8.bb diff --git a/recipes/linux/linux-yocto_4.8.bb b/recipes/linux/linux-yocto_4.8.bb new file mode 100644 index 000000000..3c097f94a --- /dev/null +++ b/recipes/linux/linux-yocto_4.8.bb @@ -0,0 +1,44 @@ +KBRANCH ?= "standard/base" + +require recipes-kernel/linux/linux-yocto.inc + +# board specific branches +KBRANCH_qemuarm ?= "standard/arm-versatile-926ejs" +KBRANCH_qemuarm64 ?= "standard/qemuarm64" +KBRANCH_qemumips ?= "standard/mti-malta32" +KBRANCH_qemuppc ?= "standard/qemuppc" +KBRANCH_qemux86 ?= "standard/base" +KBRANCH_qemux86-64 ?= "standard/base" +KBRANCH_qemumips64 ?= "standard/mti-malta64" + +SRCREV_machine_qemuarm ?= "d0a2f088f24c67fc2677df9c285dfedf9311be0c" +SRCREV_machine_qemuarm64 ?= "2ba5f01e49d92febf8413992f44d17d53d78ec15" +SRCREV_machine_qemumips ?= "4f0218a05972db39ca645670954346f5b0f9ff10" +SRCREV_machine_qemuppc ?= "b32a9d28b427588e3f15292cfda7d2207acf80ce" +SRCREV_machine_qemux86 ?= "27efc3ba684a65413ed295140ea070508aac9def" +SRCREV_machine_qemux86-64 ?= "27efc3ba684a65413ed295140ea070508aac9def" +SRCREV_machine_qemumips64 ?= "50985b5d1574aad8fac520487aa7901b593db730" +SRCREV_machine ?= "27efc3ba684a65413ed295140ea070508aac9def" +SRCREV_meta ?= "1c60e003c70292e04f18d5123c7f3f26ffae5c3f" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.8.git;name=machine;branch=${KBRANCH}; \ + git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.8;destsuffix=${KMETA}" + +LINUX_VERSION ?= "4.8.26" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "2" + +KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" + +COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64" + +# Functionality flags +KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" +KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" +KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" +KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" +KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" From 168951f05ce08d3ed6cf6bd4872c1a3539a4958e Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 17 Mar 2018 09:06:51 -0700 Subject: [PATCH 057/211] bec.conf: Refresh policies to match with OE/master Signed-off-by: Khem Raj --- conf/distro/bec.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/conf/distro/bec.conf b/conf/distro/bec.conf index 19196fdc2..6c5335b1e 100644 --- a/conf/distro/bec.conf +++ b/conf/distro/bec.conf @@ -6,6 +6,13 @@ DISTRO_NAME = "BEC Linux" MAINTAINER = "BEC Systems " TARGET_VENDOR = "-bec" SDK_VENDOR = "-becsdk" +# Distro version keep it up with Yocto release +DISTRO_VERSION = "2.5" +DISTRO_CODENAME = "master" +SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}" + +DISTRO_VERSION[vardepsexclude] = "DATE" +SDK_VERSION[vardepsexclude] = "DATE" PREMIRRORS ??= "\ bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ @@ -28,6 +35,12 @@ MIRRORS_append = "\ http://.*/.* http://sources.bec-systems.com/ \n \ https://.*/.* http://sources.bec-systems.com/ \n" +# The CONNECTIVITY_CHECK_URI's are used to test whether we can succesfully +# fetch from the network (and warn you if not). To disable the test set +# the variable to be empty. +# Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=master +CONNECTIVITY_CHECK_URIS ?= "https://www.example.com/" + PRSERV_HOST = "localhost:0" TCLIBCAPPEND = "" From ed5c7d847a9b41f141efff5d441925ee69979273 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 19 Mar 2018 20:34:58 -0700 Subject: [PATCH 058/211] layer: Implement BBFILES_DYNAMIC see https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-BBFILES_DYNAMIC This helps to use certain recipes iff the correcponding layer is included, avoid adding BBMASK and other methods of masking it Signed-off-by: Khem Raj --- conf/layer.conf | 6 ++++++ .../qt4-layer/recipes}/lcd-test/lcd-test-qt_git.bb | 0 2 files changed, 6 insertions(+) rename {recipes => dynamic-layers/qt4-layer/recipes}/lcd-test/lcd-test-qt_git.bb (100%) diff --git a/conf/layer.conf b/conf/layer.conf index d158adba3..d39cfac6e 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -9,3 +9,9 @@ BBFILE_PATTERN_meta-bec := "^${LAYERDIR}/" BBFILE_PRIORITY_meta-bec = "15" LAYERDEPENDS_meta-bec = "core" + +BBFILES_DYNAMIC += " \ + qt4-layer:${LAYERDIR}/dynamic-layers/qt4-layer/*/*/*.bb \ + qt4-layer:${LAYERDIR}/dynamic-layers/qt4-layer/*/*/*.bbappend \ +" + diff --git a/recipes/lcd-test/lcd-test-qt_git.bb b/dynamic-layers/qt4-layer/recipes/lcd-test/lcd-test-qt_git.bb similarity index 100% rename from recipes/lcd-test/lcd-test-qt_git.bb rename to dynamic-layers/qt4-layer/recipes/lcd-test/lcd-test-qt_git.bb From 5c42146afba3e5b572420f3977c556e76e15ed31 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 11 Apr 2018 17:53:10 -0700 Subject: [PATCH 059/211] layer.conf: Define LAYERSERIES_COMPAT Signed-off-by: Khem Raj --- conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/layer.conf b/conf/layer.conf index d39cfac6e..49871a01a 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -7,7 +7,7 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" BBFILE_COLLECTIONS += "meta-bec" BBFILE_PATTERN_meta-bec := "^${LAYERDIR}/" BBFILE_PRIORITY_meta-bec = "15" - +LAYERSERIES_COMPAT_meta-bec = "sumo" LAYERDEPENDS_meta-bec = "core" BBFILES_DYNAMIC += " \ From 3b490bef2ee8b5ea42b09b163a50250faff21763 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 12 Apr 2018 14:36:17 -0700 Subject: [PATCH 060/211] recipes: Re-org the recipes into subgroups Signed-off-by: Khem Raj --- {recipes => recipes-core}/images/bec-debug-image.bb | 0 {recipes => recipes-core}/images/bec-simple-image.bb | 0 {recipes => recipes-core}/images/initramfs-image-splash.bb | 0 {recipes => recipes-core}/images/initramfs-image.bb | 0 {recipes => recipes-core}/network-hotplug/files/network.rules | 0 {recipes => recipes-core}/network-hotplug/files/network@.service | 0 {recipes => recipes-core}/network-hotplug/network-hotplug.bb | 0 {recipes => recipes-core}/systemd/systemd_%.bbappend | 0 {recipes => recipes-kernel}/linux/linux-yocto_4.8.bb | 0 {recipes => recipes-support}/updater/files/imx6ul-var-dart/init | 0 .../updater/files/imx6ul-var-dart/platform | 0 {recipes => recipes-support}/updater/files/init | 0 {recipes => recipes-support}/updater/files/platform | 0 {recipes => recipes-support}/updater/updater_1.0.bb | 0 {recipes => recipes-test}/fs-stress-test/fs-stress-test_git.bb | 0 {recipes => recipes-test}/lcd-test/lcd-test_git.bb | 0 {recipes => recipes-test}/serial-test/serial-test_git.bb | 0 17 files changed, 0 insertions(+), 0 deletions(-) rename {recipes => recipes-core}/images/bec-debug-image.bb (100%) rename {recipes => recipes-core}/images/bec-simple-image.bb (100%) rename {recipes => recipes-core}/images/initramfs-image-splash.bb (100%) rename {recipes => recipes-core}/images/initramfs-image.bb (100%) rename {recipes => recipes-core}/network-hotplug/files/network.rules (100%) rename {recipes => recipes-core}/network-hotplug/files/network@.service (100%) rename {recipes => recipes-core}/network-hotplug/network-hotplug.bb (100%) rename {recipes => recipes-core}/systemd/systemd_%.bbappend (100%) rename {recipes => recipes-kernel}/linux/linux-yocto_4.8.bb (100%) rename {recipes => recipes-support}/updater/files/imx6ul-var-dart/init (100%) rename {recipes => recipes-support}/updater/files/imx6ul-var-dart/platform (100%) rename {recipes => recipes-support}/updater/files/init (100%) rename {recipes => recipes-support}/updater/files/platform (100%) rename {recipes => recipes-support}/updater/updater_1.0.bb (100%) rename {recipes => recipes-test}/fs-stress-test/fs-stress-test_git.bb (100%) rename {recipes => recipes-test}/lcd-test/lcd-test_git.bb (100%) rename {recipes => recipes-test}/serial-test/serial-test_git.bb (100%) diff --git a/recipes/images/bec-debug-image.bb b/recipes-core/images/bec-debug-image.bb similarity index 100% rename from recipes/images/bec-debug-image.bb rename to recipes-core/images/bec-debug-image.bb diff --git a/recipes/images/bec-simple-image.bb b/recipes-core/images/bec-simple-image.bb similarity index 100% rename from recipes/images/bec-simple-image.bb rename to recipes-core/images/bec-simple-image.bb diff --git a/recipes/images/initramfs-image-splash.bb b/recipes-core/images/initramfs-image-splash.bb similarity index 100% rename from recipes/images/initramfs-image-splash.bb rename to recipes-core/images/initramfs-image-splash.bb diff --git a/recipes/images/initramfs-image.bb b/recipes-core/images/initramfs-image.bb similarity index 100% rename from recipes/images/initramfs-image.bb rename to recipes-core/images/initramfs-image.bb diff --git a/recipes/network-hotplug/files/network.rules b/recipes-core/network-hotplug/files/network.rules similarity index 100% rename from recipes/network-hotplug/files/network.rules rename to recipes-core/network-hotplug/files/network.rules diff --git a/recipes/network-hotplug/files/network@.service b/recipes-core/network-hotplug/files/network@.service similarity index 100% rename from recipes/network-hotplug/files/network@.service rename to recipes-core/network-hotplug/files/network@.service diff --git a/recipes/network-hotplug/network-hotplug.bb b/recipes-core/network-hotplug/network-hotplug.bb similarity index 100% rename from recipes/network-hotplug/network-hotplug.bb rename to recipes-core/network-hotplug/network-hotplug.bb diff --git a/recipes/systemd/systemd_%.bbappend b/recipes-core/systemd/systemd_%.bbappend similarity index 100% rename from recipes/systemd/systemd_%.bbappend rename to recipes-core/systemd/systemd_%.bbappend diff --git a/recipes/linux/linux-yocto_4.8.bb b/recipes-kernel/linux/linux-yocto_4.8.bb similarity index 100% rename from recipes/linux/linux-yocto_4.8.bb rename to recipes-kernel/linux/linux-yocto_4.8.bb diff --git a/recipes/updater/files/imx6ul-var-dart/init b/recipes-support/updater/files/imx6ul-var-dart/init similarity index 100% rename from recipes/updater/files/imx6ul-var-dart/init rename to recipes-support/updater/files/imx6ul-var-dart/init diff --git a/recipes/updater/files/imx6ul-var-dart/platform b/recipes-support/updater/files/imx6ul-var-dart/platform similarity index 100% rename from recipes/updater/files/imx6ul-var-dart/platform rename to recipes-support/updater/files/imx6ul-var-dart/platform diff --git a/recipes/updater/files/init b/recipes-support/updater/files/init similarity index 100% rename from recipes/updater/files/init rename to recipes-support/updater/files/init diff --git a/recipes/updater/files/platform b/recipes-support/updater/files/platform similarity index 100% rename from recipes/updater/files/platform rename to recipes-support/updater/files/platform diff --git a/recipes/updater/updater_1.0.bb b/recipes-support/updater/updater_1.0.bb similarity index 100% rename from recipes/updater/updater_1.0.bb rename to recipes-support/updater/updater_1.0.bb diff --git a/recipes/fs-stress-test/fs-stress-test_git.bb b/recipes-test/fs-stress-test/fs-stress-test_git.bb similarity index 100% rename from recipes/fs-stress-test/fs-stress-test_git.bb rename to recipes-test/fs-stress-test/fs-stress-test_git.bb diff --git a/recipes/lcd-test/lcd-test_git.bb b/recipes-test/lcd-test/lcd-test_git.bb similarity index 100% rename from recipes/lcd-test/lcd-test_git.bb rename to recipes-test/lcd-test/lcd-test_git.bb diff --git a/recipes/serial-test/serial-test_git.bb b/recipes-test/serial-test/serial-test_git.bb similarity index 100% rename from recipes/serial-test/serial-test_git.bb rename to recipes-test/serial-test/serial-test_git.bb From d1acf9c3b9e2e4488ef544fe3bb09a3ed2a5ca42 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 12 Apr 2018 15:04:35 -0700 Subject: [PATCH 061/211] os-release: Define custom Distro URLs Provides information on distro support Signed-off-by: Khem Raj --- recipes-core/os-release/os-release.bbappend | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 recipes-core/os-release/os-release.bbappend diff --git a/recipes-core/os-release/os-release.bbappend b/recipes-core/os-release/os-release.bbappend new file mode 100644 index 000000000..eb04e0367 --- /dev/null +++ b/recipes-core/os-release/os-release.bbappend @@ -0,0 +1,4 @@ +OS_RELEASE_FIELDS_append = " HOME_URL SUPPORT_URL BUG_REPORT_URL" +HOME_URL = "http://bec-systems.com" +SUPPORT_URL = "http://bec-systems.com/support" +BUG_REPORT_URL = "https://github.com/cbrake/meta-bec/issues" From 107069196c47285f8c4f4818a8f8ec3aeb378ac5 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 2 May 2018 15:29:53 -0700 Subject: [PATCH 062/211] linux-yocto: Delete Its a BSP element and is unused here Signed-off-by: Khem Raj --- recipes-kernel/linux/linux-yocto_4.8.bb | 44 ------------------------- 1 file changed, 44 deletions(-) delete mode 100644 recipes-kernel/linux/linux-yocto_4.8.bb diff --git a/recipes-kernel/linux/linux-yocto_4.8.bb b/recipes-kernel/linux/linux-yocto_4.8.bb deleted file mode 100644 index 3c097f94a..000000000 --- a/recipes-kernel/linux/linux-yocto_4.8.bb +++ /dev/null @@ -1,44 +0,0 @@ -KBRANCH ?= "standard/base" - -require recipes-kernel/linux/linux-yocto.inc - -# board specific branches -KBRANCH_qemuarm ?= "standard/arm-versatile-926ejs" -KBRANCH_qemuarm64 ?= "standard/qemuarm64" -KBRANCH_qemumips ?= "standard/mti-malta32" -KBRANCH_qemuppc ?= "standard/qemuppc" -KBRANCH_qemux86 ?= "standard/base" -KBRANCH_qemux86-64 ?= "standard/base" -KBRANCH_qemumips64 ?= "standard/mti-malta64" - -SRCREV_machine_qemuarm ?= "d0a2f088f24c67fc2677df9c285dfedf9311be0c" -SRCREV_machine_qemuarm64 ?= "2ba5f01e49d92febf8413992f44d17d53d78ec15" -SRCREV_machine_qemumips ?= "4f0218a05972db39ca645670954346f5b0f9ff10" -SRCREV_machine_qemuppc ?= "b32a9d28b427588e3f15292cfda7d2207acf80ce" -SRCREV_machine_qemux86 ?= "27efc3ba684a65413ed295140ea070508aac9def" -SRCREV_machine_qemux86-64 ?= "27efc3ba684a65413ed295140ea070508aac9def" -SRCREV_machine_qemumips64 ?= "50985b5d1574aad8fac520487aa7901b593db730" -SRCREV_machine ?= "27efc3ba684a65413ed295140ea070508aac9def" -SRCREV_meta ?= "1c60e003c70292e04f18d5123c7f3f26ffae5c3f" - -SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.8.git;name=machine;branch=${KBRANCH}; \ - git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.8;destsuffix=${KMETA}" - -LINUX_VERSION ?= "4.8.26" - -PV = "${LINUX_VERSION}+git${SRCPV}" - -KMETA = "kernel-meta" -KCONF_BSP_AUDIT_LEVEL = "2" - -KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" - -COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64" - -# Functionality flags -KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" -KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" -KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" -KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" -KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc" -KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" From d0ae5ae64abe57cfe5c5ffa7f99ebab300375d96 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 24 Jul 2018 23:00:27 -0700 Subject: [PATCH 063/211] systemd-networkd: Use ClientIdentifier=mac configuration Fixes DHCP IP changes with every image and in case of RO Rootfs every boot, since it will regenerate machine-id in tmpfs on boot. We could fix the regeneration of machine-id by bind mounting it into a persistent storage but that will not address the change in filesystem content when an update is applied and will result in a new DHCP address whenever we upgrade the system Signed-off-by: Khem Raj --- classes/bec-image.bbclass | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/classes/bec-image.bbclass b/classes/bec-image.bbclass index afebc9041..4b8961ee7 100644 --- a/classes/bec-image.bbclass +++ b/classes/bec-image.bbclass @@ -10,6 +10,10 @@ Name=en* [Network] DHCP=yes + +[DHCP] +RouteMetric=10 +ClientIdentifier=mac EOF cat << EOF > ${IMAGE_ROOTFS}${sysconfdir}/systemd/network/11-eth.network @@ -18,6 +22,10 @@ Name=eth* [Network] DHCP=yes + +[DHCP] +RouteMetric=10 +ClientIdentifier=mac EOF cat << EOF > ${IMAGE_ROOTFS}${sysconfdir}/systemd/network/12-wl.network @@ -26,6 +34,10 @@ Name=wl* [Network] DHCP=yes + +[DHCP] +RouteMetric=20 +ClientIdentifier=mac EOF } From 2ef108abae56965f137ea33604d3883f400d09c3 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 24 Jul 2018 23:01:46 -0700 Subject: [PATCH 064/211] distro: Disable pkgconfig defaultig to pkgconf There still are bugs e.g. chromium/firefox are hard-wired to use pkgconfig, we will wait for some more time before enabling it again Signed-off-by: Khem Raj --- conf/distro/bec.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/distro/bec.conf b/conf/distro/bec.conf index 6c5335b1e..6323522d8 100644 --- a/conf/distro/bec.conf +++ b/conf/distro/bec.conf @@ -87,6 +87,6 @@ DISTRO_FEATURES_append = " largefile opengl ptest multiarch wayland pam " # Enable thumb2 by default ARM_INSTRUCTION_SET = "thumb" -PREFERRED_PROVIDER_pkgconfig = "pkgconf" -PREFERRED_PROVIDER_pkgconfig-native = "pkgconf-native" -PREFERRED_PROVIDER_nativesdk-pkgconfig = "nativesdk-pkgconf" +#PREFERRED_PROVIDER_pkgconfig = "pkgconf" +#PREFERRED_PROVIDER_pkgconfig-native = "pkgconf-native" +#PREFERRED_PROVIDER_nativesdk-pkgconfig = "nativesdk-pkgconf" From 5ca44eb76808510a40cfca362ca731b2afa52de8 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 17 Aug 2018 11:38:34 -0700 Subject: [PATCH 065/211] systemd: Prepend needed space for an append operator Signed-off-by: Khem Raj --- recipes-core/systemd/systemd_%.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-core/systemd/systemd_%.bbappend b/recipes-core/systemd/systemd_%.bbappend index 0fdefe9fb..2025d8d01 100644 --- a/recipes-core/systemd/systemd_%.bbappend +++ b/recipes-core/systemd/systemd_%.bbappend @@ -1 +1 @@ -PACKAGECONFIG_append = "resolved networkd" +PACKAGECONFIG_append = " resolved networkd " From 7a4115f80d1718a9926055dfd4b65cad11d0fb1b Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Wed, 5 Sep 2018 12:16:38 -0400 Subject: [PATCH 066/211] fix sourcing of platform file --- recipes-support/updater/files/imx6ul-var-dart/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-support/updater/files/imx6ul-var-dart/init b/recipes-support/updater/files/imx6ul-var-dart/init index 6396c2675..8af9cfdb9 100644 --- a/recipes-support/updater/files/imx6ul-var-dart/init +++ b/recipes-support/updater/files/imx6ul-var-dart/init @@ -12,7 +12,7 @@ UPDATER_VERSION="15" -source platform +source /platform speak() { if [ "$UPDATER_SPEECH" = "1" ]; then From 49023353d58f7b0b13837de6fa1d457638424cfa Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Wed, 5 Sep 2018 12:17:02 -0400 Subject: [PATCH 067/211] wrap espeak string to fix only speaking first word --- recipes-support/updater/files/imx6ul-var-dart/init | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/recipes-support/updater/files/imx6ul-var-dart/init b/recipes-support/updater/files/imx6ul-var-dart/init index 8af9cfdb9..c89666e90 100644 --- a/recipes-support/updater/files/imx6ul-var-dart/init +++ b/recipes-support/updater/files/imx6ul-var-dart/init @@ -10,13 +10,14 @@ #mtd5 data 0x3f00000 0x4100000 65 520 #total size = 0x8000000, 128MiB -UPDATER_VERSION="15" +UPDATER_VERSION="20" source /platform speak() { if [ "$UPDATER_SPEECH" = "1" ]; then - espeak $1 + msg "speak $1" + espeak "$1" fi } From b597cdc4a55bac8b24559f0a618f9d2b2497afe5 Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Wed, 5 Sep 2018 12:17:19 -0400 Subject: [PATCH 068/211] add delay for USB detection --- recipes-support/updater/files/imx6ul-var-dart/init | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-support/updater/files/imx6ul-var-dart/init b/recipes-support/updater/files/imx6ul-var-dart/init index c89666e90..db44f57b7 100644 --- a/recipes-support/updater/files/imx6ul-var-dart/init +++ b/recipes-support/updater/files/imx6ul-var-dart/init @@ -247,6 +247,8 @@ initialize() { speak "updater version $UPDATER_VERSION" + sleep 3 + mkdir -p /usb mkdir -p /data } From 76e154e0a147616f5531d3c9dbfefdc9fae8920f Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 9 Sep 2018 15:33:51 -0700 Subject: [PATCH 069/211] bec.conf: Promote unknown-configure-option to a QA error Currently, its just a warning Signed-off-by: Khem Raj --- conf/distro/bec.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/distro/bec.conf b/conf/distro/bec.conf index 6323522d8..91b01d824 100644 --- a/conf/distro/bec.conf +++ b/conf/distro/bec.conf @@ -57,7 +57,7 @@ BB_DANGLINGAPPENDS_WARNONLY = "1" # QA check settings - a little stricter than the OE-Core defaults WARN_TO_ERROR_QA = "already-stripped compile-host-path install-host-path \ installed-vs-shipped ldflags pn-overrides rpaths staticdev \ - useless-rpaths" + unknown-configure-option useless-rpaths" WARN_QA_remove = "${WARN_TO_ERROR_QA}" ERROR_QA_append = " ${WARN_TO_ERROR_QA}" #ERROR_QA_remove = "split-strip" From 0a12f212617406eb0439127e257793d2642b0ace Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 21 Sep 2018 22:21:37 -0700 Subject: [PATCH 070/211] Rename distro to yoe Signed-off-by: Khem Raj --- conf/distro/{bec.conf => yoe.conf} | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) rename conf/distro/{bec.conf => yoe.conf} (89%) diff --git a/conf/distro/bec.conf b/conf/distro/yoe.conf similarity index 89% rename from conf/distro/bec.conf rename to conf/distro/yoe.conf index 91b01d824..393d8f6f4 100644 --- a/conf/distro/bec.conf +++ b/conf/distro/yoe.conf @@ -1,13 +1,13 @@ # # Distro Settings # -DISTRO = "bec" -DISTRO_NAME = "BEC Linux" -MAINTAINER = "BEC Systems " -TARGET_VENDOR = "-bec" -SDK_VENDOR = "-becsdk" +DISTRO = "yoe" +DISTRO_NAME = "Yoe Linux" +MAINTAINER = "Yoe Distro " +TARGET_VENDOR = "-yoe" +SDK_VENDOR = "-yoesdk" # Distro version keep it up with Yocto release -DISTRO_VERSION = "2.5" +DISTRO_VERSION = "2.6" DISTRO_CODENAME = "master" SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}" @@ -29,12 +29,6 @@ ftp://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ http://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ https://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n" -MIRRORS_append = "\ - git://.*/.* http://sources.bec-systems.com/ \n \ - ftp://.*/.* http://sources.bec-systems.com/ \n \ - http://.*/.* http://sources.bec-systems.com/ \n \ - https://.*/.* http://sources.bec-systems.com/ \n" - # The CONNECTIVITY_CHECK_URI's are used to test whether we can succesfully # fetch from the network (and warn you if not). To disable the test set # the variable to be empty. From d027fc5142c404088a2b169fceb86395d7ec3a5f Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 21 Sep 2018 22:22:29 -0700 Subject: [PATCH 071/211] Fix layer.conf Signed-off-by: Khem Raj --- conf/layer.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/conf/layer.conf b/conf/layer.conf index 49871a01a..7b2da75b7 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -4,11 +4,11 @@ BBPATH .= ":${LAYERDIR}" # We have a recipes directory, add to BBFILES BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" -BBFILE_COLLECTIONS += "meta-bec" -BBFILE_PATTERN_meta-bec := "^${LAYERDIR}/" -BBFILE_PRIORITY_meta-bec = "15" -LAYERSERIES_COMPAT_meta-bec = "sumo" -LAYERDEPENDS_meta-bec = "core" +BBFILE_COLLECTIONS += "meta-yoe" +BBFILE_PATTERN_meta-yoe := "^${LAYERDIR}/" +BBFILE_PRIORITY_meta-yoe = "15" +LAYERSERIES_COMPAT_meta-yoe = "sumo" +LAYERDEPENDS_meta-yoe = "core" BBFILES_DYNAMIC += " \ qt4-layer:${LAYERDIR}/dynamic-layers/qt4-layer/*/*/*.bb \ From ac156fde3bc9cc6a11c8660d0d796a64246add76 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 21 Sep 2018 22:24:56 -0700 Subject: [PATCH 072/211] Recipes: Add Yoe distro information whereever needed Signed-off-by: Khem Raj --- .../images/{bec-debug-image.bb => yoe-debug-image.bb} | 2 +- .../images/{bec-simple-image.bb => yoe-simple-image.bb} | 2 +- recipes-core/os-release/os-release.bbappend | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) rename recipes-core/images/{bec-debug-image.bb => yoe-debug-image.bb} (95%) rename recipes-core/images/{bec-simple-image.bb => yoe-simple-image.bb} (89%) diff --git a/recipes-core/images/bec-debug-image.bb b/recipes-core/images/yoe-debug-image.bb similarity index 95% rename from recipes-core/images/bec-debug-image.bb rename to recipes-core/images/yoe-debug-image.bb index 837b00656..cff4036fc 100644 --- a/recipes-core/images/bec-debug-image.bb +++ b/recipes-core/images/yoe-debug-image.bb @@ -52,4 +52,4 @@ IMAGE_INSTALL += "\ python-pyserial \ " -export IMAGE_BASENAME = "bec-debug-image" +export IMAGE_BASENAME = "yoe-debug-image" diff --git a/recipes-core/images/bec-simple-image.bb b/recipes-core/images/yoe-simple-image.bb similarity index 89% rename from recipes-core/images/bec-simple-image.bb rename to recipes-core/images/yoe-simple-image.bb index b729f0d65..814190f29 100644 --- a/recipes-core/images/bec-simple-image.bb +++ b/recipes-core/images/yoe-simple-image.bb @@ -13,6 +13,6 @@ IMAGE_INSTALL += " \ packagegroup-basic \ network-hotplug \ " -export IMAGE_BASENAME = "bec-simple-image" +export IMAGE_BASENAME = "yoe-simple-image" inherit core-image diff --git a/recipes-core/os-release/os-release.bbappend b/recipes-core/os-release/os-release.bbappend index eb04e0367..093977513 100644 --- a/recipes-core/os-release/os-release.bbappend +++ b/recipes-core/os-release/os-release.bbappend @@ -1,4 +1,4 @@ OS_RELEASE_FIELDS_append = " HOME_URL SUPPORT_URL BUG_REPORT_URL" -HOME_URL = "http://bec-systems.com" -SUPPORT_URL = "http://bec-systems.com/support" -BUG_REPORT_URL = "https://github.com/cbrake/meta-bec/issues" +HOME_URL = "https://github.com/YoeDistro" +SUPPORT_URL = "https://github.com/YoeDistro/yoe-distro/issues" +BUG_REPORT_URL = "https://github.com/YoeDistro/yoe-distro/issues" From df815cf1224c33d907bff0491570aa20a1b91645 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 22 Sep 2018 10:31:42 -0700 Subject: [PATCH 073/211] systemd: Add systemd-networkd and systemd-resolved to systemd default Signed-off-by: Khem Raj --- recipes-core/systemd/systemd/wired.network | 10 ++++++++++ recipes-core/systemd/systemd/wireless.network | 9 +++++++++ recipes-core/systemd/systemd_%.bbappend | 19 ++++++++++++++++++- 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 recipes-core/systemd/systemd/wired.network create mode 100644 recipes-core/systemd/systemd/wireless.network diff --git a/recipes-core/systemd/systemd/wired.network b/recipes-core/systemd/systemd/wired.network new file mode 100644 index 000000000..7a7c4ec0c --- /dev/null +++ b/recipes-core/systemd/systemd/wired.network @@ -0,0 +1,10 @@ +[Match] +Name=eth* +Name=en* + +[Network] +DHCP=v4 + +[DHCP] +RouteMetric=10 +ClientIdentifier=mac diff --git a/recipes-core/systemd/systemd/wireless.network b/recipes-core/systemd/systemd/wireless.network new file mode 100644 index 000000000..55ede623c --- /dev/null +++ b/recipes-core/systemd/systemd/wireless.network @@ -0,0 +1,9 @@ +[Match] +Name=wl* + +[Network] +DHCP=ipv4 + +[DHCP] +RouteMetric=20 +ClientIdentifier=mac diff --git a/recipes-core/systemd/systemd_%.bbappend b/recipes-core/systemd/systemd_%.bbappend index 2025d8d01..88f2645d9 100644 --- a/recipes-core/systemd/systemd_%.bbappend +++ b/recipes-core/systemd/systemd_%.bbappend @@ -1 +1,18 @@ -PACKAGECONFIG_append = " resolved networkd " +FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" + +PACKAGECONFIG_append = " networkd resolved " + +NETWORKING_SCRIPTS_qemuall = "" +NETWORKING_SCRIPTS ?= "file://wired.network \ + file://wireless.network \ + " +SRC_URI += "${NETWORKING_SCRIPTS}" + +do_install_append() { + if [ "${@bb.utils.contains('IMAGE_CLASSES', 'qemuboot', 'True', 'False' ,d)}" != "True" ]; then + install -d ${D}${sysconfdir}/systemd/network/ + install -m 0644 ${WORKDIR}/*.network ${D}${sysconfdir}/systemd/network/ + fi +} + +FILES_${PN} += "{sysconfdir}/systemd/network/*" From 7d0e66e4ea743a76ac60ccc57bcd27f6b1ed6374 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 22 Sep 2018 10:32:53 -0700 Subject: [PATCH 074/211] linux-backports: Add recipe Signed-off-by: Khem Raj --- .../linux-backports/files/backports_config | 5798 +++++++++++++++++ .../linux-backports/linux-backports.bb | 38 + 2 files changed, 5836 insertions(+) create mode 100644 recipes-kernel/linux-backports/files/backports_config create mode 100644 recipes-kernel/linux-backports/linux-backports.bb diff --git a/recipes-kernel/linux-backports/files/backports_config b/recipes-kernel/linux-backports/files/backports_config new file mode 100644 index 000000000..c5e917051 --- /dev/null +++ b/recipes-kernel/linux-backports/files/backports_config @@ -0,0 +1,5798 @@ +# +# Automatically generated file; DO NOT EDIT. +# Backports from "Linux" "v4.2.6-0-g1c02865" (backports "v4.2.6-1-0-g90118c7") +# +CPTCFG_WIRELESS=y +CPTCFG_NET_CORE=y +CPTCFG_EXPERT=y +CPTCFG_BPAUTO_BUILD_AVERAGE=y +CPTCFG_BPAUTO_AVERAGE=y +# CPTCFG_BPAUTO_USERSEL_BUILD_ALL is not set +CPTCFG_BPAUTO_CRYPTO_CCM=y +# CPTCFG_BPAUTO_BUILD_CRYPTO_CCM is not set +# CPTCFG_BPAUTO_BUILD_WANT_DEV_COREDUMP is not set +CPTCFG_CFG80211=m +# CPTCFG_NL80211_TESTMODE is not set +# CPTCFG_CFG80211_DEVELOPER_WARNINGS is not set +# CPTCFG_CFG80211_REG_DEBUG is not set +# CPTCFG_CFG80211_CERTIFICATION_ONUS is not set +# CPTCFG_CFG80211_DEFAULT_PS is not set +# CPTCFG_CFG80211_DEBUGFS is not set +# CPTCFG_CFG80211_INTERNAL_REGDB is not set +# CPTCFG_CFG80211_WEXT is not set +# CPTCFG_LIB80211 is not set +CPTCFG_MAC80211=m +CPTCFG_MAC80211_HAS_RC=y +CPTCFG_MAC80211_RC_MINSTREL=y +CPTCFG_MAC80211_RC_MINSTREL_HT=y +# CPTCFG_MAC80211_RC_MINSTREL_VHT is not set +CPTCFG_MAC80211_RC_DEFAULT_MINSTREL=y +CPTCFG_MAC80211_RC_DEFAULT="minstrel_ht" +# CPTCFG_MAC80211_MESH is not set +# CPTCFG_MAC80211_LEDS is not set +# CPTCFG_MAC80211_DEBUGFS is not set +# CPTCFG_MAC80211_MESSAGE_TRACING is not set +# CPTCFG_MAC80211_DEBUG_MENU is not set +CPTCFG_MAC80211_STA_HASH_MAX_SIZE=0 +# CPTCFG_BT is not set +CPTCFG_WLAN=y +# CPTCFG_LIBERTAS_THINFIRM is not set +# CPTCFG_AIRO is not set +# CPTCFG_ATMEL is not set +# CPTCFG_AT76C50X_USB is not set +# CPTCFG_AIRO_CS is not set +# CPTCFG_USB_ZD1201 is not set +# CPTCFG_USB_NET_RNDIS_WLAN is not set +# CPTCFG_RTL8180 is not set +# CPTCFG_RTL8187 is not set +# CPTCFG_ADM8211 is not set +# CPTCFG_MAC80211_HWSIM is not set +# CPTCFG_MWL8K is not set +# CPTCFG_ATH_CARDS is not set +# CPTCFG_B43 is not set +# CPTCFG_B43LEGACY is not set +# CPTCFG_BRCMSMAC is not set +# CPTCFG_BRCMFMAC is not set +# CPTCFG_IPW2100 is not set +# CPTCFG_IPW2200 is not set +# CPTCFG_IWLWIFI is not set +# CPTCFG_IWL4965 is not set +# CPTCFG_IWL3945 is not set +# CPTCFG_LIBERTAS is not set +# CPTCFG_HERMES is not set +# CPTCFG_P54_COMMON is not set +CPTCFG_RT2X00=m +# CPTCFG_RT2400PCI is not set +# CPTCFG_RT2500PCI is not set +# CPTCFG_RT61PCI is not set +# CPTCFG_RT2800PCI is not set +# CPTCFG_RT2500USB is not set +# CPTCFG_RT73USB is not set +CPTCFG_RT2800USB=m +CPTCFG_RT2800USB_RT33XX=y +# CPTCFG_RT2800USB_RT35XX is not set +# CPTCFG_RT2800USB_RT3573 is not set +# CPTCFG_RT2800USB_RT53XX is not set +# CPTCFG_RT2800USB_RT55XX is not set +# CPTCFG_RT2800USB_UNKNOWN is not set +CPTCFG_RT2800_LIB=m +CPTCFG_RT2X00_LIB_USB=m +CPTCFG_RT2X00_LIB=m +CPTCFG_RT2X00_LIB_FIRMWARE=y +CPTCFG_RT2X00_LIB_CRYPTO=y +CPTCFG_RT2X00_LIB_LEDS=y +# CPTCFG_RT2X00_DEBUG is not set +# CPTCFG_WL_MEDIATEK is not set +# CPTCFG_RTL_CARDS is not set +# CPTCFG_WL_TI is not set +# CPTCFG_ZD1211RW is not set +# CPTCFG_MWIFIEX is not set +# CPTCFG_CW1200 is not set +# CPTCFG_RSI_91X is not set +# CPTCFG_ETHERNET is not set +# CPTCFG_USB_NET_DRIVERS is not set +CPTCFG_SSB_POSSIBLE=y + +# +# Sonics Silicon Backplane +# +CPTCFG_SSB=m +CPTCFG_SSB_SPROM=y +CPTCFG_SSB_PCIHOST_POSSIBLE=y +CPTCFG_SSB_PCIHOST=y +# CPTCFG_SSB_B43_PCI_BRIDGE is not set +CPTCFG_SSB_PCMCIAHOST_POSSIBLE=y +# CPTCFG_SSB_PCMCIAHOST is not set +CPTCFG_SSB_SDIOHOST_POSSIBLE=y +CPTCFG_SSB_SDIOHOST=y +# CPTCFG_SSB_SILENT is not set +# CPTCFG_SSB_DEBUG is not set +CPTCFG_SSB_DRIVER_PCICORE_POSSIBLE=y +# CPTCFG_SSB_DRIVER_PCICORE is not set +# CPTCFG_SSB_DRIVER_GPIO is not set +CPTCFG_BCMA_POSSIBLE=y + +# +# Broadcom specific AMBA +# +CPTCFG_BCMA=m +CPTCFG_BCMA_HOST_PCI_POSSIBLE=y +CPTCFG_BCMA_HOST_PCI=y +# CPTCFG_BCMA_HOST_SOC is not set +CPTCFG_BCMA_DRIVER_PCI=y +# CPTCFG_BCMA_DRIVER_GMAC_CMN is not set +CPTCFG_BCMA_DRIVER_GPIO=y +# CPTCFG_BCMA_DEBUG is not set +# CPTCFG_NFC is not set +# CPTCFG_MEDIA_SUPPORT is not set +# CPTCFG_6LOWPAN is not set +# CPTCFG_IEEE802154 is not set + +# +# USB Device Class drivers +# +# CPTCFG_USB_WDM is not set +CPTCFG_64BIT=y +CPTCFG_X86_64=y +CPTCFG_X86=y +CPTCFG_INSTRUCTION_DECODER=y +CPTCFG_PERF_EVENTS_INTEL_UNCORE=y +CPTCFG_LOCKDEP_SUPPORT=y +CPTCFG_STACKTRACE_SUPPORT=y +CPTCFG_HAVE_LATENCYTOP_SUPPORT=y +CPTCFG_MMU=y +CPTCFG_NEED_DMA_MAP_STATE=y +CPTCFG_NEED_SG_DMA_LENGTH=y +CPTCFG_GENERIC_ISA_DMA=y +CPTCFG_GENERIC_BUG=y +CPTCFG_GENERIC_BUG_RELATIVE_POINTERS=y +CPTCFG_GENERIC_HWEIGHT=y +CPTCFG_ARCH_MAY_HAVE_PC_FDC=y +CPTCFG_RWSEM_XCHGADD_ALGORITHM=y +CPTCFG_GENERIC_CALIBRATE_DELAY=y +CPTCFG_ARCH_HAS_CPU_RELAX=y +CPTCFG_ARCH_HAS_CACHE_LINE_SIZE=y +CPTCFG_HAVE_SETUP_PER_CPU_AREA=y +CPTCFG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y +CPTCFG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y +CPTCFG_ARCH_HIBERNATION_POSSIBLE=y +CPTCFG_ARCH_SUSPEND_POSSIBLE=y +CPTCFG_ARCH_WANT_HUGE_PMD_SHARE=y +CPTCFG_ARCH_WANT_GENERAL_HUGETLB=y +CPTCFG_ZONE_DMA32=y +CPTCFG_AUDIT_ARCH=y +CPTCFG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y +CPTCFG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y +CPTCFG_HAVE_INTEL_TXT=y +CPTCFG_X86_64_SMP=y +CPTCFG_ARCH_SUPPORTS_UPROBES=y +CPTCFG_FIX_EARLYCON_MEM=y +CPTCFG_IRQ_WORK=y +CPTCFG_BUILDTIME_EXTABLE_SORT=y +CPTCFG_HAVE_KERNEL_GZIP=y +CPTCFG_HAVE_KERNEL_BZIP2=y +CPTCFG_HAVE_KERNEL_LZMA=y +CPTCFG_HAVE_KERNEL_XZ=y +CPTCFG_HAVE_KERNEL_LZO=y +CPTCFG_HAVE_KERNEL_LZ4=y +CPTCFG_KERNEL_GZIP=y +CPTCFG_SWAP=y +CPTCFG_SYSVIPC=y +CPTCFG_SYSVIPC_SYSCTL=y +CPTCFG_POSIX_MQUEUE=y +CPTCFG_POSIX_MQUEUE_SYSCTL=y +CPTCFG_CROSS_MEMORY_ATTACH=y +CPTCFG_FHANDLE=y +CPTCFG_USELIB=y +CPTCFG_AUDIT=y +CPTCFG_HAVE_ARCH_AUDITSYSCALL=y +CPTCFG_AUDITSYSCALL=y +CPTCFG_AUDIT_WATCH=y +CPTCFG_AUDIT_TREE=y +CPTCFG_GENERIC_IRQ_PROBE=y +CPTCFG_GENERIC_IRQ_SHOW=y +CPTCFG_GENERIC_PENDING_IRQ=y +CPTCFG_GENERIC_IRQ_CHIP=y +CPTCFG_IRQ_DOMAIN=y +CPTCFG_IRQ_DOMAIN_HIERARCHY=y +CPTCFG_GENERIC_MSI_IRQ=y +CPTCFG_GENERIC_MSI_IRQ_DOMAIN=y +CPTCFG_IRQ_FORCED_THREADING=y +CPTCFG_SPARSE_IRQ=y +CPTCFG_CLOCKSOURCE_WATCHDOG=y +CPTCFG_ARCH_CLOCKSOURCE_DATA=y +CPTCFG_CLOCKSOURCE_VALIDATE_LAST_CYCLE=y +CPTCFG_GENERIC_TIME_VSYSCALL=y +CPTCFG_GENERIC_CLOCKEVENTS=y +CPTCFG_GENERIC_CLOCKEVENTS_BROADCAST=y +CPTCFG_GENERIC_CLOCKEVENTS_MIN_ADJUST=y +CPTCFG_GENERIC_CMOS_UPDATE=y +CPTCFG_TICK_ONESHOT=y +CPTCFG_NO_HZ_COMMON=y +CPTCFG_NO_HZ_IDLE=y +CPTCFG_NO_HZ=y +CPTCFG_HIGH_RES_TIMERS=y +CPTCFG_TICK_CPU_ACCOUNTING=y +CPTCFG_BSD_PROCESS_ACCT=y +CPTCFG_BSD_PROCESS_ACCT_V3=y +CPTCFG_TASKSTATS=y +CPTCFG_TASK_DELAY_ACCT=y +CPTCFG_TASK_XACCT=y +CPTCFG_TASK_IO_ACCOUNTING=y +CPTCFG_TREE_RCU=y +CPTCFG_SRCU=y +CPTCFG_RCU_STALL_COMMON=y +CPTCFG_BUILD_BIN2C=y +CPTCFG_HAVE_UNSTABLE_SCHED_CLOCK=y +CPTCFG_ARCH_SUPPORTS_NUMA_BALANCING=y +CPTCFG_ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH=y +CPTCFG_ARCH_SUPPORTS_INT128=y +CPTCFG_NUMA_BALANCING=y +CPTCFG_NUMA_BALANCING_DEFAULT_ENABLED=y +CPTCFG_CGROUPS=y +CPTCFG_CGROUP_FREEZER=y +CPTCFG_CGROUP_PIDS=y +CPTCFG_CGROUP_DEVICE=y +CPTCFG_CPUSETS=y +CPTCFG_PROC_PID_CPUSET=y +CPTCFG_CGROUP_CPUACCT=y +CPTCFG_PAGE_COUNTER=y +CPTCFG_MEMCG=y +CPTCFG_MEMCG_SWAP=y +CPTCFG_MEMCG_KMEM=y +CPTCFG_CGROUP_HUGETLB=y +CPTCFG_CGROUP_PERF=y +CPTCFG_CGROUP_SCHED=y +CPTCFG_FAIR_GROUP_SCHED=y +CPTCFG_CFS_BANDWIDTH=y +CPTCFG_BLK_CGROUP=y +CPTCFG_CGROUP_WRITEBACK=y +CPTCFG_CHECKPOINT_RESTORE=y +CPTCFG_NAMESPACES=y +CPTCFG_UTS_NS=y +CPTCFG_IPC_NS=y +CPTCFG_USER_NS=y +CPTCFG_PID_NS=y +CPTCFG_NET_NS=y +CPTCFG_SCHED_AUTOGROUP=y +CPTCFG_RELAY=y +CPTCFG_BLK_DEV_INITRD=y +CPTCFG_RD_GZIP=y +CPTCFG_RD_BZIP2=y +CPTCFG_RD_LZMA=y +CPTCFG_RD_XZ=y +CPTCFG_RD_LZO=y +CPTCFG_RD_LZ4=y +CPTCFG_SYSCTL=y +CPTCFG_ANON_INODES=y +CPTCFG_HAVE_UID16=y +CPTCFG_SYSCTL_EXCEPTION_TRACE=y +CPTCFG_HAVE_PCSPKR_PLATFORM=y +CPTCFG_BPF=y +CPTCFG_UID16=y +CPTCFG_MULTIUSER=y +CPTCFG_SGETMASK_SYSCALL=y +CPTCFG_SYSFS_SYSCALL=y +CPTCFG_SYSCTL_SYSCALL=y +CPTCFG_KALLSYMS=y +CPTCFG_KALLSYMS_ALL=y +CPTCFG_PRINTK=y +CPTCFG_BUG=y +CPTCFG_ELF_CORE=y +CPTCFG_PCSPKR_PLATFORM=y +CPTCFG_BASE_FULL=y +CPTCFG_FUTEX=y +CPTCFG_EPOLL=y +CPTCFG_SIGNALFD=y +CPTCFG_TIMERFD=y +CPTCFG_EVENTFD=y +CPTCFG_BPF_SYSCALL=y +CPTCFG_SHMEM=y +CPTCFG_AIO=y +CPTCFG_ADVISE_SYSCALLS=y +CPTCFG_USERFAULTFD=y +CPTCFG_PCI_QUIRKS=y +CPTCFG_MEMBARRIER=y +CPTCFG_HAVE_PERF_EVENTS=y +CPTCFG_PERF_EVENTS=y +CPTCFG_VM_EVENT_COUNTERS=y +CPTCFG_SLUB_DEBUG=y +CPTCFG_SLUB=y +CPTCFG_SLUB_CPU_PARTIAL=y +CPTCFG_SYSTEM_DATA_VERIFICATION=y +CPTCFG_SYSTEM_BLACKLIST_KEYRING=y +CPTCFG_PROFILING=y +CPTCFG_TRACEPOINTS=y +CPTCFG_KEXEC_CORE=y +CPTCFG_OPROFILE=m +CPTCFG_HAVE_OPROFILE=y +CPTCFG_OPROFILE_NMI_TIMER=y +CPTCFG_KPROBES=y +CPTCFG_JUMP_LABEL=y +CPTCFG_OPTPROBES=y +CPTCFG_KPROBES_ON_FTRACE=y +CPTCFG_UPROBES=y +CPTCFG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y +CPTCFG_ARCH_USE_BUILTIN_BSWAP=y +CPTCFG_KRETPROBES=y +CPTCFG_USER_RETURN_NOTIFIER=y +CPTCFG_HAVE_IOREMAP_PROT=y +CPTCFG_HAVE_KPROBES=y +CPTCFG_HAVE_KRETPROBES=y +CPTCFG_HAVE_OPTPROBES=y +CPTCFG_HAVE_KPROBES_ON_FTRACE=y +CPTCFG_HAVE_ARCH_TRACEHOOK=y +CPTCFG_HAVE_DMA_ATTRS=y +CPTCFG_HAVE_DMA_CONTIGUOUS=y +CPTCFG_GENERIC_SMP_IDLE_THREAD=y +CPTCFG_ARCH_WANTS_DYNAMIC_TASK_STRUCT=y +CPTCFG_HAVE_REGS_AND_STACK_ACCESS_API=y +CPTCFG_HAVE_CLK=y +CPTCFG_HAVE_DMA_API_DEBUG=y +CPTCFG_HAVE_HW_BREAKPOINT=y +CPTCFG_HAVE_MIXED_BREAKPOINTS_REGS=y +CPTCFG_HAVE_USER_RETURN_NOTIFIER=y +CPTCFG_HAVE_PERF_EVENTS_NMI=y +CPTCFG_HAVE_PERF_REGS=y +CPTCFG_HAVE_PERF_USER_STACK_DUMP=y +CPTCFG_HAVE_ARCH_JUMP_LABEL=y +CPTCFG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y +CPTCFG_HAVE_ALIGNED_STRUCT_PAGE=y +CPTCFG_HAVE_CMPXCHG_LOCAL=y +CPTCFG_HAVE_CMPXCHG_DOUBLE=y +CPTCFG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=y +CPTCFG_ARCH_WANT_OLD_COMPAT_IPC=y +CPTCFG_HAVE_ARCH_SECCOMP_FILTER=y +CPTCFG_SECCOMP_FILTER=y +CPTCFG_HAVE_CC_STACKPROTECTOR=y +CPTCFG_CC_STACKPROTECTOR=y +CPTCFG_CC_STACKPROTECTOR_STRONG=y +CPTCFG_HAVE_CONTEXT_TRACKING=y +CPTCFG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y +CPTCFG_HAVE_IRQ_TIME_ACCOUNTING=y +CPTCFG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y +CPTCFG_HAVE_ARCH_HUGE_VMAP=y +CPTCFG_HAVE_ARCH_SOFT_DIRTY=y +CPTCFG_MODULES_USE_ELF_RELA=y +CPTCFG_HAVE_IRQ_EXIT_ON_IRQ_STACK=y +CPTCFG_ARCH_HAS_ELF_RANDOMIZE=y +CPTCFG_HAVE_COPY_THREAD_TLS=y +CPTCFG_OLD_SIGSUSPEND3=y +CPTCFG_COMPAT_OLD_SIGACTION=y +CPTCFG_ARCH_HAS_GCOV_PROFILE_ALL=y +CPTCFG_SLABINFO=y +CPTCFG_RT_MUTEXES=y +CPTCFG_MODULES=y +CPTCFG_MODULE_UNLOAD=y +CPTCFG_MODVERSIONS=y +CPTCFG_MODULE_SRCVERSION_ALL=y +CPTCFG_MODULE_SIG=y +CPTCFG_MODULE_SIG_ALL=y +CPTCFG_MODULE_SIG_UEFI=y +CPTCFG_MODULE_SIG_SHA512=y +CPTCFG_MODULES_TREE_LOOKUP=y +CPTCFG_BLOCK=y +CPTCFG_BLK_DEV_BSG=y +CPTCFG_BLK_DEV_BSGLIB=y +CPTCFG_BLK_DEV_INTEGRITY=y +CPTCFG_BLK_DEV_THROTTLING=y +CPTCFG_BLK_CMDLINE_PARSER=y +CPTCFG_PARTITION_ADVANCED=y +CPTCFG_AIX_PARTITION=y +CPTCFG_OSF_PARTITION=y +CPTCFG_AMIGA_PARTITION=y +CPTCFG_ATARI_PARTITION=y +CPTCFG_MAC_PARTITION=y +CPTCFG_MSDOS_PARTITION=y +CPTCFG_BSD_DISKLABEL=y +CPTCFG_MINIX_SUBPARTITION=y +CPTCFG_SOLARIS_X86_PARTITION=y +CPTCFG_UNIXWARE_DISKLABEL=y +CPTCFG_LDM_PARTITION=y +CPTCFG_SGI_PARTITION=y +CPTCFG_ULTRIX_PARTITION=y +CPTCFG_SUN_PARTITION=y +CPTCFG_KARMA_PARTITION=y +CPTCFG_EFI_PARTITION=y +CPTCFG_SYSV68_PARTITION=y +CPTCFG_CMDLINE_PARTITION=y +CPTCFG_BLOCK_COMPAT=y +CPTCFG_IOSCHED_NOOP=y +CPTCFG_IOSCHED_DEADLINE=y +CPTCFG_IOSCHED_CFQ=y +CPTCFG_CFQ_GROUP_IOSCHED=y +CPTCFG_DEFAULT_DEADLINE=y +CPTCFG_PREEMPT_NOTIFIERS=y +CPTCFG_PADATA=y +CPTCFG_ASN1=y +CPTCFG_INLINE_SPIN_UNLOCK_IRQ=y +CPTCFG_INLINE_READ_UNLOCK=y +CPTCFG_INLINE_READ_UNLOCK_IRQ=y +CPTCFG_INLINE_WRITE_UNLOCK=y +CPTCFG_INLINE_WRITE_UNLOCK_IRQ=y +CPTCFG_ARCH_SUPPORTS_ATOMIC_RMW=y +CPTCFG_MUTEX_SPIN_ON_OWNER=y +CPTCFG_RWSEM_SPIN_ON_OWNER=y +CPTCFG_LOCK_SPIN_ON_OWNER=y +CPTCFG_ARCH_USE_QUEUED_SPINLOCKS=y +CPTCFG_QUEUED_SPINLOCKS=y +CPTCFG_ARCH_USE_QUEUED_RWLOCKS=y +CPTCFG_QUEUED_RWLOCKS=y +CPTCFG_FREEZER=y +CPTCFG_ZONE_DMA=y +CPTCFG_SMP=y +CPTCFG_X86_FEATURE_NAMES=y +CPTCFG_X86_X2APIC=y +CPTCFG_X86_MPPARSE=y +CPTCFG_X86_EXTENDED_PLATFORM=y +CPTCFG_X86_NUMACHIP=y +CPTCFG_X86_INTEL_LPSS=y +CPTCFG_X86_AMD_PLATFORM_DEVICE=y +CPTCFG_IOSF_MBI=y +CPTCFG_IOSF_MBI_DEBUG=y +CPTCFG_X86_SUPPORTS_MEMORY_FAILURE=y +CPTCFG_SCHED_OMIT_FRAME_POINTER=y +CPTCFG_HYPERVISOR_GUEST=y +CPTCFG_PARAVIRT=y +CPTCFG_PARAVIRT_SPINLOCKS=y +CPTCFG_XEN=y +CPTCFG_XEN_DOM0=y +CPTCFG_XEN_PVHVM=y +CPTCFG_XEN_512GB=y +CPTCFG_XEN_SAVE_RESTORE=y +CPTCFG_XEN_PVH=y +CPTCFG_KVM_GUEST=y +CPTCFG_KVM_DEBUG_FS=y +CPTCFG_PARAVIRT_CLOCK=y +CPTCFG_NO_BOOTMEM=y +CPTCFG_GENERIC_CPU=y +CPTCFG_X86_TSC=y +CPTCFG_X86_CMPXCHG64=y +CPTCFG_X86_CMOV=y +CPTCFG_X86_DEBUGCTLMSR=y +CPTCFG_PROCESSOR_SELECT=y +CPTCFG_CPU_SUP_INTEL=y +CPTCFG_CPU_SUP_AMD=y +CPTCFG_CPU_SUP_CENTAUR=y +CPTCFG_HPET_TIMER=y +CPTCFG_HPET_EMULATE_RTC=y +CPTCFG_DMI=y +CPTCFG_GART_IOMMU=y +CPTCFG_CALGARY_IOMMU=y +CPTCFG_CALGARY_IOMMU_ENABLED_BY_DEFAULT=y +CPTCFG_SWIOTLB=y +CPTCFG_IOMMU_HELPER=y +CPTCFG_SCHED_SMT=y +CPTCFG_SCHED_MC=y +CPTCFG_PREEMPT_VOLUNTARY=y +CPTCFG_X86_LOCAL_APIC=y +CPTCFG_X86_IO_APIC=y +CPTCFG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y +CPTCFG_X86_MCE=y +CPTCFG_X86_MCE_INTEL=y +CPTCFG_X86_MCE_AMD=y +CPTCFG_X86_MCE_THRESHOLD=y +CPTCFG_X86_MCE_INJECT=m +CPTCFG_X86_THERMAL_VECTOR=y +CPTCFG_X86_16BIT=y +CPTCFG_X86_ESPFIX64=y +CPTCFG_X86_VSYSCALL_EMULATION=y +CPTCFG_I8K=m +CPTCFG_MICROCODE=y +CPTCFG_MICROCODE_INTEL=y +CPTCFG_MICROCODE_AMD=y +CPTCFG_MICROCODE_OLD_INTERFACE=y +CPTCFG_X86_MSR=m +CPTCFG_X86_CPUID=m +CPTCFG_ARCH_PHYS_ADDR_T_64BIT=y +CPTCFG_ARCH_DMA_ADDR_T_64BIT=y +CPTCFG_X86_DIRECT_GBPAGES=y +CPTCFG_NUMA=y +CPTCFG_AMD_NUMA=y +CPTCFG_X86_64_ACPI_NUMA=y +CPTCFG_NODES_SPAN_OTHER_NODES=y +CPTCFG_ARCH_SPARSEMEM_ENABLE=y +CPTCFG_ARCH_SPARSEMEM_DEFAULT=y +CPTCFG_ARCH_SELECT_MEMORY_MODEL=y +CPTCFG_ARCH_MEMORY_PROBE=y +CPTCFG_ARCH_PROC_KCORE_TEXT=y +CPTCFG_SELECT_MEMORY_MODEL=y +CPTCFG_SPARSEMEM_MANUAL=y +CPTCFG_SPARSEMEM=y +CPTCFG_NEED_MULTIPLE_NODES=y +CPTCFG_HAVE_MEMORY_PRESENT=y +CPTCFG_SPARSEMEM_EXTREME=y +CPTCFG_SPARSEMEM_VMEMMAP_ENABLE=y +CPTCFG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER=y +CPTCFG_SPARSEMEM_VMEMMAP=y +CPTCFG_HAVE_MEMBLOCK=y +CPTCFG_HAVE_MEMBLOCK_NODE_MAP=y +CPTCFG_ARCH_DISCARD_MEMBLOCK=y +CPTCFG_MEMORY_ISOLATION=y +CPTCFG_MOVABLE_NODE=y +CPTCFG_HAVE_BOOTMEM_INFO_NODE=y +CPTCFG_MEMORY_HOTPLUG=y +CPTCFG_MEMORY_HOTPLUG_SPARSE=y +CPTCFG_MEMORY_HOTREMOVE=y +CPTCFG_ARCH_ENABLE_SPLIT_PMD_PTLOCK=y +CPTCFG_MEMORY_BALLOON=y +CPTCFG_BALLOON_COMPACTION=y +CPTCFG_COMPACTION=y +CPTCFG_MIGRATION=y +CPTCFG_ARCH_ENABLE_HUGEPAGE_MIGRATION=y +CPTCFG_PHYS_ADDR_T_64BIT=y +CPTCFG_BOUNCE=y +CPTCFG_VIRT_TO_BUS=y +CPTCFG_MMU_NOTIFIER=y +CPTCFG_KSM=y +CPTCFG_ARCH_SUPPORTS_MEMORY_FAILURE=y +CPTCFG_MEMORY_FAILURE=y +CPTCFG_HWPOISON_INJECT=m +CPTCFG_TRANSPARENT_HUGEPAGE=y +CPTCFG_TRANSPARENT_HUGEPAGE_ALWAYS=y +CPTCFG_CLEANCACHE=y +CPTCFG_FRONTSWAP=y +CPTCFG_CMA=y +CPTCFG_MEM_SOFT_DIRTY=y +CPTCFG_ZSWAP=y +CPTCFG_ZPOOL=y +CPTCFG_ZBUD=y +CPTCFG_ZSMALLOC=y +CPTCFG_PGTABLE_MAPPING=y +CPTCFG_GENERIC_EARLY_IOREMAP=y +CPTCFG_ARCH_SUPPORTS_DEFERRED_STRUCT_PAGE_INIT=y +CPTCFG_IDLE_PAGE_TRACKING=y +CPTCFG_ZONE_DEVICE=y +CPTCFG_FRAME_VECTOR=y +CPTCFG_X86_PMEM_LEGACY_DEVICE=y +CPTCFG_X86_PMEM_LEGACY=y +CPTCFG_X86_CHECK_BIOS_CORRUPTION=y +CPTCFG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=y +CPTCFG_MTRR=y +CPTCFG_MTRR_SANITIZER=y +CPTCFG_X86_PAT=y +CPTCFG_ARCH_USES_PG_UNCACHED=y +CPTCFG_ARCH_RANDOM=y +CPTCFG_X86_SMAP=y +CPTCFG_X86_INTEL_MPX=y +CPTCFG_EFI=y +CPTCFG_EFI_STUB=y +CPTCFG_EFI_MIXED=y +CPTCFG_EFI_SECURE_BOOT_SIG_ENFORCE=y +CPTCFG_SECCOMP=y +CPTCFG_HZ_250=y +CPTCFG_SCHED_HRTICK=y +CPTCFG_KEXEC=y +CPTCFG_KEXEC_FILE=y +CPTCFG_KEXEC_VERIFY_SIG=y +CPTCFG_KEXEC_BZIMAGE_VERIFY_SIG=y +CPTCFG_CRASH_DUMP=y +CPTCFG_KEXEC_JUMP=y +CPTCFG_RELOCATABLE=y +CPTCFG_RANDOMIZE_BASE=y +CPTCFG_X86_NEED_RELOCS=y +CPTCFG_HOTPLUG_CPU=y +CPTCFG_LEGACY_VSYSCALL_EMULATE=y +CPTCFG_MODIFY_LDT_SYSCALL=y +CPTCFG_HAVE_LIVEPATCH=y +CPTCFG_LIVEPATCH=y +CPTCFG_ARCH_ENABLE_MEMORY_HOTPLUG=y +CPTCFG_ARCH_ENABLE_MEMORY_HOTREMOVE=y +CPTCFG_USE_PERCPU_NUMA_NODE_ID=y +CPTCFG_ARCH_HIBERNATION_HEADER=y +CPTCFG_SUSPEND=y +CPTCFG_SUSPEND_FREEZER=y +CPTCFG_HIBERNATE_CALLBACKS=y +CPTCFG_HIBERNATION=y +CPTCFG_PM_SLEEP=y +CPTCFG_PM_SLEEP_SMP=y +CPTCFG_PM_WAKELOCKS=y +CPTCFG_PM_WAKELOCKS_GC=y +CPTCFG_PM=y +CPTCFG_PM_DEBUG=y +CPTCFG_PM_ADVANCED_DEBUG=y +CPTCFG_PM_SLEEP_DEBUG=y +CPTCFG_PM_TRACE=y +CPTCFG_PM_TRACE_RTC=y +CPTCFG_PM_CLK=y +CPTCFG_WQ_POWER_EFFICIENT_DEFAULT=y +CPTCFG_ACPI=y +CPTCFG_ACPI_LEGACY_TABLES_LOOKUP=y +CPTCFG_ARCH_MIGHT_HAVE_ACPI_PDC=y +CPTCFG_ACPI_SYSTEM_POWER_STATES_SUPPORT=y +CPTCFG_ACPI_SLEEP=y +CPTCFG_ACPI_REV_OVERRIDE_POSSIBLE=y +CPTCFG_ACPI_EC_DEBUGFS=m +CPTCFG_ACPI_AC=y +CPTCFG_ACPI_BATTERY=y +CPTCFG_ACPI_BUTTON=y +CPTCFG_ACPI_VIDEO=m +CPTCFG_ACPI_FAN=y +CPTCFG_ACPI_DOCK=y +CPTCFG_ACPI_CPU_FREQ_PSS=y +CPTCFG_ACPI_PROCESSOR_IDLE=y +CPTCFG_ACPI_PROCESSOR=y +CPTCFG_ACPI_IPMI=m +CPTCFG_ACPI_HOTPLUG_CPU=y +CPTCFG_ACPI_PROCESSOR_AGGREGATOR=m +CPTCFG_ACPI_THERMAL=y +CPTCFG_ACPI_NUMA=y +CPTCFG_ACPI_PCI_SLOT=y +CPTCFG_X86_PM_TIMER=y +CPTCFG_ACPI_CONTAINER=y +CPTCFG_ACPI_HOTPLUG_MEMORY=y +CPTCFG_ACPI_HOTPLUG_IOAPIC=y +CPTCFG_ACPI_SBS=m +CPTCFG_ACPI_HED=y +CPTCFG_ACPI_BGRT=y +CPTCFG_ACPI_NFIT=m +CPTCFG_HAVE_ACPI_APEI=y +CPTCFG_HAVE_ACPI_APEI_NMI=y +CPTCFG_ACPI_APEI=y +CPTCFG_ACPI_APEI_GHES=y +CPTCFG_ACPI_APEI_PCIEAER=y +CPTCFG_ACPI_APEI_MEMORY_FAILURE=y +CPTCFG_ACPI_APEI_EINJ=m +CPTCFG_ACPI_EXTLOG=m +CPTCFG_SFI=y +CPTCFG_CPU_FREQ=y +CPTCFG_CPU_FREQ_GOV_COMMON=y +CPTCFG_CPU_FREQ_STAT=y +CPTCFG_CPU_FREQ_STAT_DETAILS=y +CPTCFG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y +CPTCFG_CPU_FREQ_GOV_PERFORMANCE=y +CPTCFG_CPU_FREQ_GOV_POWERSAVE=y +CPTCFG_CPU_FREQ_GOV_USERSPACE=y +CPTCFG_CPU_FREQ_GOV_ONDEMAND=y +CPTCFG_CPU_FREQ_GOV_CONSERVATIVE=y +CPTCFG_X86_INTEL_PSTATE=y +CPTCFG_X86_PCC_CPUFREQ=y +CPTCFG_X86_ACPI_CPUFREQ=y +CPTCFG_X86_ACPI_CPUFREQ_CPB=y +CPTCFG_X86_POWERNOW_K8=y +CPTCFG_X86_AMD_FREQ_SENSITIVITY=m +CPTCFG_X86_SPEEDSTEP_CENTRINO=y +CPTCFG_X86_P4_CLOCKMOD=m +CPTCFG_X86_SPEEDSTEP_LIB=m +CPTCFG_CPU_IDLE=y +CPTCFG_CPU_IDLE_GOV_LADDER=y +CPTCFG_CPU_IDLE_GOV_MENU=y +CPTCFG_INTEL_IDLE=y +CPTCFG_I7300_IDLE_IOAT_CHANNEL=y +CPTCFG_I7300_IDLE=m +CPTCFG_PCI=y +CPTCFG_PCI_DIRECT=y +CPTCFG_PCI_MMCONFIG=y +CPTCFG_PCI_XEN=y +CPTCFG_PCI_DOMAINS=y +CPTCFG_PCIEPORTBUS=y +CPTCFG_HOTPLUG_PCI_PCIE=y +CPTCFG_PCIEAER=y +CPTCFG_PCIEASPM=y +CPTCFG_PCIEASPM_DEBUG=y +CPTCFG_PCIEASPM_DEFAULT=y +CPTCFG_PCIE_PME=y +CPTCFG_PCI_BUS_ADDR_T_64BIT=y +CPTCFG_PCI_MSI=y +CPTCFG_PCI_MSI_IRQ_DOMAIN=y +CPTCFG_PCI_REALLOC_ENABLE_AUTO=y +CPTCFG_PCI_STUB=m +CPTCFG_XEN_PCIDEV_FRONTEND=m +CPTCFG_HT_IRQ=y +CPTCFG_PCI_ATS=y +CPTCFG_PCI_IOV=y +CPTCFG_PCI_PRI=y +CPTCFG_PCI_PASID=y +CPTCFG_PCI_LABEL=y +CPTCFG_PCI_HYPERV=m +CPTCFG_ISA_DMA_API=y +CPTCFG_AMD_NB=y +CPTCFG_PCCARD=m +CPTCFG_PCMCIA=m +CPTCFG_PCMCIA_LOAD_CIS=y +CPTCFG_CARDBUS=y +CPTCFG_YENTA=m +CPTCFG_YENTA_O2=y +CPTCFG_YENTA_RICOH=y +CPTCFG_YENTA_TI=y +CPTCFG_YENTA_ENE_TUNE=y +CPTCFG_YENTA_TOSHIBA=y +CPTCFG_PD6729=m +CPTCFG_I82092=m +CPTCFG_PCCARD_NONSTATIC=y +CPTCFG_HOTPLUG_PCI=y +CPTCFG_HOTPLUG_PCI_ACPI=y +CPTCFG_HOTPLUG_PCI_ACPI_IBM=m +CPTCFG_HOTPLUG_PCI_CPCI=y +CPTCFG_HOTPLUG_PCI_CPCI_ZT5550=m +CPTCFG_HOTPLUG_PCI_CPCI_GENERIC=m +CPTCFG_HOTPLUG_PCI_SHPC=m +CPTCFG_RAPIDIO=y +CPTCFG_RAPIDIO_TSI721=m +CPTCFG_RAPIDIO_DMA_ENGINE=y +CPTCFG_RAPIDIO_ENUM_BASIC=m +CPTCFG_RAPIDIO_TSI57X=m +CPTCFG_RAPIDIO_CPS_XX=m +CPTCFG_RAPIDIO_TSI568=m +CPTCFG_RAPIDIO_CPS_GEN2=m +CPTCFG_BINFMT_ELF=y +CPTCFG_COMPAT_BINFMT_ELF=y +CPTCFG_CORE_DUMP_DEFAULT_ELF_HEADERS=y +CPTCFG_BINFMT_SCRIPT=y +CPTCFG_BINFMT_MISC=m +CPTCFG_COREDUMP=y +CPTCFG_IA32_EMULATION=y +CPTCFG_X86_X32=y +CPTCFG_COMPAT=y +CPTCFG_COMPAT_FOR_U64_ALIGNMENT=y +CPTCFG_SYSVIPC_COMPAT=y +CPTCFG_KEYS_COMPAT=y +CPTCFG_X86_DEV_DMA_OPS=y +CPTCFG_PMC_ATOM=y +CPTCFG_NET=y +CPTCFG_COMPAT_NETLINK_MESSAGES=y +CPTCFG_NET_INGRESS=y +CPTCFG_PACKET=y +CPTCFG_PACKET_DIAG=m +CPTCFG_UNIX=y +CPTCFG_UNIX_DIAG=m +CPTCFG_XFRM=y +CPTCFG_XFRM_ALGO=m +CPTCFG_XFRM_USER=m +CPTCFG_XFRM_STATISTICS=y +CPTCFG_XFRM_IPCOMP=m +CPTCFG_NET_KEY=m +CPTCFG_INET=y +CPTCFG_IP_MULTICAST=y +CPTCFG_IP_ADVANCED_ROUTER=y +CPTCFG_IP_FIB_TRIE_STATS=y +CPTCFG_IP_MULTIPLE_TABLES=y +CPTCFG_IP_ROUTE_MULTIPATH=y +CPTCFG_IP_ROUTE_VERBOSE=y +CPTCFG_IP_ROUTE_CLASSID=y +CPTCFG_NET_IPIP=m +CPTCFG_NET_IPGRE_DEMUX=m +CPTCFG_NET_IP_TUNNEL=m +CPTCFG_NET_IPGRE=m +CPTCFG_NET_IPGRE_BROADCAST=y +CPTCFG_IP_MROUTE=y +CPTCFG_IP_PIMSM_V1=y +CPTCFG_IP_PIMSM_V2=y +CPTCFG_SYN_COOKIES=y +CPTCFG_NET_IPVTI=m +CPTCFG_NET_UDP_TUNNEL=m +CPTCFG_NET_FOU=m +CPTCFG_NET_FOU_IP_TUNNELS=y +CPTCFG_INET_AH=m +CPTCFG_INET_ESP=m +CPTCFG_INET_IPCOMP=m +CPTCFG_INET_XFRM_TUNNEL=m +CPTCFG_INET_TUNNEL=m +CPTCFG_INET_XFRM_MODE_TRANSPORT=m +CPTCFG_INET_XFRM_MODE_TUNNEL=m +CPTCFG_INET_XFRM_MODE_BEET=m +CPTCFG_INET_LRO=y +CPTCFG_INET_DIAG=m +CPTCFG_INET_TCP_DIAG=m +CPTCFG_INET_UDP_DIAG=m +CPTCFG_TCP_CONG_ADVANCED=y +CPTCFG_TCP_CONG_BIC=m +CPTCFG_TCP_CONG_CUBIC=y +CPTCFG_TCP_CONG_WESTWOOD=m +CPTCFG_TCP_CONG_HTCP=m +CPTCFG_TCP_CONG_HSTCP=m +CPTCFG_TCP_CONG_HYBLA=m +CPTCFG_TCP_CONG_VEGAS=m +CPTCFG_TCP_CONG_SCALABLE=m +CPTCFG_TCP_CONG_LP=m +CPTCFG_TCP_CONG_VENO=m +CPTCFG_TCP_CONG_YEAH=m +CPTCFG_TCP_CONG_ILLINOIS=m +CPTCFG_TCP_CONG_DCTCP=m +CPTCFG_TCP_CONG_CDG=m +CPTCFG_DEFAULT_CUBIC=y +CPTCFG_TCP_MD5SIG=y +CPTCFG_IPV6=y +CPTCFG_IPV6_ROUTER_PREF=y +CPTCFG_IPV6_ROUTE_INFO=y +CPTCFG_INET6_AH=m +CPTCFG_INET6_ESP=m +CPTCFG_INET6_IPCOMP=m +CPTCFG_IPV6_MIP6=m +CPTCFG_IPV6_ILA=m +CPTCFG_INET6_XFRM_TUNNEL=m +CPTCFG_INET6_TUNNEL=m +CPTCFG_INET6_XFRM_MODE_TRANSPORT=m +CPTCFG_INET6_XFRM_MODE_TUNNEL=m +CPTCFG_INET6_XFRM_MODE_BEET=m +CPTCFG_INET6_XFRM_MODE_ROUTEOPTIMIZATION=m +CPTCFG_IPV6_VTI=m +CPTCFG_IPV6_SIT=m +CPTCFG_IPV6_SIT_6RD=y +CPTCFG_IPV6_NDISC_NODETYPE=y +CPTCFG_IPV6_TUNNEL=m +CPTCFG_IPV6_GRE=m +CPTCFG_IPV6_MULTIPLE_TABLES=y +CPTCFG_IPV6_SUBTREES=y +CPTCFG_IPV6_MROUTE=y +CPTCFG_IPV6_MROUTE_MULTIPLE_TABLES=y +CPTCFG_IPV6_PIMSM_V2=y +CPTCFG_NETLABEL=y +CPTCFG_NETWORK_SECMARK=y +CPTCFG_NET_PTP_CLASSIFY=y +CPTCFG_NETFILTER=y +CPTCFG_NETFILTER_ADVANCED=y +CPTCFG_BRIDGE_NETFILTER=m +CPTCFG_NETFILTER_INGRESS=y +CPTCFG_NETFILTER_NETLINK=m +CPTCFG_NETFILTER_NETLINK_ACCT=m +CPTCFG_NETFILTER_NETLINK_QUEUE=m +CPTCFG_NETFILTER_NETLINK_LOG=m +CPTCFG_NF_CONNTRACK=m +CPTCFG_NF_LOG_COMMON=m +CPTCFG_NF_CONNTRACK_MARK=y +CPTCFG_NF_CONNTRACK_SECMARK=y +CPTCFG_NF_CONNTRACK_ZONES=y +CPTCFG_NF_CONNTRACK_EVENTS=y +CPTCFG_NF_CONNTRACK_TIMEOUT=y +CPTCFG_NF_CONNTRACK_TIMESTAMP=y +CPTCFG_NF_CONNTRACK_LABELS=y +CPTCFG_NF_CT_PROTO_DCCP=m +CPTCFG_NF_CT_PROTO_GRE=m +CPTCFG_NF_CT_PROTO_SCTP=m +CPTCFG_NF_CT_PROTO_UDPLITE=m +CPTCFG_NF_CONNTRACK_AMANDA=m +CPTCFG_NF_CONNTRACK_FTP=m +CPTCFG_NF_CONNTRACK_H323=m +CPTCFG_NF_CONNTRACK_IRC=m +CPTCFG_NF_CONNTRACK_BROADCAST=m +CPTCFG_NF_CONNTRACK_NETBIOS_NS=m +CPTCFG_NF_CONNTRACK_SNMP=m +CPTCFG_NF_CONNTRACK_PPTP=m +CPTCFG_NF_CONNTRACK_SANE=m +CPTCFG_NF_CONNTRACK_SIP=m +CPTCFG_NF_CONNTRACK_TFTP=m +CPTCFG_NF_CT_NETLINK=m +CPTCFG_NF_CT_NETLINK_TIMEOUT=m +CPTCFG_NF_CT_NETLINK_HELPER=m +CPTCFG_NETFILTER_NETLINK_GLUE_CT=y +CPTCFG_NF_NAT=m +CPTCFG_NF_NAT_NEEDED=y +CPTCFG_NF_NAT_PROTO_DCCP=m +CPTCFG_NF_NAT_PROTO_UDPLITE=m +CPTCFG_NF_NAT_PROTO_SCTP=m +CPTCFG_NF_NAT_AMANDA=m +CPTCFG_NF_NAT_FTP=m +CPTCFG_NF_NAT_IRC=m +CPTCFG_NF_NAT_SIP=m +CPTCFG_NF_NAT_TFTP=m +CPTCFG_NF_NAT_REDIRECT=m +CPTCFG_NETFILTER_SYNPROXY=m +CPTCFG_NF_TABLES=m +CPTCFG_NF_TABLES_INET=m +CPTCFG_NF_TABLES_NETDEV=m +CPTCFG_NFT_EXTHDR=m +CPTCFG_NFT_META=m +CPTCFG_NFT_CT=m +CPTCFG_NFT_RBTREE=m +CPTCFG_NFT_HASH=m +CPTCFG_NFT_COUNTER=m +CPTCFG_NFT_LOG=m +CPTCFG_NFT_LIMIT=m +CPTCFG_NFT_MASQ=m +CPTCFG_NFT_REDIR=m +CPTCFG_NFT_NAT=m +CPTCFG_NFT_QUEUE=m +CPTCFG_NFT_REJECT=m +CPTCFG_NFT_REJECT_INET=m +CPTCFG_NFT_COMPAT=m +CPTCFG_NETFILTER_XTABLES=m +CPTCFG_NETFILTER_XT_MARK=m +CPTCFG_NETFILTER_XT_CONNMARK=m +CPTCFG_NETFILTER_XT_SET=m +CPTCFG_NETFILTER_XT_TARGET_AUDIT=m +CPTCFG_NETFILTER_XT_TARGET_CHECKSUM=m +CPTCFG_NETFILTER_XT_TARGET_CLASSIFY=m +CPTCFG_NETFILTER_XT_TARGET_CONNMARK=m +CPTCFG_NETFILTER_XT_TARGET_CONNSECMARK=m +CPTCFG_NETFILTER_XT_TARGET_CT=m +CPTCFG_NETFILTER_XT_TARGET_DSCP=m +CPTCFG_NETFILTER_XT_TARGET_HL=m +CPTCFG_NETFILTER_XT_TARGET_HMARK=m +CPTCFG_NETFILTER_XT_TARGET_IDLETIMER=m +CPTCFG_NETFILTER_XT_TARGET_LED=m +CPTCFG_NETFILTER_XT_TARGET_LOG=m +CPTCFG_NETFILTER_XT_TARGET_MARK=m +CPTCFG_NETFILTER_XT_NAT=m +CPTCFG_NETFILTER_XT_TARGET_NETMAP=m +CPTCFG_NETFILTER_XT_TARGET_NFLOG=m +CPTCFG_NETFILTER_XT_TARGET_NFQUEUE=m +CPTCFG_NETFILTER_XT_TARGET_RATEEST=m +CPTCFG_NETFILTER_XT_TARGET_REDIRECT=m +CPTCFG_NETFILTER_XT_TARGET_TEE=m +CPTCFG_NETFILTER_XT_TARGET_TPROXY=m +CPTCFG_NETFILTER_XT_TARGET_TRACE=m +CPTCFG_NETFILTER_XT_TARGET_SECMARK=m +CPTCFG_NETFILTER_XT_TARGET_TCPMSS=m +CPTCFG_NETFILTER_XT_TARGET_TCPOPTSTRIP=m +CPTCFG_NETFILTER_XT_MATCH_ADDRTYPE=m +CPTCFG_NETFILTER_XT_MATCH_BPF=m +CPTCFG_NETFILTER_XT_MATCH_CGROUP=m +CPTCFG_NETFILTER_XT_MATCH_CLUSTER=m +CPTCFG_NETFILTER_XT_MATCH_COMMENT=m +CPTCFG_NETFILTER_XT_MATCH_CONNBYTES=m +CPTCFG_NETFILTER_XT_MATCH_CONNLABEL=m +CPTCFG_NETFILTER_XT_MATCH_CONNLIMIT=m +CPTCFG_NETFILTER_XT_MATCH_CONNMARK=m +CPTCFG_NETFILTER_XT_MATCH_CONNTRACK=m +CPTCFG_NETFILTER_XT_MATCH_CPU=m +CPTCFG_NETFILTER_XT_MATCH_DCCP=m +CPTCFG_NETFILTER_XT_MATCH_DEVGROUP=m +CPTCFG_NETFILTER_XT_MATCH_DSCP=m +CPTCFG_NETFILTER_XT_MATCH_ECN=m +CPTCFG_NETFILTER_XT_MATCH_ESP=m +CPTCFG_NETFILTER_XT_MATCH_HASHLIMIT=m +CPTCFG_NETFILTER_XT_MATCH_HELPER=m +CPTCFG_NETFILTER_XT_MATCH_HL=m +CPTCFG_NETFILTER_XT_MATCH_IPCOMP=m +CPTCFG_NETFILTER_XT_MATCH_IPRANGE=m +CPTCFG_NETFILTER_XT_MATCH_IPVS=m +CPTCFG_NETFILTER_XT_MATCH_L2TP=m +CPTCFG_NETFILTER_XT_MATCH_LENGTH=m +CPTCFG_NETFILTER_XT_MATCH_LIMIT=m +CPTCFG_NETFILTER_XT_MATCH_MAC=m +CPTCFG_NETFILTER_XT_MATCH_MARK=m +CPTCFG_NETFILTER_XT_MATCH_MULTIPORT=m +CPTCFG_NETFILTER_XT_MATCH_NFACCT=m +CPTCFG_NETFILTER_XT_MATCH_OSF=m +CPTCFG_NETFILTER_XT_MATCH_OWNER=m +CPTCFG_NETFILTER_XT_MATCH_POLICY=m +CPTCFG_NETFILTER_XT_MATCH_PHYSDEV=m +CPTCFG_NETFILTER_XT_MATCH_PKTTYPE=m +CPTCFG_NETFILTER_XT_MATCH_QUOTA=m +CPTCFG_NETFILTER_XT_MATCH_RATEEST=m +CPTCFG_NETFILTER_XT_MATCH_REALM=m +CPTCFG_NETFILTER_XT_MATCH_RECENT=m +CPTCFG_NETFILTER_XT_MATCH_SCTP=m +CPTCFG_NETFILTER_XT_MATCH_SOCKET=m +CPTCFG_NETFILTER_XT_MATCH_STATE=m +CPTCFG_NETFILTER_XT_MATCH_STATISTIC=m +CPTCFG_NETFILTER_XT_MATCH_STRING=m +CPTCFG_NETFILTER_XT_MATCH_TCPMSS=m +CPTCFG_NETFILTER_XT_MATCH_TIME=m +CPTCFG_NETFILTER_XT_MATCH_U32=m +CPTCFG_IP_SET=m +CPTCFG_IP_SET_BITMAP_IP=m +CPTCFG_IP_SET_BITMAP_IPMAC=m +CPTCFG_IP_SET_BITMAP_PORT=m +CPTCFG_IP_SET_HASH_IP=m +CPTCFG_IP_SET_HASH_IPMARK=m +CPTCFG_IP_SET_HASH_IPPORT=m +CPTCFG_IP_SET_HASH_IPPORTIP=m +CPTCFG_IP_SET_HASH_IPPORTNET=m +CPTCFG_IP_SET_HASH_MAC=m +CPTCFG_IP_SET_HASH_NETPORTNET=m +CPTCFG_IP_SET_HASH_NET=m +CPTCFG_IP_SET_HASH_NETNET=m +CPTCFG_IP_SET_HASH_NETPORT=m +CPTCFG_IP_SET_HASH_NETIFACE=m +CPTCFG_IP_SET_LIST_SET=m +CPTCFG_IP_VS=m +CPTCFG_IP_VS_IPV6=y +CPTCFG_IP_VS_PROTO_TCP=y +CPTCFG_IP_VS_PROTO_UDP=y +CPTCFG_IP_VS_PROTO_AH_ESP=y +CPTCFG_IP_VS_PROTO_ESP=y +CPTCFG_IP_VS_PROTO_AH=y +CPTCFG_IP_VS_PROTO_SCTP=y +CPTCFG_IP_VS_RR=m +CPTCFG_IP_VS_WRR=m +CPTCFG_IP_VS_LC=m +CPTCFG_IP_VS_WLC=m +CPTCFG_IP_VS_FO=m +CPTCFG_IP_VS_OVF=m +CPTCFG_IP_VS_LBLC=m +CPTCFG_IP_VS_LBLCR=m +CPTCFG_IP_VS_DH=m +CPTCFG_IP_VS_SH=m +CPTCFG_IP_VS_SED=m +CPTCFG_IP_VS_NQ=m +CPTCFG_IP_VS_FTP=m +CPTCFG_IP_VS_NFCT=y +CPTCFG_IP_VS_PE_SIP=m +CPTCFG_NF_DEFRAG_IPV4=m +CPTCFG_NF_CONNTRACK_IPV4=m +CPTCFG_NF_TABLES_IPV4=m +CPTCFG_NFT_CHAIN_ROUTE_IPV4=m +CPTCFG_NFT_REJECT_IPV4=m +CPTCFG_NFT_DUP_IPV4=m +CPTCFG_NF_TABLES_ARP=m +CPTCFG_NF_DUP_IPV4=m +CPTCFG_NF_LOG_ARP=m +CPTCFG_NF_LOG_IPV4=m +CPTCFG_NF_REJECT_IPV4=m +CPTCFG_NF_NAT_IPV4=m +CPTCFG_NFT_CHAIN_NAT_IPV4=m +CPTCFG_NF_NAT_MASQUERADE_IPV4=m +CPTCFG_NFT_MASQ_IPV4=m +CPTCFG_NFT_REDIR_IPV4=m +CPTCFG_NF_NAT_SNMP_BASIC=m +CPTCFG_NF_NAT_PROTO_GRE=m +CPTCFG_NF_NAT_PPTP=m +CPTCFG_NF_NAT_H323=m +CPTCFG_IP_NF_IPTABLES=m +CPTCFG_IP_NF_MATCH_AH=m +CPTCFG_IP_NF_MATCH_ECN=m +CPTCFG_IP_NF_MATCH_RPFILTER=m +CPTCFG_IP_NF_MATCH_TTL=m +CPTCFG_IP_NF_FILTER=m +CPTCFG_IP_NF_TARGET_REJECT=m +CPTCFG_IP_NF_TARGET_SYNPROXY=m +CPTCFG_IP_NF_NAT=m +CPTCFG_IP_NF_TARGET_MASQUERADE=m +CPTCFG_IP_NF_TARGET_NETMAP=m +CPTCFG_IP_NF_TARGET_REDIRECT=m +CPTCFG_IP_NF_MANGLE=m +CPTCFG_IP_NF_TARGET_CLUSTERIP=m +CPTCFG_IP_NF_TARGET_ECN=m +CPTCFG_IP_NF_TARGET_TTL=m +CPTCFG_IP_NF_RAW=m +CPTCFG_IP_NF_SECURITY=m +CPTCFG_IP_NF_ARPTABLES=m +CPTCFG_IP_NF_ARPFILTER=m +CPTCFG_IP_NF_ARP_MANGLE=m +CPTCFG_NF_DEFRAG_IPV6=m +CPTCFG_NF_CONNTRACK_IPV6=m +CPTCFG_NF_TABLES_IPV6=m +CPTCFG_NFT_CHAIN_ROUTE_IPV6=m +CPTCFG_NFT_REJECT_IPV6=m +CPTCFG_NFT_DUP_IPV6=m +CPTCFG_NF_DUP_IPV6=m +CPTCFG_NF_REJECT_IPV6=m +CPTCFG_NF_LOG_IPV6=m +CPTCFG_NF_NAT_IPV6=m +CPTCFG_NFT_CHAIN_NAT_IPV6=m +CPTCFG_NF_NAT_MASQUERADE_IPV6=m +CPTCFG_NFT_MASQ_IPV6=m +CPTCFG_NFT_REDIR_IPV6=m +CPTCFG_IP6_NF_IPTABLES=m +CPTCFG_IP6_NF_MATCH_AH=m +CPTCFG_IP6_NF_MATCH_EUI64=m +CPTCFG_IP6_NF_MATCH_FRAG=m +CPTCFG_IP6_NF_MATCH_OPTS=m +CPTCFG_IP6_NF_MATCH_HL=m +CPTCFG_IP6_NF_MATCH_IPV6HEADER=m +CPTCFG_IP6_NF_MATCH_MH=m +CPTCFG_IP6_NF_MATCH_RPFILTER=m +CPTCFG_IP6_NF_MATCH_RT=m +CPTCFG_IP6_NF_TARGET_HL=m +CPTCFG_IP6_NF_FILTER=m +CPTCFG_IP6_NF_TARGET_REJECT=m +CPTCFG_IP6_NF_TARGET_SYNPROXY=m +CPTCFG_IP6_NF_MANGLE=m +CPTCFG_IP6_NF_RAW=m +CPTCFG_IP6_NF_SECURITY=m +CPTCFG_IP6_NF_NAT=m +CPTCFG_IP6_NF_TARGET_MASQUERADE=m +CPTCFG_IP6_NF_TARGET_NPT=m +CPTCFG_DECNET_NF_GRABULATOR=m +CPTCFG_NF_TABLES_BRIDGE=m +CPTCFG_NFT_BRIDGE_META=m +CPTCFG_NFT_BRIDGE_REJECT=m +CPTCFG_NF_LOG_BRIDGE=m +CPTCFG_BRIDGE_NF_EBTABLES=m +CPTCFG_BRIDGE_EBT_BROUTE=m +CPTCFG_BRIDGE_EBT_T_FILTER=m +CPTCFG_BRIDGE_EBT_T_NAT=m +CPTCFG_BRIDGE_EBT_802_3=m +CPTCFG_BRIDGE_EBT_AMONG=m +CPTCFG_BRIDGE_EBT_ARP=m +CPTCFG_BRIDGE_EBT_IP=m +CPTCFG_BRIDGE_EBT_IP6=m +CPTCFG_BRIDGE_EBT_LIMIT=m +CPTCFG_BRIDGE_EBT_MARK=m +CPTCFG_BRIDGE_EBT_PKTTYPE=m +CPTCFG_BRIDGE_EBT_STP=m +CPTCFG_BRIDGE_EBT_VLAN=m +CPTCFG_BRIDGE_EBT_ARPREPLY=m +CPTCFG_BRIDGE_EBT_DNAT=m +CPTCFG_BRIDGE_EBT_MARK_T=m +CPTCFG_BRIDGE_EBT_REDIRECT=m +CPTCFG_BRIDGE_EBT_SNAT=m +CPTCFG_BRIDGE_EBT_LOG=m +CPTCFG_BRIDGE_EBT_NFLOG=m +CPTCFG_IP_DCCP=m +CPTCFG_INET_DCCP_DIAG=m +CPTCFG_NET_DCCPPROBE=m +CPTCFG_IP_SCTP=m +CPTCFG_NET_SCTPPROBE=m +CPTCFG_SCTP_DEFAULT_COOKIE_HMAC_SHA1=y +CPTCFG_SCTP_COOKIE_HMAC_MD5=y +CPTCFG_SCTP_COOKIE_HMAC_SHA1=y +CPTCFG_RDS=m +CPTCFG_RDS_RDMA=m +CPTCFG_RDS_TCP=m +CPTCFG_TIPC=m +CPTCFG_TIPC_MEDIA_IB=y +CPTCFG_TIPC_MEDIA_UDP=y +CPTCFG_ATM=m +CPTCFG_ATM_CLIP=m +CPTCFG_ATM_LANE=m +CPTCFG_ATM_MPOA=m +CPTCFG_ATM_BR2684=m +CPTCFG_L2TP=m +CPTCFG_L2TP_DEBUGFS=m +CPTCFG_L2TP_V3=y +CPTCFG_L2TP_IP=m +CPTCFG_L2TP_ETH=m +CPTCFG_STP=m +CPTCFG_GARP=m +CPTCFG_MRP=m +CPTCFG_BRIDGE=m +CPTCFG_BRIDGE_IGMP_SNOOPING=y +CPTCFG_BRIDGE_VLAN_FILTERING=y +CPTCFG_HAVE_NET_DSA=y +CPTCFG_VLAN_8021Q=m +CPTCFG_VLAN_8021Q_GVRP=y +CPTCFG_VLAN_8021Q_MVRP=y +CPTCFG_DECNET=m +CPTCFG_LLC=m +CPTCFG_LLC2=m +CPTCFG_IPX=m +CPTCFG_ATALK=m +CPTCFG_DEV_APPLETALK=m +CPTCFG_IPDDP=m +CPTCFG_IPDDP_ENCAP=y +CPTCFG_X25=m +CPTCFG_LAPB=m +CPTCFG_PHONET=m +CPTCFG_IEEE802154_NL802154_EXPERIMENTAL=y +CPTCFG_NET_SCHED=y +CPTCFG_NET_SCH_CBQ=m +CPTCFG_NET_SCH_HTB=m +CPTCFG_NET_SCH_HFSC=m +CPTCFG_NET_SCH_ATM=m +CPTCFG_NET_SCH_PRIO=m +CPTCFG_NET_SCH_MULTIQ=m +CPTCFG_NET_SCH_RED=m +CPTCFG_NET_SCH_SFB=m +CPTCFG_NET_SCH_SFQ=m +CPTCFG_NET_SCH_TEQL=m +CPTCFG_NET_SCH_TBF=m +CPTCFG_NET_SCH_GRED=m +CPTCFG_NET_SCH_DSMARK=m +CPTCFG_NET_SCH_NETEM=m +CPTCFG_NET_SCH_DRR=m +CPTCFG_NET_SCH_MQPRIO=m +CPTCFG_NET_SCH_CHOKE=m +CPTCFG_NET_SCH_QFQ=m +CPTCFG_NET_SCH_CODEL=m +CPTCFG_NET_SCH_FQ_CODEL=m +CPTCFG_NET_SCH_FQ=m +CPTCFG_NET_SCH_HHF=m +CPTCFG_NET_SCH_PIE=m +CPTCFG_NET_SCH_INGRESS=m +CPTCFG_NET_SCH_PLUG=m +CPTCFG_NET_CLS=y +CPTCFG_NET_CLS_BASIC=m +CPTCFG_NET_CLS_TCINDEX=m +CPTCFG_NET_CLS_ROUTE4=m +CPTCFG_NET_CLS_FW=m +CPTCFG_NET_CLS_U32=m +CPTCFG_CLS_U32_MARK=y +CPTCFG_NET_CLS_RSVP=m +CPTCFG_NET_CLS_RSVP6=m +CPTCFG_NET_CLS_FLOW=m +CPTCFG_NET_CLS_CGROUP=m +CPTCFG_NET_CLS_BPF=m +CPTCFG_NET_CLS_FLOWER=m +CPTCFG_NET_CLS_MATCHALL=m +CPTCFG_NET_EMATCH=y +CPTCFG_NET_EMATCH_CMP=m +CPTCFG_NET_EMATCH_NBYTE=m +CPTCFG_NET_EMATCH_U32=m +CPTCFG_NET_EMATCH_META=m +CPTCFG_NET_EMATCH_TEXT=m +CPTCFG_NET_EMATCH_CANID=m +CPTCFG_NET_EMATCH_IPSET=m +CPTCFG_NET_CLS_ACT=y +CPTCFG_NET_ACT_POLICE=m +CPTCFG_NET_ACT_GACT=m +CPTCFG_GACT_PROB=y +CPTCFG_NET_ACT_MIRRED=m +CPTCFG_NET_ACT_IPT=m +CPTCFG_NET_ACT_NAT=m +CPTCFG_NET_ACT_PEDIT=m +CPTCFG_NET_ACT_SIMP=m +CPTCFG_NET_ACT_SKBEDIT=m +CPTCFG_NET_ACT_CSUM=m +CPTCFG_NET_ACT_VLAN=m +CPTCFG_NET_ACT_BPF=m +CPTCFG_NET_ACT_CONNMARK=m +CPTCFG_NET_SCH_FIFO=y +CPTCFG_DCB=y +CPTCFG_DNS_RESOLVER=y +CPTCFG_BATMAN_ADV=m +CPTCFG_BATMAN_ADV_BLA=y +CPTCFG_BATMAN_ADV_DAT=y +CPTCFG_BATMAN_ADV_NC=y +CPTCFG_BATMAN_ADV_MCAST=y +CPTCFG_OPENVSWITCH=m +CPTCFG_OPENVSWITCH_GRE=m +CPTCFG_OPENVSWITCH_VXLAN=m +CPTCFG_OPENVSWITCH_GENEVE=m +CPTCFG_VSOCKETS=m +CPTCFG_VMWARE_VMCI_VSOCKETS=m +CPTCFG_NETLINK_DIAG=m +CPTCFG_MPLS=y +CPTCFG_NET_MPLS_GSO=m +CPTCFG_MPLS_ROUTING=m +CPTCFG_MPLS_IPTUNNEL=m +CPTCFG_HSR=m +CPTCFG_NET_L3_MASTER_DEV=y +CPTCFG_RPS=y +CPTCFG_RFS_ACCEL=y +CPTCFG_XPS=y +CPTCFG_CGROUP_NET_PRIO=y +CPTCFG_CGROUP_NET_CLASSID=y +CPTCFG_NET_RX_BUSY_POLL=y +CPTCFG_BQL=y +CPTCFG_BPF_JIT=y +CPTCFG_NET_FLOW_LIMIT=y +CPTCFG_NET_PKTGEN=m +CPTCFG_NET_TCPPROBE=m +CPTCFG_NET_DROP_MONITOR=m +CPTCFG_HAMRADIO=y +CPTCFG_AX25=m +CPTCFG_AX25_DAMA_SLAVE=y +CPTCFG_NETROM=m +CPTCFG_ROSE=m +CPTCFG_MKISS=m +CPTCFG_6PACK=m +CPTCFG_BPQETHER=m +CPTCFG_BAYCOM_SER_FDX=m +CPTCFG_BAYCOM_SER_HDX=m +CPTCFG_BAYCOM_PAR=m +CPTCFG_YAM=m +CPTCFG_CAN=m +CPTCFG_CAN_RAW=m +CPTCFG_CAN_BCM=m +CPTCFG_CAN_GW=m +CPTCFG_CAN_VCAN=m +CPTCFG_CAN_SLCAN=m +CPTCFG_CAN_DEV=m +CPTCFG_CAN_CALC_BITTIMING=y +CPTCFG_CAN_LEDS=y +CPTCFG_CAN_JANZ_ICAN3=m +CPTCFG_CAN_SJA1000=m +CPTCFG_CAN_SJA1000_ISA=m +CPTCFG_CAN_SJA1000_PLATFORM=m +CPTCFG_CAN_EMS_PCMCIA=m +CPTCFG_CAN_EMS_PCI=m +CPTCFG_CAN_PEAK_PCMCIA=m +CPTCFG_CAN_PEAK_PCI=m +CPTCFG_CAN_PEAK_PCIEC=y +CPTCFG_CAN_KVASER_PCI=m +CPTCFG_CAN_PLX_PCI=m +CPTCFG_CAN_C_CAN=m +CPTCFG_CAN_C_CAN_PLATFORM=m +CPTCFG_CAN_C_CAN_PCI=m +CPTCFG_CAN_M_CAN=m +CPTCFG_CAN_CC770=m +CPTCFG_CAN_CC770_ISA=m +CPTCFG_CAN_CC770_PLATFORM=m +CPTCFG_CAN_MCP251X=m +CPTCFG_CAN_EMS_USB=m +CPTCFG_CAN_ESD_USB2=m +CPTCFG_CAN_GS_USB=m +CPTCFG_CAN_KVASER_USB=m +CPTCFG_CAN_PEAK_USB=m +CPTCFG_CAN_8DEV_USB=m +CPTCFG_CAN_SOFTING=m +CPTCFG_CAN_SOFTING_CS=m +CPTCFG_IRDA=m +CPTCFG_IRLAN=m +CPTCFG_IRNET=m +CPTCFG_IRCOMM=m +CPTCFG_IRDA_ULTRA=y +CPTCFG_IRDA_CACHE_LAST_LSAP=y +CPTCFG_IRDA_FAST_RR=y +CPTCFG_IRTTY_SIR=m +CPTCFG_DONGLE=y +CPTCFG_ESI_DONGLE=m +CPTCFG_ACTISYS_DONGLE=m +CPTCFG_TEKRAM_DONGLE=m +CPTCFG_TOIM3232_DONGLE=m +CPTCFG_LITELINK_DONGLE=m +CPTCFG_MA600_DONGLE=m +CPTCFG_GIRBIL_DONGLE=m +CPTCFG_MCP2120_DONGLE=m +CPTCFG_OLD_BELKIN_DONGLE=m +CPTCFG_ACT200L_DONGLE=m +CPTCFG_KINGSUN_DONGLE=m +CPTCFG_KSDAZZLE_DONGLE=m +CPTCFG_KS959_DONGLE=m +CPTCFG_USB_IRDA=m +CPTCFG_SIGMATEL_FIR=m +CPTCFG_NSC_FIR=m +CPTCFG_WINBOND_FIR=m +CPTCFG_SMC_IRCC_FIR=m +CPTCFG_ALI_FIR=m +CPTCFG_VLSI_FIR=m +CPTCFG_VIA_FIR=m +CPTCFG_MCS_FIR=m +CPTCFG_BT_HS=y +CPTCFG_BT_QCA=m +CPTCFG_BT_HCIUART_QCA=y +CPTCFG_AF_RXRPC=m +CPTCFG_RXKAD=m +CPTCFG_FIB_RULES=y +CPTCFG_WIRELESS_EXT=y +CPTCFG_WEXT_CORE=y +CPTCFG_WEXT_PROC=y +CPTCFG_WEXT_SPY=y +CPTCFG_WEXT_PRIV=y +CPTCFG_CFG80211_CRDA_SUPPORT=y +CPTCFG_WIMAX=m +CPTCFG_RFKILL=y +CPTCFG_RFKILL_LEDS=y +CPTCFG_RFKILL_INPUT=y +CPTCFG_RFKILL_REGULATOR=m +CPTCFG_RFKILL_GPIO=m +CPTCFG_NET_9P=m +CPTCFG_NET_9P_VIRTIO=m +CPTCFG_NET_9P_RDMA=m +CPTCFG_CAIF=m +CPTCFG_CAIF_NETDEV=m +CPTCFG_CAIF_USB=m +CPTCFG_CEPH_LIB=m +CPTCFG_CEPH_LIB_USE_DNS_RESOLVER=y +CPTCFG_NFC_FDP=m +CPTCFG_NFC_FDP_I2C=m +CPTCFG_NFC_MRVL_I2C=m +CPTCFG_NFC_MRVL_SPI=m +CPTCFG_NFC_ST_NCI_SPI=m +CPTCFG_NFC_S3FWRN5=m +CPTCFG_NFC_S3FWRN5_I2C=m +CPTCFG_LWTUNNEL=y +CPTCFG_HAVE_BPF_JIT=y +CPTCFG_UEVENT_HELPER=y +CPTCFG_DEVTMPFS=y +CPTCFG_DEVTMPFS_MOUNT=y +CPTCFG_PREVENT_FIRMWARE_BUILD=y +CPTCFG_FW_LOADER=y +CPTCFG_FIRMWARE_IN_KERNEL=y +CPTCFG_FW_LOADER_USER_HELPER=y +CPTCFG_WANT_DEV_COREDUMP=y +CPTCFG_ALLOW_DEV_COREDUMP=y +CPTCFG_DEV_COREDUMP=y +CPTCFG_SYS_HYPERVISOR=y +CPTCFG_GENERIC_CPU_AUTOPROBE=y +CPTCFG_REGMAP=y +CPTCFG_REGMAP_I2C=y +CPTCFG_REGMAP_SPI=y +CPTCFG_REGMAP_SPMI=m +CPTCFG_REGMAP_MMIO=y +CPTCFG_REGMAP_IRQ=y +CPTCFG_DMA_SHARED_BUFFER=y +CPTCFG_CONNECTOR=y +CPTCFG_PROC_EVENTS=y +CPTCFG_MTD=m +CPTCFG_MTD_REDBOOT_PARTS=m +CPTCFG_MTD_CMDLINE_PARTS=m +CPTCFG_MTD_AR7_PARTS=m +CPTCFG_MTD_BLKDEVS=m +CPTCFG_MTD_BLOCK=m +CPTCFG_MTD_BLOCK_RO=m +CPTCFG_FTL=m +CPTCFG_NFTL=m +CPTCFG_NFTL_RW=y +CPTCFG_INFTL=m +CPTCFG_RFD_FTL=m +CPTCFG_SSFDC=m +CPTCFG_SM_FTL=m +CPTCFG_MTD_OOPS=m +CPTCFG_MTD_SWAP=m +CPTCFG_MTD_CFI=m +CPTCFG_MTD_JEDECPROBE=m +CPTCFG_MTD_GEN_PROBE=m +CPTCFG_MTD_MAP_BANK_WIDTH_1=y +CPTCFG_MTD_MAP_BANK_WIDTH_2=y +CPTCFG_MTD_MAP_BANK_WIDTH_4=y +CPTCFG_MTD_CFI_I1=y +CPTCFG_MTD_CFI_I2=y +CPTCFG_MTD_CFI_INTELEXT=m +CPTCFG_MTD_CFI_AMDSTD=m +CPTCFG_MTD_CFI_STAA=m +CPTCFG_MTD_CFI_UTIL=m +CPTCFG_MTD_RAM=m +CPTCFG_MTD_ROM=m +CPTCFG_MTD_ABSENT=m +CPTCFG_MTD_COMPLEX_MAPPINGS=y +CPTCFG_MTD_PHYSMAP=m +CPTCFG_MTD_SBC_GXX=m +CPTCFG_MTD_AMD76XROM=m +CPTCFG_MTD_ICHXROM=m +CPTCFG_MTD_ESB2ROM=m +CPTCFG_MTD_CK804XROM=m +CPTCFG_MTD_SCB2_FLASH=m +CPTCFG_MTD_NETtel=m +CPTCFG_MTD_L440GX=m +CPTCFG_MTD_PCI=m +CPTCFG_MTD_PCMCIA=m +CPTCFG_MTD_GPIO_ADDR=m +CPTCFG_MTD_INTEL_VR_NOR=m +CPTCFG_MTD_PLATRAM=m +CPTCFG_MTD_LATCH_ADDR=m +CPTCFG_MTD_PMC551=m +CPTCFG_MTD_DATAFLASH=m +CPTCFG_MTD_DATAFLASH_OTP=y +CPTCFG_MTD_M25P80=m +CPTCFG_MTD_SST25L=m +CPTCFG_MTD_SLRAM=m +CPTCFG_MTD_PHRAM=m +CPTCFG_MTD_MTDRAM=m +CPTCFG_MTD_BLOCK2MTD=m +CPTCFG_MTD_DOCG3=m +CPTCFG_MTD_NAND_ECC=m +CPTCFG_MTD_NAND=m +CPTCFG_MTD_NAND_BCH=m +CPTCFG_MTD_NAND_ECC_BCH=y +CPTCFG_MTD_SM_COMMON=m +CPTCFG_MTD_NAND_DENALI=m +CPTCFG_MTD_NAND_DENALI_PCI=m +CPTCFG_MTD_NAND_DENALI_DT=m +CPTCFG_MTD_NAND_GPIO=m +CPTCFG_MTD_NAND_IDS=m +CPTCFG_MTD_NAND_RICOH=m +CPTCFG_MTD_NAND_DISKONCHIP=m +CPTCFG_MTD_NAND_DOCG4=m +CPTCFG_MTD_NAND_CAFE=m +CPTCFG_MTD_NAND_NANDSIM=m +CPTCFG_MTD_NAND_PLATFORM=m +CPTCFG_MTD_NAND_HISI504=m +CPTCFG_MTD_ONENAND=m +CPTCFG_MTD_ONENAND_VERIFY_WRITE=y +CPTCFG_MTD_ONENAND_GENERIC=m +CPTCFG_MTD_ONENAND_2X_PROGRAM=y +CPTCFG_MTD_LPDDR=m +CPTCFG_MTD_QINFO_PROBE=m +CPTCFG_MTD_SPI_NOR=m +CPTCFG_MTD_SPI_NOR_USE_4K_SECTORS=y +CPTCFG_MTD_UBI=m +CPTCFG_MTD_UBI_FASTMAP=y +CPTCFG_MTD_UBI_GLUEBI=m +CPTCFG_MTD_UBI_BLOCK=y +CPTCFG_ARCH_MIGHT_HAVE_PC_PARPORT=y +CPTCFG_PARPORT=m +CPTCFG_PARPORT_PC=m +CPTCFG_PARPORT_SERIAL=m +CPTCFG_PARPORT_PC_FIFO=y +CPTCFG_PARPORT_PC_PCMCIA=m +CPTCFG_PARPORT_AX88796=m +CPTCFG_PARPORT_1284=y +CPTCFG_PARPORT_NOT_PC=y +CPTCFG_PNP=y +CPTCFG_PNPACPI=y +CPTCFG_BLK_DEV=y +CPTCFG_BLK_DEV_NULL_BLK=m +CPTCFG_BLK_DEV_FD=m +CPTCFG_PARIDE=m +CPTCFG_PARIDE_PD=m +CPTCFG_PARIDE_PCD=m +CPTCFG_PARIDE_PF=m +CPTCFG_PARIDE_PT=m +CPTCFG_PARIDE_PG=m +CPTCFG_PARIDE_ATEN=m +CPTCFG_PARIDE_BPCK=m +CPTCFG_PARIDE_COMM=m +CPTCFG_PARIDE_DSTR=m +CPTCFG_PARIDE_FIT2=m +CPTCFG_PARIDE_FIT3=m +CPTCFG_PARIDE_EPAT=m +CPTCFG_PARIDE_EPATC8=y +CPTCFG_PARIDE_EPIA=m +CPTCFG_PARIDE_FRIQ=m +CPTCFG_PARIDE_FRPW=m +CPTCFG_PARIDE_KBIC=m +CPTCFG_PARIDE_KTTI=m +CPTCFG_PARIDE_ON20=m +CPTCFG_PARIDE_ON26=m +CPTCFG_BLK_DEV_PCIESSD_MTIP32XX=m +CPTCFG_ZRAM=m +CPTCFG_ZRAM_LZ4_COMPRESS=y +CPTCFG_BLK_CPQ_CISS_DA=m +CPTCFG_CISS_SCSI_TAPE=y +CPTCFG_BLK_DEV_DAC960=m +CPTCFG_BLK_DEV_UMEM=m +CPTCFG_BLK_DEV_LOOP=y +CPTCFG_BLK_DEV_CRYPTOLOOP=m +CPTCFG_BLK_DEV_DRBD=m +CPTCFG_BLK_DEV_NBD=m +CPTCFG_BLK_DEV_SKD=m +CPTCFG_BLK_DEV_OSD=m +CPTCFG_BLK_DEV_SX8=m +CPTCFG_BLK_DEV_RAM=m +CPTCFG_BLK_DEV_RAM_DAX=y +CPTCFG_CDROM_PKTCDVD=m +CPTCFG_ATA_OVER_ETH=m +CPTCFG_XEN_BLKDEV_FRONTEND=y +CPTCFG_XEN_BLKDEV_BACKEND=m +CPTCFG_VIRTIO_BLK=y +CPTCFG_BLK_DEV_RBD=m +CPTCFG_BLK_DEV_RSXX=m +CPTCFG_BLK_DEV_NVME=m +CPTCFG_BLK_DEV_NVME_SCSI=y +CPTCFG_NVME_VENDOR_EXT_GOOGLE=y +CPTCFG_SENSORS_LIS3LV02D=m +CPTCFG_AD525X_DPOT=m +CPTCFG_AD525X_DPOT_I2C=m +CPTCFG_AD525X_DPOT_SPI=m +CPTCFG_DUMMY_IRQ=m +CPTCFG_IBM_ASM=m +CPTCFG_PHANTOM=m +CPTCFG_SGI_IOC4=m +CPTCFG_TIFM_CORE=m +CPTCFG_TIFM_7XX1=m +CPTCFG_ICS932S401=m +CPTCFG_ENCLOSURE_SERVICES=m +CPTCFG_HP_ILO=m +CPTCFG_APDS9802ALS=m +CPTCFG_ISL29003=m +CPTCFG_ISL29020=m +CPTCFG_SENSORS_TSL2550=m +CPTCFG_SENSORS_BH1780=m +CPTCFG_SENSORS_BH1770=m +CPTCFG_SENSORS_APDS990X=m +CPTCFG_HMC6352=m +CPTCFG_DS1682=m +CPTCFG_TI_DAC7512=m +CPTCFG_VMWARE_BALLOON=m +CPTCFG_BMP085=m +CPTCFG_BMP085_I2C=m +CPTCFG_BMP085_SPI=m +CPTCFG_USB_SWITCH_FSA9480=m +CPTCFG_LATTICE_ECP3_CONFIG=m +CPTCFG_SRAM=y +CPTCFG_C2PORT=m +CPTCFG_C2PORT_DURAMAR_2150=m +CPTCFG_EEPROM_AT24=m +CPTCFG_EEPROM_AT25=m +CPTCFG_EEPROM_LEGACY=m +CPTCFG_EEPROM_MAX6875=m +CPTCFG_EEPROM_93CX6=m +CPTCFG_EEPROM_93XX46=m +CPTCFG_CB710_CORE=m +CPTCFG_CB710_DEBUG_ASSUMPTIONS=y +CPTCFG_TI_ST=m +CPTCFG_SENSORS_LIS3_I2C=m +CPTCFG_ALTERA_STAPL=m +CPTCFG_INTEL_MEI=m +CPTCFG_INTEL_MEI_ME=m +CPTCFG_INTEL_MEI_TXE=m +CPTCFG_VMWARE_VMCI=m +CPTCFG_INTEL_MIC_BUS=m +CPTCFG_SCIF_BUS=m +CPTCFG_INTEL_MIC_HOST=m +CPTCFG_INTEL_MIC_CARD=m +CPTCFG_SCIF=m +CPTCFG_MIC_COSM=m +CPTCFG_GENWQE=m +CPTCFG_ECHO=m +CPTCFG_HAVE_IDE=y +CPTCFG_SCSI_MOD=y +CPTCFG_RAID_ATTRS=m +CPTCFG_SCSI=y +CPTCFG_SCSI_DMA=y +CPTCFG_SCSI_NETLINK=y +CPTCFG_SCSI_PROC_FS=y +CPTCFG_BLK_DEV_SD=y +CPTCFG_CHR_DEV_ST=m +CPTCFG_CHR_DEV_OSST=m +CPTCFG_BLK_DEV_SR=y +CPTCFG_CHR_DEV_SG=y +CPTCFG_CHR_DEV_SCH=m +CPTCFG_SCSI_ENCLOSURE=m +CPTCFG_SCSI_CONSTANTS=y +CPTCFG_SCSI_LOGGING=y +CPTCFG_SCSI_SCAN_ASYNC=y +CPTCFG_SCSI_SPI_ATTRS=m +CPTCFG_SCSI_FC_ATTRS=m +CPTCFG_SCSI_ISCSI_ATTRS=m +CPTCFG_SCSI_SAS_ATTRS=m +CPTCFG_SCSI_SAS_LIBSAS=m +CPTCFG_SCSI_SAS_ATA=y +CPTCFG_SCSI_SAS_HOST_SMP=y +CPTCFG_SCSI_SRP_ATTRS=m +CPTCFG_SCSI_LOWLEVEL=y +CPTCFG_ISCSI_TCP=m +CPTCFG_ISCSI_BOOT_SYSFS=m +CPTCFG_SCSI_CXGB3_ISCSI=m +CPTCFG_SCSI_CXGB4_ISCSI=m +CPTCFG_SCSI_BNX2_ISCSI=m +CPTCFG_SCSI_BNX2X_FCOE=m +CPTCFG_BE2ISCSI=m +CPTCFG_BLK_DEV_3W_XXXX_RAID=m +CPTCFG_SCSI_HPSA=m +CPTCFG_SCSI_3W_9XXX=m +CPTCFG_SCSI_3W_SAS=m +CPTCFG_SCSI_ACARD=m +CPTCFG_SCSI_AACRAID=m +CPTCFG_SCSI_AIC7XXX=m +CPTCFG_AIC7XXX_REG_PRETTY_PRINT=y +CPTCFG_SCSI_AIC79XX=m +CPTCFG_AIC79XX_REG_PRETTY_PRINT=y +CPTCFG_SCSI_AIC94XX=m +CPTCFG_SCSI_MVSAS=m +CPTCFG_SCSI_MVUMI=m +CPTCFG_SCSI_DPT_I2O=m +CPTCFG_SCSI_ADVANSYS=m +CPTCFG_SCSI_ARCMSR=m +CPTCFG_SCSI_ESAS2R=m +CPTCFG_MEGARAID_NEWGEN=y +CPTCFG_MEGARAID_MM=m +CPTCFG_MEGARAID_MAILBOX=m +CPTCFG_MEGARAID_LEGACY=m +CPTCFG_MEGARAID_SAS=m +CPTCFG_SCSI_MPT3SAS=m +CPTCFG_SCSI_MPT2SAS=m +CPTCFG_SCSI_UFSHCD=m +CPTCFG_SCSI_UFSHCD_PCI=m +CPTCFG_SCSI_UFSHCD_PLATFORM=m +CPTCFG_SCSI_HPTIOP=m +CPTCFG_SCSI_BUSLOGIC=m +CPTCFG_SCSI_FLASHPOINT=y +CPTCFG_VMWARE_PVSCSI=m +CPTCFG_XEN_SCSI_FRONTEND=m +CPTCFG_HYPERV_STORAGE=m +CPTCFG_LIBFC=m +CPTCFG_LIBFCOE=m +CPTCFG_FCOE=m +CPTCFG_FCOE_FNIC=m +CPTCFG_SCSI_SNIC=m +CPTCFG_SCSI_DMX3191D=m +CPTCFG_SCSI_EATA=m +CPTCFG_SCSI_EATA_TAGGED_QUEUE=y +CPTCFG_SCSI_EATA_LINKED_COMMANDS=y +CPTCFG_SCSI_FUTURE_DOMAIN=m +CPTCFG_SCSI_GDTH=m +CPTCFG_SCSI_ISCI=m +CPTCFG_SCSI_IPS=m +CPTCFG_SCSI_INITIO=m +CPTCFG_SCSI_INIA100=m +CPTCFG_SCSI_PPA=m +CPTCFG_SCSI_IMM=m +CPTCFG_SCSI_STEX=m +CPTCFG_SCSI_SYM53C8XX_2=m +CPTCFG_SCSI_SYM53C8XX_MMIO=y +CPTCFG_SCSI_IPR=m +CPTCFG_SCSI_IPR_TRACE=y +CPTCFG_SCSI_IPR_DUMP=y +CPTCFG_SCSI_QLOGIC_1280=m +CPTCFG_SCSI_QLA_FC=m +CPTCFG_TCM_QLA2XXX=m +CPTCFG_SCSI_QLA_ISCSI=m +CPTCFG_SCSI_LPFC=m +CPTCFG_SCSI_DC395x=m +CPTCFG_SCSI_AM53C974=m +CPTCFG_SCSI_WD719X=m +CPTCFG_SCSI_DEBUG=m +CPTCFG_SCSI_PMCRAID=m +CPTCFG_SCSI_PM8001=m +CPTCFG_SCSI_BFA_FC=m +CPTCFG_SCSI_VIRTIO=m +CPTCFG_SCSI_CHELSIO_FCOE=m +CPTCFG_SCSI_LOWLEVEL_PCMCIA=y +CPTCFG_PCMCIA_AHA152X=m +CPTCFG_PCMCIA_FDOMAIN=m +CPTCFG_PCMCIA_QLOGIC=m +CPTCFG_PCMCIA_SYM53C500=m +CPTCFG_SCSI_DH=y +CPTCFG_SCSI_DH_RDAC=m +CPTCFG_SCSI_DH_HP_SW=m +CPTCFG_SCSI_DH_EMC=m +CPTCFG_SCSI_DH_ALUA=m +CPTCFG_SCSI_OSD_INITIATOR=m +CPTCFG_SCSI_OSD_ULD=m +CPTCFG_ATA=y +CPTCFG_ATA_VERBOSE_ERROR=y +CPTCFG_ATA_ACPI=y +CPTCFG_SATA_ZPODD=y +CPTCFG_SATA_PMP=y +CPTCFG_SATA_AHCI=m +CPTCFG_SATA_AHCI_PLATFORM=m +CPTCFG_SATA_INIC162X=m +CPTCFG_SATA_ACARD_AHCI=m +CPTCFG_SATA_SIL24=m +CPTCFG_ATA_SFF=y +CPTCFG_PDC_ADMA=m +CPTCFG_SATA_QSTOR=m +CPTCFG_SATA_SX4=m +CPTCFG_ATA_BMDMA=y +CPTCFG_ATA_PIIX=y +CPTCFG_SATA_MV=m +CPTCFG_SATA_NV=m +CPTCFG_SATA_PROMISE=m +CPTCFG_SATA_SIL=m +CPTCFG_SATA_SIS=m +CPTCFG_SATA_SVW=m +CPTCFG_SATA_ULI=m +CPTCFG_SATA_VIA=m +CPTCFG_SATA_VITESSE=m +CPTCFG_PATA_ALI=m +CPTCFG_PATA_AMD=m +CPTCFG_PATA_ARTOP=m +CPTCFG_PATA_ATIIXP=m +CPTCFG_PATA_ATP867X=m +CPTCFG_PATA_CMD64X=m +CPTCFG_PATA_CYPRESS=m +CPTCFG_PATA_EFAR=m +CPTCFG_PATA_HPT366=m +CPTCFG_PATA_HPT37X=m +CPTCFG_PATA_HPT3X2N=m +CPTCFG_PATA_HPT3X3=m +CPTCFG_PATA_IT8213=m +CPTCFG_PATA_IT821X=m +CPTCFG_PATA_JMICRON=m +CPTCFG_PATA_MARVELL=m +CPTCFG_PATA_NETCELL=m +CPTCFG_PATA_NINJA32=m +CPTCFG_PATA_NS87415=m +CPTCFG_PATA_OLDPIIX=m +CPTCFG_PATA_OPTIDMA=m +CPTCFG_PATA_PDC2027X=m +CPTCFG_PATA_PDC_OLD=m +CPTCFG_PATA_RADISYS=m +CPTCFG_PATA_RDC=m +CPTCFG_PATA_SCH=m +CPTCFG_PATA_SERVERWORKS=m +CPTCFG_PATA_SIL680=m +CPTCFG_PATA_SIS=y +CPTCFG_PATA_TOSHIBA=m +CPTCFG_PATA_TRIFLEX=m +CPTCFG_PATA_VIA=m +CPTCFG_PATA_WINBOND=m +CPTCFG_PATA_CMD640_PCI=m +CPTCFG_PATA_MPIIX=m +CPTCFG_PATA_NS87410=m +CPTCFG_PATA_OPTI=m +CPTCFG_PATA_PCMCIA=m +CPTCFG_PATA_PLATFORM=m +CPTCFG_PATA_RZ1000=m +CPTCFG_PATA_ACPI=m +CPTCFG_ATA_GENERIC=y +CPTCFG_PATA_LEGACY=m +CPTCFG_MD=y +CPTCFG_BLK_DEV_MD=y +CPTCFG_MD_AUTODETECT=y +CPTCFG_MD_LINEAR=m +CPTCFG_MD_RAID0=m +CPTCFG_MD_RAID1=m +CPTCFG_MD_RAID10=m +CPTCFG_MD_RAID456=m +CPTCFG_MD_MULTIPATH=m +CPTCFG_MD_FAULTY=m +CPTCFG_MD_CLUSTER=m +CPTCFG_BCACHE=m +CPTCFG_BLK_DEV_DM_BUILTIN=y +CPTCFG_BLK_DEV_DM=y +CPTCFG_DM_BUFIO=m +CPTCFG_DM_BIO_PRISON=m +CPTCFG_DM_PERSISTENT_DATA=m +CPTCFG_DM_CRYPT=m +CPTCFG_DM_SNAPSHOT=m +CPTCFG_DM_THIN_PROVISIONING=m +CPTCFG_DM_CACHE=m +CPTCFG_DM_CACHE_MQ=m +CPTCFG_DM_CACHE_SMQ=m +CPTCFG_DM_CACHE_CLEANER=m +CPTCFG_DM_ERA=m +CPTCFG_DM_MIRROR=m +CPTCFG_DM_LOG_USERSPACE=m +CPTCFG_DM_RAID=m +CPTCFG_DM_ZERO=m +CPTCFG_DM_MULTIPATH=m +CPTCFG_DM_MULTIPATH_QL=m +CPTCFG_DM_MULTIPATH_ST=m +CPTCFG_DM_DELAY=m +CPTCFG_DM_UEVENT=y +CPTCFG_DM_FLAKEY=m +CPTCFG_DM_VERITY=m +CPTCFG_DM_SWITCH=m +CPTCFG_DM_LOG_WRITES=m +CPTCFG_TARGET_CORE=m +CPTCFG_TCM_IBLOCK=m +CPTCFG_TCM_FILEIO=m +CPTCFG_TCM_PSCSI=m +CPTCFG_TCM_USER2=m +CPTCFG_LOOPBACK_TARGET=m +CPTCFG_TCM_FC=m +CPTCFG_ISCSI_TARGET=m +CPTCFG_SBP_TARGET=m +CPTCFG_FUSION=y +CPTCFG_FUSION_SPI=m +CPTCFG_FUSION_FC=m +CPTCFG_FUSION_SAS=m +CPTCFG_FUSION_CTL=m +CPTCFG_FUSION_LAN=m +CPTCFG_FUSION_LOGGING=y +CPTCFG_FIREWIRE=m +CPTCFG_FIREWIRE_OHCI=m +CPTCFG_FIREWIRE_SBP2=m +CPTCFG_FIREWIRE_NET=m +CPTCFG_FIREWIRE_NOSY=m +CPTCFG_MACINTOSH_DRIVERS=y +CPTCFG_MAC_EMUMOUSEBTN=m +CPTCFG_NETDEVICES=y +CPTCFG_MII=m +CPTCFG_BONDING=m +CPTCFG_DUMMY=m +CPTCFG_EQUALIZER=m +CPTCFG_NET_FC=y +CPTCFG_IFB=m +CPTCFG_NET_TEAM=m +CPTCFG_NET_TEAM_MODE_BROADCAST=m +CPTCFG_NET_TEAM_MODE_ROUNDROBIN=m +CPTCFG_NET_TEAM_MODE_RANDOM=m +CPTCFG_NET_TEAM_MODE_ACTIVEBACKUP=m +CPTCFG_NET_TEAM_MODE_LOADBALANCE=m +CPTCFG_MACVLAN=m +CPTCFG_MACVTAP=m +CPTCFG_IPVLAN=m +CPTCFG_VXLAN=m +CPTCFG_GENEVE=m +CPTCFG_NETCONSOLE=m +CPTCFG_NETCONSOLE_DYNAMIC=y +CPTCFG_NETPOLL=y +CPTCFG_NET_POLL_CONTROLLER=y +CPTCFG_NTB_NETDEV=m +CPTCFG_RIONET=m +CPTCFG_TUN=y +CPTCFG_VETH=m +CPTCFG_VIRTIO_NET=y +CPTCFG_NLMON=m +CPTCFG_NET_VRF=m +CPTCFG_ARCNET=m +CPTCFG_ARCNET_1201=m +CPTCFG_ARCNET_1051=m +CPTCFG_ARCNET_RAW=m +CPTCFG_ARCNET_CAP=m +CPTCFG_ARCNET_COM90xx=m +CPTCFG_ARCNET_COM90xxIO=m +CPTCFG_ARCNET_RIM_I=m +CPTCFG_ARCNET_COM20020=m +CPTCFG_ARCNET_COM20020_PCI=m +CPTCFG_ARCNET_COM20020_CS=m +CPTCFG_ATM_DRIVERS=y +CPTCFG_ATM_DUMMY=m +CPTCFG_ATM_TCP=m +CPTCFG_ATM_LANAI=m +CPTCFG_ATM_ENI=m +CPTCFG_ATM_FIRESTREAM=m +CPTCFG_ATM_ZATM=m +CPTCFG_ATM_NICSTAR=m +CPTCFG_ATM_IDT77252=m +CPTCFG_ATM_IDT77252_USE_SUNI=y +CPTCFG_ATM_AMBASSADOR=m +CPTCFG_ATM_HORIZON=m +CPTCFG_ATM_IA=m +CPTCFG_ATM_FORE200E=m +CPTCFG_ATM_HE=m +CPTCFG_ATM_HE_USE_SUNI=y +CPTCFG_ATM_SOLOS=m +CPTCFG_CAIF_TTY=m +CPTCFG_CAIF_SPI_SLAVE=m +CPTCFG_CAIF_HSI=m +CPTCFG_CAIF_VIRTIO=m +CPTCFG_VHOST_NET=m +CPTCFG_VHOST_SCSI=m +CPTCFG_VHOST_RING=m +CPTCFG_VHOST=m +CPTCFG_NET_VENDOR_3COM=y +CPTCFG_PCMCIA_3C574=m +CPTCFG_PCMCIA_3C589=m +CPTCFG_VORTEX=m +CPTCFG_TYPHOON=m +CPTCFG_NET_VENDOR_ADAPTEC=y +CPTCFG_ADAPTEC_STARFIRE=m +CPTCFG_NET_VENDOR_AGERE=y +CPTCFG_ET131X=m +CPTCFG_NET_VENDOR_ALTEON=y +CPTCFG_ACENIC=m +CPTCFG_ALTERA_TSE=m +CPTCFG_NET_VENDOR_AMAZON=y +CPTCFG_NET_VENDOR_AMD=y +CPTCFG_AMD8111_ETH=m +CPTCFG_PCNET32=m +CPTCFG_PCMCIA_NMCLAN=m +CPTCFG_NET_VENDOR_ARC=y +CPTCFG_NET_VENDOR_AURORA=y +CPTCFG_AURORA_NB8800=m +CPTCFG_NET_CADENCE=y +CPTCFG_MACB=m +CPTCFG_BNX2X_VXLAN=y +CPTCFG_BNXT=m +CPTCFG_BNXT_SRIOV=y +CPTCFG_NET_VENDOR_BROCADE=y +CPTCFG_BNA=m +CPTCFG_NET_VENDOR_CAVIUM=y +CPTCFG_THUNDER_NIC_PF=m +CPTCFG_THUNDER_NIC_VF=m +CPTCFG_THUNDER_NIC_BGX=m +CPTCFG_LIQUIDIO=m +CPTCFG_NET_VENDOR_CHELSIO=y +CPTCFG_CHELSIO_T1=m +CPTCFG_CHELSIO_T1_1G=y +CPTCFG_CHELSIO_T3=m +CPTCFG_CHELSIO_T4=m +CPTCFG_CHELSIO_T4_DCB=y +CPTCFG_CHELSIO_T4_FCOE=y +CPTCFG_CHELSIO_T4VF=m +CPTCFG_NET_VENDOR_CISCO=y +CPTCFG_ENIC=m +CPTCFG_NET_VENDOR_DEC=y +CPTCFG_NET_TULIP=y +CPTCFG_DE2104X=m +CPTCFG_TULIP=m +CPTCFG_DE4X5=m +CPTCFG_WINBOND_840=m +CPTCFG_DM9102=m +CPTCFG_ULI526X=m +CPTCFG_PCMCIA_XIRCOM=m +CPTCFG_NET_VENDOR_DLINK=y +CPTCFG_DL2K=m +CPTCFG_SUNDANCE=m +CPTCFG_NET_VENDOR_EMULEX=y +CPTCFG_BE2NET=m +CPTCFG_BE2NET_HWMON=y +CPTCFG_BE2NET_VXLAN=y +CPTCFG_NET_VENDOR_EZCHIP=y +CPTCFG_NET_VENDOR_EXAR=y +CPTCFG_S2IO=m +CPTCFG_VXGE=m +CPTCFG_NET_VENDOR_FUJITSU=y +CPTCFG_PCMCIA_FMVJ18X=m +CPTCFG_NET_VENDOR_HP=y +CPTCFG_HP100=m +CPTCFG_E1000E_HWTS=y +CPTCFG_NET_VENDOR_I825XX=y +CPTCFG_NET_VENDOR_MARVELL=y +CPTCFG_SKGE=m +CPTCFG_SKGE_GENESIS=y +CPTCFG_SKY2=m +CPTCFG_NET_VENDOR_MELLANOX=y +CPTCFG_MLX4_EN=m +CPTCFG_MLX4_EN_DCB=y +CPTCFG_MLX4_EN_VXLAN=y +CPTCFG_MLX4_CORE=m +CPTCFG_MLX4_DEBUG=y +CPTCFG_MLX5_CORE=m +CPTCFG_MLX5_CORE_EN=y +CPTCFG_MLXSW_CORE=m +CPTCFG_MLXSW_PCI=m +CPTCFG_NET_VENDOR_MICREL=y +CPTCFG_KS8842=m +CPTCFG_KS8851=m +CPTCFG_KS8851_MLL=m +CPTCFG_KSZ884X_PCI=m +CPTCFG_NET_VENDOR_MICROCHIP=y +CPTCFG_ENC28J60=m +CPTCFG_ENCX24J600=m +CPTCFG_NET_VENDOR_MYRI=y +CPTCFG_MYRI10GE=m +CPTCFG_MYRI10GE_DCA=y +CPTCFG_NET_VENDOR_NATSEMI=y +CPTCFG_NATSEMI=m +CPTCFG_NS83820=m +CPTCFG_NET_VENDOR_8390=y +CPTCFG_PCMCIA_AXNET=m +CPTCFG_NE2K_PCI=m +CPTCFG_PCMCIA_PCNET=m +CPTCFG_NET_VENDOR_NVIDIA=y +CPTCFG_FORCEDETH=m +CPTCFG_NET_VENDOR_OKI=y +CPTCFG_NET_PACKET_ENGINE=y +CPTCFG_HAMACHI=m +CPTCFG_YELLOWFIN=m +CPTCFG_NET_VENDOR_QLOGIC=y +CPTCFG_QLA3XXX=m +CPTCFG_QLCNIC_SRIOV=y +CPTCFG_QLCNIC_DCB=y +CPTCFG_QLCNIC_VXLAN=y +CPTCFG_QLCNIC_HWMON=y +CPTCFG_QLGE=m +CPTCFG_NETXEN_NIC=m +CPTCFG_QED=m +CPTCFG_QEDE=m +CPTCFG_NET_VENDOR_QUALCOMM=y +CPTCFG_NET_VENDOR_REALTEK=y +CPTCFG_ATP=m +CPTCFG_8139CP=m +CPTCFG_8139TOO=m +CPTCFG_8139TOO_PIO=y +CPTCFG_8139TOO_8129=y +CPTCFG_R8169=m +CPTCFG_NET_VENDOR_RENESAS=y +CPTCFG_NET_VENDOR_RDC=y +CPTCFG_R6040=m +CPTCFG_NET_VENDOR_ROCKER=y +CPTCFG_NET_VENDOR_SAMSUNG=y +CPTCFG_SXGBE_ETH=m +CPTCFG_NET_VENDOR_SEEQ=y +CPTCFG_NET_VENDOR_SILAN=y +CPTCFG_SC92031=m +CPTCFG_NET_VENDOR_SIS=y +CPTCFG_SIS900=m +CPTCFG_SIS190=m +CPTCFG_SFC=m +CPTCFG_SFC_MTD=y +CPTCFG_SFC_MCDI_MON=y +CPTCFG_SFC_SRIOV=y +CPTCFG_SFC_MCDI_LOGGING=y +CPTCFG_NET_VENDOR_SMSC=y +CPTCFG_PCMCIA_SMC91C92=m +CPTCFG_EPIC100=m +CPTCFG_SMSC911X=m +CPTCFG_SMSC9420=m +CPTCFG_NET_VENDOR_STMICRO=y +CPTCFG_STMMAC_ETH=m +CPTCFG_STMMAC_PLATFORM=m +CPTCFG_DWMAC_GENERIC=m +CPTCFG_NET_VENDOR_SUN=y +CPTCFG_HAPPYMEAL=m +CPTCFG_SUNGEM=m +CPTCFG_CASSINI=m +CPTCFG_NIU=m +CPTCFG_NET_VENDOR_SYNOPSYS=y +CPTCFG_NET_VENDOR_TEHUTI=y +CPTCFG_TEHUTI=m +CPTCFG_NET_VENDOR_TI=y +CPTCFG_TI_CPSW_ALE=m +CPTCFG_TLAN=m +CPTCFG_NET_VENDOR_VIA=y +CPTCFG_VIA_RHINE=m +CPTCFG_VIA_RHINE_MMIO=y +CPTCFG_VIA_VELOCITY=m +CPTCFG_NET_VENDOR_WIZNET=y +CPTCFG_WIZNET_W5100=m +CPTCFG_WIZNET_W5300=m +CPTCFG_WIZNET_BUS_ANY=y +CPTCFG_NET_VENDOR_XIRCOM=y +CPTCFG_PCMCIA_XIRC2PS=m +CPTCFG_FDDI=y +CPTCFG_DEFXX=m +CPTCFG_SKFP=m +CPTCFG_NET_SB1000=m +CPTCFG_PHYLIB=y +CPTCFG_AQUANTIA_PHY=m +CPTCFG_AT803X_PHY=m +CPTCFG_AMD_PHY=m +CPTCFG_MARVELL_PHY=m +CPTCFG_DAVICOM_PHY=m +CPTCFG_QSEMI_PHY=m +CPTCFG_LXT_PHY=m +CPTCFG_CICADA_PHY=m +CPTCFG_VITESSE_PHY=m +CPTCFG_TERANETICS_PHY=m +CPTCFG_SMSC_PHY=m +CPTCFG_BCM_NET_PHYLIB=m +CPTCFG_BROADCOM_PHY=m +CPTCFG_BCM7XXX_PHY=m +CPTCFG_BCM87XX_PHY=m +CPTCFG_ICPLUS_PHY=m +CPTCFG_REALTEK_PHY=m +CPTCFG_NATIONAL_PHY=m +CPTCFG_STE10XP=m +CPTCFG_LSI_ET1011C_PHY=m +CPTCFG_MICREL_PHY=m +CPTCFG_DP83848_PHY=m +CPTCFG_DP83867_PHY=m +CPTCFG_MICROCHIP_PHY=m +CPTCFG_FIXED_PHY=y +CPTCFG_MDIO_BITBANG=m +CPTCFG_MDIO_GPIO=m +CPTCFG_MDIO_CAVIUM=m +CPTCFG_MDIO_OCTEON=m +CPTCFG_MDIO_THUNDER=m +CPTCFG_MDIO_BCM_UNIMAC=m +CPTCFG_MDIO_XGENE=m +CPTCFG_MICREL_KS8995MA=m +CPTCFG_PLIP=m +CPTCFG_PPP=y +CPTCFG_PPP_BSDCOMP=m +CPTCFG_PPP_DEFLATE=m +CPTCFG_PPP_FILTER=y +CPTCFG_PPP_MPPE=m +CPTCFG_PPP_MULTILINK=y +CPTCFG_PPPOATM=m +CPTCFG_PPPOE=m +CPTCFG_PPTP=m +CPTCFG_PPPOL2TP=m +CPTCFG_PPP_ASYNC=m +CPTCFG_PPP_SYNC_TTY=m +CPTCFG_SLIP=m +CPTCFG_SLHC=y +CPTCFG_SLIP_COMPRESSED=y +CPTCFG_SLIP_SMART=y +CPTCFG_SLIP_MODE_SLIP6=y +CPTCFG_USB_LAN78XX=m +CPTCFG_USB_NET_CH9200=m +CPTCFG_HOSTAP=m +CPTCFG_HOSTAP_FIRMWARE=y +CPTCFG_HOSTAP_FIRMWARE_NVRAM=y +CPTCFG_HOSTAP_PLX=m +CPTCFG_HOSTAP_PCI=m +CPTCFG_HOSTAP_CS=m +CPTCFG_RTL8XXXU=m +CPTCFG_RTL8XXXU_UNTESTED=y +CPTCFG_WIMAX_I2400M=m +CPTCFG_WIMAX_I2400M_USB=m +CPTCFG_WAN=y +CPTCFG_LANMEDIA=m +CPTCFG_HDLC=m +CPTCFG_HDLC_RAW=m +CPTCFG_HDLC_RAW_ETH=m +CPTCFG_HDLC_CISCO=m +CPTCFG_HDLC_FR=m +CPTCFG_HDLC_PPP=m +CPTCFG_HDLC_X25=m +CPTCFG_PCI200SYN=m +CPTCFG_WANXL=m +CPTCFG_PC300TOO=m +CPTCFG_FARSYNC=m +CPTCFG_DSCC4=m +CPTCFG_DSCC4_PCISYNC=y +CPTCFG_DSCC4_PCI_RST=y +CPTCFG_DLCI=m +CPTCFG_LAPBETHER=m +CPTCFG_X25_ASY=m +CPTCFG_SBNI=m +CPTCFG_IEEE802154_AT86RF230_DEBUGFS=y +CPTCFG_XEN_NETDEV_FRONTEND=y +CPTCFG_XEN_NETDEV_BACKEND=m +CPTCFG_VMXNET3=m +CPTCFG_FUJITSU_ES=m +CPTCFG_HYPERV_NET=m +CPTCFG_ISDN=y +CPTCFG_ISDN_I4L=m +CPTCFG_ISDN_PPP=y +CPTCFG_ISDN_PPP_VJ=y +CPTCFG_ISDN_MPP=y +CPTCFG_IPPP_FILTER=y +CPTCFG_ISDN_PPP_BSDCOMP=m +CPTCFG_ISDN_AUDIO=y +CPTCFG_ISDN_TTY_FAX=y +CPTCFG_ISDN_X25=y +CPTCFG_ISDN_DIVERSION=m +CPTCFG_ISDN_DRV_HISAX=m +CPTCFG_HISAX_EURO=y +CPTCFG_DE_AOC=y +CPTCFG_HISAX_1TR6=y +CPTCFG_HISAX_NI1=y +CPTCFG_HISAX_16_3=y +CPTCFG_HISAX_TELESPCI=y +CPTCFG_HISAX_S0BOX=y +CPTCFG_HISAX_FRITZPCI=y +CPTCFG_HISAX_AVM_A1_PCMCIA=y +CPTCFG_HISAX_ELSA=y +CPTCFG_HISAX_DIEHLDIVA=y +CPTCFG_HISAX_SEDLBAUER=y +CPTCFG_HISAX_NETJET=y +CPTCFG_HISAX_NETJET_U=y +CPTCFG_HISAX_NICCY=y +CPTCFG_HISAX_BKM_A4T=y +CPTCFG_HISAX_SCT_QUADRO=y +CPTCFG_HISAX_GAZEL=y +CPTCFG_HISAX_HFC_PCI=y +CPTCFG_HISAX_W6692=y +CPTCFG_HISAX_HFC_SX=y +CPTCFG_HISAX_ENTERNOW_PCI=y +CPTCFG_HISAX_SEDLBAUER_CS=m +CPTCFG_HISAX_ELSA_CS=m +CPTCFG_HISAX_AVM_A1_CS=m +CPTCFG_HISAX_TELES_CS=m +CPTCFG_HISAX_ST5481=m +CPTCFG_HISAX_HFCUSB=m +CPTCFG_HISAX_HFC4S8S=m +CPTCFG_HISAX_FRITZ_PCIPNP=m +CPTCFG_ISDN_CAPI=m +CPTCFG_CAPI_TRACE=y +CPTCFG_ISDN_CAPI_CAPI20=m +CPTCFG_ISDN_CAPI_MIDDLEWARE=y +CPTCFG_ISDN_CAPI_CAPIDRV=m +CPTCFG_CAPI_AVM=y +CPTCFG_ISDN_DRV_AVMB1_B1PCI=m +CPTCFG_ISDN_DRV_AVMB1_B1PCIV4=y +CPTCFG_ISDN_DRV_AVMB1_B1PCMCIA=m +CPTCFG_ISDN_DRV_AVMB1_AVM_CS=m +CPTCFG_ISDN_DRV_AVMB1_T1PCI=m +CPTCFG_ISDN_DRV_AVMB1_C4=m +CPTCFG_CAPI_EICON=y +CPTCFG_ISDN_DIVAS=m +CPTCFG_ISDN_DIVAS_BRIPCI=y +CPTCFG_ISDN_DIVAS_PRIPCI=y +CPTCFG_ISDN_DIVAS_DIVACAPI=m +CPTCFG_ISDN_DIVAS_USERIDI=m +CPTCFG_ISDN_DIVAS_MAINT=m +CPTCFG_ISDN_DRV_GIGASET=m +CPTCFG_GIGASET_I4L=y +CPTCFG_GIGASET_BASE=m +CPTCFG_GIGASET_M105=m +CPTCFG_GIGASET_M101=m +CPTCFG_HYSDN=m +CPTCFG_HYSDN_CAPI=y +CPTCFG_MISDN=m +CPTCFG_MISDN_DSP=m +CPTCFG_MISDN_L1OIP=m +CPTCFG_MISDN_HFCPCI=m +CPTCFG_MISDN_HFCMULTI=m +CPTCFG_MISDN_HFCUSB=m +CPTCFG_MISDN_AVMFRITZ=m +CPTCFG_MISDN_SPEEDFAX=m +CPTCFG_MISDN_INFINEON=m +CPTCFG_MISDN_W6692=m +CPTCFG_MISDN_NETJET=m +CPTCFG_MISDN_IPAC=m +CPTCFG_MISDN_ISAR=m +CPTCFG_ISDN_HDLC=m +CPTCFG_NVM=y +CPTCFG_NVM_GENNVM=m +CPTCFG_NVM_RRPC=m +CPTCFG_INPUT=y +CPTCFG_INPUT_LEDS=m +CPTCFG_INPUT_FF_MEMLESS=m +CPTCFG_INPUT_POLLDEV=m +CPTCFG_INPUT_SPARSEKMAP=m +CPTCFG_INPUT_MATRIXKMAP=m +CPTCFG_INPUT_MOUSEDEV=y +CPTCFG_INPUT_MOUSEDEV_PSAUX=y +CPTCFG_INPUT_JOYDEV=m +CPTCFG_INPUT_EVDEV=y +CPTCFG_INPUT_EVBUG=m +CPTCFG_INPUT_KEYBOARD=y +CPTCFG_KEYBOARD_ADP5520=m +CPTCFG_KEYBOARD_ADP5588=m +CPTCFG_KEYBOARD_ADP5589=m +CPTCFG_KEYBOARD_ATKBD=y +CPTCFG_KEYBOARD_QT1070=m +CPTCFG_KEYBOARD_QT2160=m +CPTCFG_KEYBOARD_LKKBD=m +CPTCFG_KEYBOARD_GPIO=m +CPTCFG_KEYBOARD_GPIO_POLLED=m +CPTCFG_KEYBOARD_TCA6416=m +CPTCFG_KEYBOARD_TCA8418=m +CPTCFG_KEYBOARD_MATRIX=m +CPTCFG_KEYBOARD_LM8323=m +CPTCFG_KEYBOARD_LM8333=m +CPTCFG_KEYBOARD_MAX7359=m +CPTCFG_KEYBOARD_MCS=m +CPTCFG_KEYBOARD_MPR121=m +CPTCFG_KEYBOARD_NEWTON=m +CPTCFG_KEYBOARD_OPENCORES=m +CPTCFG_KEYBOARD_SAMSUNG=m +CPTCFG_KEYBOARD_STOWAWAY=m +CPTCFG_KEYBOARD_SUNKBD=m +CPTCFG_KEYBOARD_TWL4030=m +CPTCFG_KEYBOARD_XTKBD=m +CPTCFG_KEYBOARD_CROS_EC=m +CPTCFG_INPUT_MOUSE=y +CPTCFG_MOUSE_PS2=m +CPTCFG_MOUSE_PS2_ALPS=y +CPTCFG_MOUSE_PS2_LOGIPS2PP=y +CPTCFG_MOUSE_PS2_SYNAPTICS=y +CPTCFG_MOUSE_PS2_CYPRESS=y +CPTCFG_MOUSE_PS2_LIFEBOOK=y +CPTCFG_MOUSE_PS2_TRACKPOINT=y +CPTCFG_MOUSE_PS2_ELANTECH=y +CPTCFG_MOUSE_PS2_SENTELIC=y +CPTCFG_MOUSE_PS2_TOUCHKIT=y +CPTCFG_MOUSE_PS2_FOCALTECH=y +CPTCFG_MOUSE_PS2_VMMOUSE=y +CPTCFG_MOUSE_SERIAL=m +CPTCFG_MOUSE_APPLETOUCH=m +CPTCFG_MOUSE_BCM5974=m +CPTCFG_MOUSE_CYAPA=m +CPTCFG_MOUSE_ELAN_I2C=m +CPTCFG_MOUSE_ELAN_I2C_I2C=y +CPTCFG_MOUSE_ELAN_I2C_SMBUS=y +CPTCFG_MOUSE_VSXXXAA=m +CPTCFG_MOUSE_GPIO=m +CPTCFG_MOUSE_SYNAPTICS_I2C=m +CPTCFG_MOUSE_SYNAPTICS_USB=m +CPTCFG_INPUT_JOYSTICK=y +CPTCFG_JOYSTICK_ANALOG=m +CPTCFG_JOYSTICK_A3D=m +CPTCFG_JOYSTICK_ADI=m +CPTCFG_JOYSTICK_COBRA=m +CPTCFG_JOYSTICK_GF2K=m +CPTCFG_JOYSTICK_GRIP=m +CPTCFG_JOYSTICK_GRIP_MP=m +CPTCFG_JOYSTICK_GUILLEMOT=m +CPTCFG_JOYSTICK_INTERACT=m +CPTCFG_JOYSTICK_SIDEWINDER=m +CPTCFG_JOYSTICK_TMDC=m +CPTCFG_JOYSTICK_IFORCE=m +CPTCFG_JOYSTICK_IFORCE_USB=y +CPTCFG_JOYSTICK_IFORCE_232=y +CPTCFG_JOYSTICK_WARRIOR=m +CPTCFG_JOYSTICK_MAGELLAN=m +CPTCFG_JOYSTICK_SPACEORB=m +CPTCFG_JOYSTICK_SPACEBALL=m +CPTCFG_JOYSTICK_STINGER=m +CPTCFG_JOYSTICK_TWIDJOY=m +CPTCFG_JOYSTICK_ZHENHUA=m +CPTCFG_JOYSTICK_DB9=m +CPTCFG_JOYSTICK_GAMECON=m +CPTCFG_JOYSTICK_TURBOGRAFX=m +CPTCFG_JOYSTICK_AS5011=m +CPTCFG_JOYSTICK_JOYDUMP=m +CPTCFG_JOYSTICK_XPAD=m +CPTCFG_JOYSTICK_XPAD_FF=y +CPTCFG_JOYSTICK_XPAD_LEDS=y +CPTCFG_JOYSTICK_WALKERA0701=m +CPTCFG_INPUT_TABLET=y +CPTCFG_TABLET_USB_ACECAD=m +CPTCFG_TABLET_USB_AIPTEK=m +CPTCFG_TABLET_USB_GTCO=m +CPTCFG_TABLET_USB_HANWANG=m +CPTCFG_TABLET_USB_KBTAB=m +CPTCFG_TABLET_SERIAL_WACOM4=m +CPTCFG_INPUT_TOUCHSCREEN=y +CPTCFG_TOUCHSCREEN_PROPERTIES=y +CPTCFG_TOUCHSCREEN_88PM860X=m +CPTCFG_TOUCHSCREEN_ADS7846=m +CPTCFG_TOUCHSCREEN_AD7877=m +CPTCFG_TOUCHSCREEN_AD7879=m +CPTCFG_TOUCHSCREEN_AD7879_I2C=m +CPTCFG_TOUCHSCREEN_AD7879_SPI=m +CPTCFG_TOUCHSCREEN_ATMEL_MXT=m +CPTCFG_TOUCHSCREEN_AUO_PIXCIR=m +CPTCFG_TOUCHSCREEN_BU21013=m +CPTCFG_TOUCHSCREEN_CY8CTMG110=m +CPTCFG_TOUCHSCREEN_CYTTSP_CORE=m +CPTCFG_TOUCHSCREEN_CYTTSP_I2C=m +CPTCFG_TOUCHSCREEN_CYTTSP_SPI=m +CPTCFG_TOUCHSCREEN_CYTTSP4_CORE=m +CPTCFG_TOUCHSCREEN_CYTTSP4_I2C=m +CPTCFG_TOUCHSCREEN_CYTTSP4_SPI=m +CPTCFG_TOUCHSCREEN_DA9034=m +CPTCFG_TOUCHSCREEN_DA9052=m +CPTCFG_TOUCHSCREEN_DYNAPRO=m +CPTCFG_TOUCHSCREEN_HAMPSHIRE=m +CPTCFG_TOUCHSCREEN_EETI=m +CPTCFG_TOUCHSCREEN_FT6236=m +CPTCFG_TOUCHSCREEN_FUJITSU=m +CPTCFG_TOUCHSCREEN_GOODIX=m +CPTCFG_TOUCHSCREEN_ILI210X=m +CPTCFG_TOUCHSCREEN_GUNZE=m +CPTCFG_TOUCHSCREEN_ELAN=y +CPTCFG_TOUCHSCREEN_ELO=m +CPTCFG_TOUCHSCREEN_WACOM_W8001=m +CPTCFG_TOUCHSCREEN_WACOM_I2C=m +CPTCFG_TOUCHSCREEN_MAX11801=m +CPTCFG_TOUCHSCREEN_MCS5000=m +CPTCFG_TOUCHSCREEN_MMS114=m +CPTCFG_TOUCHSCREEN_MTOUCH=m +CPTCFG_TOUCHSCREEN_INEXIO=m +CPTCFG_TOUCHSCREEN_MK712=m +CPTCFG_TOUCHSCREEN_PENMOUNT=m +CPTCFG_TOUCHSCREEN_EDT_FT5X06=m +CPTCFG_TOUCHSCREEN_TOUCHRIGHT=m +CPTCFG_TOUCHSCREEN_TOUCHWIN=m +CPTCFG_TOUCHSCREEN_TI_AM335X_TSC=m +CPTCFG_TOUCHSCREEN_UCB1400=m +CPTCFG_TOUCHSCREEN_PIXCIR=m +CPTCFG_TOUCHSCREEN_WDT87XX_I2C=m +CPTCFG_TOUCHSCREEN_WM831X=m +CPTCFG_TOUCHSCREEN_WM97XX=m +CPTCFG_TOUCHSCREEN_WM9705=y +CPTCFG_TOUCHSCREEN_WM9712=y +CPTCFG_TOUCHSCREEN_WM9713=y +CPTCFG_TOUCHSCREEN_USB_COMPOSITE=m +CPTCFG_TOUCHSCREEN_MC13783=m +CPTCFG_TOUCHSCREEN_USB_EGALAX=y +CPTCFG_TOUCHSCREEN_USB_PANJIT=y +CPTCFG_TOUCHSCREEN_USB_3M=y +CPTCFG_TOUCHSCREEN_USB_ITM=y +CPTCFG_TOUCHSCREEN_USB_ETURBO=y +CPTCFG_TOUCHSCREEN_USB_GUNZE=y +CPTCFG_TOUCHSCREEN_USB_DMC_TSC10=y +CPTCFG_TOUCHSCREEN_USB_IRTOUCH=y +CPTCFG_TOUCHSCREEN_USB_IDEALTEK=y +CPTCFG_TOUCHSCREEN_USB_GENERAL_TOUCH=y +CPTCFG_TOUCHSCREEN_USB_GOTOP=y +CPTCFG_TOUCHSCREEN_USB_JASTEC=y +CPTCFG_TOUCHSCREEN_USB_ELO=y +CPTCFG_TOUCHSCREEN_USB_E2I=y +CPTCFG_TOUCHSCREEN_USB_ZYTRONIC=y +CPTCFG_TOUCHSCREEN_USB_ETT_TC45USB=y +CPTCFG_TOUCHSCREEN_USB_NEXIO=y +CPTCFG_TOUCHSCREEN_USB_EASYTOUCH=y +CPTCFG_TOUCHSCREEN_TOUCHIT213=m +CPTCFG_TOUCHSCREEN_TSC_SERIO=m +CPTCFG_TOUCHSCREEN_TSC200X_CORE=m +CPTCFG_TOUCHSCREEN_TSC2004=m +CPTCFG_TOUCHSCREEN_TSC2005=m +CPTCFG_TOUCHSCREEN_TSC2007=m +CPTCFG_TOUCHSCREEN_PCAP=m +CPTCFG_TOUCHSCREEN_ST1232=m +CPTCFG_TOUCHSCREEN_SUR40=m +CPTCFG_TOUCHSCREEN_SX8654=m +CPTCFG_TOUCHSCREEN_TPS6507X=m +CPTCFG_TOUCHSCREEN_ZFORCE=m +CPTCFG_TOUCHSCREEN_ROHM_BU21023=m +CPTCFG_INPUT_MISC=y +CPTCFG_INPUT_88PM860X_ONKEY=m +CPTCFG_INPUT_88PM80X_ONKEY=m +CPTCFG_INPUT_AD714X=m +CPTCFG_INPUT_AD714X_I2C=m +CPTCFG_INPUT_AD714X_SPI=m +CPTCFG_INPUT_ARIZONA_HAPTICS=m +CPTCFG_INPUT_BMA150=m +CPTCFG_INPUT_E3X0_BUTTON=m +CPTCFG_INPUT_PCSPKR=m +CPTCFG_INPUT_MAX77693_HAPTIC=m +CPTCFG_INPUT_MAX8925_ONKEY=m +CPTCFG_INPUT_MAX8997_HAPTIC=m +CPTCFG_INPUT_MC13783_PWRBUTTON=m +CPTCFG_INPUT_MMA8450=m +CPTCFG_INPUT_MPU3050=m +CPTCFG_INPUT_APANEL=m +CPTCFG_INPUT_GP2A=m +CPTCFG_INPUT_GPIO_BEEPER=m +CPTCFG_INPUT_GPIO_TILT_POLLED=m +CPTCFG_INPUT_ATLAS_BTNS=m +CPTCFG_INPUT_ATI_REMOTE2=m +CPTCFG_INPUT_KEYSPAN_REMOTE=m +CPTCFG_INPUT_KXTJ9=m +CPTCFG_INPUT_POWERMATE=m +CPTCFG_INPUT_YEALINK=m +CPTCFG_INPUT_CM109=m +CPTCFG_INPUT_REGULATOR_HAPTIC=m +CPTCFG_INPUT_RETU_PWRBUTTON=m +CPTCFG_INPUT_TPS65218_PWRBUTTON=m +CPTCFG_INPUT_AXP20X_PEK=m +CPTCFG_INPUT_TWL4030_PWRBUTTON=m +CPTCFG_INPUT_TWL4030_VIBRA=m +CPTCFG_INPUT_TWL6040_VIBRA=m +CPTCFG_INPUT_UINPUT=y +CPTCFG_INPUT_PALMAS_PWRBUTTON=m +CPTCFG_INPUT_PCF50633_PMU=m +CPTCFG_INPUT_PCF8574=m +CPTCFG_INPUT_PWM_BEEPER=m +CPTCFG_INPUT_GPIO_ROTARY_ENCODER=m +CPTCFG_INPUT_DA9052_ONKEY=m +CPTCFG_INPUT_DA9055_ONKEY=m +CPTCFG_INPUT_DA9063_ONKEY=m +CPTCFG_INPUT_WM831X_ON=m +CPTCFG_INPUT_PCAP=m +CPTCFG_INPUT_ADXL34X=m +CPTCFG_INPUT_ADXL34X_I2C=m +CPTCFG_INPUT_ADXL34X_SPI=m +CPTCFG_INPUT_IMS_PCU=m +CPTCFG_INPUT_CMA3000=m +CPTCFG_INPUT_CMA3000_I2C=m +CPTCFG_INPUT_XEN_KBDDEV_FRONTEND=m +CPTCFG_INPUT_IDEAPAD_SLIDEBAR=m +CPTCFG_INPUT_SOC_BUTTON_ARRAY=m +CPTCFG_INPUT_DRV260X_HAPTICS=m +CPTCFG_INPUT_DRV2665_HAPTICS=m +CPTCFG_INPUT_DRV2667_HAPTICS=m +CPTCFG_SERIO=y +CPTCFG_ARCH_MIGHT_HAVE_PC_SERIO=y +CPTCFG_SERIO_I8042=y +CPTCFG_SERIO_SERPORT=m +CPTCFG_SERIO_CT82C710=m +CPTCFG_SERIO_PARKBD=m +CPTCFG_SERIO_PCIPS2=m +CPTCFG_SERIO_LIBPS2=y +CPTCFG_SERIO_RAW=m +CPTCFG_SERIO_ALTERA_PS2=m +CPTCFG_SERIO_PS2MULT=m +CPTCFG_SERIO_ARC_PS2=m +CPTCFG_HYPERV_KEYBOARD=m +CPTCFG_USERIO=m +CPTCFG_GAMEPORT=m +CPTCFG_GAMEPORT_NS558=m +CPTCFG_GAMEPORT_L4=m +CPTCFG_GAMEPORT_EMU10K1=m +CPTCFG_GAMEPORT_FM801=m +CPTCFG_TTY=y +CPTCFG_VT=y +CPTCFG_CONSOLE_TRANSLATIONS=y +CPTCFG_VT_CONSOLE=y +CPTCFG_VT_CONSOLE_SLEEP=y +CPTCFG_HW_CONSOLE=y +CPTCFG_VT_HW_CONSOLE_BINDING=y +CPTCFG_UNIX98_PTYS=y +CPTCFG_DEVPTS_MULTIPLE_INSTANCES=y +CPTCFG_LEGACY_PTYS=y +CPTCFG_SERIAL_NONSTANDARD=y +CPTCFG_ROCKETPORT=m +CPTCFG_CYCLADES=m +CPTCFG_MOXA_INTELLIO=m +CPTCFG_MOXA_SMARTIO=m +CPTCFG_SYNCLINK=m +CPTCFG_SYNCLINKMP=m +CPTCFG_SYNCLINK_GT=m +CPTCFG_NOZOMI=m +CPTCFG_ISI=m +CPTCFG_N_HDLC=m +CPTCFG_N_GSM=m +CPTCFG_TRACE_ROUTER=m +CPTCFG_TRACE_SINK=m +CPTCFG_DEVMEM=y +CPTCFG_SERIAL_EARLYCON=y +CPTCFG_SERIAL_8250=y +CPTCFG_SERIAL_8250_PNP=y +CPTCFG_SERIAL_8250_CONSOLE=y +CPTCFG_SERIAL_8250_DMA=y +CPTCFG_SERIAL_8250_PCI=y +CPTCFG_SERIAL_8250_CS=m +CPTCFG_SERIAL_8250_EXTENDED=y +CPTCFG_SERIAL_8250_MANY_PORTS=y +CPTCFG_SERIAL_8250_SHARE_IRQ=y +CPTCFG_SERIAL_8250_RSA=y +CPTCFG_SERIAL_8250_DW=m +CPTCFG_SERIAL_8250_RT288X=y +CPTCFG_SERIAL_8250_FINTEK=m +CPTCFG_SERIAL_8250_MID=m +CPTCFG_SERIAL_KGDB_NMI=y +CPTCFG_SERIAL_MAX3100=m +CPTCFG_SERIAL_MAX310X=y +CPTCFG_SERIAL_UARTLITE=m +CPTCFG_SERIAL_CORE=y +CPTCFG_SERIAL_CORE_CONSOLE=y +CPTCFG_CONSOLE_POLL=y +CPTCFG_SERIAL_JSM=m +CPTCFG_SERIAL_SCCNXP=y +CPTCFG_SERIAL_SCCNXP_CONSOLE=y +CPTCFG_SERIAL_SC16IS7XX_CORE=m +CPTCFG_SERIAL_SC16IS7XX=m +CPTCFG_SERIAL_SC16IS7XX_I2C=y +CPTCFG_SERIAL_SC16IS7XX_SPI=y +CPTCFG_SERIAL_ALTERA_JTAGUART=m +CPTCFG_SERIAL_ALTERA_UART=m +CPTCFG_SERIAL_ARC=m +CPTCFG_SERIAL_RP2=m +CPTCFG_SERIAL_FSL_LPUART=m +CPTCFG_SERIAL_MEN_Z135=m +CPTCFG_TTY_PRINTK=y +CPTCFG_PRINTER=m +CPTCFG_PPDEV=m +CPTCFG_HVC_DRIVER=y +CPTCFG_HVC_IRQ=y +CPTCFG_HVC_XEN=y +CPTCFG_HVC_XEN_FRONTEND=y +CPTCFG_VIRTIO_CONSOLE=y +CPTCFG_IPMI_HANDLER=m +CPTCFG_IPMI_DEVICE_INTERFACE=m +CPTCFG_IPMI_SI=m +CPTCFG_IPMI_SI_PROBE_DEFAULTS=y +CPTCFG_IPMI_SSIF=m +CPTCFG_IPMI_WATCHDOG=m +CPTCFG_IPMI_POWEROFF=m +CPTCFG_HW_RANDOM=y +CPTCFG_HW_RANDOM_TIMERIOMEM=m +CPTCFG_HW_RANDOM_INTEL=m +CPTCFG_HW_RANDOM_AMD=m +CPTCFG_HW_RANDOM_VIA=m +CPTCFG_HW_RANDOM_VIRTIO=m +CPTCFG_HW_RANDOM_TPM=m +CPTCFG_NVRAM=m +CPTCFG_R3964=m +CPTCFG_APPLICOM=m +CPTCFG_SYNCLINK_CS=m +CPTCFG_CARDMAN_4000=m +CPTCFG_CARDMAN_4040=m +CPTCFG_MWAVE=m +CPTCFG_RAW_DRIVER=m +CPTCFG_HPET=y +CPTCFG_HPET_MMAP=y +CPTCFG_HPET_MMAP_DEFAULT=y +CPTCFG_HANGCHECK_TIMER=m +CPTCFG_TCG_TPM=y +CPTCFG_TCG_TIS=y +CPTCFG_TCG_TIS_I2C_INFINEON=m +CPTCFG_TCG_TIS_I2C_NUVOTON=m +CPTCFG_TCG_NSC=m +CPTCFG_TCG_INFINEON=m +CPTCFG_TCG_XEN=m +CPTCFG_TCG_CRB=m +CPTCFG_TCG_TIS_ST33ZP24=m +CPTCFG_TCG_TIS_ST33ZP24_I2C=m +CPTCFG_TCG_TIS_ST33ZP24_SPI=m +CPTCFG_TELCLOCK=m +CPTCFG_DEVPORT=y +CPTCFG_XILLYBUS=m +CPTCFG_XILLYBUS_PCIE=m +CPTCFG_I2C=y +CPTCFG_ACPI_I2C_OPREGION=y +CPTCFG_I2C_BOARDINFO=y +CPTCFG_I2C_COMPAT=y +CPTCFG_I2C_CHARDEV=y +CPTCFG_I2C_MUX=m +CPTCFG_I2C_MUX_GPIO=m +CPTCFG_I2C_MUX_PCA9541=m +CPTCFG_I2C_MUX_PCA954x=m +CPTCFG_I2C_MUX_PINCTRL=m +CPTCFG_I2C_MUX_REG=m +CPTCFG_I2C_HELPER_AUTO=y +CPTCFG_I2C_SMBUS=m +CPTCFG_I2C_ALGOBIT=m +CPTCFG_I2C_ALGOPCA=m +CPTCFG_I2C_ALI1535=m +CPTCFG_I2C_ALI1563=m +CPTCFG_I2C_ALI15X3=m +CPTCFG_I2C_AMD756=m +CPTCFG_I2C_AMD756_S4882=m +CPTCFG_I2C_AMD8111=m +CPTCFG_I2C_I801=m +CPTCFG_I2C_ISCH=m +CPTCFG_I2C_ISMT=m +CPTCFG_I2C_PIIX4=m +CPTCFG_I2C_NFORCE2=m +CPTCFG_I2C_NFORCE2_S4985=m +CPTCFG_I2C_SIS5595=m +CPTCFG_I2C_SIS630=m +CPTCFG_I2C_SIS96X=m +CPTCFG_I2C_VIA=m +CPTCFG_I2C_VIAPRO=m +CPTCFG_I2C_SCMI=m +CPTCFG_I2C_CBUS_GPIO=m +CPTCFG_I2C_DESIGNWARE_CORE=m +CPTCFG_I2C_DESIGNWARE_PLATFORM=m +CPTCFG_I2C_DESIGNWARE_PCI=m +CPTCFG_I2C_DESIGNWARE_BAYTRAIL=y +CPTCFG_I2C_EMEV2=m +CPTCFG_I2C_GPIO=m +CPTCFG_I2C_KEMPLD=m +CPTCFG_I2C_OCORES=m +CPTCFG_I2C_PCA_PLATFORM=m +CPTCFG_I2C_SIMTEC=m +CPTCFG_I2C_XILINX=m +CPTCFG_I2C_DIOLAN_U2C=m +CPTCFG_I2C_DLN2=m +CPTCFG_I2C_PARPORT=m +CPTCFG_I2C_PARPORT_LIGHT=m +CPTCFG_I2C_ROBOTFUZZ_OSIF=m +CPTCFG_I2C_TAOS_EVM=m +CPTCFG_I2C_TINY_USB=m +CPTCFG_I2C_VIPERBOARD=m +CPTCFG_I2C_CROS_EC_TUNNEL=m +CPTCFG_I2C_STUB=m +CPTCFG_SPI=y +CPTCFG_SPI_MASTER=y +CPTCFG_SPI_ALTERA=m +CPTCFG_SPI_BITBANG=m +CPTCFG_SPI_BUTTERFLY=m +CPTCFG_SPI_CADENCE=m +CPTCFG_SPI_DLN2=m +CPTCFG_SPI_GPIO=m +CPTCFG_SPI_LM70_LLP=m +CPTCFG_SPI_OC_TINY=m +CPTCFG_SPI_PXA2XX_DMA=y +CPTCFG_SPI_PXA2XX=m +CPTCFG_SPI_PXA2XX_PCI=m +CPTCFG_SPI_SC18IS602=m +CPTCFG_SPI_XCOMM=m +CPTCFG_SPI_ZYNQMP_GQSPI=m +CPTCFG_SPI_DESIGNWARE=m +CPTCFG_SPI_DW_PCI=m +CPTCFG_SPI_DW_MID_DMA=y +CPTCFG_SPI_DW_MMIO=m +CPTCFG_SPI_SPIDEV=m +CPTCFG_SPI_TLE62X0=m +CPTCFG_SPMI=m +CPTCFG_HSI=m +CPTCFG_HSI_BOARDINFO=y +CPTCFG_HSI_CHAR=m +CPTCFG_PPS=m +CPTCFG_PPS_CLIENT_LDISC=m +CPTCFG_PPS_CLIENT_PARPORT=m +CPTCFG_PPS_CLIENT_GPIO=m +CPTCFG_PTP_1588_CLOCK=m +CPTCFG_PINCTRL=y +CPTCFG_PINMUX=y +CPTCFG_PINCONF=y +CPTCFG_GENERIC_PINCONF=y +CPTCFG_PINCTRL_AMD=y +CPTCFG_PINCTRL_BAYTRAIL=y +CPTCFG_PINCTRL_CHERRYVIEW=y +CPTCFG_PINCTRL_INTEL=m +CPTCFG_PINCTRL_BROXTON=m +CPTCFG_PINCTRL_SUNRISEPOINT=m +CPTCFG_ARCH_WANT_OPTIONAL_GPIOLIB=y +CPTCFG_GPIOLIB=y +CPTCFG_GPIO_DEVRES=y +CPTCFG_GPIO_ACPI=y +CPTCFG_GPIOLIB_IRQCHIP=y +CPTCFG_GPIO_SYSFS=y +CPTCFG_GPIO_GENERIC=m +CPTCFG_GPIO_MAX730X=m +CPTCFG_GPIO_AMDPT=m +CPTCFG_GPIO_DWAPB=m +CPTCFG_GPIO_GENERIC_PLATFORM=m +CPTCFG_GPIO_ICH=m +CPTCFG_GPIO_LYNXPOINT=y +CPTCFG_GPIO_VX855=m +CPTCFG_GPIO_ZX=y +CPTCFG_GPIO_104_IDIO_16=m +CPTCFG_GPIO_F7188X=m +CPTCFG_GPIO_IT87=m +CPTCFG_GPIO_SCH=m +CPTCFG_GPIO_SCH311X=m +CPTCFG_GPIO_ADP5588=m +CPTCFG_GPIO_MAX7300=m +CPTCFG_GPIO_MAX732X=m +CPTCFG_GPIO_PCA953X=m +CPTCFG_GPIO_PCF857X=m +CPTCFG_GPIO_SX150X=y +CPTCFG_GPIO_ADP5520=m +CPTCFG_GPIO_ARIZONA=m +CPTCFG_GPIO_CRYSTAL_COVE=m +CPTCFG_GPIO_DA9052=m +CPTCFG_GPIO_DA9055=m +CPTCFG_GPIO_DLN2=m +CPTCFG_GPIO_JANZ_TTL=m +CPTCFG_GPIO_KEMPLD=m +CPTCFG_GPIO_LP3943=m +CPTCFG_GPIO_PALMAS=y +CPTCFG_GPIO_RC5T583=y +CPTCFG_GPIO_TPS6586X=y +CPTCFG_GPIO_TPS65910=y +CPTCFG_GPIO_TPS65912=m +CPTCFG_GPIO_TWL4030=m +CPTCFG_GPIO_TWL6040=m +CPTCFG_GPIO_UCB1400=m +CPTCFG_GPIO_WM831X=m +CPTCFG_GPIO_WM8350=m +CPTCFG_GPIO_WM8994=m +CPTCFG_GPIO_AMD8111=m +CPTCFG_GPIO_INTEL_MID=y +CPTCFG_GPIO_ML_IOH=m +CPTCFG_GPIO_RDC321X=m +CPTCFG_GPIO_MAX7301=m +CPTCFG_GPIO_MC33880=m +CPTCFG_GPIO_MCP23S08=m +CPTCFG_GPIO_VIPERBOARD=m +CPTCFG_W1=m +CPTCFG_W1_CON=y +CPTCFG_W1_MASTER_MATROX=m +CPTCFG_W1_MASTER_DS2490=m +CPTCFG_W1_MASTER_DS2482=m +CPTCFG_W1_MASTER_DS1WM=m +CPTCFG_W1_MASTER_GPIO=m +CPTCFG_W1_SLAVE_THERM=m +CPTCFG_W1_SLAVE_SMEM=m +CPTCFG_W1_SLAVE_DS2408=m +CPTCFG_W1_SLAVE_DS2408_READBACK=y +CPTCFG_W1_SLAVE_DS2413=m +CPTCFG_W1_SLAVE_DS2406=m +CPTCFG_W1_SLAVE_DS2423=m +CPTCFG_W1_SLAVE_DS2431=m +CPTCFG_W1_SLAVE_DS2433=m +CPTCFG_W1_SLAVE_DS2760=m +CPTCFG_W1_SLAVE_DS2780=m +CPTCFG_W1_SLAVE_DS2781=m +CPTCFG_W1_SLAVE_DS28E04=m +CPTCFG_W1_SLAVE_BQ27000=m +CPTCFG_POWER_SUPPLY=y +CPTCFG_PDA_POWER=m +CPTCFG_GENERIC_ADC_BATTERY=m +CPTCFG_MAX8925_POWER=m +CPTCFG_WM831X_BACKUP=m +CPTCFG_WM831X_POWER=m +CPTCFG_WM8350_POWER=m +CPTCFG_TEST_POWER=m +CPTCFG_BATTERY_88PM860X=m +CPTCFG_BATTERY_DS2760=m +CPTCFG_BATTERY_DS2780=m +CPTCFG_BATTERY_DS2781=m +CPTCFG_BATTERY_DS2782=m +CPTCFG_BATTERY_SBS=m +CPTCFG_BATTERY_BQ27XXX=m +CPTCFG_BATTERY_BQ27XXX_I2C=y +CPTCFG_BATTERY_BQ27XXX_PLATFORM=y +CPTCFG_BATTERY_DA9030=m +CPTCFG_BATTERY_DA9052=m +CPTCFG_CHARGER_DA9150=m +CPTCFG_BATTERY_DA9150=m +CPTCFG_AXP288_CHARGER=m +CPTCFG_AXP288_FUEL_GAUGE=m +CPTCFG_BATTERY_MAX17040=m +CPTCFG_BATTERY_MAX17042=m +CPTCFG_BATTERY_TWL4030_MADC=m +CPTCFG_CHARGER_88PM860X=m +CPTCFG_CHARGER_PCF50633=m +CPTCFG_BATTERY_RX51=m +CPTCFG_CHARGER_ISP1704=m +CPTCFG_CHARGER_MAX8903=m +CPTCFG_CHARGER_TWL4030=m +CPTCFG_CHARGER_LP8727=m +CPTCFG_CHARGER_LP8788=m +CPTCFG_CHARGER_GPIO=m +CPTCFG_CHARGER_MANAGER=y +CPTCFG_CHARGER_MAX14577=m +CPTCFG_CHARGER_MAX77693=m +CPTCFG_CHARGER_MAX8997=m +CPTCFG_CHARGER_MAX8998=m +CPTCFG_CHARGER_BQ2415X=m +CPTCFG_CHARGER_BQ24190=m +CPTCFG_CHARGER_BQ24257=m +CPTCFG_CHARGER_BQ24735=m +CPTCFG_CHARGER_BQ25890=m +CPTCFG_CHARGER_SMB347=m +CPTCFG_CHARGER_TPS65090=m +CPTCFG_CHARGER_TPS65217=m +CPTCFG_BATTERY_GAUGE_LTC2941=m +CPTCFG_BATTERY_RT5033=m +CPTCFG_CHARGER_RT9455=m +CPTCFG_AXP20X_POWER=m +CPTCFG_POWER_RESET=y +CPTCFG_POWER_RESET_RESTART=y +CPTCFG_POWER_AVS=y +CPTCFG_HWMON=y +CPTCFG_HWMON_VID=m +CPTCFG_SENSORS_ABITUGURU=m +CPTCFG_SENSORS_ABITUGURU3=m +CPTCFG_SENSORS_AD7314=m +CPTCFG_SENSORS_AD7414=m +CPTCFG_SENSORS_AD7418=m +CPTCFG_SENSORS_ADM1021=m +CPTCFG_SENSORS_ADM1025=m +CPTCFG_SENSORS_ADM1026=m +CPTCFG_SENSORS_ADM1029=m +CPTCFG_SENSORS_ADM1031=m +CPTCFG_SENSORS_ADM9240=m +CPTCFG_SENSORS_ADT7X10=m +CPTCFG_SENSORS_ADT7310=m +CPTCFG_SENSORS_ADT7410=m +CPTCFG_SENSORS_ADT7411=m +CPTCFG_SENSORS_ADT7462=m +CPTCFG_SENSORS_ADT7470=m +CPTCFG_SENSORS_ADT7475=m +CPTCFG_SENSORS_ASC7621=m +CPTCFG_SENSORS_K8TEMP=m +CPTCFG_SENSORS_K10TEMP=m +CPTCFG_SENSORS_FAM15H_POWER=m +CPTCFG_SENSORS_APPLESMC=m +CPTCFG_SENSORS_ASB100=m +CPTCFG_SENSORS_ATXP1=m +CPTCFG_SENSORS_DS620=m +CPTCFG_SENSORS_DS1621=m +CPTCFG_SENSORS_DELL_SMM=m +CPTCFG_SENSORS_DA9052_ADC=m +CPTCFG_SENSORS_DA9055=m +CPTCFG_SENSORS_I5K_AMB=m +CPTCFG_SENSORS_F71805F=m +CPTCFG_SENSORS_F71882FG=m +CPTCFG_SENSORS_F75375S=m +CPTCFG_SENSORS_MC13783_ADC=m +CPTCFG_SENSORS_FSCHMD=m +CPTCFG_SENSORS_GL518SM=m +CPTCFG_SENSORS_GL520SM=m +CPTCFG_SENSORS_G760A=m +CPTCFG_SENSORS_G762=m +CPTCFG_SENSORS_GPIO_FAN=m +CPTCFG_SENSORS_HIH6130=m +CPTCFG_SENSORS_IBMAEM=m +CPTCFG_SENSORS_IBMPEX=m +CPTCFG_SENSORS_IIO_HWMON=m +CPTCFG_SENSORS_I5500=m +CPTCFG_SENSORS_CORETEMP=m +CPTCFG_SENSORS_IT87=m +CPTCFG_SENSORS_JC42=m +CPTCFG_SENSORS_POWR1220=m +CPTCFG_SENSORS_LINEAGE=m +CPTCFG_SENSORS_LTC2945=m +CPTCFG_SENSORS_LTC4151=m +CPTCFG_SENSORS_LTC4215=m +CPTCFG_SENSORS_LTC4222=m +CPTCFG_SENSORS_LTC4245=m +CPTCFG_SENSORS_LTC4260=m +CPTCFG_SENSORS_LTC4261=m +CPTCFG_SENSORS_MAX1111=m +CPTCFG_SENSORS_MAX16065=m +CPTCFG_SENSORS_MAX1619=m +CPTCFG_SENSORS_MAX1668=m +CPTCFG_SENSORS_MAX197=m +CPTCFG_SENSORS_MAX6639=m +CPTCFG_SENSORS_MAX6642=m +CPTCFG_SENSORS_MAX6650=m +CPTCFG_SENSORS_MAX6697=m +CPTCFG_SENSORS_MAX31790=m +CPTCFG_SENSORS_HTU21=m +CPTCFG_SENSORS_MCP3021=m +CPTCFG_SENSORS_MENF21BMC_HWMON=m +CPTCFG_SENSORS_ADCXX=m +CPTCFG_SENSORS_LM63=m +CPTCFG_SENSORS_LM70=m +CPTCFG_SENSORS_LM73=m +CPTCFG_SENSORS_LM75=m +CPTCFG_SENSORS_LM77=m +CPTCFG_SENSORS_LM78=m +CPTCFG_SENSORS_LM80=m +CPTCFG_SENSORS_LM83=m +CPTCFG_SENSORS_LM85=m +CPTCFG_SENSORS_LM87=m +CPTCFG_SENSORS_LM90=m +CPTCFG_SENSORS_LM92=m +CPTCFG_SENSORS_LM93=m +CPTCFG_SENSORS_LM95234=m +CPTCFG_SENSORS_LM95241=m +CPTCFG_SENSORS_LM95245=m +CPTCFG_SENSORS_PC87360=m +CPTCFG_SENSORS_PC87427=m +CPTCFG_SENSORS_NTC_THERMISTOR=m +CPTCFG_SENSORS_NCT6683=m +CPTCFG_SENSORS_NCT6775=m +CPTCFG_SENSORS_NCT7802=m +CPTCFG_SENSORS_NCT7904=m +CPTCFG_SENSORS_PCF8591=m +CPTCFG_PMBUS=m +CPTCFG_SENSORS_PMBUS=m +CPTCFG_SENSORS_ADM1275=m +CPTCFG_SENSORS_LM25066=m +CPTCFG_SENSORS_LTC2978=m +CPTCFG_SENSORS_LTC2978_REGULATOR=y +CPTCFG_SENSORS_MAX16064=m +CPTCFG_SENSORS_MAX20751=m +CPTCFG_SENSORS_MAX34440=m +CPTCFG_SENSORS_MAX8688=m +CPTCFG_SENSORS_TPS40422=m +CPTCFG_SENSORS_UCD9000=m +CPTCFG_SENSORS_UCD9200=m +CPTCFG_SENSORS_ZL6100=m +CPTCFG_SENSORS_SHT15=m +CPTCFG_SENSORS_SHT21=m +CPTCFG_SENSORS_SHTC1=m +CPTCFG_SENSORS_SIS5595=m +CPTCFG_SENSORS_DME1737=m +CPTCFG_SENSORS_EMC1403=m +CPTCFG_SENSORS_EMC2103=m +CPTCFG_SENSORS_EMC6W201=m +CPTCFG_SENSORS_SMSC47M1=m +CPTCFG_SENSORS_SMSC47M192=m +CPTCFG_SENSORS_SMSC47B397=m +CPTCFG_SENSORS_SCH56XX_COMMON=m +CPTCFG_SENSORS_SCH5627=m +CPTCFG_SENSORS_SCH5636=m +CPTCFG_SENSORS_SMM665=m +CPTCFG_SENSORS_ADC128D818=m +CPTCFG_SENSORS_ADS1015=m +CPTCFG_SENSORS_ADS7828=m +CPTCFG_SENSORS_ADS7871=m +CPTCFG_SENSORS_AMC6821=m +CPTCFG_SENSORS_INA209=m +CPTCFG_SENSORS_INA2XX=m +CPTCFG_SENSORS_TC74=m +CPTCFG_SENSORS_THMC50=m +CPTCFG_SENSORS_TMP102=m +CPTCFG_SENSORS_TMP103=m +CPTCFG_SENSORS_TMP401=m +CPTCFG_SENSORS_TMP421=m +CPTCFG_SENSORS_TWL4030_MADC=m +CPTCFG_SENSORS_VIA_CPUTEMP=m +CPTCFG_SENSORS_VIA686A=m +CPTCFG_SENSORS_VT1211=m +CPTCFG_SENSORS_VT8231=m +CPTCFG_SENSORS_W83781D=m +CPTCFG_SENSORS_W83791D=m +CPTCFG_SENSORS_W83792D=m +CPTCFG_SENSORS_W83793=m +CPTCFG_SENSORS_W83795=m +CPTCFG_SENSORS_W83L785TS=m +CPTCFG_SENSORS_W83L786NG=m +CPTCFG_SENSORS_W83627HF=m +CPTCFG_SENSORS_W83627EHF=m +CPTCFG_SENSORS_WM831X=m +CPTCFG_SENSORS_WM8350=m +CPTCFG_SENSORS_ACPI_POWER=m +CPTCFG_SENSORS_ATK0110=m +CPTCFG_THERMAL=y +CPTCFG_THERMAL_HWMON=y +CPTCFG_THERMAL_WRITABLE_TRIPS=y +CPTCFG_THERMAL_DEFAULT_GOV_STEP_WISE=y +CPTCFG_THERMAL_GOV_FAIR_SHARE=y +CPTCFG_THERMAL_GOV_STEP_WISE=y +CPTCFG_THERMAL_GOV_BANG_BANG=y +CPTCFG_THERMAL_GOV_USER_SPACE=y +CPTCFG_THERMAL_GOV_POWER_ALLOCATOR=y +CPTCFG_THERMAL_EMULATION=y +CPTCFG_INTEL_POWERCLAMP=m +CPTCFG_X86_PKG_TEMP_THERMAL=m +CPTCFG_INTEL_SOC_DTS_IOSF_CORE=m +CPTCFG_INTEL_SOC_DTS_THERMAL=m +CPTCFG_INT340X_THERMAL=m +CPTCFG_ACPI_THERMAL_REL=m +CPTCFG_INTEL_PCH_THERMAL=m +CPTCFG_WATCHDOG=y +CPTCFG_WATCHDOG_CORE=y +CPTCFG_SOFT_WATCHDOG=m +CPTCFG_DA9052_WATCHDOG=m +CPTCFG_DA9055_WATCHDOG=m +CPTCFG_DA9063_WATCHDOG=m +CPTCFG_DA9062_WATCHDOG=m +CPTCFG_MENF21BMC_WATCHDOG=m +CPTCFG_WM831X_WATCHDOG=m +CPTCFG_WM8350_WATCHDOG=m +CPTCFG_XILINX_WATCHDOG=m +CPTCFG_CADENCE_WATCHDOG=m +CPTCFG_DW_WATCHDOG=m +CPTCFG_RN5T618_WATCHDOG=m +CPTCFG_TWL4030_WATCHDOG=m +CPTCFG_MAX63XX_WATCHDOG=m +CPTCFG_RETU_WATCHDOG=m +CPTCFG_ACQUIRE_WDT=m +CPTCFG_ADVANTECH_WDT=m +CPTCFG_ALIM1535_WDT=m +CPTCFG_ALIM7101_WDT=m +CPTCFG_F71808E_WDT=m +CPTCFG_SP5100_TCO=m +CPTCFG_SBC_FITPC2_WATCHDOG=m +CPTCFG_EUROTECH_WDT=m +CPTCFG_IB700_WDT=m +CPTCFG_IBMASR=m +CPTCFG_WAFER_WDT=m +CPTCFG_I6300ESB_WDT=m +CPTCFG_IE6XX_WDT=m +CPTCFG_ITCO_WDT=m +CPTCFG_ITCO_VENDOR_SUPPORT=y +CPTCFG_IT8712F_WDT=m +CPTCFG_IT87_WDT=m +CPTCFG_HP_WATCHDOG=m +CPTCFG_KEMPLD_WDT=m +CPTCFG_HPWDT_NMI_DECODING=y +CPTCFG_SC1200_WDT=m +CPTCFG_PC87413_WDT=m +CPTCFG_NV_TCO=m +CPTCFG_60XX_WDT=m +CPTCFG_CPU5_WDT=m +CPTCFG_SMSC_SCH311X_WDT=m +CPTCFG_SMSC37B787_WDT=m +CPTCFG_VIA_WDT=m +CPTCFG_W83627HF_WDT=m +CPTCFG_W83877F_WDT=m +CPTCFG_W83977F_WDT=m +CPTCFG_MACHZ_WDT=m +CPTCFG_SBC_EPX_C3_WATCHDOG=m +CPTCFG_BCM7038_WDT=m +CPTCFG_MEN_A21_WDT=m +CPTCFG_XEN_WDT=m +CPTCFG_PCIPCWATCHDOG=m +CPTCFG_WDTPCI=m +CPTCFG_USBPCWATCHDOG=m +CPTCFG_SSB_HOST_SOC=y +CPTCFG_MFD_CORE=y +CPTCFG_MFD_AS3711=y +CPTCFG_PMIC_ADP5520=y +CPTCFG_MFD_AAT2870_CORE=y +CPTCFG_MFD_BCM590XX=m +CPTCFG_MFD_AXP20X=y +CPTCFG_MFD_CROS_EC=m +CPTCFG_MFD_CROS_EC_I2C=m +CPTCFG_MFD_CROS_EC_SPI=m +CPTCFG_PMIC_DA903X=y +CPTCFG_PMIC_DA9052=y +CPTCFG_MFD_DA9052_SPI=y +CPTCFG_MFD_DA9052_I2C=y +CPTCFG_MFD_DA9055=y +CPTCFG_MFD_DA9062=m +CPTCFG_MFD_DA9063=y +CPTCFG_MFD_DA9150=m +CPTCFG_MFD_DLN2=m +CPTCFG_MFD_MC13XXX=m +CPTCFG_MFD_MC13XXX_SPI=m +CPTCFG_MFD_MC13XXX_I2C=m +CPTCFG_HTC_PASIC3=m +CPTCFG_HTC_I2CPLD=y +CPTCFG_MFD_INTEL_QUARK_I2C_GPIO=m +CPTCFG_LPC_ICH=m +CPTCFG_LPC_SCH=m +CPTCFG_INTEL_SOC_PMIC=y +CPTCFG_MFD_INTEL_LPSS=m +CPTCFG_MFD_INTEL_LPSS_ACPI=m +CPTCFG_MFD_INTEL_LPSS_PCI=m +CPTCFG_MFD_JANZ_CMODIO=m +CPTCFG_MFD_KEMPLD=m +CPTCFG_MFD_88PM800=m +CPTCFG_MFD_88PM805=m +CPTCFG_MFD_88PM860X=y +CPTCFG_MFD_MAX14577=y +CPTCFG_MFD_MAX77693=y +CPTCFG_MFD_MAX77843=y +CPTCFG_MFD_MAX8907=m +CPTCFG_MFD_MAX8925=y +CPTCFG_MFD_MAX8997=y +CPTCFG_MFD_MAX8998=y +CPTCFG_MFD_MT6397=m +CPTCFG_MFD_MENF21BMC=m +CPTCFG_EZX_PCAP=y +CPTCFG_MFD_VIPERBOARD=m +CPTCFG_MFD_RETU=m +CPTCFG_MFD_PCF50633=m +CPTCFG_PCF50633_ADC=m +CPTCFG_PCF50633_GPIO=m +CPTCFG_UCB1400_CORE=m +CPTCFG_MFD_RDC321X=m +CPTCFG_MFD_RTSX_PCI=m +CPTCFG_MFD_RT5033=m +CPTCFG_MFD_RTSX_USB=m +CPTCFG_MFD_RC5T583=y +CPTCFG_MFD_RN5T618=m +CPTCFG_MFD_SEC_CORE=y +CPTCFG_MFD_SI476X_CORE=m +CPTCFG_MFD_SM501=m +CPTCFG_MFD_SM501_GPIO=y +CPTCFG_MFD_SKY81452=m +CPTCFG_MFD_SMSC=y +CPTCFG_ABX500_CORE=y +CPTCFG_AB3100_CORE=y +CPTCFG_AB3100_OTP=m +CPTCFG_MFD_SYSCON=y +CPTCFG_MFD_TI_AM335X_TSCADC=m +CPTCFG_MFD_LP3943=m +CPTCFG_MFD_LP8788=y +CPTCFG_MFD_PALMAS=y +CPTCFG_TPS6105X=m +CPTCFG_TPS65010=m +CPTCFG_TPS6507X=m +CPTCFG_MFD_TPS65090=y +CPTCFG_MFD_TPS65217=y +CPTCFG_MFD_TPS65218=m +CPTCFG_MFD_TPS6586X=y +CPTCFG_MFD_TPS65910=y +CPTCFG_MFD_TPS65912=y +CPTCFG_MFD_TPS65912_I2C=y +CPTCFG_MFD_TPS65912_SPI=y +CPTCFG_MFD_TPS80031=y +CPTCFG_TWL4030_CORE=y +CPTCFG_MFD_TWL4030_AUDIO=y +CPTCFG_TWL6040_CORE=y +CPTCFG_MFD_WL1273_CORE=m +CPTCFG_MFD_LM3533=m +CPTCFG_MFD_VX855=m +CPTCFG_MFD_ARIZONA=y +CPTCFG_MFD_ARIZONA_I2C=m +CPTCFG_MFD_ARIZONA_SPI=m +CPTCFG_MFD_WM5102=y +CPTCFG_MFD_WM5110=y +CPTCFG_MFD_WM8997=y +CPTCFG_MFD_WM8998=y +CPTCFG_MFD_WM8400=y +CPTCFG_MFD_WM831X=y +CPTCFG_MFD_WM831X_I2C=y +CPTCFG_MFD_WM831X_SPI=y +CPTCFG_MFD_WM8350=y +CPTCFG_MFD_WM8350_I2C=y +CPTCFG_MFD_WM8994=m +CPTCFG_REGULATOR=y +CPTCFG_REGULATOR_FIXED_VOLTAGE=m +CPTCFG_REGULATOR_VIRTUAL_CONSUMER=m +CPTCFG_REGULATOR_USERSPACE_CONSUMER=m +CPTCFG_REGULATOR_88PM800=m +CPTCFG_REGULATOR_88PM8607=m +CPTCFG_REGULATOR_ACT8865=m +CPTCFG_REGULATOR_AD5398=m +CPTCFG_REGULATOR_ANATOP=m +CPTCFG_REGULATOR_AAT2870=m +CPTCFG_REGULATOR_AB3100=m +CPTCFG_REGULATOR_ARIZONA=m +CPTCFG_REGULATOR_AS3711=m +CPTCFG_REGULATOR_AXP20X=m +CPTCFG_REGULATOR_BCM590XX=m +CPTCFG_REGULATOR_DA903X=m +CPTCFG_REGULATOR_DA9052=m +CPTCFG_REGULATOR_DA9055=m +CPTCFG_REGULATOR_DA9062=m +CPTCFG_REGULATOR_DA9063=m +CPTCFG_REGULATOR_DA9210=m +CPTCFG_REGULATOR_DA9211=m +CPTCFG_REGULATOR_FAN53555=m +CPTCFG_REGULATOR_GPIO=m +CPTCFG_REGULATOR_ISL9305=m +CPTCFG_REGULATOR_ISL6271A=m +CPTCFG_REGULATOR_LP3971=m +CPTCFG_REGULATOR_LP3972=m +CPTCFG_REGULATOR_LP872X=m +CPTCFG_REGULATOR_LP8755=m +CPTCFG_REGULATOR_LP8788=m +CPTCFG_REGULATOR_LTC3589=m +CPTCFG_REGULATOR_MAX14577=m +CPTCFG_REGULATOR_MAX1586=m +CPTCFG_REGULATOR_MAX8649=m +CPTCFG_REGULATOR_MAX8660=m +CPTCFG_REGULATOR_MAX8907=m +CPTCFG_REGULATOR_MAX8925=m +CPTCFG_REGULATOR_MAX8952=m +CPTCFG_REGULATOR_MAX8973=m +CPTCFG_REGULATOR_MAX8997=m +CPTCFG_REGULATOR_MAX8998=m +CPTCFG_REGULATOR_MAX77693=m +CPTCFG_REGULATOR_MC13XXX_CORE=m +CPTCFG_REGULATOR_MC13783=m +CPTCFG_REGULATOR_MC13892=m +CPTCFG_REGULATOR_MT6311=m +CPTCFG_REGULATOR_MT6397=m +CPTCFG_REGULATOR_PALMAS=m +CPTCFG_REGULATOR_PCAP=m +CPTCFG_REGULATOR_PCF50633=m +CPTCFG_REGULATOR_PWM=m +CPTCFG_REGULATOR_QCOM_SPMI=m +CPTCFG_REGULATOR_RC5T583=m +CPTCFG_REGULATOR_RN5T618=m +CPTCFG_REGULATOR_RT5033=m +CPTCFG_REGULATOR_S2MPA01=m +CPTCFG_REGULATOR_S2MPS11=m +CPTCFG_REGULATOR_S5M8767=m +CPTCFG_REGULATOR_SKY81452=m +CPTCFG_REGULATOR_TPS51632=m +CPTCFG_REGULATOR_TPS6105X=m +CPTCFG_REGULATOR_TPS62360=m +CPTCFG_REGULATOR_TPS65023=m +CPTCFG_REGULATOR_TPS6507X=m +CPTCFG_REGULATOR_TPS65090=m +CPTCFG_REGULATOR_TPS65217=y +CPTCFG_REGULATOR_TPS6524X=m +CPTCFG_REGULATOR_TPS6586X=m +CPTCFG_REGULATOR_TPS65910=m +CPTCFG_REGULATOR_TPS65912=m +CPTCFG_REGULATOR_TPS80031=m +CPTCFG_REGULATOR_TWL4030=m +CPTCFG_REGULATOR_WM831X=m +CPTCFG_REGULATOR_WM8350=m +CPTCFG_REGULATOR_WM8400=m +CPTCFG_REGULATOR_WM8994=m +CPTCFG_DVB_NETUP_UNIDVB=m +CPTCFG_DVB_PLATFORM_DRIVERS=y +CPTCFG_DVB_CXD2841ER=m +CPTCFG_DVB_LNBH25=m +CPTCFG_DVB_HORUS3A=m +CPTCFG_DVB_ASCOT2E=m +CPTCFG_AGP=y +CPTCFG_AGP_AMD64=y +CPTCFG_AGP_INTEL=y +CPTCFG_AGP_SIS=m +CPTCFG_AGP_VIA=y +CPTCFG_INTEL_GTT=y +CPTCFG_VGA_ARB=y +CPTCFG_VGA_SWITCHEROO=y +CPTCFG_DRM=m +CPTCFG_DRM_MIPI_DSI=y +CPTCFG_DRM_DP_AUX_CHARDEV=y +CPTCFG_DRM_KMS_HELPER=m +CPTCFG_DRM_KMS_FB_HELPER=y +CPTCFG_DRM_FBDEV_EMULATION=y +CPTCFG_DRM_LOAD_EDID_FIRMWARE=y +CPTCFG_DRM_TTM=m +CPTCFG_DRM_I2C_ADV7511=m +CPTCFG_DRM_I2C_CH7006=m +CPTCFG_DRM_I2C_SIL164=m +CPTCFG_DRM_I2C_NXP_TDA998X=m +CPTCFG_DRM_TDFX=m +CPTCFG_DRM_R128=m +CPTCFG_DRM_RADEON=m +CPTCFG_DRM_AMDGPU=m +CPTCFG_DRM_AMDGPU_USERPTR=y +CPTCFG_DRM_AMD_POWERPLAY=y +CPTCFG_DRM_NOUVEAU=m +CPTCFG_DRM_NOUVEAU_BACKLIGHT=y +CPTCFG_DRM_I810=m +CPTCFG_DRM_I915=m +CPTCFG_DRM_MGA=m +CPTCFG_DRM_SIS=m +CPTCFG_DRM_VIA=m +CPTCFG_DRM_SAVAGE=m +CPTCFG_DRM_VGEM=m +CPTCFG_DRM_VMWGFX=m +CPTCFG_DRM_VMWGFX_FBCON=y +CPTCFG_DRM_GMA500=m +CPTCFG_DRM_GMA600=y +CPTCFG_DRM_GMA3600=y +CPTCFG_DRM_UDL=m +CPTCFG_DRM_AST=m +CPTCFG_DRM_CIRRUS_QEMU=m +CPTCFG_DRM_QXL=m +CPTCFG_DRM_VIRTIO_GPU=m +CPTCFG_DRM_PANEL=y +CPTCFG_DRM_BRIDGE=y +CPTCFG_HSA_AMD=m +CPTCFG_FB=y +CPTCFG_FIRMWARE_EDID=y +CPTCFG_FB_CMDLINE=y +CPTCFG_FB_DDC=m +CPTCFG_FB_BOOT_VESA_SUPPORT=y +CPTCFG_FB_CFB_FILLRECT=y +CPTCFG_FB_CFB_COPYAREA=y +CPTCFG_FB_CFB_IMAGEBLIT=y +CPTCFG_FB_SYS_FILLRECT=m +CPTCFG_FB_SYS_COPYAREA=m +CPTCFG_FB_SYS_IMAGEBLIT=m +CPTCFG_FB_SYS_FOPS=m +CPTCFG_FB_DEFERRED_IO=y +CPTCFG_FB_HECUBA=m +CPTCFG_FB_SVGALIB=m +CPTCFG_FB_BACKLIGHT=y +CPTCFG_FB_MODE_HELPERS=y +CPTCFG_FB_TILEBLITTING=y +CPTCFG_FB_CIRRUS=m +CPTCFG_FB_PM2=m +CPTCFG_FB_PM2_FIFO_DISCONNECT=y +CPTCFG_FB_CYBER2000=m +CPTCFG_FB_CYBER2000_DDC=y +CPTCFG_FB_ARC=m +CPTCFG_FB_ASILIANT=y +CPTCFG_FB_IMSTT=y +CPTCFG_FB_VGA16=m +CPTCFG_FB_UVESA=m +CPTCFG_FB_VESA=y +CPTCFG_FB_EFI=y +CPTCFG_FB_N411=m +CPTCFG_FB_HGA=m +CPTCFG_FB_OPENCORES=m +CPTCFG_FB_S1D13XXX=m +CPTCFG_FB_NVIDIA=m +CPTCFG_FB_NVIDIA_I2C=y +CPTCFG_FB_NVIDIA_BACKLIGHT=y +CPTCFG_FB_RIVA=m +CPTCFG_FB_RIVA_I2C=y +CPTCFG_FB_RIVA_BACKLIGHT=y +CPTCFG_FB_I740=m +CPTCFG_FB_LE80578=m +CPTCFG_FB_CARILLO_RANCH=m +CPTCFG_FB_INTEL=m +CPTCFG_FB_INTEL_I2C=y +CPTCFG_FB_MATROX=m +CPTCFG_FB_MATROX_MILLENIUM=y +CPTCFG_FB_MATROX_MYSTIQUE=y +CPTCFG_FB_MATROX_G=y +CPTCFG_FB_MATROX_I2C=m +CPTCFG_FB_MATROX_MAVEN=m +CPTCFG_FB_RADEON=m +CPTCFG_FB_RADEON_I2C=y +CPTCFG_FB_RADEON_BACKLIGHT=y +CPTCFG_FB_ATY128=m +CPTCFG_FB_ATY128_BACKLIGHT=y +CPTCFG_FB_ATY=m +CPTCFG_FB_ATY_CT=y +CPTCFG_FB_ATY_GX=y +CPTCFG_FB_ATY_BACKLIGHT=y +CPTCFG_FB_S3=m +CPTCFG_FB_S3_DDC=y +CPTCFG_FB_SAVAGE=m +CPTCFG_FB_SAVAGE_I2C=y +CPTCFG_FB_SIS=m +CPTCFG_FB_SIS_300=y +CPTCFG_FB_SIS_315=y +CPTCFG_FB_VIA=m +CPTCFG_FB_VIA_X_COMPATIBILITY=y +CPTCFG_FB_NEOMAGIC=m +CPTCFG_FB_KYRO=m +CPTCFG_FB_3DFX=m +CPTCFG_FB_VOODOO1=m +CPTCFG_FB_VT8623=m +CPTCFG_FB_TRIDENT=m +CPTCFG_FB_ARK=m +CPTCFG_FB_PM3=m +CPTCFG_FB_CARMINE=m +CPTCFG_FB_CARMINE_DRAM_EVAL=y +CPTCFG_FB_SM501=m +CPTCFG_FB_SMSCUFX=m +CPTCFG_FB_UDL=m +CPTCFG_FB_IBM_GXT4500=m +CPTCFG_XEN_FBDEV_FRONTEND=m +CPTCFG_FB_METRONOME=m +CPTCFG_FB_MB862XX=m +CPTCFG_FB_MB862XX_PCI_GDC=y +CPTCFG_FB_MB862XX_I2C=y +CPTCFG_FB_BROADSHEET=m +CPTCFG_FB_AUO_K190X=m +CPTCFG_FB_AUO_K1900=m +CPTCFG_FB_AUO_K1901=m +CPTCFG_FB_HYPERV=m +CPTCFG_FB_SIMPLE=y +CPTCFG_FB_SM712=m +CPTCFG_BACKLIGHT_LCD_SUPPORT=y +CPTCFG_LCD_CLASS_DEVICE=m +CPTCFG_LCD_L4F00242T03=m +CPTCFG_LCD_LMS283GF05=m +CPTCFG_LCD_LTV350QV=m +CPTCFG_LCD_ILI922X=m +CPTCFG_LCD_ILI9320=m +CPTCFG_LCD_TDO24M=m +CPTCFG_LCD_VGG2432A4=m +CPTCFG_LCD_PLATFORM=m +CPTCFG_LCD_S6E63M0=m +CPTCFG_LCD_LD9040=m +CPTCFG_LCD_AMS369FG06=m +CPTCFG_LCD_LMS501KF03=m +CPTCFG_LCD_HX8357=m +CPTCFG_BACKLIGHT_CLASS_DEVICE=y +CPTCFG_BACKLIGHT_GENERIC=m +CPTCFG_BACKLIGHT_LM3533=m +CPTCFG_BACKLIGHT_CARILLO_RANCH=m +CPTCFG_BACKLIGHT_PWM=m +CPTCFG_BACKLIGHT_DA903X=m +CPTCFG_BACKLIGHT_DA9052=m +CPTCFG_BACKLIGHT_MAX8925=m +CPTCFG_BACKLIGHT_APPLE=m +CPTCFG_BACKLIGHT_PM8941_WLED=m +CPTCFG_BACKLIGHT_SAHARA=m +CPTCFG_BACKLIGHT_WM831X=m +CPTCFG_BACKLIGHT_ADP5520=m +CPTCFG_BACKLIGHT_ADP8860=m +CPTCFG_BACKLIGHT_ADP8870=m +CPTCFG_BACKLIGHT_88PM860X=m +CPTCFG_BACKLIGHT_PCF50633=m +CPTCFG_BACKLIGHT_AAT2870=m +CPTCFG_BACKLIGHT_LM3630A=m +CPTCFG_BACKLIGHT_LM3639=m +CPTCFG_BACKLIGHT_LP855X=m +CPTCFG_BACKLIGHT_LP8788=m +CPTCFG_BACKLIGHT_PANDORA=m +CPTCFG_BACKLIGHT_SKY81452=m +CPTCFG_BACKLIGHT_TPS65217=m +CPTCFG_BACKLIGHT_AS3711=m +CPTCFG_BACKLIGHT_GPIO=m +CPTCFG_BACKLIGHT_LV5207LP=m +CPTCFG_BACKLIGHT_BD6107=m +CPTCFG_VGASTATE=m +CPTCFG_HDMI=y +CPTCFG_VGA_CONSOLE=y +CPTCFG_DUMMY_CONSOLE=y +CPTCFG_FRAMEBUFFER_CONSOLE=y +CPTCFG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y +CPTCFG_FRAMEBUFFER_CONSOLE_ROTATION=y +CPTCFG_SOUND=m +CPTCFG_SOUND_OSS_CORE=y +CPTCFG_SND=m +CPTCFG_SND_TIMER=m +CPTCFG_SND_PCM=m +CPTCFG_SND_DMAENGINE_PCM=m +CPTCFG_SND_HWDEP=m +CPTCFG_SND_RAWMIDI=m +CPTCFG_SND_COMPRESS_OFFLOAD=m +CPTCFG_SND_JACK=y +CPTCFG_SND_SEQUENCER=m +CPTCFG_SND_SEQ_DUMMY=m +CPTCFG_SND_OSSEMUL=y +CPTCFG_SND_MIXER_OSS=m +CPTCFG_SND_PCM_OSS=m +CPTCFG_SND_PCM_OSS_PLUGINS=y +CPTCFG_SND_PCM_TIMER=y +CPTCFG_SND_HRTIMER=m +CPTCFG_SND_SEQ_HRTIMER_DEFAULT=y +CPTCFG_SND_DYNAMIC_MINORS=y +CPTCFG_SND_SUPPORT_OLD_API=y +CPTCFG_SND_PROC_FS=y +CPTCFG_SND_VERBOSE_PROCFS=y +CPTCFG_SND_VMASTER=y +CPTCFG_SND_DMA_SGBUF=y +CPTCFG_SND_RAWMIDI_SEQ=m +CPTCFG_SND_OPL3_LIB_SEQ=m +CPTCFG_SND_EMU10K1_SEQ=m +CPTCFG_SND_MPU401_UART=m +CPTCFG_SND_OPL3_LIB=m +CPTCFG_SND_VX_LIB=m +CPTCFG_SND_AC97_CODEC=m +CPTCFG_SND_DRIVERS=y +CPTCFG_SND_PCSP=m +CPTCFG_SND_DUMMY=m +CPTCFG_SND_ALOOP=m +CPTCFG_SND_VIRMIDI=m +CPTCFG_SND_MTPAV=m +CPTCFG_SND_MTS64=m +CPTCFG_SND_SERIAL_U16550=m +CPTCFG_SND_MPU401=m +CPTCFG_SND_PORTMAN2X4=m +CPTCFG_SND_AC97_POWER_SAVE=y +CPTCFG_SND_SB_COMMON=m +CPTCFG_SND_PCI=y +CPTCFG_SND_AD1889=m +CPTCFG_SND_ALS300=m +CPTCFG_SND_ALS4000=m +CPTCFG_SND_ALI5451=m +CPTCFG_SND_ASIHPI=m +CPTCFG_SND_ATIIXP=m +CPTCFG_SND_ATIIXP_MODEM=m +CPTCFG_SND_AU8810=m +CPTCFG_SND_AU8820=m +CPTCFG_SND_AU8830=m +CPTCFG_SND_AW2=m +CPTCFG_SND_AZT3328=m +CPTCFG_SND_BT87X=m +CPTCFG_SND_CA0106=m +CPTCFG_SND_CMIPCI=m +CPTCFG_SND_OXYGEN_LIB=m +CPTCFG_SND_OXYGEN=m +CPTCFG_SND_CS4281=m +CPTCFG_SND_CS46XX=m +CPTCFG_SND_CS46XX_NEW_DSP=y +CPTCFG_SND_CTXFI=m +CPTCFG_SND_DARLA20=m +CPTCFG_SND_GINA20=m +CPTCFG_SND_LAYLA20=m +CPTCFG_SND_DARLA24=m +CPTCFG_SND_GINA24=m +CPTCFG_SND_LAYLA24=m +CPTCFG_SND_MONA=m +CPTCFG_SND_MIA=m +CPTCFG_SND_ECHO3G=m +CPTCFG_SND_INDIGO=m +CPTCFG_SND_INDIGOIO=m +CPTCFG_SND_INDIGODJ=m +CPTCFG_SND_INDIGOIOX=m +CPTCFG_SND_INDIGODJX=m +CPTCFG_SND_EMU10K1=m +CPTCFG_SND_EMU10K1X=m +CPTCFG_SND_ENS1370=m +CPTCFG_SND_ENS1371=m +CPTCFG_SND_ES1938=m +CPTCFG_SND_ES1968=m +CPTCFG_SND_ES1968_INPUT=y +CPTCFG_SND_ES1968_RADIO=y +CPTCFG_SND_FM801=m +CPTCFG_SND_FM801_TEA575X_BOOL=y +CPTCFG_SND_HDSP=m +CPTCFG_SND_HDSPM=m +CPTCFG_SND_ICE1712=m +CPTCFG_SND_ICE1724=m +CPTCFG_SND_INTEL8X0=m +CPTCFG_SND_INTEL8X0M=m +CPTCFG_SND_KORG1212=m +CPTCFG_SND_LOLA=m +CPTCFG_SND_LX6464ES=m +CPTCFG_SND_MAESTRO3=m +CPTCFG_SND_MAESTRO3_INPUT=y +CPTCFG_SND_MIXART=m +CPTCFG_SND_NM256=m +CPTCFG_SND_PCXHR=m +CPTCFG_SND_RIPTIDE=m +CPTCFG_SND_RME32=m +CPTCFG_SND_RME96=m +CPTCFG_SND_RME9652=m +CPTCFG_SND_SONICVIBES=m +CPTCFG_SND_TRIDENT=m +CPTCFG_SND_VIA82XX=m +CPTCFG_SND_VIA82XX_MODEM=m +CPTCFG_SND_VIRTUOSO=m +CPTCFG_SND_VX222=m +CPTCFG_SND_YMFPCI=m +CPTCFG_SND_HDA=m +CPTCFG_SND_HDA_INTEL=m +CPTCFG_SND_HDA_HWDEP=y +CPTCFG_SND_HDA_RECONFIG=y +CPTCFG_SND_HDA_INPUT_BEEP=y +CPTCFG_SND_HDA_PATCH_LOADER=y +CPTCFG_SND_HDA_CODEC_REALTEK=m +CPTCFG_SND_HDA_CODEC_ANALOG=m +CPTCFG_SND_HDA_CODEC_SIGMATEL=m +CPTCFG_SND_HDA_CODEC_VIA=m +CPTCFG_SND_HDA_CODEC_HDMI=m +CPTCFG_SND_HDA_CODEC_CIRRUS=m +CPTCFG_SND_HDA_CODEC_CONEXANT=m +CPTCFG_SND_HDA_CODEC_CA0110=m +CPTCFG_SND_HDA_CODEC_CA0132=m +CPTCFG_SND_HDA_CODEC_CA0132_DSP=y +CPTCFG_SND_HDA_CODEC_CMEDIA=m +CPTCFG_SND_HDA_CODEC_SI3054=m +CPTCFG_SND_HDA_GENERIC=m +CPTCFG_SND_HDA_CORE=m +CPTCFG_SND_HDA_DSP_LOADER=y +CPTCFG_SND_HDA_I915=y +CPTCFG_SND_HDA_EXT_CORE=m +CPTCFG_SND_SPI=y +CPTCFG_SND_USB=y +CPTCFG_SND_USB_AUDIO=m +CPTCFG_SND_USB_UA101=m +CPTCFG_SND_USB_USX2Y=m +CPTCFG_SND_USB_CAIAQ=m +CPTCFG_SND_USB_CAIAQ_INPUT=y +CPTCFG_SND_USB_US122L=m +CPTCFG_SND_USB_6FIRE=m +CPTCFG_SND_USB_HIFACE=m +CPTCFG_SND_BCD2000=m +CPTCFG_SND_USB_LINE6=m +CPTCFG_SND_USB_POD=m +CPTCFG_SND_USB_PODHD=m +CPTCFG_SND_USB_TONEPORT=m +CPTCFG_SND_USB_VARIAX=m +CPTCFG_SND_FIREWIRE=y +CPTCFG_SND_FIREWIRE_LIB=m +CPTCFG_SND_DICE=m +CPTCFG_SND_OXFW=m +CPTCFG_SND_ISIGHT=m +CPTCFG_SND_SCS1X=m +CPTCFG_SND_FIREWORKS=m +CPTCFG_SND_BEBOB=m +CPTCFG_SND_FIREWIRE_DIGI00X=m +CPTCFG_SND_FIREWIRE_TASCAM=m +CPTCFG_SND_PCMCIA=y +CPTCFG_SND_VXPOCKET=m +CPTCFG_SND_PDAUDIOCF=m +CPTCFG_SND_SOC=m +CPTCFG_SND_SOC_AC97_BUS=y +CPTCFG_SND_SOC_GENERIC_DMAENGINE_PCM=y +CPTCFG_SND_SOC_COMPRESS=y +CPTCFG_SND_SOC_TOPOLOGY=y +CPTCFG_SND_ATMEL_SOC=m +CPTCFG_SND_DESIGNWARE_I2S=m +CPTCFG_SND_SOC_FSL_ASRC=m +CPTCFG_SND_SOC_FSL_SAI=m +CPTCFG_SND_SOC_FSL_SSI=m +CPTCFG_SND_SOC_FSL_SPDIF=m +CPTCFG_SND_SOC_FSL_ESAI=m +CPTCFG_SND_SOC_IMX_AUDMUX=m +CPTCFG_SND_SST_MFLD_PLATFORM=m +CPTCFG_SND_SST_IPC=m +CPTCFG_SND_SST_IPC_ACPI=m +CPTCFG_SND_SOC_INTEL_SST=m +CPTCFG_SND_SOC_INTEL_SST_ACPI=m +CPTCFG_SND_SOC_INTEL_HASWELL=m +CPTCFG_SND_SOC_INTEL_BAYTRAIL=m +CPTCFG_SND_SOC_INTEL_HASWELL_MACH=m +CPTCFG_SND_SOC_INTEL_BYT_RT5640_MACH=m +CPTCFG_SND_SOC_INTEL_BYT_MAX98090_MACH=m +CPTCFG_SND_SOC_INTEL_BROADWELL_MACH=m +CPTCFG_SND_SOC_INTEL_BYTCR_RT5640_MACH=m +CPTCFG_SND_SOC_INTEL_BYTCR_RT5660_MACH=m +CPTCFG_SND_SOC_INTEL_CHT_BSW_RT5672_MACH=m +CPTCFG_SND_SOC_INTEL_CHT_BSW_RT5645_MACH=m +CPTCFG_SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH=m +CPTCFG_SND_SOC_INTEL_SKYLAKE=m +CPTCFG_SND_SOC_INTEL_SKL_RT286_MACH=m +CPTCFG_SND_SUN4I_CODEC=m +CPTCFG_SND_SOC_XTFPGA_I2S=m +CPTCFG_SND_SOC_I2C_AND_SPI=m +CPTCFG_SND_SOC_AC97_CODEC=m +CPTCFG_SND_SOC_ADAU1701=m +CPTCFG_SND_SOC_AK4104=m +CPTCFG_SND_SOC_AK4554=m +CPTCFG_SND_SOC_AK4613=m +CPTCFG_SND_SOC_AK4642=m +CPTCFG_SND_SOC_AK5386=m +CPTCFG_SND_SOC_ALC5623=m +CPTCFG_SND_SOC_CS35L32=m +CPTCFG_SND_SOC_CS42L51=m +CPTCFG_SND_SOC_CS42L51_I2C=m +CPTCFG_SND_SOC_CS42L52=m +CPTCFG_SND_SOC_CS42L56=m +CPTCFG_SND_SOC_CS42L73=m +CPTCFG_SND_SOC_CS4265=m +CPTCFG_SND_SOC_CS4270=m +CPTCFG_SND_SOC_CS4271=m +CPTCFG_SND_SOC_CS4271_I2C=m +CPTCFG_SND_SOC_CS4271_SPI=m +CPTCFG_SND_SOC_CS42XX8=m +CPTCFG_SND_SOC_CS42XX8_I2C=m +CPTCFG_SND_SOC_CS4349=m +CPTCFG_SND_SOC_DMIC=m +CPTCFG_SND_SOC_ES8328=m +CPTCFG_SND_SOC_GTM601=m +CPTCFG_SND_SOC_MAX98090=m +CPTCFG_SND_SOC_PCM1681=m +CPTCFG_SND_SOC_PCM1792A=m +CPTCFG_SND_SOC_PCM512x=m +CPTCFG_SND_SOC_PCM512x_I2C=m +CPTCFG_SND_SOC_PCM512x_SPI=m +CPTCFG_SND_SOC_RL6231=m +CPTCFG_SND_SOC_RL6347A=m +CPTCFG_SND_SOC_RT286=m +CPTCFG_SND_SOC_RT5631=m +CPTCFG_SND_SOC_RT5640=m +CPTCFG_SND_SOC_RT5645=m +CPTCFG_SND_SOC_RT5660=m +CPTCFG_SND_SOC_RT5670=m +CPTCFG_SND_SOC_SGTL5000=m +CPTCFG_SND_SOC_SI476X=m +CPTCFG_SND_SOC_SIGMADSP=m +CPTCFG_SND_SOC_SIGMADSP_I2C=m +CPTCFG_SND_SOC_SIRF_AUDIO_CODEC=m +CPTCFG_SND_SOC_SPDIF=m +CPTCFG_SND_SOC_SSM2602=m +CPTCFG_SND_SOC_SSM2602_SPI=m +CPTCFG_SND_SOC_SSM2602_I2C=m +CPTCFG_SND_SOC_SSM4567=m +CPTCFG_SND_SOC_STA32X=m +CPTCFG_SND_SOC_STA350=m +CPTCFG_SND_SOC_STI_SAS=m +CPTCFG_SND_SOC_TAS2552=m +CPTCFG_SND_SOC_TAS5086=m +CPTCFG_SND_SOC_TAS571X=m +CPTCFG_SND_SOC_TFA9879=m +CPTCFG_SND_SOC_TLV320AIC23=m +CPTCFG_SND_SOC_TLV320AIC23_I2C=m +CPTCFG_SND_SOC_TLV320AIC23_SPI=m +CPTCFG_SND_SOC_TLV320AIC31XX=m +CPTCFG_SND_SOC_TLV320AIC3X=m +CPTCFG_SND_SOC_TS3A227E=m +CPTCFG_SND_SOC_WM8510=m +CPTCFG_SND_SOC_WM8523=m +CPTCFG_SND_SOC_WM8580=m +CPTCFG_SND_SOC_WM8711=m +CPTCFG_SND_SOC_WM8728=m +CPTCFG_SND_SOC_WM8731=m +CPTCFG_SND_SOC_WM8737=m +CPTCFG_SND_SOC_WM8741=m +CPTCFG_SND_SOC_WM8750=m +CPTCFG_SND_SOC_WM8753=m +CPTCFG_SND_SOC_WM8770=m +CPTCFG_SND_SOC_WM8776=m +CPTCFG_SND_SOC_WM8804=m +CPTCFG_SND_SOC_WM8804_I2C=m +CPTCFG_SND_SOC_WM8804_SPI=m +CPTCFG_SND_SOC_WM8903=m +CPTCFG_SND_SOC_WM8962=m +CPTCFG_SND_SOC_WM8978=m +CPTCFG_SND_SOC_TPA6130A2=m +CPTCFG_SND_SIMPLE_CARD=m +CPTCFG_AC97_BUS=m +CPTCFG_HID=m +CPTCFG_HID_BATTERY_STRENGTH=y +CPTCFG_HIDRAW=y +CPTCFG_UHID=m +CPTCFG_HID_GENERIC=m +CPTCFG_HID_A4TECH=m +CPTCFG_HID_ACRUX=m +CPTCFG_HID_ACRUX_FF=y +CPTCFG_HID_APPLE=m +CPTCFG_HID_APPLEIR=m +CPTCFG_HID_AUREAL=m +CPTCFG_HID_BELKIN=m +CPTCFG_HID_BETOP_FF=m +CPTCFG_HID_CHERRY=m +CPTCFG_HID_CHICONY=m +CPTCFG_HID_CORSAIR=m +CPTCFG_HID_PRODIKEYS=m +CPTCFG_HID_CP2112=m +CPTCFG_HID_CYPRESS=m +CPTCFG_HID_DRAGONRISE=m +CPTCFG_DRAGONRISE_FF=y +CPTCFG_HID_EMS_FF=m +CPTCFG_HID_ELECOM=m +CPTCFG_HID_ELO=m +CPTCFG_HID_EZKEY=m +CPTCFG_HID_GEMBIRD=m +CPTCFG_HID_GFRM=m +CPTCFG_HID_HOLTEK=m +CPTCFG_HOLTEK_FF=y +CPTCFG_HID_GT683R=m +CPTCFG_HID_KEYTOUCH=m +CPTCFG_HID_KYE=m +CPTCFG_HID_UCLOGIC=m +CPTCFG_HID_WALTOP=m +CPTCFG_HID_GYRATION=m +CPTCFG_HID_ICADE=m +CPTCFG_HID_TWINHAN=m +CPTCFG_HID_KENSINGTON=m +CPTCFG_HID_LCPOWER=m +CPTCFG_HID_LENOVO=m +CPTCFG_HID_LOGITECH=m +CPTCFG_HID_LOGITECH_DJ=m +CPTCFG_HID_LOGITECH_HIDPP=m +CPTCFG_LOGITECH_FF=y +CPTCFG_LOGIRUMBLEPAD2_FF=y +CPTCFG_LOGIG940_FF=y +CPTCFG_LOGIWHEELS_FF=y +CPTCFG_HID_MAGICMOUSE=m +CPTCFG_HID_MICROSOFT=m +CPTCFG_HID_MONTEREY=m +CPTCFG_HID_MULTITOUCH=m +CPTCFG_HID_NTRIG=m +CPTCFG_HID_ORTEK=m +CPTCFG_HID_PANTHERLORD=m +CPTCFG_PANTHERLORD_FF=y +CPTCFG_HID_PENMOUNT=m +CPTCFG_HID_PETALYNX=m +CPTCFG_HID_PICOLCD=m +CPTCFG_HID_PICOLCD_FB=y +CPTCFG_HID_PICOLCD_BACKLIGHT=y +CPTCFG_HID_PICOLCD_LCD=y +CPTCFG_HID_PICOLCD_LEDS=y +CPTCFG_HID_PICOLCD_CIR=y +CPTCFG_HID_PLANTRONICS=m +CPTCFG_HID_PRIMAX=m +CPTCFG_HID_ROCCAT=m +CPTCFG_HID_SAITEK=m +CPTCFG_HID_SAMSUNG=m +CPTCFG_HID_SONY=m +CPTCFG_SONY_FF=y +CPTCFG_HID_SPEEDLINK=m +CPTCFG_HID_STEELSERIES=m +CPTCFG_HID_SUNPLUS=m +CPTCFG_HID_RMI=m +CPTCFG_HID_GREENASIA=m +CPTCFG_GREENASIA_FF=y +CPTCFG_HID_HYPERV_MOUSE=m +CPTCFG_HID_SMARTJOYPLUS=m +CPTCFG_SMARTJOYPLUS_FF=y +CPTCFG_HID_TIVO=m +CPTCFG_HID_TOPSEED=m +CPTCFG_HID_THINGM=m +CPTCFG_HID_THRUSTMASTER=m +CPTCFG_THRUSTMASTER_FF=y +CPTCFG_HID_WACOM=m +CPTCFG_HID_WIIMOTE=m +CPTCFG_HID_XINMO=m +CPTCFG_HID_ZEROPLUS=m +CPTCFG_ZEROPLUS_FF=y +CPTCFG_HID_ZYDACRON=m +CPTCFG_HID_SENSOR_HUB=m +CPTCFG_HID_SENSOR_CUSTOM_SENSOR=m +CPTCFG_HID_ALPS=m +CPTCFG_USB_HID=m +CPTCFG_HID_PID=y +CPTCFG_USB_HIDDEV=y +CPTCFG_USB_KBD=m +CPTCFG_USB_MOUSE=m +CPTCFG_I2C_HID=m +CPTCFG_USB_OHCI_LITTLE_ENDIAN=y +CPTCFG_USB_SUPPORT=y +CPTCFG_USB_COMMON=y +CPTCFG_USB_ARCH_HAS_HCD=y +CPTCFG_USB=y +CPTCFG_USB_ANNOUNCE_NEW_DEVICES=y +CPTCFG_USB_DEFAULT_PERSIST=y +CPTCFG_USB_DYNAMIC_MINORS=y +CPTCFG_USB_ULPI_BUS=m +CPTCFG_USB_MON=m +CPTCFG_USB_WUSB=m +CPTCFG_USB_WUSB_CBAF=m +CPTCFG_USB_C67X00_HCD=m +CPTCFG_USB_XHCI_HCD=y +CPTCFG_USB_XHCI_PCI=y +CPTCFG_USB_XHCI_PLATFORM=m +CPTCFG_USB_EHCI_HCD=y +CPTCFG_USB_EHCI_ROOT_HUB_TT=y +CPTCFG_USB_EHCI_TT_NEWSCHED=y +CPTCFG_USB_EHCI_PCI=y +CPTCFG_USB_EHCI_HCD_PLATFORM=y +CPTCFG_USB_OXU210HP_HCD=m +CPTCFG_USB_ISP116X_HCD=m +CPTCFG_USB_ISP1362_HCD=m +CPTCFG_USB_FOTG210_HCD=m +CPTCFG_USB_MAX3421_HCD=m +CPTCFG_USB_OHCI_HCD=y +CPTCFG_USB_OHCI_HCD_PCI=y +CPTCFG_USB_OHCI_HCD_PLATFORM=y +CPTCFG_USB_UHCI_HCD=y +CPTCFG_USB_U132_HCD=m +CPTCFG_USB_SL811_HCD=m +CPTCFG_USB_SL811_HCD_ISO=y +CPTCFG_USB_SL811_CS=m +CPTCFG_USB_R8A66597_HCD=m +CPTCFG_USB_WHCI_HCD=m +CPTCFG_USB_HWA_HCD=m +CPTCFG_USB_STORAGE=m +CPTCFG_USB_STORAGE_REALTEK=m +CPTCFG_REALTEK_AUTOPM=y +CPTCFG_USB_STORAGE_DATAFAB=m +CPTCFG_USB_STORAGE_FREECOM=m +CPTCFG_USB_STORAGE_ISD200=m +CPTCFG_USB_STORAGE_USBAT=m +CPTCFG_USB_STORAGE_SDDR09=m +CPTCFG_USB_STORAGE_SDDR55=m +CPTCFG_USB_STORAGE_JUMPSHOT=m +CPTCFG_USB_STORAGE_ALAUDA=m +CPTCFG_USB_STORAGE_ONETOUCH=m +CPTCFG_USB_STORAGE_KARMA=m +CPTCFG_USB_STORAGE_CYPRESS_ATACB=m +CPTCFG_USB_STORAGE_ENE_UB6250=m +CPTCFG_USB_UAS=m +CPTCFG_USB_MDC800=m +CPTCFG_USB_MICROTEK=m +CPTCFG_USBIP_CORE=m +CPTCFG_USBIP_VHCI_HCD=m +CPTCFG_USBIP_HOST=m +CPTCFG_USB_MUSB_HDRC=m +CPTCFG_USB_MUSB_DUAL_ROLE=y +CPTCFG_MUSB_PIO_ONLY=y +CPTCFG_USB_DWC3=m +CPTCFG_USB_DWC3_ULPI=y +CPTCFG_USB_DWC3_DUAL_ROLE=y +CPTCFG_USB_DWC3_PCI=m +CPTCFG_USB_DWC2=y +CPTCFG_USB_DWC2_HOST=y +CPTCFG_USB_DWC2_PCI=y +CPTCFG_USB_CHIPIDEA=m +CPTCFG_USB_CHIPIDEA_PCI=m +CPTCFG_USB_CHIPIDEA_UDC=y +CPTCFG_USB_CHIPIDEA_HOST=y +CPTCFG_USB_ISP1760=m +CPTCFG_USB_ISP1760_HCD=y +CPTCFG_USB_ISP1761_UDC=y +CPTCFG_USB_ISP1760_DUAL_ROLE=y +CPTCFG_USB_USS720=m +CPTCFG_USB_SERIAL=m +CPTCFG_USB_SERIAL_GENERIC=y +CPTCFG_USB_SERIAL_SIMPLE=m +CPTCFG_USB_SERIAL_AIRCABLE=m +CPTCFG_USB_SERIAL_ARK3116=m +CPTCFG_USB_SERIAL_BELKIN=m +CPTCFG_USB_SERIAL_CH341=m +CPTCFG_USB_SERIAL_WHITEHEAT=m +CPTCFG_USB_SERIAL_DIGI_ACCELEPORT=m +CPTCFG_USB_SERIAL_CP210X=m +CPTCFG_USB_SERIAL_CYPRESS_M8=m +CPTCFG_USB_SERIAL_EMPEG=m +CPTCFG_USB_SERIAL_FTDI_SIO=m +CPTCFG_USB_SERIAL_VISOR=m +CPTCFG_USB_SERIAL_IPAQ=m +CPTCFG_USB_SERIAL_IR=m +CPTCFG_USB_SERIAL_EDGEPORT=m +CPTCFG_USB_SERIAL_EDGEPORT_TI=m +CPTCFG_USB_SERIAL_F81232=m +CPTCFG_USB_SERIAL_GARMIN=m +CPTCFG_USB_SERIAL_IPW=m +CPTCFG_USB_SERIAL_IUU=m +CPTCFG_USB_SERIAL_KEYSPAN_PDA=m +CPTCFG_USB_SERIAL_KEYSPAN=m +CPTCFG_USB_SERIAL_KEYSPAN_MPR=y +CPTCFG_USB_SERIAL_KEYSPAN_USA28=y +CPTCFG_USB_SERIAL_KEYSPAN_USA28X=y +CPTCFG_USB_SERIAL_KEYSPAN_USA28XA=y +CPTCFG_USB_SERIAL_KEYSPAN_USA28XB=y +CPTCFG_USB_SERIAL_KEYSPAN_USA19=y +CPTCFG_USB_SERIAL_KEYSPAN_USA18X=y +CPTCFG_USB_SERIAL_KEYSPAN_USA19W=y +CPTCFG_USB_SERIAL_KEYSPAN_USA19QW=y +CPTCFG_USB_SERIAL_KEYSPAN_USA19QI=y +CPTCFG_USB_SERIAL_KEYSPAN_USA49W=y +CPTCFG_USB_SERIAL_KEYSPAN_USA49WLC=y +CPTCFG_USB_SERIAL_KLSI=m +CPTCFG_USB_SERIAL_KOBIL_SCT=m +CPTCFG_USB_SERIAL_MCT_U232=m +CPTCFG_USB_SERIAL_METRO=m +CPTCFG_USB_SERIAL_MOS7720=m +CPTCFG_USB_SERIAL_MOS7715_PARPORT=y +CPTCFG_USB_SERIAL_MOS7840=m +CPTCFG_USB_SERIAL_MXUPORT=m +CPTCFG_USB_SERIAL_NAVMAN=m +CPTCFG_USB_SERIAL_PL2303=m +CPTCFG_USB_SERIAL_OTI6858=m +CPTCFG_USB_SERIAL_QCAUX=m +CPTCFG_USB_SERIAL_QUALCOMM=m +CPTCFG_USB_SERIAL_SPCP8X5=m +CPTCFG_USB_SERIAL_SAFE=m +CPTCFG_USB_SERIAL_SYMBOL=m +CPTCFG_USB_SERIAL_TI=m +CPTCFG_USB_SERIAL_CYBERJACK=m +CPTCFG_USB_SERIAL_XIRCOM=m +CPTCFG_USB_SERIAL_WWAN=m +CPTCFG_USB_SERIAL_OPTION=m +CPTCFG_USB_SERIAL_OMNINET=m +CPTCFG_USB_SERIAL_OPTICON=m +CPTCFG_USB_SERIAL_XSENS_MT=m +CPTCFG_USB_SERIAL_WISHBONE=m +CPTCFG_USB_SERIAL_SSU100=m +CPTCFG_USB_SERIAL_QT2=m +CPTCFG_USB_SERIAL_DEBUG=m +CPTCFG_USB_EMI62=m +CPTCFG_USB_EMI26=m +CPTCFG_USB_ADUTUX=m +CPTCFG_USB_SEVSEG=m +CPTCFG_USB_RIO500=m +CPTCFG_USB_LEGOTOWER=m +CPTCFG_USB_LCD=m +CPTCFG_USB_LED=m +CPTCFG_USB_CYPRESS_CY7C63=m +CPTCFG_USB_CYTHERM=m +CPTCFG_USB_IDMOUSE=m +CPTCFG_USB_FTDI_ELAN=m +CPTCFG_USB_APPLEDISPLAY=m +CPTCFG_USB_SISUSBVGA=m +CPTCFG_USB_LD=m +CPTCFG_USB_TRANCEVIBRATOR=m +CPTCFG_USB_IOWARRIOR=m +CPTCFG_USB_TEST=m +CPTCFG_USB_EHSET_TEST_FIXTURE=m +CPTCFG_USB_ISIGHTFW=m +CPTCFG_USB_YUREX=m +CPTCFG_USB_EZUSB_FX2=m +CPTCFG_USB_HSIC_USB3503=m +CPTCFG_USB_LINK_LAYER_TEST=m +CPTCFG_USB_CHAOSKEY=m +CPTCFG_USB_ATM=m +CPTCFG_USB_SPEEDTOUCH=m +CPTCFG_USB_CXACRU=m +CPTCFG_USB_UEAGLEATM=m +CPTCFG_USB_XUSBATM=m +CPTCFG_USB_PHY=y +CPTCFG_NOP_USB_XCEIV=y +CPTCFG_USB_GPIO_VBUS=m +CPTCFG_TAHVO_USB=m +CPTCFG_TAHVO_USB_HOST_BY_DEFAULT=y +CPTCFG_USB_ISP1301=m +CPTCFG_USB_GADGET=m +CPTCFG_USB_FOTG210_UDC=m +CPTCFG_USB_GR_UDC=m +CPTCFG_USB_R8A66597=m +CPTCFG_USB_PXA27X=m +CPTCFG_USB_MV_UDC=m +CPTCFG_USB_MV_U3D=m +CPTCFG_USB_BDC_UDC=m +CPTCFG_USB_BDC_PCI=m +CPTCFG_USB_AMD5536UDC=m +CPTCFG_USB_NET2272=m +CPTCFG_USB_NET2272_DMA=y +CPTCFG_USB_NET2280=m +CPTCFG_USB_GOKU=m +CPTCFG_USB_EG20T=m +CPTCFG_USB_LIBCOMPOSITE=m +CPTCFG_USB_F_ACM=m +CPTCFG_USB_F_SS_LB=m +CPTCFG_USB_U_SERIAL=m +CPTCFG_USB_U_ETHER=m +CPTCFG_USB_F_SERIAL=m +CPTCFG_USB_F_OBEX=m +CPTCFG_USB_F_NCM=m +CPTCFG_USB_F_ECM=m +CPTCFG_USB_F_PHONET=m +CPTCFG_USB_F_EEM=m +CPTCFG_USB_F_SUBSET=m +CPTCFG_USB_F_RNDIS=m +CPTCFG_USB_F_MASS_STORAGE=m +CPTCFG_USB_F_FS=m +CPTCFG_USB_F_UAC1=m +CPTCFG_USB_F_UAC2=m +CPTCFG_USB_F_UVC=m +CPTCFG_USB_F_MIDI=m +CPTCFG_USB_F_HID=m +CPTCFG_USB_F_PRINTER=m +CPTCFG_USB_CONFIGFS=m +CPTCFG_USB_CONFIGFS_SERIAL=y +CPTCFG_USB_CONFIGFS_ACM=y +CPTCFG_USB_CONFIGFS_OBEX=y +CPTCFG_USB_CONFIGFS_NCM=y +CPTCFG_USB_CONFIGFS_ECM=y +CPTCFG_USB_CONFIGFS_ECM_SUBSET=y +CPTCFG_USB_CONFIGFS_RNDIS=y +CPTCFG_USB_CONFIGFS_EEM=y +CPTCFG_USB_CONFIGFS_PHONET=y +CPTCFG_USB_CONFIGFS_MASS_STORAGE=y +CPTCFG_USB_CONFIGFS_F_LB_SS=y +CPTCFG_USB_CONFIGFS_F_FS=y +CPTCFG_USB_CONFIGFS_F_UAC1=y +CPTCFG_USB_CONFIGFS_F_UAC2=y +CPTCFG_USB_CONFIGFS_F_MIDI=y +CPTCFG_USB_CONFIGFS_F_HID=y +CPTCFG_USB_CONFIGFS_F_UVC=y +CPTCFG_USB_CONFIGFS_F_PRINTER=y +CPTCFG_USB_ZERO=m +CPTCFG_USB_AUDIO=m +CPTCFG_GADGET_UAC1=y +CPTCFG_USB_ETH=m +CPTCFG_USB_ETH_RNDIS=y +CPTCFG_USB_ETH_EEM=y +CPTCFG_USB_G_NCM=m +CPTCFG_USB_GADGETFS=m +CPTCFG_USB_FUNCTIONFS=m +CPTCFG_USB_FUNCTIONFS_ETH=y +CPTCFG_USB_FUNCTIONFS_RNDIS=y +CPTCFG_USB_FUNCTIONFS_GENERIC=y +CPTCFG_USB_MASS_STORAGE=m +CPTCFG_USB_GADGET_TARGET=m +CPTCFG_USB_G_SERIAL=m +CPTCFG_USB_MIDI_GADGET=m +CPTCFG_USB_G_PRINTER=m +CPTCFG_USB_CDC_COMPOSITE=m +CPTCFG_USB_G_NOKIA=m +CPTCFG_USB_G_ACM_MS=m +CPTCFG_USB_G_HID=m +CPTCFG_USB_G_DBGP=m +CPTCFG_USB_G_DBGP_SERIAL=y +CPTCFG_USB_G_WEBCAM=m +CPTCFG_USB_LED_TRIG=y +CPTCFG_UWB=m +CPTCFG_UWB_HWA=m +CPTCFG_UWB_WHCI=m +CPTCFG_UWB_I1480U=m +CPTCFG_MMC=y +CPTCFG_MMC_BLOCK=m +CPTCFG_MMC_BLOCK_BOUNCE=y +CPTCFG_SDIO_UART=m +CPTCFG_MMC_SDHCI=m +CPTCFG_MMC_SDHCI_PCI=m +CPTCFG_MMC_RICOH_MMC=y +CPTCFG_MMC_SDHCI_ACPI=m +CPTCFG_MMC_SDHCI_PLTFM=m +CPTCFG_MMC_WBSD=m +CPTCFG_MMC_TIFM_SD=m +CPTCFG_MMC_SPI=m +CPTCFG_MMC_SDRICOH_CS=m +CPTCFG_MMC_CB710=m +CPTCFG_MMC_VIA_SDMMC=m +CPTCFG_MMC_VUB300=m +CPTCFG_MMC_USHC=m +CPTCFG_MMC_USDHI6ROL0=m +CPTCFG_MMC_REALTEK_PCI=m +CPTCFG_MMC_REALTEK_USB=m +CPTCFG_MMC_TOSHIBA_PCI=m +CPTCFG_MMC_MTK=m +CPTCFG_MEMSTICK=m +CPTCFG_MSPRO_BLOCK=m +CPTCFG_MS_BLOCK=m +CPTCFG_MEMSTICK_TIFM_MS=m +CPTCFG_MEMSTICK_JMICRON_38X=m +CPTCFG_MEMSTICK_R592=m +CPTCFG_MEMSTICK_REALTEK_PCI=m +CPTCFG_MEMSTICK_REALTEK_USB=m +CPTCFG_NEW_LEDS=y +CPTCFG_LEDS_CLASS=y +CPTCFG_LEDS_CLASS_FLASH=m +CPTCFG_LEDS_88PM860X=m +CPTCFG_LEDS_LM3530=m +CPTCFG_LEDS_LM3533=m +CPTCFG_LEDS_LM3642=m +CPTCFG_LEDS_PCA9532=m +CPTCFG_LEDS_PCA9532_GPIO=y +CPTCFG_LEDS_GPIO=m +CPTCFG_LEDS_LP3944=m +CPTCFG_LEDS_LP55XX_COMMON=m +CPTCFG_LEDS_LP5521=m +CPTCFG_LEDS_LP5523=m +CPTCFG_LEDS_LP5562=m +CPTCFG_LEDS_LP8501=m +CPTCFG_LEDS_LP8788=m +CPTCFG_LEDS_LP8860=m +CPTCFG_LEDS_CLEVO_MAIL=m +CPTCFG_LEDS_PCA955X=m +CPTCFG_LEDS_PCA963X=m +CPTCFG_LEDS_WM831X_STATUS=m +CPTCFG_LEDS_WM8350=m +CPTCFG_LEDS_DA903X=m +CPTCFG_LEDS_DA9052=m +CPTCFG_LEDS_DAC124S085=m +CPTCFG_LEDS_PWM=m +CPTCFG_LEDS_REGULATOR=m +CPTCFG_LEDS_BD2802=m +CPTCFG_LEDS_INTEL_SS4200=m +CPTCFG_LEDS_LT3593=m +CPTCFG_LEDS_ADP5520=m +CPTCFG_LEDS_DELL_NETBOOKS=m +CPTCFG_LEDS_MC13783=m +CPTCFG_LEDS_TCA6507=m +CPTCFG_LEDS_TLC591XX=m +CPTCFG_LEDS_MAX8997=m +CPTCFG_LEDS_LM355x=m +CPTCFG_LEDS_MENF21BMC=m +CPTCFG_LEDS_BLINKM=m +CPTCFG_LEDS_TRIGGERS=y +CPTCFG_LEDS_TRIGGER_TIMER=m +CPTCFG_LEDS_TRIGGER_ONESHOT=m +CPTCFG_LEDS_TRIGGER_HEARTBEAT=m +CPTCFG_LEDS_TRIGGER_BACKLIGHT=m +CPTCFG_LEDS_TRIGGER_CPU=y +CPTCFG_LEDS_TRIGGER_GPIO=m +CPTCFG_LEDS_TRIGGER_DEFAULT_ON=m +CPTCFG_LEDS_TRIGGER_TRANSIENT=m +CPTCFG_LEDS_TRIGGER_CAMERA=m +CPTCFG_INFINIBAND=m +CPTCFG_INFINIBAND_USER_MAD=m +CPTCFG_INFINIBAND_USER_ACCESS=m +CPTCFG_INFINIBAND_USER_MEM=y +CPTCFG_INFINIBAND_ON_DEMAND_PAGING=y +CPTCFG_INFINIBAND_ADDR_TRANS=y +CPTCFG_INFINIBAND_MTHCA=m +CPTCFG_INFINIBAND_QIB=m +CPTCFG_INFINIBAND_QIB_DCA=y +CPTCFG_INFINIBAND_CXGB3=m +CPTCFG_INFINIBAND_CXGB4=m +CPTCFG_MLX4_INFINIBAND=m +CPTCFG_MLX5_INFINIBAND=m +CPTCFG_INFINIBAND_NES=m +CPTCFG_INFINIBAND_OCRDMA=m +CPTCFG_INFINIBAND_USNIC=m +CPTCFG_HYPERV_INFINIBAND_ND=m +CPTCFG_INFINIBAND_IPOIB=m +CPTCFG_INFINIBAND_IPOIB_CM=y +CPTCFG_INFINIBAND_SRP=m +CPTCFG_INFINIBAND_SRPT=m +CPTCFG_INFINIBAND_ISER=m +CPTCFG_INFINIBAND_ISERT=m +CPTCFG_EDAC_ATOMIC_SCRUB=y +CPTCFG_EDAC_SUPPORT=y +CPTCFG_EDAC=y +CPTCFG_EDAC_DECODE_MCE=m +CPTCFG_EDAC_MM_EDAC=m +CPTCFG_EDAC_AMD64=m +CPTCFG_EDAC_E752X=m +CPTCFG_EDAC_I82975X=m +CPTCFG_EDAC_I3000=m +CPTCFG_EDAC_I3200=m +CPTCFG_EDAC_IE31200=m +CPTCFG_EDAC_X38=m +CPTCFG_EDAC_I5400=m +CPTCFG_EDAC_I7CORE=m +CPTCFG_EDAC_I5000=m +CPTCFG_EDAC_I5100=m +CPTCFG_EDAC_I7300=m +CPTCFG_EDAC_SBRIDGE=m +CPTCFG_EDAC_SKX=m +CPTCFG_RTC_LIB=y +CPTCFG_RTC_CLASS=y +CPTCFG_RTC_HCTOSYS=y +CPTCFG_RTC_SYSTOHC=y +CPTCFG_RTC_INTF_SYSFS=y +CPTCFG_RTC_INTF_PROC=y +CPTCFG_RTC_INTF_DEV=y +CPTCFG_RTC_DRV_88PM860X=m +CPTCFG_RTC_DRV_88PM80X=m +CPTCFG_RTC_DRV_ABB5ZES3=m +CPTCFG_RTC_DRV_ABX80X=m +CPTCFG_RTC_DRV_DS1307=m +CPTCFG_RTC_DRV_DS1374=m +CPTCFG_RTC_DRV_DS1374_WDT=y +CPTCFG_RTC_DRV_DS1672=m +CPTCFG_RTC_DRV_DS3232=m +CPTCFG_RTC_DRV_LP8788=m +CPTCFG_RTC_DRV_MAX6900=m +CPTCFG_RTC_DRV_MAX8907=m +CPTCFG_RTC_DRV_MAX8925=m +CPTCFG_RTC_DRV_MAX8998=m +CPTCFG_RTC_DRV_MAX8997=m +CPTCFG_RTC_DRV_RS5C372=m +CPTCFG_RTC_DRV_ISL1208=m +CPTCFG_RTC_DRV_ISL12022=m +CPTCFG_RTC_DRV_ISL12057=m +CPTCFG_RTC_DRV_X1205=m +CPTCFG_RTC_DRV_PALMAS=m +CPTCFG_RTC_DRV_PCF2127=m +CPTCFG_RTC_DRV_PCF8523=m +CPTCFG_RTC_DRV_PCF8563=m +CPTCFG_RTC_DRV_PCF85063=m +CPTCFG_RTC_DRV_PCF8583=m +CPTCFG_RTC_DRV_M41T80=m +CPTCFG_RTC_DRV_M41T80_WDT=y +CPTCFG_RTC_DRV_BQ32K=m +CPTCFG_RTC_DRV_TWL4030=m +CPTCFG_RTC_DRV_TPS6586X=m +CPTCFG_RTC_DRV_TPS65910=m +CPTCFG_RTC_DRV_TPS80031=m +CPTCFG_RTC_DRV_RC5T583=m +CPTCFG_RTC_DRV_S35390A=m +CPTCFG_RTC_DRV_FM3130=m +CPTCFG_RTC_DRV_RX8581=m +CPTCFG_RTC_DRV_RX8025=m +CPTCFG_RTC_DRV_EM3027=m +CPTCFG_RTC_DRV_RV3029C2=m +CPTCFG_RTC_DRV_RV8803=m +CPTCFG_RTC_DRV_S5M=m +CPTCFG_RTC_DRV_M41T93=m +CPTCFG_RTC_DRV_M41T94=m +CPTCFG_RTC_DRV_DS1305=m +CPTCFG_RTC_DRV_DS1343=m +CPTCFG_RTC_DRV_DS1347=m +CPTCFG_RTC_DRV_DS1390=m +CPTCFG_RTC_DRV_MAX6902=m +CPTCFG_RTC_DRV_R9701=m +CPTCFG_RTC_DRV_RS5C348=m +CPTCFG_RTC_DRV_DS3234=m +CPTCFG_RTC_DRV_PCF2123=m +CPTCFG_RTC_DRV_RX4581=m +CPTCFG_RTC_DRV_MCP795=m +CPTCFG_RTC_DRV_CMOS=y +CPTCFG_RTC_DRV_DS1286=m +CPTCFG_RTC_DRV_DS1511=m +CPTCFG_RTC_DRV_DS1553=m +CPTCFG_RTC_DRV_DS1685_FAMILY=m +CPTCFG_RTC_DRV_DS1685=y +CPTCFG_RTC_DRV_DS1742=m +CPTCFG_RTC_DRV_DS2404=m +CPTCFG_RTC_DRV_DA9052=m +CPTCFG_RTC_DRV_DA9055=m +CPTCFG_RTC_DRV_DA9063=m +CPTCFG_RTC_DRV_STK17TA8=m +CPTCFG_RTC_DRV_M48T86=m +CPTCFG_RTC_DRV_M48T35=m +CPTCFG_RTC_DRV_M48T59=m +CPTCFG_RTC_DRV_MSM6242=m +CPTCFG_RTC_DRV_BQ4802=m +CPTCFG_RTC_DRV_RP5C01=m +CPTCFG_RTC_DRV_V3020=m +CPTCFG_RTC_DRV_WM831X=m +CPTCFG_RTC_DRV_WM8350=m +CPTCFG_RTC_DRV_PCF50633=m +CPTCFG_RTC_DRV_AB3100=m +CPTCFG_RTC_DRV_PCAP=m +CPTCFG_RTC_DRV_MC13XXX=m +CPTCFG_RTC_DRV_MT6397=m +CPTCFG_RTC_DRV_HID_SENSOR_TIME=m +CPTCFG_DMADEVICES=y +CPTCFG_DMA_ENGINE=y +CPTCFG_DMA_VIRTUAL_CHANNELS=m +CPTCFG_DMA_ACPI=y +CPTCFG_INTEL_IDMA64=m +CPTCFG_INTEL_IOATDMA=m +CPTCFG_INTEL_MIC_X100_DMA=m +CPTCFG_DW_DMAC_CORE=m +CPTCFG_DW_DMAC=m +CPTCFG_DW_DMAC_PCI=m +CPTCFG_HSU_DMA=m +CPTCFG_ASYNC_TX_DMA=y +CPTCFG_DMA_ENGINE_RAID=y +CPTCFG_DCA=m +CPTCFG_AUXDISPLAY=y +CPTCFG_KS0108=m +CPTCFG_CFAG12864B=m +CPTCFG_UIO=m +CPTCFG_UIO_CIF=m +CPTCFG_UIO_PDRV_GENIRQ=m +CPTCFG_UIO_DMEM_GENIRQ=m +CPTCFG_UIO_AEC=m +CPTCFG_UIO_SERCOS3=m +CPTCFG_UIO_PCI_GENERIC=m +CPTCFG_UIO_NETX=m +CPTCFG_UIO_PRUSS=m +CPTCFG_UIO_MF624=m +CPTCFG_VFIO_IOMMU_TYPE1=m +CPTCFG_VFIO_VIRQFD=m +CPTCFG_VFIO=m +CPTCFG_VFIO_PCI=m +CPTCFG_VFIO_PCI_VGA=y +CPTCFG_VFIO_PCI_MMAP=y +CPTCFG_VFIO_PCI_INTX=y +CPTCFG_IRQ_BYPASS_MANAGER=m +CPTCFG_VIRT_DRIVERS=y +CPTCFG_VIRTIO=y +CPTCFG_VIRTIO_PCI=y +CPTCFG_VIRTIO_PCI_LEGACY=y +CPTCFG_VIRTIO_BALLOON=y +CPTCFG_VIRTIO_INPUT=m +CPTCFG_VIRTIO_MMIO=y +CPTCFG_VIRTIO_MMIO_CMDLINE_DEVICES=y +CPTCFG_HYPERV=m +CPTCFG_HYPERV_UTILS=m +CPTCFG_HYPERV_BALLOON=m +CPTCFG_XEN_BALLOON=y +CPTCFG_XEN_SELFBALLOONING=y +CPTCFG_XEN_BALLOON_MEMORY_HOTPLUG=y +CPTCFG_XEN_SCRUB_PAGES=y +CPTCFG_XEN_DEV_EVTCHN=m +CPTCFG_XEN_BACKEND=y +CPTCFG_XENFS=m +CPTCFG_XEN_COMPAT_XENFS=y +CPTCFG_XEN_SYS_HYPERVISOR=y +CPTCFG_XEN_XENBUS_FRONTEND=y +CPTCFG_XEN_GNTDEV=m +CPTCFG_XEN_GRANT_DEV_ALLOC=m +CPTCFG_SWIOTLB_XEN=y +CPTCFG_XEN_TMEM=m +CPTCFG_XEN_PCIDEV_BACKEND=m +CPTCFG_XEN_SCSI_BACKEND=m +CPTCFG_XEN_PRIVCMD=m +CPTCFG_XEN_ACPI_PROCESSOR=y +CPTCFG_XEN_MCE_LOG=y +CPTCFG_XEN_HAVE_PVMMU=y +CPTCFG_XEN_EFI=y +CPTCFG_XEN_AUTO_XLATE=y +CPTCFG_XEN_ACPI=y +CPTCFG_XEN_SYMS=y +CPTCFG_XEN_HAVE_VPMU=y +CPTCFG_STAGING=y +CPTCFG_SLICOSS=m +CPTCFG_PRISM2_USB=m +CPTCFG_COMEDI=m +CPTCFG_COMEDI_MISC_DRIVERS=y +CPTCFG_COMEDI_BOND=m +CPTCFG_COMEDI_TEST=m +CPTCFG_COMEDI_PARPORT=m +CPTCFG_COMEDI_SERIAL2002=m +CPTCFG_COMEDI_ISA_DRIVERS=y +CPTCFG_COMEDI_PCL711=m +CPTCFG_COMEDI_PCL724=m +CPTCFG_COMEDI_PCL726=m +CPTCFG_COMEDI_PCL730=m +CPTCFG_COMEDI_PCL812=m +CPTCFG_COMEDI_PCL816=m +CPTCFG_COMEDI_PCL818=m +CPTCFG_COMEDI_PCM3724=m +CPTCFG_COMEDI_AMPLC_DIO200_ISA=m +CPTCFG_COMEDI_AMPLC_PC236_ISA=m +CPTCFG_COMEDI_AMPLC_PC263_ISA=m +CPTCFG_COMEDI_RTI800=m +CPTCFG_COMEDI_RTI802=m +CPTCFG_COMEDI_DAC02=m +CPTCFG_COMEDI_DAS16M1=m +CPTCFG_COMEDI_DAS08_ISA=m +CPTCFG_COMEDI_DAS16=m +CPTCFG_COMEDI_DAS800=m +CPTCFG_COMEDI_DAS1800=m +CPTCFG_COMEDI_DAS6402=m +CPTCFG_COMEDI_DT2801=m +CPTCFG_COMEDI_DT2811=m +CPTCFG_COMEDI_DT2814=m +CPTCFG_COMEDI_DT2815=m +CPTCFG_COMEDI_DT2817=m +CPTCFG_COMEDI_DT282X=m +CPTCFG_COMEDI_DMM32AT=m +CPTCFG_COMEDI_FL512=m +CPTCFG_COMEDI_AIO_AIO12_8=m +CPTCFG_COMEDI_AIO_IIRO_16=m +CPTCFG_COMEDI_II_PCI20KC=m +CPTCFG_COMEDI_C6XDIGIO=m +CPTCFG_COMEDI_MPC624=m +CPTCFG_COMEDI_ADQ12B=m +CPTCFG_COMEDI_NI_AT_A2150=m +CPTCFG_COMEDI_NI_AT_AO=m +CPTCFG_COMEDI_NI_ATMIO=m +CPTCFG_COMEDI_NI_ATMIO16D=m +CPTCFG_COMEDI_NI_LABPC_ISA=m +CPTCFG_COMEDI_PCMAD=m +CPTCFG_COMEDI_PCMDA12=m +CPTCFG_COMEDI_PCMMIO=m +CPTCFG_COMEDI_PCMUIO=m +CPTCFG_COMEDI_MULTIQ3=m +CPTCFG_COMEDI_S526=m +CPTCFG_COMEDI_PCI_DRIVERS=m +CPTCFG_COMEDI_8255_PCI=m +CPTCFG_COMEDI_ADDI_WATCHDOG=m +CPTCFG_COMEDI_ADDI_APCI_1032=m +CPTCFG_COMEDI_ADDI_APCI_1500=m +CPTCFG_COMEDI_ADDI_APCI_1516=m +CPTCFG_COMEDI_ADDI_APCI_1564=m +CPTCFG_COMEDI_ADDI_APCI_16XX=m +CPTCFG_COMEDI_ADDI_APCI_2032=m +CPTCFG_COMEDI_ADDI_APCI_2200=m +CPTCFG_COMEDI_ADDI_APCI_3120=m +CPTCFG_COMEDI_ADDI_APCI_3501=m +CPTCFG_COMEDI_ADDI_APCI_3XXX=m +CPTCFG_COMEDI_ADL_PCI6208=m +CPTCFG_COMEDI_ADL_PCI7X3X=m +CPTCFG_COMEDI_ADL_PCI8164=m +CPTCFG_COMEDI_ADL_PCI9111=m +CPTCFG_COMEDI_ADL_PCI9118=m +CPTCFG_COMEDI_ADV_PCI1710=m +CPTCFG_COMEDI_ADV_PCI1723=m +CPTCFG_COMEDI_ADV_PCI1724=m +CPTCFG_COMEDI_ADV_PCI_DIO=m +CPTCFG_COMEDI_AMPLC_DIO200_PCI=m +CPTCFG_COMEDI_AMPLC_PC236_PCI=m +CPTCFG_COMEDI_AMPLC_PC263_PCI=m +CPTCFG_COMEDI_AMPLC_PCI224=m +CPTCFG_COMEDI_AMPLC_PCI230=m +CPTCFG_COMEDI_CONTEC_PCI_DIO=m +CPTCFG_COMEDI_DAS08_PCI=m +CPTCFG_COMEDI_DT3000=m +CPTCFG_COMEDI_DYNA_PCI10XX=m +CPTCFG_COMEDI_GSC_HPDI=m +CPTCFG_COMEDI_MF6X4=m +CPTCFG_COMEDI_ICP_MULTI=m +CPTCFG_COMEDI_DAQBOARD2000=m +CPTCFG_COMEDI_JR3_PCI=m +CPTCFG_COMEDI_KE_COUNTER=m +CPTCFG_COMEDI_CB_PCIDAS64=m +CPTCFG_COMEDI_CB_PCIDAS=m +CPTCFG_COMEDI_CB_PCIDDA=m +CPTCFG_COMEDI_CB_PCIMDAS=m +CPTCFG_COMEDI_CB_PCIMDDA=m +CPTCFG_COMEDI_ME4000=m +CPTCFG_COMEDI_ME_DAQ=m +CPTCFG_COMEDI_NI_6527=m +CPTCFG_COMEDI_NI_65XX=m +CPTCFG_COMEDI_NI_660X=m +CPTCFG_COMEDI_NI_670X=m +CPTCFG_COMEDI_NI_LABPC_PCI=m +CPTCFG_COMEDI_NI_PCIDIO=m +CPTCFG_COMEDI_NI_PCIMIO=m +CPTCFG_COMEDI_RTD520=m +CPTCFG_COMEDI_S626=m +CPTCFG_COMEDI_MITE=m +CPTCFG_COMEDI_NI_TIOCMD=m +CPTCFG_COMEDI_PCMCIA_DRIVERS=m +CPTCFG_COMEDI_CB_DAS16_CS=m +CPTCFG_COMEDI_DAS08_CS=m +CPTCFG_COMEDI_NI_DAQ_700_CS=m +CPTCFG_COMEDI_NI_DAQ_DIO24_CS=m +CPTCFG_COMEDI_NI_LABPC_CS=m +CPTCFG_COMEDI_NI_MIO_CS=m +CPTCFG_COMEDI_QUATECH_DAQP_CS=m +CPTCFG_COMEDI_USB_DRIVERS=m +CPTCFG_COMEDI_DT9812=m +CPTCFG_COMEDI_NI_USB6501=m +CPTCFG_COMEDI_USBDUX=m +CPTCFG_COMEDI_USBDUXFAST=m +CPTCFG_COMEDI_USBDUXSIGMA=m +CPTCFG_COMEDI_VMK80XX=m +CPTCFG_COMEDI_8254=m +CPTCFG_COMEDI_8255=m +CPTCFG_COMEDI_8255_SA=m +CPTCFG_COMEDI_KCOMEDILIB=m +CPTCFG_COMEDI_AMPLC_DIO200=m +CPTCFG_COMEDI_AMPLC_PC236=m +CPTCFG_COMEDI_DAS08=m +CPTCFG_COMEDI_ISADMA=m +CPTCFG_COMEDI_NI_LABPC=m +CPTCFG_COMEDI_NI_LABPC_ISADMA=m +CPTCFG_COMEDI_NI_TIO=m +CPTCFG_PANEL=m +CPTCFG_RTL8192U=m +CPTCFG_RTLLIB=m +CPTCFG_RTLLIB_CRYPTO_CCMP=m +CPTCFG_RTLLIB_CRYPTO_TKIP=m +CPTCFG_RTLLIB_CRYPTO_WEP=m +CPTCFG_RTL8192E=m +CPTCFG_R8712U=m +CPTCFG_R8188EU=m +CPTCFG_88EU_AP_MODE=y +CPTCFG_R8723AU=m +CPTCFG_8723AU_AP_MODE=y +CPTCFG_8723AU_BT_COEXIST=y +CPTCFG_RTS5208=m +CPTCFG_VT6655=m +CPTCFG_VT6656=m +CPTCFG_ADIS16201=m +CPTCFG_ADIS16203=m +CPTCFG_ADIS16204=m +CPTCFG_ADIS16209=m +CPTCFG_ADIS16220=m +CPTCFG_ADIS16240=m +CPTCFG_LIS3L02DQ=m +CPTCFG_SCA3000=m +CPTCFG_AD7606=m +CPTCFG_AD7606_IFACE_PARALLEL=m +CPTCFG_AD7606_IFACE_SPI=m +CPTCFG_AD7780=m +CPTCFG_AD7816=m +CPTCFG_AD7192=m +CPTCFG_AD7280=m +CPTCFG_ADT7316=m +CPTCFG_ADT7316_SPI=m +CPTCFG_ADT7316_I2C=m +CPTCFG_AD7150=m +CPTCFG_AD7152=m +CPTCFG_AD7746=m +CPTCFG_AD9832=m +CPTCFG_AD9834=m +CPTCFG_ADIS16060=m +CPTCFG_AD5933=m +CPTCFG_SENSORS_ISL29018=m +CPTCFG_SENSORS_ISL29028=m +CPTCFG_TSL2583=m +CPTCFG_TSL2x7x=m +CPTCFG_SENSORS_HMC5843=m +CPTCFG_SENSORS_HMC5843_I2C=m +CPTCFG_SENSORS_HMC5843_SPI=m +CPTCFG_ADE7753=m +CPTCFG_ADE7754=m +CPTCFG_ADE7758=m +CPTCFG_ADE7759=m +CPTCFG_ADE7854=m +CPTCFG_ADE7854_I2C=m +CPTCFG_ADE7854_SPI=m +CPTCFG_AD2S90=m +CPTCFG_AD2S1200=m +CPTCFG_AD2S1210=m +CPTCFG_IIO_PERIODIC_RTC_TRIGGER=m +CPTCFG_IIO_SIMPLE_DUMMY=m +CPTCFG_FB_SM750=m +CPTCFG_FB_XGI=m +CPTCFG_SPEAKUP=m +CPTCFG_SPEAKUP_SYNTH_ACNTSA=m +CPTCFG_SPEAKUP_SYNTH_APOLLO=m +CPTCFG_SPEAKUP_SYNTH_AUDPTR=m +CPTCFG_SPEAKUP_SYNTH_BNS=m +CPTCFG_SPEAKUP_SYNTH_DECTLK=m +CPTCFG_SPEAKUP_SYNTH_DECEXT=m +CPTCFG_SPEAKUP_SYNTH_LTLK=m +CPTCFG_SPEAKUP_SYNTH_SOFT=m +CPTCFG_SPEAKUP_SYNTH_SPKOUT=m +CPTCFG_SPEAKUP_SYNTH_TXPRT=m +CPTCFG_SPEAKUP_SYNTH_DUMMY=m +CPTCFG_TOUCHSCREEN_SYNAPTICS_I2C_RMI4=m +CPTCFG_STAGING_MEDIA=y +CPTCFG_I2C_BCM2048=m +CPTCFG_DVB_CXD2099=m +CPTCFG_DVB_MN88472=m +CPTCFG_DVB_MN88473=m +CPTCFG_LIRC_STAGING=y +CPTCFG_LIRC_BT829=m +CPTCFG_LIRC_IMON=m +CPTCFG_LIRC_PARALLEL=m +CPTCFG_LIRC_SASEM=m +CPTCFG_LIRC_SERIAL=m +CPTCFG_LIRC_SERIAL_TRANSMITTER=y +CPTCFG_LIRC_SIR=m +CPTCFG_LIRC_ZILOG=m +CPTCFG_STAGING_RDMA=m +CPTCFG_INFINIBAND_AMSO1100=m +CPTCFG_INFINIBAND_HFI1=m +CPTCFG_HFI1_VERBS_31BIT_PSN=y +CPTCFG_INFINIBAND_IPATH=m +CPTCFG_WIMAX_GDM72XX=m +CPTCFG_WIMAX_GDM72XX_QOS=y +CPTCFG_WIMAX_GDM72XX_K_MODE=y +CPTCFG_WIMAX_GDM72XX_WIMAX2=y +CPTCFG_WIMAX_GDM72XX_USB=y +CPTCFG_WIMAX_GDM72XX_USB_PM=y +CPTCFG_LTE_GDM724X=m +CPTCFG_FIREWIRE_SERIAL=m +CPTCFG_MTD_SPINAND_MT29F=m +CPTCFG_MTD_SPINAND_ONDIEECC=y +CPTCFG_DGNC=m +CPTCFG_DGAP=m +CPTCFG_GS_FPGABOOT=m +CPTCFG_CRYPTO_SKEIN=y +CPTCFG_UNISYSSPAR=y +CPTCFG_UNISYS_VISORBUS=m +CPTCFG_UNISYS_VISORNIC=m +CPTCFG_UNISYS_VISORINPUT=m +CPTCFG_UNISYS_VISORHBA=m +CPTCFG_FB_TFT=m +CPTCFG_FB_TFT_AGM1264K_FL=m +CPTCFG_FB_TFT_BD663474=m +CPTCFG_FB_TFT_HX8340BN=m +CPTCFG_FB_TFT_HX8347D=m +CPTCFG_FB_TFT_HX8353D=m +CPTCFG_FB_TFT_HX8357D=m +CPTCFG_FB_TFT_ILI9163=m +CPTCFG_FB_TFT_ILI9320=m +CPTCFG_FB_TFT_ILI9325=m +CPTCFG_FB_TFT_ILI9340=m +CPTCFG_FB_TFT_ILI9341=m +CPTCFG_FB_TFT_ILI9481=m +CPTCFG_FB_TFT_ILI9486=m +CPTCFG_FB_TFT_PCD8544=m +CPTCFG_FB_TFT_RA8875=m +CPTCFG_FB_TFT_S6D02A1=m +CPTCFG_FB_TFT_S6D1121=m +CPTCFG_FB_TFT_SSD1289=m +CPTCFG_FB_TFT_SSD1306=m +CPTCFG_FB_TFT_SSD1331=m +CPTCFG_FB_TFT_SSD1351=m +CPTCFG_FB_TFT_ST7735R=m +CPTCFG_FB_TFT_ST7789V=m +CPTCFG_FB_TFT_TINYLCD=m +CPTCFG_FB_TFT_TLS8204=m +CPTCFG_FB_TFT_UC1611=m +CPTCFG_FB_TFT_UC1701=m +CPTCFG_FB_TFT_UPD161704=m +CPTCFG_FB_TFT_WATTEROTT=m +CPTCFG_FB_FLEX=m +CPTCFG_FB_TFT_FBTFT_DEVICE=m +CPTCFG_MOST=m +CPTCFG_MOSTCORE=m +CPTCFG_AIM_CDEV=m +CPTCFG_AIM_NETWORK=m +CPTCFG_AIM_SOUND=m +CPTCFG_AIM_V4L2=m +CPTCFG_HDM_DIM2=m +CPTCFG_HDM_I2C=m +CPTCFG_HDM_USB=m +CPTCFG_X86_PLATFORM_DEVICES=y +CPTCFG_ACER_WMI=m +CPTCFG_ACERHDF=m +CPTCFG_ALIENWARE_WMI=m +CPTCFG_ASUS_LAPTOP=m +CPTCFG_DELL_LAPTOP=m +CPTCFG_DELL_WMI=m +CPTCFG_DELL_WMI_AIO=m +CPTCFG_DELL_SMO8800=m +CPTCFG_DELL_RBTN=m +CPTCFG_FUJITSU_LAPTOP=m +CPTCFG_FUJITSU_TABLET=m +CPTCFG_AMILO_RFKILL=m +CPTCFG_HP_ACCEL=m +CPTCFG_HP_WMI=m +CPTCFG_MSI_LAPTOP=m +CPTCFG_PANASONIC_LAPTOP=m +CPTCFG_COMPAL_LAPTOP=m +CPTCFG_SONY_LAPTOP=m +CPTCFG_SONYPI_COMPAT=y +CPTCFG_IDEAPAD_LAPTOP=m +CPTCFG_THINKPAD_ACPI=m +CPTCFG_THINKPAD_ACPI_ALSA_SUPPORT=y +CPTCFG_THINKPAD_ACPI_DEBUGFACILITIES=y +CPTCFG_THINKPAD_ACPI_VIDEO=y +CPTCFG_THINKPAD_ACPI_HOTKEY_POLL=y +CPTCFG_SENSORS_HDAPS=m +CPTCFG_INTEL_MENLOW=m +CPTCFG_EEEPC_LAPTOP=m +CPTCFG_ASUS_WMI=m +CPTCFG_ASUS_NB_WMI=m +CPTCFG_EEEPC_WMI=m +CPTCFG_ACPI_WMI=m +CPTCFG_MSI_WMI=m +CPTCFG_TOPSTAR_LAPTOP=m +CPTCFG_ACPI_TOSHIBA=m +CPTCFG_TOSHIBA_BT_RFKILL=m +CPTCFG_TOSHIBA_HAPS=m +CPTCFG_TOSHIBA_WMI=m +CPTCFG_ACPI_CMPC=m +CPTCFG_INTEL_HID_EVENT=m +CPTCFG_INTEL_VBTN=m +CPTCFG_INTEL_IPS=m +CPTCFG_IBM_RTL=m +CPTCFG_SAMSUNG_LAPTOP=m +CPTCFG_MXM_WMI=m +CPTCFG_INTEL_OAKTRAIL=m +CPTCFG_SAMSUNG_Q10=m +CPTCFG_APPLE_GMUX=m +CPTCFG_INTEL_RST=m +CPTCFG_INTEL_SMARTCONNECT=m +CPTCFG_PVPANIC=m +CPTCFG_INTEL_PMC_IPC=m +CPTCFG_SURFACE_PRO3_BUTTON=m +CPTCFG_INTEL_PUNIT_IPC=m +CPTCFG_INTEL_TELEMETRY=m +CPTCFG_CHROME_PLATFORMS=y +CPTCFG_CHROMEOS_LAPTOP=m +CPTCFG_CHROMEOS_PSTORE=m +CPTCFG_CROS_EC_CHARDEV=m +CPTCFG_CROS_EC_LPC=m +CPTCFG_CROS_EC_PROTO=y +CPTCFG_CLKDEV_LOOKUP=y +CPTCFG_HAVE_CLK_PREPARE=y +CPTCFG_COMMON_CLK=y +CPTCFG_COMMON_CLK_WM831X=m +CPTCFG_COMMON_CLK_SI5351=m +CPTCFG_COMMON_CLK_S2MPS11=m +CPTCFG_CLK_TWL6040=m +CPTCFG_COMMON_CLK_PALMAS=m +CPTCFG_COMMON_CLK_PWM=m +CPTCFG_COMMON_CLK_CDCE706=m +CPTCFG_CLKEVT_I8253=y +CPTCFG_I8253_LOCK=y +CPTCFG_CLKBLD_I8253=y +CPTCFG_MAILBOX=y +CPTCFG_PCC=y +CPTCFG_ALTERA_MBOX=m +CPTCFG_IOMMU_API=y +CPTCFG_IOMMU_SUPPORT=y +CPTCFG_IOMMU_IOVA=y +CPTCFG_AMD_IOMMU=y +CPTCFG_AMD_IOMMU_STATS=y +CPTCFG_AMD_IOMMU_V2=m +CPTCFG_DMAR_TABLE=y +CPTCFG_INTEL_IOMMU=y +CPTCFG_INTEL_IOMMU_SVM=y +CPTCFG_INTEL_IOMMU_FLOPPY_WA=y +CPTCFG_IRQ_REMAP=y +CPTCFG_REMOTEPROC=m +CPTCFG_STE_MODEM_RPROC=m +CPTCFG_SOC_TI=y +CPTCFG_PM_DEVFREQ=y +CPTCFG_DEVFREQ_GOV_SIMPLE_ONDEMAND=y +CPTCFG_DEVFREQ_GOV_PERFORMANCE=y +CPTCFG_DEVFREQ_GOV_POWERSAVE=y +CPTCFG_DEVFREQ_GOV_USERSPACE=y +CPTCFG_PM_DEVFREQ_EVENT=y +CPTCFG_EXTCON=y +CPTCFG_EXTCON_ADC_JACK=m +CPTCFG_EXTCON_ARIZONA=m +CPTCFG_EXTCON_AXP288=m +CPTCFG_EXTCON_GPIO=m +CPTCFG_EXTCON_MAX14577=m +CPTCFG_EXTCON_MAX77693=m +CPTCFG_EXTCON_MAX77843=m +CPTCFG_EXTCON_MAX8997=m +CPTCFG_EXTCON_PALMAS=m +CPTCFG_EXTCON_RT8973A=m +CPTCFG_EXTCON_SM5502=m +CPTCFG_EXTCON_USB_GPIO=m +CPTCFG_MEMORY=y +CPTCFG_IIO=m +CPTCFG_IIO_BUFFER=y +CPTCFG_IIO_BUFFER_CB=m +CPTCFG_IIO_KFIFO_BUF=m +CPTCFG_IIO_TRIGGERED_BUFFER=m +CPTCFG_IIO_TRIGGER=y +CPTCFG_IIO_TRIGGERED_EVENT=m +CPTCFG_BMA180=m +CPTCFG_BMC150_ACCEL=m +CPTCFG_BMC150_ACCEL_I2C=m +CPTCFG_BMC150_ACCEL_SPI=m +CPTCFG_HID_SENSOR_ACCEL_3D=m +CPTCFG_IIO_ST_ACCEL_3AXIS=m +CPTCFG_IIO_ST_ACCEL_I2C_3AXIS=m +CPTCFG_IIO_ST_ACCEL_SPI_3AXIS=m +CPTCFG_KXSD9=m +CPTCFG_KXCJK1013=m +CPTCFG_MMA8452=m +CPTCFG_MMA9551_CORE=m +CPTCFG_MMA9551=m +CPTCFG_MMA9553=m +CPTCFG_MXC4005=m +CPTCFG_STK8312=m +CPTCFG_STK8BA50=m +CPTCFG_AD_SIGMA_DELTA=m +CPTCFG_AD7266=m +CPTCFG_AD7291=m +CPTCFG_AD7298=m +CPTCFG_AD7476=m +CPTCFG_AD7791=m +CPTCFG_AD7793=m +CPTCFG_AD7887=m +CPTCFG_AD7923=m +CPTCFG_AD799X=m +CPTCFG_AXP288_ADC=m +CPTCFG_CC10001_ADC=m +CPTCFG_DA9150_GPADC=m +CPTCFG_HI8435=m +CPTCFG_LP8788_ADC=m +CPTCFG_MAX1027=m +CPTCFG_MAX1363=m +CPTCFG_MCP320X=m +CPTCFG_MCP3422=m +CPTCFG_MEN_Z188_ADC=m +CPTCFG_NAU7802=m +CPTCFG_QCOM_SPMI_IADC=m +CPTCFG_QCOM_SPMI_VADC=m +CPTCFG_TI_ADC081C=m +CPTCFG_TI_ADC128S052=m +CPTCFG_TI_AM335X_ADC=m +CPTCFG_TWL4030_MADC=m +CPTCFG_TWL6030_GPADC=m +CPTCFG_VIPERBOARD_ADC=m +CPTCFG_AD8366=m +CPTCFG_VZ89X=m +CPTCFG_HID_SENSOR_IIO_COMMON=m +CPTCFG_HID_SENSOR_IIO_TRIGGER=m +CPTCFG_IIO_MS_SENSORS_I2C=m +CPTCFG_IIO_SSP_SENSORS_COMMONS=m +CPTCFG_IIO_SSP_SENSORHUB=m +CPTCFG_IIO_ST_SENSORS_I2C=m +CPTCFG_IIO_ST_SENSORS_SPI=m +CPTCFG_IIO_ST_SENSORS_CORE=m +CPTCFG_AD5064=m +CPTCFG_AD5360=m +CPTCFG_AD5380=m +CPTCFG_AD5421=m +CPTCFG_AD5446=m +CPTCFG_AD5449=m +CPTCFG_AD5592R_BASE=m +CPTCFG_AD5592R=m +CPTCFG_AD5593R=m +CPTCFG_AD5504=m +CPTCFG_AD5624R_SPI=m +CPTCFG_AD5686=m +CPTCFG_AD5755=m +CPTCFG_AD5764=m +CPTCFG_AD5791=m +CPTCFG_AD7303=m +CPTCFG_M62332=m +CPTCFG_MAX517=m +CPTCFG_MCP4725=m +CPTCFG_MCP4922=m +CPTCFG_AD9523=m +CPTCFG_ADF4350=m +CPTCFG_ADIS16080=m +CPTCFG_ADIS16130=m +CPTCFG_ADIS16136=m +CPTCFG_ADIS16260=m +CPTCFG_ADXRS450=m +CPTCFG_BMG160=m +CPTCFG_BMG160_I2C=m +CPTCFG_BMG160_SPI=m +CPTCFG_HID_SENSOR_GYRO_3D=m +CPTCFG_IIO_ST_GYRO_3AXIS=m +CPTCFG_IIO_ST_GYRO_I2C_3AXIS=m +CPTCFG_IIO_ST_GYRO_SPI_3AXIS=m +CPTCFG_ITG3200=m +CPTCFG_DHT11=m +CPTCFG_HDC100X=m +CPTCFG_HTS221=m +CPTCFG_HTS221_I2C=m +CPTCFG_HTS221_SPI=m +CPTCFG_HTU21=m +CPTCFG_SI7005=m +CPTCFG_SI7020=m +CPTCFG_ADIS16400=m +CPTCFG_ADIS16480=m +CPTCFG_KMX61=m +CPTCFG_INV_MPU6050_IIO=m +CPTCFG_IIO_ADIS_LIB=m +CPTCFG_IIO_ADIS_LIB_BUFFER=y +CPTCFG_ACPI_ALS=m +CPTCFG_ADJD_S311=m +CPTCFG_AL3320A=m +CPTCFG_APDS9300=m +CPTCFG_APDS9960=m +CPTCFG_BH1750=m +CPTCFG_CM32181=m +CPTCFG_CM3232=m +CPTCFG_CM3323=m +CPTCFG_CM36651=m +CPTCFG_GP2AP020A00F=m +CPTCFG_ISL29125=m +CPTCFG_HID_SENSOR_ALS=m +CPTCFG_HID_SENSOR_PROX=m +CPTCFG_JSA1212=m +CPTCFG_RPR0521=m +CPTCFG_SENSORS_LM3533=m +CPTCFG_LTR501=m +CPTCFG_OPT3001=m +CPTCFG_PA12203001=m +CPTCFG_STK3310=m +CPTCFG_TCS3414=m +CPTCFG_TCS3472=m +CPTCFG_SENSORS_TSL2563=m +CPTCFG_TSL4531=m +CPTCFG_US5182D=m +CPTCFG_VCNL4000=m +CPTCFG_AK8975=m +CPTCFG_AK09911=m +CPTCFG_BMC150_MAGN=m +CPTCFG_MAG3110=m +CPTCFG_HID_SENSOR_MAGNETOMETER_3D=m +CPTCFG_MMC35240=m +CPTCFG_IIO_ST_MAGN_3AXIS=m +CPTCFG_IIO_ST_MAGN_I2C_3AXIS=m +CPTCFG_IIO_ST_MAGN_SPI_3AXIS=m +CPTCFG_HID_SENSOR_INCLINOMETER_3D=m +CPTCFG_HID_SENSOR_DEVICE_ROTATION=m +CPTCFG_IIO_INTERRUPT_TRIGGER=m +CPTCFG_IIO_SYSFS_TRIGGER=m +CPTCFG_MCP4531=m +CPTCFG_BMP280=m +CPTCFG_HID_SENSOR_PRESS=m +CPTCFG_MPL115=m +CPTCFG_MPL3115=m +CPTCFG_MS5611=m +CPTCFG_MS5611_I2C=m +CPTCFG_MS5611_SPI=m +CPTCFG_MS5637=m +CPTCFG_IIO_ST_PRESS=m +CPTCFG_IIO_ST_PRESS_I2C=m +CPTCFG_IIO_ST_PRESS_SPI=m +CPTCFG_T5403=m +CPTCFG_AS3935=m +CPTCFG_LIDAR_LITE_V2=m +CPTCFG_SX9500=m +CPTCFG_MLX90614=m +CPTCFG_TMP006=m +CPTCFG_TSYS01=m +CPTCFG_TSYS02D=m +CPTCFG_NTB=m +CPTCFG_NTB_AMD=m +CPTCFG_NTB_INTEL=m +CPTCFG_NTB_PINGPONG=m +CPTCFG_NTB_TOOL=m +CPTCFG_NTB_TRANSPORT=m +CPTCFG_VME_BUS=y +CPTCFG_VME_CA91CX42=m +CPTCFG_VME_TSI148=m +CPTCFG_VMIVME_7805=m +CPTCFG_VME_USER=m +CPTCFG_VME_PIO2=m +CPTCFG_PWM=y +CPTCFG_PWM_SYSFS=y +CPTCFG_PWM_CRC=y +CPTCFG_PWM_LP3943=m +CPTCFG_PWM_LPSS=m +CPTCFG_PWM_LPSS_PCI=m +CPTCFG_PWM_LPSS_PLATFORM=m +CPTCFG_PWM_PCA9685=m +CPTCFG_PWM_TWL=m +CPTCFG_PWM_TWL_LED=m +CPTCFG_IPACK_BUS=m +CPTCFG_BOARD_TPCI200=m +CPTCFG_SERIAL_IPOCTAL=m +CPTCFG_RESET_CONTROLLER=y +CPTCFG_FMC=m +CPTCFG_FMC_FAKEDEV=m +CPTCFG_FMC_TRIVIAL=m +CPTCFG_FMC_WRITE_EEPROM=m +CPTCFG_FMC_CHARDEV=m +CPTCFG_GENERIC_PHY=y +CPTCFG_PHY_PXA_28NM_HSIC=m +CPTCFG_PHY_PXA_28NM_USB2=m +CPTCFG_BCM_KONA_USB2_PHY=m +CPTCFG_PHY_SAMSUNG_USB2=m +CPTCFG_PHY_TUSB1210=m +CPTCFG_POWERCAP=y +CPTCFG_INTEL_RAPL=m +CPTCFG_MCB=m +CPTCFG_MCB_PCI=m +CPTCFG_RAS=y +CPTCFG_AMD_MCE_INJ=m +CPTCFG_THUNDERBOLT=m +CPTCFG_LIBNVDIMM=y +CPTCFG_BLK_DEV_PMEM=m +CPTCFG_ND_BLK=m +CPTCFG_ND_CLAIM=y +CPTCFG_ND_BTT=m +CPTCFG_BTT=y +CPTCFG_ND_PFN=m +CPTCFG_NVDIMM_PFN=y +CPTCFG_NVMEM=m +CPTCFG_STM=m +CPTCFG_STM_DUMMY=m +CPTCFG_STM_SOURCE_CONSOLE=m +CPTCFG_INTEL_TH=m +CPTCFG_INTEL_TH_PCI=m +CPTCFG_INTEL_TH_GTH=m +CPTCFG_INTEL_TH_STH=m +CPTCFG_INTEL_TH_MSU=m +CPTCFG_INTEL_TH_PTI=m +CPTCFG_FPGA=m +CPTCFG_FPGA_MGR_ZYNQ_FPGA=m +CPTCFG_DRM_I915_BPO=m +CPTCFG_DRM_I915_BPO_USERPTR=y +CPTCFG_HIO=m +CPTCFG_WLAN_VENDOR_RSI=y +CPTCFG_VEN_RSI_COEX=y +CPTCFG_VEN_RSI_WOW=y +CPTCFG_HW_SCAN_OFFLOAD=y +CPTCFG_CARACALLA_BOARD=y +CPTCFG_OPENNSL=y +CPTCFG_OPENNSL_KERNEL_BDE=m +CPTCFG_OPENNSL_BCM_KNET=m +CPTCFG_OPENNSL_USER_BDE=m +CPTCFG_BNXT_BPO=m +CPTCFG_BNXT_BPO_SRIOV=y +CPTCFG_BNXT_BPO_DCB=y +CPTCFG_EDD=y +CPTCFG_EDD_OFF=y +CPTCFG_FIRMWARE_MEMMAP=y +CPTCFG_DELL_RBU=m +CPTCFG_DCDBAS=m +CPTCFG_DMIID=y +CPTCFG_DMI_SYSFS=m +CPTCFG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y +CPTCFG_ISCSI_IBFT_FIND=y +CPTCFG_ISCSI_IBFT=m +CPTCFG_EFI_VARS=y +CPTCFG_EFI_ESRT=y +CPTCFG_EFI_VARS_PSTORE=m +CPTCFG_EFI_RUNTIME_MAP=y +CPTCFG_EFI_RUNTIME_WRAPPERS=y +CPTCFG_EFI_TEST=m +CPTCFG_UEFI_CPER=y +CPTCFG_DCACHE_WORD_ACCESS=y +CPTCFG_EXT4_FS=y +CPTCFG_EXT4_USE_FOR_EXT2=y +CPTCFG_EXT4_FS_POSIX_ACL=y +CPTCFG_EXT4_FS_SECURITY=y +CPTCFG_EXT4_ENCRYPTION=m +CPTCFG_EXT4_FS_ENCRYPTION=y +CPTCFG_JBD2=y +CPTCFG_FS_MBCACHE=y +CPTCFG_REISERFS_FS=m +CPTCFG_REISERFS_FS_XATTR=y +CPTCFG_REISERFS_FS_POSIX_ACL=y +CPTCFG_REISERFS_FS_SECURITY=y +CPTCFG_JFS_FS=m +CPTCFG_JFS_POSIX_ACL=y +CPTCFG_JFS_SECURITY=y +CPTCFG_JFS_STATISTICS=y +CPTCFG_XFS_FS=m +CPTCFG_XFS_QUOTA=y +CPTCFG_XFS_POSIX_ACL=y +CPTCFG_XFS_RT=y +CPTCFG_GFS2_FS=m +CPTCFG_GFS2_FS_LOCKING_DLM=y +CPTCFG_OCFS2_FS=m +CPTCFG_OCFS2_FS_O2CB=m +CPTCFG_OCFS2_FS_USERSPACE_CLUSTER=m +CPTCFG_OCFS2_FS_STATS=y +CPTCFG_OCFS2_DEBUG_MASKLOG=y +CPTCFG_BTRFS_FS=m +CPTCFG_BTRFS_FS_POSIX_ACL=y +CPTCFG_NILFS2_FS=m +CPTCFG_F2FS_FS=m +CPTCFG_F2FS_STAT_FS=y +CPTCFG_F2FS_FS_XATTR=y +CPTCFG_F2FS_FS_POSIX_ACL=y +CPTCFG_F2FS_FS_SECURITY=y +CPTCFG_F2FS_FS_ENCRYPTION=y +CPTCFG_FS_DAX=y +CPTCFG_FS_POSIX_ACL=y +CPTCFG_EXPORTFS=y +CPTCFG_FILE_LOCKING=y +CPTCFG_FSNOTIFY=y +CPTCFG_DNOTIFY=y +CPTCFG_INOTIFY_USER=y +CPTCFG_FANOTIFY=y +CPTCFG_FANOTIFY_ACCESS_PERMISSIONS=y +CPTCFG_QUOTA=y +CPTCFG_QUOTA_NETLINK_INTERFACE=y +CPTCFG_QUOTA_TREE=m +CPTCFG_QFMT_V1=m +CPTCFG_QFMT_V2=m +CPTCFG_QUOTACTL=y +CPTCFG_QUOTACTL_COMPAT=y +CPTCFG_AUTOFS4_FS=m +CPTCFG_FUSE_FS=y +CPTCFG_CUSE=m +CPTCFG_OVERLAY_FS=m +CPTCFG_OVERLAY_FS_V1=y +CPTCFG_FSCACHE=m +CPTCFG_FSCACHE_STATS=y +CPTCFG_CACHEFILES=m +CPTCFG_ISO9660_FS=m +CPTCFG_JOLIET=y +CPTCFG_ZISOFS=y +CPTCFG_UDF_FS=m +CPTCFG_UDF_NLS=y +CPTCFG_FAT_FS=y +CPTCFG_MSDOS_FS=m +CPTCFG_VFAT_FS=y +CPTCFG_NTFS_FS=m +CPTCFG_PROC_FS=y +CPTCFG_PROC_KCORE=y +CPTCFG_PROC_VMCORE=y +CPTCFG_PROC_SYSCTL=y +CPTCFG_PROC_PAGE_MONITOR=y +CPTCFG_PROC_CHILDREN=y +CPTCFG_KERNFS=y +CPTCFG_SYSFS=y +CPTCFG_TMPFS=y +CPTCFG_TMPFS_POSIX_ACL=y +CPTCFG_TMPFS_XATTR=y +CPTCFG_HUGETLBFS=y +CPTCFG_HUGETLB_PAGE=y +CPTCFG_CONFIGFS_FS=m +CPTCFG_EFIVAR_FS=y +CPTCFG_MISC_FILESYSTEMS=y +CPTCFG_ADFS_FS=m +CPTCFG_AFFS_FS=m +CPTCFG_ECRYPT_FS=y +CPTCFG_ECRYPT_FS_MESSAGING=y +CPTCFG_HFS_FS=m +CPTCFG_HFSPLUS_FS=m +CPTCFG_HFSPLUS_FS_POSIX_ACL=y +CPTCFG_BEFS_FS=m +CPTCFG_BFS_FS=m +CPTCFG_EFS_FS=m +CPTCFG_JFFS2_FS=m +CPTCFG_JFFS2_FS_WRITEBUFFER=y +CPTCFG_JFFS2_FS_XATTR=y +CPTCFG_JFFS2_FS_POSIX_ACL=y +CPTCFG_JFFS2_FS_SECURITY=y +CPTCFG_JFFS2_COMPRESSION_OPTIONS=y +CPTCFG_JFFS2_ZLIB=y +CPTCFG_JFFS2_LZO=y +CPTCFG_JFFS2_RTIME=y +CPTCFG_JFFS2_CMODE_FAVOURLZO=y +CPTCFG_UBIFS_FS=m +CPTCFG_UBIFS_FS_LZO=y +CPTCFG_UBIFS_FS_ZLIB=y +CPTCFG_UBIFS_ATIME_SUPPORT=y +CPTCFG_CRAMFS=m +CPTCFG_SQUASHFS=y +CPTCFG_SQUASHFS_FILE_DIRECT=y +CPTCFG_SQUASHFS_DECOMP_SINGLE=y +CPTCFG_SQUASHFS_XATTR=y +CPTCFG_SQUASHFS_ZLIB=y +CPTCFG_SQUASHFS_LZ4=y +CPTCFG_SQUASHFS_LZO=y +CPTCFG_SQUASHFS_XZ=y +CPTCFG_VXFS_FS=m +CPTCFG_MINIX_FS=m +CPTCFG_OMFS_FS=m +CPTCFG_HPFS_FS=m +CPTCFG_QNX4FS_FS=m +CPTCFG_QNX6FS_FS=m +CPTCFG_ROMFS_FS=m +CPTCFG_ROMFS_BACKED_BY_BLOCK=y +CPTCFG_ROMFS_ON_BLOCK=y +CPTCFG_PSTORE=y +CPTCFG_PSTORE_RAM=m +CPTCFG_SYSV_FS=m +CPTCFG_UFS_FS=m +CPTCFG_EXOFS_FS=m +CPTCFG_AUFS_FS=m +CPTCFG_AUFS_BRANCH_MAX_127=y +CPTCFG_AUFS_SBILIST=y +CPTCFG_AUFS_EXPORT=y +CPTCFG_AUFS_INO_T_64=y +CPTCFG_AUFS_XATTR=y +CPTCFG_AUFS_BR_HFSPLUS=y +CPTCFG_AUFS_BDEV_LOOP=y +CPTCFG_ORE=m +CPTCFG_NETWORK_FILESYSTEMS=y +CPTCFG_NFS_FS=m +CPTCFG_NFS_V2=m +CPTCFG_NFS_V3=m +CPTCFG_NFS_V3_ACL=y +CPTCFG_NFS_V4=m +CPTCFG_NFS_SWAP=y +CPTCFG_NFS_V4_1=y +CPTCFG_NFS_V4_2=y +CPTCFG_PNFS_FILE_LAYOUT=m +CPTCFG_PNFS_BLOCK=m +CPTCFG_PNFS_OBJLAYOUT=m +CPTCFG_PNFS_FLEXFILE_LAYOUT=m +CPTCFG_NFS_V4_1_MIGRATION=y +CPTCFG_NFS_V4_SECURITY_LABEL=y +CPTCFG_NFS_FSCACHE=y +CPTCFG_NFS_USE_KERNEL_DNS=y +CPTCFG_NFS_DEBUG=y +CPTCFG_NFSD=m +CPTCFG_NFSD_V2_ACL=y +CPTCFG_NFSD_V3=y +CPTCFG_NFSD_V3_ACL=y +CPTCFG_NFSD_V4=y +CPTCFG_NFSD_PNFS=y +CPTCFG_NFSD_V4_SECURITY_LABEL=y +CPTCFG_GRACE_PERIOD=m +CPTCFG_LOCKD=m +CPTCFG_LOCKD_V4=y +CPTCFG_NFS_ACL_SUPPORT=m +CPTCFG_NFS_COMMON=y +CPTCFG_SUNRPC=m +CPTCFG_SUNRPC_GSS=m +CPTCFG_SUNRPC_BACKCHANNEL=y +CPTCFG_SUNRPC_SWAP=y +CPTCFG_RPCSEC_GSS_KRB5=m +CPTCFG_SUNRPC_DEBUG=y +CPTCFG_SUNRPC_XPRT_RDMA=m +CPTCFG_CEPH_FS=m +CPTCFG_CEPH_FSCACHE=y +CPTCFG_CEPH_FS_POSIX_ACL=y +CPTCFG_CIFS=m +CPTCFG_CIFS_STATS=y +CPTCFG_CIFS_WEAK_PW_HASH=y +CPTCFG_CIFS_UPCALL=y +CPTCFG_CIFS_XATTR=y +CPTCFG_CIFS_POSIX=y +CPTCFG_CIFS_ACL=y +CPTCFG_CIFS_DEBUG=y +CPTCFG_CIFS_DFS_UPCALL=y +CPTCFG_CIFS_SMB2=y +CPTCFG_CIFS_SMB311=y +CPTCFG_CIFS_FSCACHE=y +CPTCFG_NCP_FS=m +CPTCFG_NCPFS_PACKET_SIGNING=y +CPTCFG_NCPFS_IOCTL_LOCKING=y +CPTCFG_NCPFS_STRONG=y +CPTCFG_NCPFS_NFS_NS=y +CPTCFG_NCPFS_OS2_NS=y +CPTCFG_NCPFS_NLS=y +CPTCFG_NCPFS_EXTRAS=y +CPTCFG_CODA_FS=m +CPTCFG_AFS_FS=m +CPTCFG_AFS_FSCACHE=y +CPTCFG_9P_FS=m +CPTCFG_9P_FSCACHE=y +CPTCFG_9P_FS_POSIX_ACL=y +CPTCFG_9P_FS_SECURITY=y +CPTCFG_NLS=y +CPTCFG_NLS_CODEPAGE_437=y +CPTCFG_NLS_CODEPAGE_737=m +CPTCFG_NLS_CODEPAGE_775=m +CPTCFG_NLS_CODEPAGE_850=m +CPTCFG_NLS_CODEPAGE_852=m +CPTCFG_NLS_CODEPAGE_855=m +CPTCFG_NLS_CODEPAGE_857=m +CPTCFG_NLS_CODEPAGE_860=m +CPTCFG_NLS_CODEPAGE_861=m +CPTCFG_NLS_CODEPAGE_862=m +CPTCFG_NLS_CODEPAGE_863=m +CPTCFG_NLS_CODEPAGE_864=m +CPTCFG_NLS_CODEPAGE_865=m +CPTCFG_NLS_CODEPAGE_866=m +CPTCFG_NLS_CODEPAGE_869=m +CPTCFG_NLS_CODEPAGE_936=m +CPTCFG_NLS_CODEPAGE_950=m +CPTCFG_NLS_CODEPAGE_932=m +CPTCFG_NLS_CODEPAGE_949=m +CPTCFG_NLS_CODEPAGE_874=m +CPTCFG_NLS_ISO8859_8=m +CPTCFG_NLS_CODEPAGE_1250=m +CPTCFG_NLS_CODEPAGE_1251=m +CPTCFG_NLS_ASCII=m +CPTCFG_NLS_ISO8859_1=y +CPTCFG_NLS_ISO8859_2=m +CPTCFG_NLS_ISO8859_3=m +CPTCFG_NLS_ISO8859_4=m +CPTCFG_NLS_ISO8859_5=m +CPTCFG_NLS_ISO8859_6=m +CPTCFG_NLS_ISO8859_7=m +CPTCFG_NLS_ISO8859_9=m +CPTCFG_NLS_ISO8859_13=m +CPTCFG_NLS_ISO8859_14=m +CPTCFG_NLS_ISO8859_15=m +CPTCFG_NLS_KOI8_R=m +CPTCFG_NLS_KOI8_U=m +CPTCFG_NLS_MAC_ROMAN=m +CPTCFG_NLS_MAC_CELTIC=m +CPTCFG_NLS_MAC_CENTEURO=m +CPTCFG_NLS_MAC_CROATIAN=m +CPTCFG_NLS_MAC_CYRILLIC=m +CPTCFG_NLS_MAC_GAELIC=m +CPTCFG_NLS_MAC_GREEK=m +CPTCFG_NLS_MAC_ICELAND=m +CPTCFG_NLS_MAC_INUIT=m +CPTCFG_NLS_MAC_ROMANIAN=m +CPTCFG_NLS_MAC_TURKISH=m +CPTCFG_NLS_UTF8=m +CPTCFG_DLM=m +CPTCFG_TRACE_IRQFLAGS_SUPPORT=y +CPTCFG_PRINTK_TIME=y +CPTCFG_BOOT_PRINTK_DELAY=y +CPTCFG_DYNAMIC_DEBUG=y +CPTCFG_UNUSED_SYMBOLS=y +CPTCFG_DEBUG_FS=y +CPTCFG_SECTION_MISMATCH_WARN_ONLY=y +CPTCFG_ARCH_WANT_FRAME_POINTERS=y +CPTCFG_FRAME_POINTER=y +CPTCFG_MAGIC_SYSRQ=y +CPTCFG_DEBUG_KERNEL=y +CPTCFG_HAVE_DEBUG_KMEMLEAK=y +CPTCFG_MEMORY_NOTIFIER_ERROR_INJECT=m +CPTCFG_HAVE_DEBUG_STACKOVERFLOW=y +CPTCFG_HAVE_ARCH_KMEMCHECK=y +CPTCFG_HAVE_ARCH_KASAN=y +CPTCFG_LOCKUP_DETECTOR=y +CPTCFG_HARDLOCKUP_DETECTOR=y +CPTCFG_DETECT_HUNG_TASK=y +CPTCFG_SCHED_DEBUG=y +CPTCFG_SCHED_INFO=y +CPTCFG_SCHEDSTATS=y +CPTCFG_SCHED_STACK_END_CHECK=y +CPTCFG_TIMER_STATS=y +CPTCFG_LOCK_TORTURE_TEST=m +CPTCFG_STACKTRACE=y +CPTCFG_DEBUG_BUGVERBOSE=y +CPTCFG_TORTURE_TEST=m +CPTCFG_NOTIFIER_ERROR_INJECTION=m +CPTCFG_CPU_NOTIFIER_ERROR_INJECT=m +CPTCFG_PM_NOTIFIER_ERROR_INJECT=m +CPTCFG_ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS=y +CPTCFG_USER_STACKTRACE_SUPPORT=y +CPTCFG_NOP_TRACER=y +CPTCFG_HAVE_FUNCTION_TRACER=y +CPTCFG_HAVE_FUNCTION_GRAPH_TRACER=y +CPTCFG_HAVE_FUNCTION_GRAPH_FP_TEST=y +CPTCFG_HAVE_DYNAMIC_FTRACE=y +CPTCFG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y +CPTCFG_HAVE_FTRACE_MCOUNT_RECORD=y +CPTCFG_HAVE_SYSCALL_TRACEPOINTS=y +CPTCFG_HAVE_FENTRY=y +CPTCFG_HAVE_C_RECORDMCOUNT=y +CPTCFG_TRACER_MAX_TRACE=y +CPTCFG_TRACE_CLOCK=y +CPTCFG_RING_BUFFER=y +CPTCFG_EVENT_TRACING=y +CPTCFG_CONTEXT_SWITCH_TRACER=y +CPTCFG_RING_BUFFER_ALLOW_SWAP=y +CPTCFG_TRACING=y +CPTCFG_GENERIC_TRACER=y +CPTCFG_TRACING_SUPPORT=y +CPTCFG_FTRACE=y +CPTCFG_FUNCTION_TRACER=y +CPTCFG_FUNCTION_GRAPH_TRACER=y +CPTCFG_SCHED_TRACER=y +CPTCFG_FTRACE_SYSCALLS=y +CPTCFG_TRACER_SNAPSHOT=y +CPTCFG_BRANCH_PROFILE_NONE=y +CPTCFG_STACK_TRACER=y +CPTCFG_BLK_DEV_IO_TRACE=y +CPTCFG_KPROBE_EVENT=y +CPTCFG_UPROBE_EVENT=y +CPTCFG_BPF_EVENTS=y +CPTCFG_PROBE_EVENTS=y +CPTCFG_DYNAMIC_FTRACE=y +CPTCFG_DYNAMIC_FTRACE_WITH_REGS=y +CPTCFG_FUNCTION_PROFILER=y +CPTCFG_FTRACE_MCOUNT_RECORD=y +CPTCFG_MMIOTRACE=y +CPTCFG_TRACING_EVENTS_GPIO=y +CPTCFG_RBTREE_TEST=m +CPTCFG_INTERVAL_TREE_TEST=m +CPTCFG_PERCPU_TEST=m +CPTCFG_ASYNC_RAID6_TEST=m +CPTCFG_TEST_HEXDUMP=m +CPTCFG_TEST_STRING_HELPERS=m +CPTCFG_TEST_KSTRTOX=m +CPTCFG_TEST_PRINTF=m +CPTCFG_TEST_LKM=m +CPTCFG_TEST_USER_COPY=m +CPTCFG_TEST_BPF=m +CPTCFG_TEST_FIRMWARE=m +CPTCFG_TEST_UDELAY=m +CPTCFG_MEMTEST=y +CPTCFG_TEST_STATIC_KEYS=m +CPTCFG_HAVE_ARCH_KGDB=y +CPTCFG_KGDB=y +CPTCFG_KGDB_SERIAL_CONSOLE=y +CPTCFG_KGDB_LOW_LEVEL_TRAP=y +CPTCFG_KGDB_KDB=y +CPTCFG_KDB_KEYBOARD=y +CPTCFG_STRICT_DEVMEM=y +CPTCFG_EARLY_PRINTK=y +CPTCFG_EARLY_PRINTK_DBGP=y +CPTCFG_EARLY_PRINTK_EFI=y +CPTCFG_DEBUG_RODATA=y +CPTCFG_DEBUG_SET_MODULE_RONX=y +CPTCFG_DOUBLEFAULT=y +CPTCFG_HAVE_MMIOTRACE_SUPPORT=y +CPTCFG_IO_DELAY_0XED=y +CPTCFG_OPTIMIZE_INLINING=y +CPTCFG_X86_DEBUG_FPU=y +CPTCFG_PUNIT_ATOM_DEBUG=m +CPTCFG_KEYS=y +CPTCFG_PERSISTENT_KEYRINGS=y +CPTCFG_BIG_KEYS=y +CPTCFG_TRUSTED_KEYS=y +CPTCFG_ENCRYPTED_KEYS=y +CPTCFG_SECURITY=y +CPTCFG_SECURITYFS=y +CPTCFG_SECURITY_NETWORK=y +CPTCFG_SECURITY_NETWORK_XFRM=y +CPTCFG_SECURITY_PATH=y +CPTCFG_INTEL_TXT=y +CPTCFG_SECURITY_SELINUX=y +CPTCFG_SECURITY_SELINUX_BOOTPARAM=y +CPTCFG_SECURITY_SELINUX_DISABLE=y +CPTCFG_SECURITY_SELINUX_DEVELOP=y +CPTCFG_SECURITY_SELINUX_AVC_STATS=y +CPTCFG_SECURITY_SMACK=y +CPTCFG_SECURITY_SMACK_NETFILTER=y +CPTCFG_SECURITY_TOMOYO=y +CPTCFG_SECURITY_APPARMOR=y +CPTCFG_SECURITY_APPARMOR_UNCONFINED_INIT=y +CPTCFG_SECURITY_APPARMOR_HASH=y +CPTCFG_SECURITY_APPARMOR_HASH_DEFAULT=y +CPTCFG_SECURITY_YAMA=y +CPTCFG_INTEGRITY=y +CPTCFG_INTEGRITY_SIGNATURE=y +CPTCFG_INTEGRITY_ASYMMETRIC_KEYS=y +CPTCFG_INTEGRITY_AUDIT=y +CPTCFG_IMA=y +CPTCFG_IMA_LSM_RULES=y +CPTCFG_IMA_NG_TEMPLATE=y +CPTCFG_IMA_DEFAULT_HASH_SHA1=y +CPTCFG_IMA_APPRAISE=y +CPTCFG_IMA_TRUSTED_KEYRING=y +CPTCFG_IMA_MOK_KEYRING=y +CPTCFG_EVM=y +CPTCFG_EVM_ATTR_FSUUID=y +CPTCFG_EVM_EXTRA_SMACK_XATTRS=y +CPTCFG_DEFAULT_SECURITY_APPARMOR=y +CPTCFG_XOR_BLOCKS=m +CPTCFG_ASYNC_CORE=m +CPTCFG_ASYNC_MEMCPY=m +CPTCFG_ASYNC_XOR=m +CPTCFG_ASYNC_PQ=m +CPTCFG_ASYNC_RAID6_RECOV=m +CPTCFG_CRYPTO=y +CPTCFG_CRYPTO_ALGAPI=y +CPTCFG_CRYPTO_ALGAPI2=y +CPTCFG_CRYPTO_AEAD=m +CPTCFG_CRYPTO_AEAD2=y +CPTCFG_CRYPTO_BLKCIPHER=y +CPTCFG_CRYPTO_BLKCIPHER2=y +CPTCFG_CRYPTO_HASH=y +CPTCFG_CRYPTO_HASH2=y +CPTCFG_CRYPTO_RNG=y +CPTCFG_CRYPTO_RNG2=y +CPTCFG_CRYPTO_RNG_DEFAULT=m +CPTCFG_CRYPTO_PCOMP=m +CPTCFG_CRYPTO_PCOMP2=y +CPTCFG_CRYPTO_AKCIPHER2=y +CPTCFG_CRYPTO_AKCIPHER=y +CPTCFG_CRYPTO_RSA=y +CPTCFG_CRYPTO_MANAGER=y +CPTCFG_CRYPTO_MANAGER2=y +CPTCFG_CRYPTO_USER=m +CPTCFG_CRYPTO_MANAGER_DISABLE_TESTS=y +CPTCFG_CRYPTO_GF128MUL=m +CPTCFG_CRYPTO_NULL=m +CPTCFG_CRYPTO_NULL2=y +CPTCFG_CRYPTO_PCRYPT=m +CPTCFG_CRYPTO_WORKQUEUE=y +CPTCFG_CRYPTO_CRYPTD=m +CPTCFG_CRYPTO_MCRYPTD=m +CPTCFG_CRYPTO_AUTHENC=m +CPTCFG_CRYPTO_TEST=m +CPTCFG_CRYPTO_ABLK_HELPER=m +CPTCFG_CRYPTO_GLUE_HELPER_X86=m +CPTCFG_CRYPTO_CCM=m +CPTCFG_CRYPTO_GCM=m +CPTCFG_CRYPTO_CHACHA20POLY1305=m +CPTCFG_CRYPTO_SEQIV=m +CPTCFG_CRYPTO_ECHAINIV=m +CPTCFG_CRYPTO_CBC=y +CPTCFG_CRYPTO_CTR=m +CPTCFG_CRYPTO_CTS=m +CPTCFG_CRYPTO_ECB=y +CPTCFG_CRYPTO_LRW=m +CPTCFG_CRYPTO_PCBC=m +CPTCFG_CRYPTO_XTS=m +CPTCFG_CRYPTO_KEYWRAP=m +CPTCFG_CRYPTO_CMAC=m +CPTCFG_CRYPTO_HMAC=y +CPTCFG_CRYPTO_XCBC=m +CPTCFG_CRYPTO_VMAC=m +CPTCFG_CRYPTO_CRC32C=y +CPTCFG_CRYPTO_CRC32C_INTEL=y +CPTCFG_CRYPTO_CRC32=m +CPTCFG_CRYPTO_CRC32_PCLMUL=m +CPTCFG_CRYPTO_CRCT10DIF=y +CPTCFG_CRYPTO_CRCT10DIF_PCLMUL=m +CPTCFG_CRYPTO_GHASH=m +CPTCFG_CRYPTO_POLY1305=m +CPTCFG_CRYPTO_POLY1305_X86_64=m +CPTCFG_CRYPTO_MD4=m +CPTCFG_CRYPTO_MD5=y +CPTCFG_CRYPTO_MICHAEL_MIC=m +CPTCFG_CRYPTO_RMD128=m +CPTCFG_CRYPTO_RMD160=m +CPTCFG_CRYPTO_RMD256=m +CPTCFG_CRYPTO_RMD320=m +CPTCFG_CRYPTO_SHA1=y +CPTCFG_CRYPTO_SHA1_SSSE3=m +CPTCFG_CRYPTO_SHA256_SSSE3=m +CPTCFG_CRYPTO_SHA512_SSSE3=m +CPTCFG_CRYPTO_SHA1_MB=m +CPTCFG_CRYPTO_SHA256=y +CPTCFG_CRYPTO_SHA512=y +CPTCFG_CRYPTO_TGR192=m +CPTCFG_CRYPTO_WP512=m +CPTCFG_CRYPTO_GHASH_CLMUL_NI_INTEL=m +CPTCFG_CRYPTO_AES=y +CPTCFG_CRYPTO_AES_X86_64=m +CPTCFG_CRYPTO_AES_NI_INTEL=m +CPTCFG_CRYPTO_ANUBIS=m +CPTCFG_CRYPTO_ARC4=m +CPTCFG_CRYPTO_BLOWFISH=m +CPTCFG_CRYPTO_BLOWFISH_COMMON=m +CPTCFG_CRYPTO_BLOWFISH_X86_64=m +CPTCFG_CRYPTO_CAMELLIA=m +CPTCFG_CRYPTO_CAMELLIA_X86_64=m +CPTCFG_CRYPTO_CAMELLIA_AESNI_AVX_X86_64=m +CPTCFG_CRYPTO_CAMELLIA_AESNI_AVX2_X86_64=m +CPTCFG_CRYPTO_CAST_COMMON=m +CPTCFG_CRYPTO_CAST5=m +CPTCFG_CRYPTO_CAST5_AVX_X86_64=m +CPTCFG_CRYPTO_CAST6=m +CPTCFG_CRYPTO_CAST6_AVX_X86_64=m +CPTCFG_CRYPTO_DES=m +CPTCFG_CRYPTO_DES3_EDE_X86_64=m +CPTCFG_CRYPTO_FCRYPT=m +CPTCFG_CRYPTO_KHAZAD=m +CPTCFG_CRYPTO_SALSA20=m +CPTCFG_CRYPTO_SALSA20_X86_64=m +CPTCFG_CRYPTO_CHACHA20=m +CPTCFG_CRYPTO_CHACHA20_X86_64=m +CPTCFG_CRYPTO_SEED=m +CPTCFG_CRYPTO_SERPENT=m +CPTCFG_CRYPTO_SERPENT_SSE2_X86_64=m +CPTCFG_CRYPTO_SERPENT_AVX_X86_64=m +CPTCFG_CRYPTO_SERPENT_AVX2_X86_64=m +CPTCFG_CRYPTO_TEA=m +CPTCFG_CRYPTO_TWOFISH=m +CPTCFG_CRYPTO_TWOFISH_COMMON=m +CPTCFG_CRYPTO_TWOFISH_X86_64=m +CPTCFG_CRYPTO_TWOFISH_X86_64_3WAY=m +CPTCFG_CRYPTO_TWOFISH_AVX_X86_64=m +CPTCFG_CRYPTO_DEFLATE=m +CPTCFG_CRYPTO_ZLIB=m +CPTCFG_CRYPTO_LZO=y +CPTCFG_CRYPTO_842=m +CPTCFG_CRYPTO_LZ4=m +CPTCFG_CRYPTO_LZ4HC=m +CPTCFG_CRYPTO_ANSI_CPRNG=m +CPTCFG_CRYPTO_DRBG_MENU=m +CPTCFG_CRYPTO_DRBG_HMAC=y +CPTCFG_CRYPTO_DRBG_HASH=y +CPTCFG_CRYPTO_DRBG_CTR=y +CPTCFG_CRYPTO_DRBG=m +CPTCFG_CRYPTO_JITTERENTROPY=m +CPTCFG_CRYPTO_USER_API=m +CPTCFG_CRYPTO_USER_API_HASH=m +CPTCFG_CRYPTO_USER_API_SKCIPHER=m +CPTCFG_CRYPTO_USER_API_RNG=m +CPTCFG_CRYPTO_USER_API_AEAD=m +CPTCFG_CRYPTO_HASH_INFO=y +CPTCFG_CRYPTO_HW=y +CPTCFG_CRYPTO_DEV_PADLOCK=y +CPTCFG_CRYPTO_DEV_PADLOCK_AES=m +CPTCFG_CRYPTO_DEV_PADLOCK_SHA=m +CPTCFG_CRYPTO_DEV_CCP=y +CPTCFG_CRYPTO_DEV_CCP_DD=m +CPTCFG_CRYPTO_DEV_CCP_CRYPTO=m +CPTCFG_CRYPTO_DEV_QAT=m +CPTCFG_CRYPTO_DEV_QAT_DH895xCC=m +CPTCFG_CRYPTO_DEV_QAT_DH895xCCVF=m +CPTCFG_ASYMMETRIC_KEY_TYPE=y +CPTCFG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE=y +CPTCFG_PUBLIC_KEY_ALGO_RSA=y +CPTCFG_X509_CERTIFICATE_PARSER=y +CPTCFG_PKCS7_MESSAGE_PARSER=y +CPTCFG_PKCS7_TEST_KEY=m +CPTCFG_SIGNED_PE_FILE_VERIFICATION=y +CPTCFG_EFI_SIGNATURE_LIST_PARSER=y +CPTCFG_SYSTEM_TRUSTED_KEYRING=y +CPTCFG_SYSTEM_EXTRA_CERTIFICATE=y +CPTCFG_HAVE_KVM=y +CPTCFG_HAVE_KVM_IRQCHIP=y +CPTCFG_HAVE_KVM_IRQFD=y +CPTCFG_HAVE_KVM_IRQ_ROUTING=y +CPTCFG_HAVE_KVM_EVENTFD=y +CPTCFG_KVM_APIC_ARCHITECTURE=y +CPTCFG_KVM_MMIO=y +CPTCFG_KVM_ASYNC_PF=y +CPTCFG_HAVE_KVM_MSI=y +CPTCFG_HAVE_KVM_CPU_RELAX_INTERCEPT=y +CPTCFG_KVM_VFIO=y +CPTCFG_KVM_GENERIC_DIRTYLOG_READ_PROTECT=y +CPTCFG_KVM_COMPAT=y +CPTCFG_HAVE_KVM_IRQ_BYPASS=y +CPTCFG_VIRTUALIZATION=y +CPTCFG_KVM=m +CPTCFG_KVM_INTEL=m +CPTCFG_KVM_AMD=m +CPTCFG_KVM_DEVICE_ASSIGNMENT=y +CPTCFG_BINARY_PRINTF=y +CPTCFG_RAID6_PQ=m +CPTCFG_BITREVERSE=y +CPTCFG_RATIONAL=y +CPTCFG_GENERIC_STRNCPY_FROM_USER=y +CPTCFG_GENERIC_STRNLEN_USER=y +CPTCFG_GENERIC_NET_UTILS=y +CPTCFG_GENERIC_FIND_FIRST_BIT=y +CPTCFG_GENERIC_PCI_IOMAP=y +CPTCFG_GENERIC_IOMAP=y +CPTCFG_GENERIC_IO=y +CPTCFG_ARCH_USE_CMPXCHG_LOCKREF=y +CPTCFG_ARCH_HAS_FAST_MULTIPLIER=y +CPTCFG_CRC_CCITT=m +CPTCFG_CRC16=y +CPTCFG_CRC_T10DIF=y +CPTCFG_CRC_ITU_T=m +CPTCFG_CRC32=y +CPTCFG_CRC32_SLICEBY8=y +CPTCFG_CRC7=m +CPTCFG_LIBCRC32C=m +CPTCFG_CRC8=m +CPTCFG_842_COMPRESS=m +CPTCFG_842_DECOMPRESS=m +CPTCFG_ZLIB_INFLATE=y +CPTCFG_ZLIB_DEFLATE=y +CPTCFG_LZO_COMPRESS=y +CPTCFG_LZO_DECOMPRESS=y +CPTCFG_LZ4_COMPRESS=m +CPTCFG_LZ4HC_COMPRESS=m +CPTCFG_LZ4_DECOMPRESS=y +CPTCFG_XZ_DEC=y +CPTCFG_XZ_DEC_X86=y +CPTCFG_XZ_DEC_POWERPC=y +CPTCFG_XZ_DEC_IA64=y +CPTCFG_XZ_DEC_ARM=y +CPTCFG_XZ_DEC_ARMTHUMB=y +CPTCFG_XZ_DEC_SPARC=y +CPTCFG_XZ_DEC_BCJ=y +CPTCFG_XZ_DEC_TEST=m +CPTCFG_DECOMPRESS_GZIP=y +CPTCFG_DECOMPRESS_BZIP2=y +CPTCFG_DECOMPRESS_LZMA=y +CPTCFG_DECOMPRESS_XZ=y +CPTCFG_DECOMPRESS_LZO=y +CPTCFG_DECOMPRESS_LZ4=y +CPTCFG_GENERIC_ALLOCATOR=y +CPTCFG_REED_SOLOMON=m +CPTCFG_REED_SOLOMON_ENC8=y +CPTCFG_REED_SOLOMON_DEC8=y +CPTCFG_REED_SOLOMON_DEC16=y +CPTCFG_BCH=m +CPTCFG_BCH_CONST_PARAMS=y +CPTCFG_TEXTSEARCH=y +CPTCFG_TEXTSEARCH_KMP=m +CPTCFG_TEXTSEARCH_BM=m +CPTCFG_TEXTSEARCH_FSM=m +CPTCFG_BTREE=y +CPTCFG_INTERVAL_TREE=y +CPTCFG_ASSOCIATIVE_ARRAY=y +CPTCFG_HAS_IOMEM=y +CPTCFG_HAS_IOPORT_MAP=y +CPTCFG_HAS_DMA=y +CPTCFG_CHECK_SIGNATURE=y +CPTCFG_CPU_RMAP=y +CPTCFG_DQL=y +CPTCFG_GLOB=y +CPTCFG_NLATTR=y +CPTCFG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y +CPTCFG_LRU_CACHE=m +CPTCFG_CLZ_TAB=y +CPTCFG_CORDIC=m +CPTCFG_DDR=y +CPTCFG_MPILIB=y +CPTCFG_SIGNATURE=y +CPTCFG_OID_REGISTRY=y +CPTCFG_UCS2_STRING=y +CPTCFG_FONT_SUPPORT=y +CPTCFG_FONT_8x8=y +CPTCFG_FONT_8x16=y +CPTCFG_ARCH_HAS_SG_CHAIN=y +CPTCFG_ARCH_HAS_PMEM_API=y +CPTCFG_ARCH_HAS_MMIO_FLUSH=y +CPTCFG_KERNEL_4_5=y +CPTCFG_KERNEL_4_6=y +CPTCFG_KERNEL_4_7=y +CPTCFG_KERNEL_4_8=y +CPTCFG_KERNEL_4_9=y +CPTCFG_KERNEL_4_10=y +CPTCFG_KERNEL_4_11=y +CPTCFG_KERNEL_4_12=y +CPTCFG_KERNEL_4_13=y +CPTCFG_KERNEL_4_14=y +CPTCFG_KERNEL_4_15=y +CPTCFG_KERNEL_4_16=y +CPTCFG_KERNEL_4_17=y +CPTCFG_KERNEL_4_18=y +CPTCFG_KERNEL_4_19=y +CPTCFG_KERNEL_4_20=y +CPTCFG_KERNEL_4_21=y +CPTCFG_KERNEL_4_22=y +CPTCFG_KERNEL_4_23=y +CPTCFG_KERNEL_4_24=y +CPTCFG_KERNEL_4_25=y +CPTCFG_KERNEL_4_26=y +CPTCFG_KERNEL_4_27=y +CPTCFG_KERNEL_4_28=y +CPTCFG_KERNEL_4_29=y +CPTCFG_KERNEL_4_30=y +CPTCFG_KERNEL_4_31=y +CPTCFG_KERNEL_4_32=y +CPTCFG_KERNEL_4_33=y +CPTCFG_KERNEL_4_34=y +CPTCFG_KERNEL_4_35=y +CPTCFG_KERNEL_4_36=y +CPTCFG_KERNEL_4_37=y +CPTCFG_KERNEL_4_38=y +CPTCFG_KERNEL_4_39=y +CPTCFG_KERNEL_4_40=y +CPTCFG_KERNEL_4_41=y +CPTCFG_KERNEL_4_42=y +CPTCFG_KERNEL_4_43=y +CPTCFG_KERNEL_4_44=y +CPTCFG_KERNEL_4_45=y +CPTCFG_KERNEL_4_46=y +CPTCFG_KERNEL_4_47=y +CPTCFG_KERNEL_4_48=y +CPTCFG_KERNEL_4_49=y +CPTCFG_KERNEL_4_50=y +CPTCFG_KERNEL_4_51=y +CPTCFG_KERNEL_4_52=y +CPTCFG_KERNEL_4_53=y +CPTCFG_KERNEL_4_54=y +CPTCFG_KERNEL_4_55=y +CPTCFG_KERNEL_4_56=y +CPTCFG_KERNEL_4_57=y +CPTCFG_KERNEL_4_58=y +CPTCFG_KERNEL_4_59=y +CPTCFG_KERNEL_4_60=y +CPTCFG_KERNEL_4_61=y +CPTCFG_KERNEL_4_62=y +CPTCFG_KERNEL_4_63=y +CPTCFG_KERNEL_4_64=y +CPTCFG_KERNEL_4_65=y +CPTCFG_KERNEL_4_66=y +CPTCFG_KERNEL_4_67=y +CPTCFG_KERNEL_4_68=y +CPTCFG_KERNEL_4_69=y +CPTCFG_KERNEL_4_70=y +CPTCFG_KERNEL_4_71=y +CPTCFG_KERNEL_4_72=y +CPTCFG_KERNEL_4_73=y +CPTCFG_KERNEL_4_74=y +CPTCFG_KERNEL_4_75=y +CPTCFG_KERNEL_4_76=y +CPTCFG_KERNEL_4_77=y +CPTCFG_KERNEL_4_78=y +CPTCFG_KERNEL_4_79=y +CPTCFG_KERNEL_4_80=y +CPTCFG_KERNEL_4_81=y +CPTCFG_KERNEL_4_82=y +CPTCFG_KERNEL_4_83=y +CPTCFG_KERNEL_4_84=y +CPTCFG_KERNEL_4_85=y +CPTCFG_KERNEL_4_86=y +CPTCFG_KERNEL_4_87=y +CPTCFG_KERNEL_4_88=y +CPTCFG_KERNEL_4_89=y +CPTCFG_KERNEL_4_90=y +CPTCFG_KERNEL_4_91=y +CPTCFG_KERNEL_4_92=y +CPTCFG_KERNEL_4_93=y +CPTCFG_KERNEL_4_94=y +CPTCFG_KERNEL_4_95=y +CPTCFG_KERNEL_4_96=y +CPTCFG_KERNEL_4_97=y +CPTCFG_KERNEL_4_98=y +CPTCFG_KERNEL_4_99=y diff --git a/recipes-kernel/linux-backports/linux-backports.bb b/recipes-kernel/linux-backports/linux-backports.bb new file mode 100644 index 000000000..8c0a1f5f9 --- /dev/null +++ b/recipes-kernel/linux-backports/linux-backports.bb @@ -0,0 +1,38 @@ +# Copyright (C) 2017 Khem Raj +# Released under the MIT license (see COPYING.MIT for the terms) + +DESCRIPTION = "Linux Backports" +HOMEPAGE = "https://backports.wiki.kernel.org" +SECTION = "kernel/modules" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" + +SRCREV = "694b78f1533eb72c638c83754e0567630a93f456" + +PV = "4.14-rc2-1" + +SRC_URI = "http://www.kernel.org/pub/linux/kernel/projects/backports/stable/v4.14-rc2/backports-4.14-rc2-1.tar.gz \ + file://backports_config \ +" +SRC_URI[md5sum] = "4f00003de9a55b7277e096dafe9a6c20" +SRC_URI[sha256sum] = "7e3afa1f9f77e10af9c0f21da9c14e2bf2b0034f111b7a8b38d7be9ea6751c01" + +S = "${WORKDIR}/backports-${PV}" + +EXTRA_OEMAKE = "V=1 KLIB_BUILD=${STAGING_KERNEL_BUILDDIR} \ + KLIB=${base_libdir}/modules/${KERNEL_VERSION} \ + " + +DEPENDS += "coreutils-native" + +inherit module + +MAKE_TARGETS = "modules" + +FILES_${PN} += "${nonarch_base_libdir}/udev \ + ${sysconfdir}/udev \ + ${nonarch_base_libdir} \ + " + +EXCLUDE_FROM_WORLD = "1" + From d7d236f9edea9e42cbe70a277ab670a464a37c96 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 22 Sep 2018 10:34:17 -0700 Subject: [PATCH 075/211] canboat,wpa-supplicant: Add recipe Signed-off-by: Khem Raj --- .../wpa-supplicant/wpa_supplicant.conf-sane | 0 .../wpa-supplicant/wpa-supplicant_%.bbappend | 1 + recipes-core/canboat/canboat.bb | 35 +++++++++++ .../files/0001-Define-ANALYZEREXEC.patch | 38 ++++++++++++ ...t-use-root-user-group-during-install.patch | 28 +++++++++ .../files/0001-use-php-instead-of-php5.patch | 61 +++++++++++++++++++ 6 files changed, 163 insertions(+) create mode 100644 recipes-connectivity/wpa-supplicant/wpa-supplicant/wpa_supplicant.conf-sane create mode 100644 recipes-connectivity/wpa-supplicant/wpa-supplicant_%.bbappend create mode 100644 recipes-core/canboat/canboat.bb create mode 100644 recipes-core/canboat/files/0001-Define-ANALYZEREXEC.patch create mode 100644 recipes-core/canboat/files/0001-Do-not-use-root-user-group-during-install.patch create mode 100644 recipes-core/canboat/files/0001-use-php-instead-of-php5.patch diff --git a/recipes-connectivity/wpa-supplicant/wpa-supplicant/wpa_supplicant.conf-sane b/recipes-connectivity/wpa-supplicant/wpa-supplicant/wpa_supplicant.conf-sane new file mode 100644 index 000000000..e69de29bb diff --git a/recipes-connectivity/wpa-supplicant/wpa-supplicant_%.bbappend b/recipes-connectivity/wpa-supplicant/wpa-supplicant_%.bbappend new file mode 100644 index 000000000..8f2097cc1 --- /dev/null +++ b/recipes-connectivity/wpa-supplicant/wpa-supplicant_%.bbappend @@ -0,0 +1 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" diff --git a/recipes-core/canboat/canboat.bb b/recipes-core/canboat/canboat.bb new file mode 100644 index 000000000..29248eef4 --- /dev/null +++ b/recipes-core/canboat/canboat.bb @@ -0,0 +1,35 @@ +SUMMARY = "CANBOAT" +SECTION = "base" +LICENSE = "GPLv3" + +DEPENDS += "libxslt-native canboat-native" + +LIC_FILES_CHKSUM = "file://GPL;md5=05507c6da2404b0e88fe5a152fd12540" + +SRC_URI = "git://github.com/canboat/canboat.git;branch=${SRCBRANCH} \ + file://0001-Do-not-use-root-user-group-during-install.patch \ + file://0001-Define-ANALYZEREXEC.patch \ + file://0001-use-php-instead-of-php5.patch \ + " +SRCBRANCH = "master" +SRCREV = "93b2ebfb334d7a9750b6947d3a4af9b091be2432" + +S = "${WORKDIR}/git" + +PREFIX ?= "${root_prefix}" +#PREFIX_class-native = "${prefix}" + +EXTRA_OEMAKE_append_class-target = " ANALYZEREXEC=analyzer " + +do_compile() { + oe_runmake +} +do_install() { + oe_runmake DESTDIR=${D} PREFIX=${root_prefix} EXEC_PREFIX=${exec_prefix} install + +} + +RDEPENDS_${PN}_append_class-target = " php-cli perl" + +BBCLASSEXTEND = "native nativesdk" + diff --git a/recipes-core/canboat/files/0001-Define-ANALYZEREXEC.patch b/recipes-core/canboat/files/0001-Define-ANALYZEREXEC.patch new file mode 100644 index 000000000..0355593b2 --- /dev/null +++ b/recipes-core/canboat/files/0001-Define-ANALYZEREXEC.patch @@ -0,0 +1,38 @@ +From e8cd233a2194fdf94e0b18a32264ed1f8cf952f8 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sun, 20 May 2018 20:50:50 -0700 +Subject: [PATCH] Define ANALYZEREXEC + +This is an alias to ANALYZER which can be +overridden from env if needed ( e.g. during +cross compile) + +Signed-off-by: Khem Raj +--- + analyzer/Makefile | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/analyzer/Makefile b/analyzer/Makefile +index d5a9fb5..fd55463 100644 +--- a/analyzer/Makefile ++++ b/analyzer/Makefile +@@ -20,6 +20,7 @@ + PLATFORM=$(shell uname | tr '[A-Z]' '[a-z]')-$(shell uname -m) + TARGETDIR=../rel/$(PLATFORM) + ANALYZER=$(TARGETDIR)/analyzer ++ANALYZEREXEC?=$(ANALYZER) + TARGETS=$(ANALYZER) + XMLFILE=pgns.xml + JSONFILE=pgns.json +@@ -30,7 +31,7 @@ $(ANALYZER): analyzer.c pgn.c analyzer.h pgn.h ../common/common.c ../common/comm + $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $(ANALYZER) -I../common pgn.c analyzer.c ../common/common.c $(LDLIBS$(LDLIBS-$(@))) + + json: $(ANALYZER) pgns2json.xslt +- $(ANALYZER) -explain-xml >$(XMLFILE) && xsltproc pgns2json.xslt $(XMLFILE) >$(JSONFILE) ++ $(ANALYZEREXEC) -explain-xml >$(XMLFILE) && xsltproc pgns2json.xslt $(XMLFILE) >$(JSONFILE) + + clean: + -rm -f $(TARGETS) *.elf *.gdb +-- +2.17.0 + diff --git a/recipes-core/canboat/files/0001-Do-not-use-root-user-group-during-install.patch b/recipes-core/canboat/files/0001-Do-not-use-root-user-group-during-install.patch new file mode 100644 index 000000000..42828618e --- /dev/null +++ b/recipes-core/canboat/files/0001-Do-not-use-root-user-group-during-install.patch @@ -0,0 +1,28 @@ +From e1d5b746787647c9b566f9ad96417d579308e108 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sun, 20 May 2018 18:59:39 -0700 +Subject: [PATCH] Do not use root user/group during install + +OE has its own way of using fake root using pseudo + +Signed-off-by: Khem Raj +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 8e5120f..bbb1c38 100755 +--- a/Makefile ++++ b/Makefile +@@ -39,7 +39,7 @@ clean: + + install: rel/$(PLATFORM)/analyzer $(DESTDIR)$(BINDIR) $(DESTDIR)$(CONFDIR) + for i in rel/$(PLATFORM)/* util/* */*_monitor; do f=`basename $$i`; rm -f $(DESTDIR)$(BINDIR)/$$f; cp $$i $(DESTDIR)$(BINDIR); done +- for i in config/*; do install -g $(ROOT_GID) -o $(ROOT_UID) -m $(ROOT_MOD) $$i $(DESTDIR)$(CONFDIR); done ++ for i in config/*; do install -m 0644 $$i $(DESTDIR)$(CONFDIR); done + -killall -9 actisense-serial n2kd socketcan-writer || echo 'No running processes killed' + + zip: +-- +2.17.0 + diff --git a/recipes-core/canboat/files/0001-use-php-instead-of-php5.patch b/recipes-core/canboat/files/0001-use-php-instead-of-php5.patch new file mode 100644 index 000000000..e26747cb4 --- /dev/null +++ b/recipes-core/canboat/files/0001-use-php-instead-of-php5.patch @@ -0,0 +1,61 @@ +From 85987c659762939241e4bdd4223e63eb5997b181 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sun, 20 May 2018 16:22:29 -0700 +Subject: [PATCH] use php instead of php5 + +OE ships php5 as php + +Signed-off-by: Khem Raj +--- + airmar/airmar.php | 2 +- + n2kd/n2kd_monitor | 2 +- + send-message/format-message | 2 +- + util/list-product-information | 2 +- + 4 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/airmar/airmar.php b/airmar/airmar.php +index ccd4b4d..46ed49d 100755 +--- a/airmar/airmar.php ++++ b/airmar/airmar.php +@@ -1,4 +1,4 @@ +-#!/usr/bin/php5 ++#!/usr/bin/env php + >', $MONITOR_LOGFILE or die "Can't write to $MONITOR_LOGFILE $!"; + open STDERR, '>&STDOUT' or die "Can't dup stdout: $!"; +- exec 'php5', '/usr/local/bin/n2k.php', '-monitor'; ++ exec 'php', '/usr/bin/n2k.php', '-monitor'; + } + if (!$monitor) + { +diff --git a/send-message/format-message b/send-message/format-message +index 590a815..2d91185 100755 +--- a/send-message/format-message ++++ b/send-message/format-message +@@ -1,4 +1,4 @@ +-#!/usr/bin/php5 ++#!/usr/bin/env php + Date: Wed, 26 Sep 2018 08:49:59 -0700 Subject: [PATCH 076/211] layer.conf: Add thud to compatible layer series Signed-off-by: Khem Raj --- conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/layer.conf b/conf/layer.conf index 7b2da75b7..e29db8905 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -7,7 +7,7 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" BBFILE_COLLECTIONS += "meta-yoe" BBFILE_PATTERN_meta-yoe := "^${LAYERDIR}/" BBFILE_PRIORITY_meta-yoe = "15" -LAYERSERIES_COMPAT_meta-yoe = "sumo" +LAYERSERIES_COMPAT_meta-yoe = "sumo thud" LAYERDEPENDS_meta-yoe = "core" BBFILES_DYNAMIC += " \ From 135dc2d1d31ba0bfba1fdf21599751c6f286b491 Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Tue, 16 Oct 2018 09:38:44 -0400 Subject: [PATCH 077/211] move config from local.conf to distro yoe.conf (#2) * move config from local.conf to distro yoe.conf --- conf/distro/yoe.conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/conf/distro/yoe.conf b/conf/distro/yoe.conf index 393d8f6f4..bcbc30419 100644 --- a/conf/distro/yoe.conf +++ b/conf/distro/yoe.conf @@ -84,3 +84,18 @@ ARM_INSTRUCTION_SET = "thumb" #PREFERRED_PROVIDER_pkgconfig = "pkgconf" #PREFERRED_PROVIDER_pkgconfig-native = "pkgconf-native" #PREFERRED_PROVIDER_nativesdk-pkgconfig = "nativesdk-pkgconf" + +PREFERRED_PROVIDER_virtual/libgl ??= "mesa" +PREFERRED_PROVIDER_virtual/psplash ??= "psplash" +PREFERRED_PROVIDER_psplash-support ??= "psplash" +PREFERRED_PROVIDER_jpeg ??= "libjpeg-turbo" +PREFERRED_PROVIDER_jpeg-native ??= "libjpeg-turbo-native" +PREFERRED_PROVIDER_grub-efi-native ??= "grub-efi-native" +PREFERRED_PROVIDER_u-boot-fw-utils ??= "u-boot-fw-utils" + +# Don't generate the mirror tarball for SCM repos, the snapshot is enough +BB_GENERATE_MIRROR_TARBALLS = "0" + +# the following is required because some BSP layers (fsl) don't set this, and then +# other BSP layers fail bitbake parsing (ti). +MACHINE_KERNEL_PR = "0" From c255bf4037e6d569cf19d0de4d59497819eab12e Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Tue, 16 Oct 2018 09:56:09 -0400 Subject: [PATCH 078/211] remove BB_GENERATE_MIRROR_TARBALL --- conf/distro/yoe.conf | 3 --- 1 file changed, 3 deletions(-) diff --git a/conf/distro/yoe.conf b/conf/distro/yoe.conf index bcbc30419..5cb3917a4 100644 --- a/conf/distro/yoe.conf +++ b/conf/distro/yoe.conf @@ -93,9 +93,6 @@ PREFERRED_PROVIDER_jpeg-native ??= "libjpeg-turbo-native" PREFERRED_PROVIDER_grub-efi-native ??= "grub-efi-native" PREFERRED_PROVIDER_u-boot-fw-utils ??= "u-boot-fw-utils" -# Don't generate the mirror tarball for SCM repos, the snapshot is enough -BB_GENERATE_MIRROR_TARBALLS = "0" - # the following is required because some BSP layers (fsl) don't set this, and then # other BSP layers fail bitbake parsing (ti). MACHINE_KERNEL_PR = "0" From 4b481fa2d91d2004d241220fb1b63ed3a429003a Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 17 Nov 2018 01:06:22 -0800 Subject: [PATCH 079/211] images: Refresh recipes to derive from core reference images - Use IMAGE_FEATURES whereever possible - Correct the license file locations to use COMMON_LICENSE_DIR - Drop PR Signed-off-by: Khem Raj --- recipes-core/images/initramfs-image-splash.bb | 7 +------ recipes-core/images/initramfs-image.bb | 3 +-- recipes-core/images/yoe-debug-image.bb | 4 +++- recipes-core/images/yoe-simple-image.bb | 17 +++++------------ recipes-core/network-hotplug/network-hotplug.bb | 2 +- recipes-support/updater/updater_1.0.bb | 9 +++------ 6 files changed, 14 insertions(+), 28 deletions(-) diff --git a/recipes-core/images/initramfs-image-splash.bb b/recipes-core/images/initramfs-image-splash.bb index bc1a3ee8a..b33f31593 100644 --- a/recipes-core/images/initramfs-image-splash.bb +++ b/recipes-core/images/initramfs-image-splash.bb @@ -1,10 +1,5 @@ require initramfs-image.bb -PACKAGE_INSTALL += "\ - psplash \ - " - +IMAGE_FEATURES = "splash" export IMAGE_BASENAME = "initramfs-image-splash" - - diff --git a/recipes-core/images/initramfs-image.bb b/recipes-core/images/initramfs-image.bb index 9a4ac7c4c..19de3d605 100644 --- a/recipes-core/images/initramfs-image.bb +++ b/recipes-core/images/initramfs-image.bb @@ -2,8 +2,7 @@ DESCRIPTION = "initramfs updater image" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ - file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" # Do not pollute the initrd image with rootfs features IMAGE_FEATURES = "" diff --git a/recipes-core/images/yoe-debug-image.bb b/recipes-core/images/yoe-debug-image.bb index cff4036fc..6211fb771 100644 --- a/recipes-core/images/yoe-debug-image.bb +++ b/recipes-core/images/yoe-debug-image.bb @@ -3,7 +3,7 @@ # note, the following must be set to build netperf: # LICENSE_FLAGS_WHITELIST = "non-commercial" -# see conf/locallocal.conf.sample in BEC build template +# see conf/locallocal.conf.sample in Yoe build template # e2fsprogs \ # e2fsprogs-mke2fs \ @@ -13,6 +13,8 @@ # require recipes-extended/images/core-image-full-cmdline.bb +IMAGE_FEATURES += "package-management hwcodecs" + IMAGE_INSTALL += "\ rsync \ devmem2 \ diff --git a/recipes-core/images/yoe-simple-image.bb b/recipes-core/images/yoe-simple-image.bb index 814190f29..833a2a2d3 100644 --- a/recipes-core/images/yoe-simple-image.bb +++ b/recipes-core/images/yoe-simple-image.bb @@ -1,18 +1,11 @@ -# BEC sample image +# Yoe sample image LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" -IMAGE_PREPROCESS_COMMAND = "rootfs_update_timestamp" +inherit distro_features_check -IMAGE_FEATURES += "ssh-server-dropbear" -IMAGE_FEATURES += "package-management" +require recipes-core/images/core-image-base.bb +IMAGE_FEATURES += "ssh-server-dropbear package-management hwcodecs" -IMAGE_INSTALL += " \ - packagegroup-core-boot \ - packagegroup-basic \ - network-hotplug \ -" export IMAGE_BASENAME = "yoe-simple-image" - -inherit core-image diff --git a/recipes-core/network-hotplug/network-hotplug.bb b/recipes-core/network-hotplug/network-hotplug.bb index a6b564d96..7c95a404a 100644 --- a/recipes-core/network-hotplug/network-hotplug.bb +++ b/recipes-core/network-hotplug/network-hotplug.bb @@ -1,6 +1,6 @@ DESCRIPTION = "Network Hotplug" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" PR = "r2" SRC_URI = " \ diff --git a/recipes-support/updater/updater_1.0.bb b/recipes-support/updater/updater_1.0.bb index fe01ed59b..227bc1581 100644 --- a/recipes-support/updater/updater_1.0.bb +++ b/recipes-support/updater/updater_1.0.bb @@ -1,12 +1,10 @@ DESCRIPTION = "Application Updater" -LICENSE = "Proprietary" -LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28" +LICENSE = "CLOSED" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28" -# FIXME, need to add following based on package +# FIXME, need to add following based on package #RDEPENDS_${PN} += "espeak" -PR = "r0" - SRC_URI = "file://init \ file://platform \ " @@ -19,4 +17,3 @@ do_install() { } FILES_${PN} += "/init /platform /dev /usr/share/pw" - From 13337528b3fe5ece895a994a5a15ad650265dd81 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 17 Nov 2018 01:08:47 -0800 Subject: [PATCH 080/211] images: Add QT5 sample images for eglfs/X11/wayland systems Signed-off-by: Khem Raj --- recipes-core/images/qt5.inc | 40 ++++++++++++++++++++ recipes-core/images/yoe-qt5-eglfs-image.bb | 17 +++++++++ recipes-core/images/yoe-qt5-wayland-image.bb | 21 ++++++++++ recipes-core/images/yoe-qt5-x11-image.bb | 17 +++++++++ 4 files changed, 95 insertions(+) create mode 100644 recipes-core/images/qt5.inc create mode 100644 recipes-core/images/yoe-qt5-eglfs-image.bb create mode 100644 recipes-core/images/yoe-qt5-wayland-image.bb create mode 100644 recipes-core/images/yoe-qt5-x11-image.bb diff --git a/recipes-core/images/qt5.inc b/recipes-core/images/qt5.inc new file mode 100644 index 000000000..fe7ede8fe --- /dev/null +++ b/recipes-core/images/qt5.inc @@ -0,0 +1,40 @@ +QT5APPS += " \ + cinematicexperience \ + qt5-demo-extrafiles \ + qt5everywheredemo \ + qt5nmapcarousedemo \ + qt5ledscreen \ + qt5nmapper \ + qtsmarthome \ + quitbattery \ + quitindicators \ +" +QT5BASE = "\ + qtbase \ + qtbase-plugins \ + qtbase-tools \ + qtmultimedia \ + qtmultimedia-plugins \ + qtmultimedia-qmlplugins \ + qtsvg \ + qtsvg-plugins \ + qtsensors \ + qtsystems \ + qtsystems-tools \ + qtsystems-qmlplugins \ + qtscript \ + qtgraphicaleffects-qmlplugins \ + qtconnectivity-qmlplugins \ + qtlocation-plugins \ + qtlocation-qmlplugins \ + qtdeclarative \ + qtdeclarative-qmlplugins \ + qtdeclarative-plugins \ +" +QTWEBKIT ??= "\ + qtquick1 \ + qtquick1-qmlplugins \ + qtquick1-plugins \ + qtwebkit \ + qtwebkit-qmlplugins \ +" diff --git a/recipes-core/images/yoe-qt5-eglfs-image.bb b/recipes-core/images/yoe-qt5-eglfs-image.bb new file mode 100644 index 000000000..9863bca25 --- /dev/null +++ b/recipes-core/images/yoe-qt5-eglfs-image.bb @@ -0,0 +1,17 @@ +# Yoe QT5 sample image + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690" + +require yoe-simple-image.bb +require qt5.inc + +CONFLICT_DISTRO_FEATURES = "wayland x11" + +REQUIRED_DISTRO_FEATURES = "opengl" + +IMAGE_INSTALL += " \ + ${QT5APPS} \ + ${QT5BASE} \ +" +export IMAGE_BASENAME = "yoe-qt5-eglfs-image" diff --git a/recipes-core/images/yoe-qt5-wayland-image.bb b/recipes-core/images/yoe-qt5-wayland-image.bb new file mode 100644 index 000000000..c4bdfd368 --- /dev/null +++ b/recipes-core/images/yoe-qt5-wayland-image.bb @@ -0,0 +1,21 @@ +# Yoe QT5/Wayland sample image + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690" + +require yoe-simple-image.bb +require qt5.inc + +REQUIRED_DISTRO_FEATURES = "wayland" + +IMAGE_FEATURES += "splash" + +CORE_IMAGE_BASE_INSTALL += " \ + weston weston-init \ + weston-examples \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'weston-xwayland', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwayland-plugins', '', d)} \ + ${QT5APPS} \ + ${QT5BASE} \ +" +export IMAGE_BASENAME = "yoe-qt5-wayland-image" diff --git a/recipes-core/images/yoe-qt5-x11-image.bb b/recipes-core/images/yoe-qt5-x11-image.bb new file mode 100644 index 000000000..914051d8f --- /dev/null +++ b/recipes-core/images/yoe-qt5-x11-image.bb @@ -0,0 +1,17 @@ +# Yoe QT5/X11 sample image + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690" + +require yoe-simple-image.bb +require qt5.inc + +REQUIRED_DISTRO_FEATURES = "x11" + +IMAGE_FEATURES += "splash x11-base" + +IMAGE_INSTALL += " \ + ${QT5APPS} \ + ${QT5BASE} \ +" +export IMAGE_BASENAME = "yoe-qt5-x11-image" From 1c1d815f1312f9bb297fcbb9ceb56f7422e52598 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 20 Nov 2018 08:13:41 -0800 Subject: [PATCH 081/211] images: Replace COREBASE with COMMON_LICENSE_DIR Signed-off-by: Khem Raj --- recipes-core/images/yoe-qt5-eglfs-image.bb | 4 ++-- recipes-core/images/yoe-qt5-wayland-image.bb | 4 ++-- recipes-core/images/yoe-qt5-x11-image.bb | 4 ++-- recipes-core/images/yoe-simple-image.bb | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/recipes-core/images/yoe-qt5-eglfs-image.bb b/recipes-core/images/yoe-qt5-eglfs-image.bb index 9863bca25..37943bc4b 100644 --- a/recipes-core/images/yoe-qt5-eglfs-image.bb +++ b/recipes-core/images/yoe-qt5-eglfs-image.bb @@ -1,9 +1,9 @@ # Yoe QT5 sample image +require yoe-simple-image.bb LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" -require yoe-simple-image.bb require qt5.inc CONFLICT_DISTRO_FEATURES = "wayland x11" diff --git a/recipes-core/images/yoe-qt5-wayland-image.bb b/recipes-core/images/yoe-qt5-wayland-image.bb index c4bdfd368..53b3857ae 100644 --- a/recipes-core/images/yoe-qt5-wayland-image.bb +++ b/recipes-core/images/yoe-qt5-wayland-image.bb @@ -1,9 +1,9 @@ # Yoe QT5/Wayland sample image +require yoe-simple-image.bb LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" -require yoe-simple-image.bb require qt5.inc REQUIRED_DISTRO_FEATURES = "wayland" diff --git a/recipes-core/images/yoe-qt5-x11-image.bb b/recipes-core/images/yoe-qt5-x11-image.bb index 914051d8f..8e5ff8ae4 100644 --- a/recipes-core/images/yoe-qt5-x11-image.bb +++ b/recipes-core/images/yoe-qt5-x11-image.bb @@ -1,9 +1,9 @@ # Yoe QT5/X11 sample image +require yoe-simple-image.bb LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" -require yoe-simple-image.bb require qt5.inc REQUIRED_DISTRO_FEATURES = "x11" diff --git a/recipes-core/images/yoe-simple-image.bb b/recipes-core/images/yoe-simple-image.bb index 833a2a2d3..f5a372013 100644 --- a/recipes-core/images/yoe-simple-image.bb +++ b/recipes-core/images/yoe-simple-image.bb @@ -1,11 +1,11 @@ # Yoe sample image +require recipes-core/images/core-image-base.bb LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" inherit distro_features_check -require recipes-core/images/core-image-base.bb IMAGE_FEATURES += "ssh-server-dropbear package-management hwcodecs" export IMAGE_BASENAME = "yoe-simple-image" From a0ce5c20a478e7873df1cf2ecc0a507792690ab6 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 29 Nov 2018 12:43:09 -0800 Subject: [PATCH 082/211] layer.conf: Bump up the priority and add more dynamic layers 99 means we can override other layers as a distro layer thats what is required sometimes Add qt5 and 96boards layers to dynamic layers Signed-off-by: Khem Raj --- conf/layer.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/conf/layer.conf b/conf/layer.conf index e29db8905..931aadc5f 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -6,12 +6,15 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" BBFILE_COLLECTIONS += "meta-yoe" BBFILE_PATTERN_meta-yoe := "^${LAYERDIR}/" -BBFILE_PRIORITY_meta-yoe = "15" +BBFILE_PRIORITY_meta-yoe = "99" LAYERSERIES_COMPAT_meta-yoe = "sumo thud" LAYERDEPENDS_meta-yoe = "core" BBFILES_DYNAMIC += " \ qt4-layer:${LAYERDIR}/dynamic-layers/qt4-layer/*/*/*.bb \ qt4-layer:${LAYERDIR}/dynamic-layers/qt4-layer/*/*/*.bbappend \ + qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/*/*/*.bb \ + qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/*/*/*.bbappend \ + meta-96boards:${LAYERDIR}/dynamic-layers/meta-96boards/*/*/*.bb \ + meta-96boards:${LAYERDIR}/dynamic-layers/meta-96boards/*/*/*.bbappend \ " - From 3579b22125c5c8fb2d9aff77c6a277def2b6aaa2 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 29 Nov 2018 12:44:26 -0800 Subject: [PATCH 083/211] yoe-qt5-x11-image.bb: Conflict with wayland in distro features This helps in making sure that image configures right backend for qt5 and we do not need to use -qpa or -platfrom cmdline options when launching QT5 apps Signed-off-by: Khem Raj --- recipes-core/images/yoe-qt5-x11-image.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-core/images/yoe-qt5-x11-image.bb b/recipes-core/images/yoe-qt5-x11-image.bb index 8e5ff8ae4..75226ef1d 100644 --- a/recipes-core/images/yoe-qt5-x11-image.bb +++ b/recipes-core/images/yoe-qt5-x11-image.bb @@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda require qt5.inc REQUIRED_DISTRO_FEATURES = "x11" +CONFLICT_DISTRO_FEATURES = "wayland" IMAGE_FEATURES += "splash x11-base" From 49417255738cfef99a24450bc2b7a2cb66032966 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 29 Nov 2018 12:46:11 -0800 Subject: [PATCH 084/211] weston-init: use root user instead of linaro We use meta-96boards which adds the nice feature to launch weston in usermode but then uses username 'linaro' which we dont have in yoe we still use root so override that Signed-off-by: Khem Raj --- .../meta-96boards/recipes-graphics/wayland/weston-init.bbappend | 1 + .../recipes-graphics/wayland/weston-init/71-weston-drm.rules | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 dynamic-layers/meta-96boards/recipes-graphics/wayland/weston-init.bbappend create mode 100644 dynamic-layers/meta-96boards/recipes-graphics/wayland/weston-init/71-weston-drm.rules diff --git a/dynamic-layers/meta-96boards/recipes-graphics/wayland/weston-init.bbappend b/dynamic-layers/meta-96boards/recipes-graphics/wayland/weston-init.bbappend new file mode 100644 index 000000000..72d991c7e --- /dev/null +++ b/dynamic-layers/meta-96boards/recipes-graphics/wayland/weston-init.bbappend @@ -0,0 +1 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" diff --git a/dynamic-layers/meta-96boards/recipes-graphics/wayland/weston-init/71-weston-drm.rules b/dynamic-layers/meta-96boards/recipes-graphics/wayland/weston-init/71-weston-drm.rules new file mode 100644 index 000000000..1a1b8bbda --- /dev/null +++ b/dynamic-layers/meta-96boards/recipes-graphics/wayland/weston-init/71-weston-drm.rules @@ -0,0 +1,2 @@ +ACTION=="add", SUBSYSTEM=="graphics", KERNEL=="fb0", TAG+="systemd", ENV{SYSTEMD_WANTS}+="weston@root.service" +ACTION=="add", SUBSYSTEM=="drm", KERNEL=="card0", TAG+="systemd", ENV{SYSTEMD_WANTS}+="weston@root.service" From 638c5e26b009c1c0636839b43d451705b2b5cc90 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 29 Nov 2018 12:47:12 -0800 Subject: [PATCH 085/211] qtbase: Define QPA backend based on distro features ( eglfs, wayland, x11) Signed-off-by: Khem Raj --- dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend diff --git a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend new file mode 100644 index 000000000..9f7f56922 --- /dev/null +++ b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend @@ -0,0 +1,6 @@ +# This does not work when wayland and x11 both are enabled in DISTRO_FEATURES and x11 image +# is built but works ok for eglfs and wayland images +QT_CONFIG_FLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '-qpa wayland', \ + bb.utils.contains('DISTRO_FEATURES', 'x11', '', \ + '-qpa eglfs', d), d)}" + From 046946ee10231dd8324cdb0475339dde6244b9e6 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 19 Dec 2018 21:53:35 -0800 Subject: [PATCH 086/211] yoe.conf: Fix SDK_NAME and SDKPATH SDKPATH points to /opt much like Poky SDK_NAME reflects bunch of variables to it can be unique SDK_VERSION is pinned to simple DISTRO_VERSION Signed-off-by: Khem Raj --- conf/distro/yoe.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/conf/distro/yoe.conf b/conf/distro/yoe.conf index 5cb3917a4..def68bf2f 100644 --- a/conf/distro/yoe.conf +++ b/conf/distro/yoe.conf @@ -9,7 +9,10 @@ SDK_VENDOR = "-yoesdk" # Distro version keep it up with Yocto release DISTRO_VERSION = "2.6" DISTRO_CODENAME = "master" -SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}" +SDK_VERSION := "${DISTRO_VERSION}" + +SDK_NAME = "${DISTRO}-${TCLIBC}-${SDKMACHINE}-${IMAGE_BASENAME}-${TUNE_PKGARCH}-${MACHINE}" +SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}" DISTRO_VERSION[vardepsexclude] = "DATE" SDK_VERSION[vardepsexclude] = "DATE" From fb8ea343b42c39b824d07f57bba09a26d2078ae3 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 21 Dec 2018 13:31:09 -0800 Subject: [PATCH 087/211] yoe.conf: Drop setting ARM ISA to thumb2 for rmv7+ This is now default in OE-core http://git.openembedded.org/openembedded-core/commit/?id=c88304a78e528596ca481cabe273749c286c352a Signed-off-by: Khem Raj --- conf/distro/yoe.conf | 3 --- 1 file changed, 3 deletions(-) diff --git a/conf/distro/yoe.conf b/conf/distro/yoe.conf index def68bf2f..50d551bd7 100644 --- a/conf/distro/yoe.conf +++ b/conf/distro/yoe.conf @@ -81,9 +81,6 @@ INHERIT += "uninative" DISTRO_FEATURES_append = " largefile opengl ptest multiarch wayland pam " -# Enable thumb2 by default -ARM_INSTRUCTION_SET = "thumb" - #PREFERRED_PROVIDER_pkgconfig = "pkgconf" #PREFERRED_PROVIDER_pkgconfig-native = "pkgconf-native" #PREFERRED_PROVIDER_nativesdk-pkgconfig = "nativesdk-pkgconf" From 1b5a72ca0e7e8c8bbcdfeab7bf2e7e4697f748d8 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 21 Dec 2018 13:35:10 -0800 Subject: [PATCH 088/211] yoe.conf: Add /etc/build to every yoe image This helps in identifying the deployed images to meta-data git hashes it came from Signed-off-by: Khem Raj --- conf/distro/yoe.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/distro/yoe.conf b/conf/distro/yoe.conf index 50d551bd7..932b43392 100644 --- a/conf/distro/yoe.conf +++ b/conf/distro/yoe.conf @@ -79,6 +79,9 @@ require conf/distro/include/security_flags.inc INHERIT += "uninative" +# Add /etc/build to every image +INHERIT += "image-buildinfo" + DISTRO_FEATURES_append = " largefile opengl ptest multiarch wayland pam " #PREFERRED_PROVIDER_pkgconfig = "pkgconf" From 27aa167afff5d86b0e5df438614551b4ae18407f Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 29 Dec 2018 19:44:39 -0800 Subject: [PATCH 089/211] yoe-simple-image: Always include /etc/os-release This is sort of standard file in filesystem now a days we can use this to deduce several things in image via editing it using bbappends Fixes https://github.com/YoeDistro/yoe-distro/issues/64 Signed-off-by: Khem Raj --- recipes-core/images/yoe-simple-image.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes-core/images/yoe-simple-image.bb b/recipes-core/images/yoe-simple-image.bb index f5a372013..5101662b3 100644 --- a/recipes-core/images/yoe-simple-image.bb +++ b/recipes-core/images/yoe-simple-image.bb @@ -8,4 +8,8 @@ inherit distro_features_check IMAGE_FEATURES += "ssh-server-dropbear package-management hwcodecs" +IMAGE_INSTALL += "\ + os-release \ +" + export IMAGE_BASENAME = "yoe-simple-image" From ad13f0f890c27b996515dcf2b0c2941d6093533b Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 9 Jan 2019 17:40:15 -0800 Subject: [PATCH 090/211] Updater: Change license to be MIT Define empty do_configure and do_compile so runqueue works well use install -D -m so the leading directories are created if not existing Signed-off-by: Khem Raj --- recipes-support/updater/updater_1.0.bb | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/recipes-support/updater/updater_1.0.bb b/recipes-support/updater/updater_1.0.bb index 227bc1581..5040e694b 100644 --- a/recipes-support/updater/updater_1.0.bb +++ b/recipes-support/updater/updater_1.0.bb @@ -1,17 +1,19 @@ -DESCRIPTION = "Application Updater" -LICENSE = "CLOSED" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28" - -# FIXME, need to add following based on package -#RDEPENDS_${PN} += "espeak" +DESCRIPTION = "System Updater" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" SRC_URI = "file://init \ file://platform \ " - +do_configure() { + : +} +do_compile() { + : +} do_install() { - install -m 775 ${WORKDIR}/init ${D}/init - install -m 664 ${WORKDIR}/platform ${D}/platform + install -Dm 0775 ${WORKDIR}/init ${D}/init + install -Dm 0664 ${WORKDIR}/platform ${D}/platform install -d ${D}/dev mknod -m 622 ${D}/dev/console c 5 1 } From 6544a2a8aa5fcfdf52e76e485ada900fcb4ea961 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 9 Jan 2019 17:41:40 -0800 Subject: [PATCH 091/211] yoe-simple-image: Add updater image generation and bundle initramfs in kernel Try it for sama5d27-som1-ek-sd Signed-off-by: Khem Raj --- conf/layer.conf | 2 + recipes-core/images/yoe-simple-image.bb | 41 ++ .../updater/files/sama5d27-som1-ek-sd/init | 435 ++++++++++++++++++ .../files/sama5d27-som1-ek-sd/platform | 1 + 4 files changed, 479 insertions(+) create mode 100644 recipes-support/updater/files/sama5d27-som1-ek-sd/init create mode 100644 recipes-support/updater/files/sama5d27-som1-ek-sd/platform diff --git a/conf/layer.conf b/conf/layer.conf index 931aadc5f..58fd90d2b 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -18,3 +18,5 @@ BBFILES_DYNAMIC += " \ meta-96boards:${LAYERDIR}/dynamic-layers/meta-96boards/*/*/*.bb \ meta-96boards:${LAYERDIR}/dynamic-layers/meta-96boards/*/*/*.bbappend \ " + +HOSTTOOLS_NONFATAL += "sha512sum" diff --git a/recipes-core/images/yoe-simple-image.bb b/recipes-core/images/yoe-simple-image.bb index 5101662b3..5c76488b5 100644 --- a/recipes-core/images/yoe-simple-image.bb +++ b/recipes-core/images/yoe-simple-image.bb @@ -13,3 +13,44 @@ IMAGE_INSTALL += "\ " export IMAGE_BASENAME = "yoe-simple-image" + +UPDATE_IMAGES_ ??= "" + +UPDATE_IMAGES_sama5 ?= "\ + version.txt \ + u-boot.bin \ + BOOT.BIN \ + zImage \ + zImage.dtb \ + rootfs.tar.xz \ +" + +UPDATE_IMAGES_ ?= "${UPDATE_IMAGES} update.sha512" +KERNEL_IMAGE ?= "zImage-initramfs-${MACHINE}.bin" + +VERSION ?= "0.00.00" + +do_updater () { +} + +do_updater_append_sama5d27-som1-ek-sd () { + echo "VERSION = ${VERSION}" + install -d ${TOPDIR}/images + cd ${TOPDIR}/images + echo "${VERSION}" > version.txt + install ${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.wic.xz ${MACHINE}_${VERSION}.wic.xz + install ${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.tar.xz rootfs.tar.xz + install ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE} zImage + install ${DEPLOY_DIR_IMAGE}/at91-sama5d27_som1_ek.dtb at91-sama5d27_som1_ek.dtb + install ${DEPLOY_DIR_IMAGE}/BOOT.BIN BOOT.BIN + install ${DEPLOY_DIR_IMAGE}/u-boot.bin u-boot.bin + sha512sum ${UPDATE_IMAGES} > update.sha512 + tar -cf ${MACHINE}_${VERSION}.upd ${UPDATE_IMAGES_} + rm -rf ${UPDATE_IMAGES_} +} + +addtask updater after do_image before do_build +do_updater[depends] += "${PN}:do_image_complete" +do_updater[depends] += "virtual/kernel:do_deploy" +# We want to build updater everytime we build image +do_updater[nostamp] = "1" diff --git a/recipes-support/updater/files/sama5d27-som1-ek-sd/init b/recipes-support/updater/files/sama5d27-som1-ek-sd/init new file mode 100644 index 000000000..db44f57b7 --- /dev/null +++ b/recipes-support/updater/files/sama5d27-som1-ek-sd/init @@ -0,0 +1,435 @@ +#!/bin/sh + +# MTD partitions +#Device Name Start Size(B) Size(MiB) Size(Blks) +#mtd0 spl 0x0 0x200000 2 16 +#mtd1 uboot 0x200000 0x200000 2 16 +#mtd2 uboot env 0x400000 0x200000 2 16 +#mtd3 linux 0x600000 0xc00000 12 96 +#mtd4 rootfs 0x1200000 0x2d00000 45 360 +#mtd5 data 0x3f00000 0x4100000 65 520 +#total size = 0x8000000, 128MiB + +UPDATER_VERSION="20" + +source /platform + +speak() { + if [ "$UPDATER_SPEECH" = "1" ]; then + msg "speak $1" + espeak "$1" + fi +} + +msg() { + echo "$@" >/dev/console +} + +# Prints information +msg_splash() { + msg $1 + + if [ "$splash_enabled" = 1 ]; then + progress=$2 + + if [ "$progress" = "" ]; then + progress="0" + fi + + TMPDIR=$SPLASH_DIR psplash-write "MSG $1" + TMPDIR=$SPLASH_DIR psplash-write "PROGRESS $progress" + usleep 500000 + fi +} + +SPLASH_DIR="/mnt/.splash" + +start_splash() { + if [ -e /usr/bin/psplash ]; then + splash_enabled=1 + # set up psplash + mkdir -p "$SPLASH_DIR" + mount tmpfs -t tmpfs $SPLASH_DIR -o,size=40k 2>&1 > /dev/console + TMPDIR=$SPLASH_DIR psplash& 2>&1 > /dev/console + sleep 1 + fi +} + +BOOT="mtd1" +KERNEL="mtd3" +ROOTFS="mtd4" +DATAPART="mtd5" +ROOTFS_MOUNT="/root" + +MTD_ROOTFS=4 +MTD_DATA=5 + +format_data_partition() { + msg_splash "Formatting data partition" + ubidetach -m $MTD_DATA 2>/dev/null + flash_eraseall /dev/mtd$MTD_DATA + if ! ubiattach -m $MTD_DATA; then + msg_splash "Error attaching to MTD data" + return 1 + fi + + ubimkvol /dev/ubi1 -N ubidata -m || return 1 +} + +mount_data() { + DATA_MOUNT_POINT=/data + + msg "mounting data partition" + mkdir -p $DATA_MOUNT_POINT + if ! mount -t ubifs ubi1:ubidata $DATA_MOUNT_POINT; then + msg "data partition mount failed, formatting" + format_data_partition + if ! mount -t ubifs ubi1:ubidata $DATA_MOUNT_POINT; then + msg_splash "data partition mount after format failed" + speak "updater, data partition error, please service unit" + return 1 + fi + fi + + mkdir -p $DATA_MOUNT_POINT/log + + msg "data partition mounted" + + return 0 +} + +update_uboot() { + if [ -e u-boot.img ]; then + msg "checking if u-boot needs updated" + SIZE=$(stat -c%s u-boot.img) + nanddump -l $SIZE -f uboot.dump /dev/$BOOT || return 1 + dd if=uboot.dump of=uboot.dump2 bs=$SIZE count=1 + if ! diff u-boot.img uboot.dump2 2>/dev/null; then + msg_splash "updating uboot" + flash_eraseall /dev/$BOOT + nandwrite -p /dev/$BOOT u-boot.img + boot_updated=1 + else + msg "u-boot is up to date" + fi + rm uboot.dump + rm uboot.dump2 + fi +} + +update_kernel() { + kernel_needs_update=0 + + if [ -e zImage ]; then + msg "checking if kernel needs to be updated" + SIZE=$(stat -c%s zImage) + nanddump -l $SIZE -f zImage.dump /dev/$KERNEL || return 1 + dd if=zImage.dump of=zImage.dump2 bs=$SIZE count=1 + if ! diff zImage zImage.dump2 2>/dev/null; then + msg "zImage needs updated" + kernel_needs_update=1 + else + msg "kernel is up to date" + fi + rm zImage.dump + rm zImage.dump2 + fi + + if dmesg | grep "Machine.*ULL"; then + DTB_FILE=zImage-ull.dtb + else + DTB_FILE=zImage.dtb + fi + + if [ -e $DTB_FILE ]; then + msg "checking if dtb needs to be updated" + SIZE=$(stat -c%s $DTB_FILE) + nanddump -s 0xbe0000 -l $SIZE -f dtb.dump /dev/$KERNEL || return 1 + dd if=dtb.dump of=dtb.dump2 bs=$SIZE count=1 + if ! diff $DTB_FILE dtb.dump2 2>/dev/null; then + msg "dtb needs updated" + kernel_needs_update=1 + else + msg "dtb is up to date" + fi + rm dtb.dump + rm dtb.dump2 + fi + + if [ "$kernel_needs_update" = "1" ]; then + msg_splash "updating kernel image" + msg "DTB: $DTB_FILE" + flash_eraseall /dev/$KERNEL || return 1 + msg "writing zImage" + nandwrite -p /dev/$KERNEL zImage || return 1 + msg "writing dtb" + nandwrite -p -s 0xbe0000 /dev/$KERNEL $DTB_FILE || return 1 + msg_splash "kernel update complete" + boot_updated=1 + fi + + return 0 +} + +update_rootfs() { + if [ -e rootfs.ubi ]; then + msg_splash "Writing new image, please wait ..." + ubidetach -m $MTD_ROOTFS 2>/dev/null + flash_eraseall /dev/$ROOTFS || return 1 + ubiformat /dev/$ROOTFS -f rootfs.ubi -s 2048 -O 2048 + msg_splash "Image update complete" + fi + return 0 +} + +process_update() { + UPDATE_FILE=$1 + if ! tar -C /tmp -xf $UPDATE_FILE; then + msg_splash "Failed to extract update image" + return 1 + fi + + cd /tmp + if ! md5sum -c update.md5; then + msg_splash "Error: checksum error in update file" + return 1 + else + speak "updating system" + boot_updated=0 + update_uboot || return 1 + update_kernel || return 1 + + if [ "$boot_updated" = "1" ]; then + msg_splash "Boot components updated, rebooting ..." + speak "rebooting" + reboot -f + fi + + update_rootfs || return 1 + + cp version.txt /data/ + fi + cd / + # wait for user to remove USB flash disk + # not doing this for now + # while [ -e /sys/class/scsi_disk/* ]; do sleep 1; done + + speak "update complete" + return 0 +} + +initialize() { + msg "============================================================" + msg "Updater version $UPDATER_VERSION" + + mount -t devtmpfs none /dev + mount -t sysfs sysfs /sys + mount -t proc proc /proc + + start_splash + + plat_init + + ubidetach -m $MTD_ROOTFS + ubidetach -m $MTD_DATA + + if ! ubiattach -m $MTD_ROOTFS; then + flash_eraseall /dev/mtd$MTD_ROOTFS + ubiattach -m $MTD_ROOTFS + fi + + if ! ubiattach -m $MTD_DATA; then + flash_eraseall /dev/mtd$MTD_DATA + ubiattach -m $MTD_DATA + fi + + msg "Sleeping for 3 second(s) for USB flash to settle..." + + speak "updater version $UPDATER_VERSION" + + sleep 3 + + mkdir -p /usb + mkdir -p /data +} + +mount_usb() { + if mount /dev/sda1 /usb 2>/dev/null; then + usb_mounted=1 + msg 'found disk at /dev/sda1' + return 0 + fi + + if [ "$usb_mounted" = "0" ]; then + if mount /dev/sda /usb 2>/dev/null; then + usb_mounted=1 + msg 'found disk at /dev/sda' + return 0 + fi + fi + + return 1 +} + +mount_sd_boot() { + if mount /dev/mmcblk0p1 /boot 2>/dev/null; then + msg 'found sd boot partition' + return 0 + fi + + return 1 +} + +umount_usb() { + if mount | grep usb; then + umount /usb + fi + + return 0 +} + +# searches for update*.pwu and update*.img files +# and then uses the newest version file it finds +# also supports the legacy update.img format for now + +find_update_file() { + DIR=$1 + cd $DIR + extensions="pwu img" + update="" + for ext in $extensions; do + update=$(echo $(ls update_dart*.${ext} -v -r 2>/dev/null) | sed "s/update.${ext}//" | sed "s/${ext}.*/${ext}/" | sed "s/^\s*//") + if echo $update | grep update >/dev/null; then + echo $update + break + fi + done + + if [ "${update}" = "" ]; then + if [ -e update.img ]; then + echo update.img + fi + fi + cd - >/dev/null +} + +update_from_usb() { + speak "updater, found u s b disk" + update_file=$(find_update_file /usb) + if echo $update_file | grep update; then + msg_splash "USB update: $update_file" + if ! process_update /usb/$update_file; then + msg_splash "Failed to process update from USB" + speak "updater, failed to process update from u s b" + return 1 + else + msg_splash "Update from USB complete" + return 0 + fi + fi + + return 1 +} + +update_from_sd() { + update_file=$(find_update_file /boot) + if echo $update_file | grep update; then + msg_splash "SD update: $update_file" + if ! process_update /boot/$update_file; then + msg_splash "Failed to process update from SD" + speak "updater, failed to process update from s d" + return 1 + else + msg_splash "Update complete, please remove card and cycle power" + speak "update from s d complete, please remove s d card and cycle power" + sleep 9999d + fi + fi + return 1 +} + +update_from_data() { + update_file=$(find_update_file /data/update) + if echo $update_file | grep update; then + msg_splash "Data partition update: $update_file" + if ! process_update /data/update/$update_file; then + msg_splash "Failed to process update from nand" + speak "updater, failed to process update from nand" + else + msg_splash "Update from nand complete" + fi + + msg_splash "Removing update files from data partition" + rm /data/update/* + fi +} + +#unmount_usb() { +#} + +mount_rootfs_sd() { + if ! mount /dev/mmcblk0p2 $ROOTFS_MOUNT; then + msg_splash "Error mount SD rootfs, please fix ..." + speak "updater, S D file system error" + sleep 9999d + fi + + mkdir -p $ROOTFS_MOUNT/media/boot + mount --move /boot $ROOTFS_MOUNT/media/boot +} + +mount_rootfs_nand() { + # may be attached by kernel on boot, but we have + # this here in case we programmed the rootfs + ubiattach -m $MTD_ROOTFS + + if ! mount -tubifs ubi0:rootfs $ROOTFS_MOUNT; then + msg_splash "Error mounting nand rootfs, please fix ..." + speak "updater, root f s file system error, please service unit" + sleep 9999d + fi +} + +boot() { + mkdir -p $ROOTFS_MOUNT + + if [ -e /dev/mmcblk0p1 ]; then + msg_splash "Booting from SD ..." + speak "booting system from S D" + mount_rootfs_sd + else + msg_splash "Booting from NAND ..." + speak "booting system" + mount_rootfs_nand + fi + + umount_usb + + msg "Moving filesystems into rootfs..." + mkdir -p $ROOTFS_MOUNT/media/data + mount --move /data $ROOTFS_MOUNT/media/data + mount --move /dev $ROOTFS_MOUNT/dev + mount --move /proc $ROOTFS_MOUNT/proc + mount --move /sys $ROOTFS_MOUNT/sys + + msg_splash "switching to main filesystem" + + exec switch_root -c /dev/console $ROOTFS_MOUNT /sbin/init 5 +} + +update() { + # update precedence usb, SD, data partition + msg "checking usb ..." + if ! (mount_usb && update_from_usb); then + msg "checking sd ..." + if ! (mount_sd_boot && update_from_sd); then + msg "checking data ..." + update_from_data + fi + fi +} + +initialize +mount_data +update +boot diff --git a/recipes-support/updater/files/sama5d27-som1-ek-sd/platform b/recipes-support/updater/files/sama5d27-som1-ek-sd/platform new file mode 100644 index 000000000..fb4ee83af --- /dev/null +++ b/recipes-support/updater/files/sama5d27-som1-ek-sd/platform @@ -0,0 +1 @@ +UPDATER_SPEECH=0 From 8e86a05d44a8540a2479c676a48093a03082aa2b Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 9 Jan 2019 21:02:52 -0800 Subject: [PATCH 092/211] yoe-simple-image: Fix devicetree name for sama5d27-som1-ek Signed-off-by: Khem Raj --- recipes-core/images/yoe-simple-image.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-core/images/yoe-simple-image.bb b/recipes-core/images/yoe-simple-image.bb index 5c76488b5..8190d8c8e 100644 --- a/recipes-core/images/yoe-simple-image.bb +++ b/recipes-core/images/yoe-simple-image.bb @@ -16,12 +16,12 @@ export IMAGE_BASENAME = "yoe-simple-image" UPDATE_IMAGES_ ??= "" -UPDATE_IMAGES_sama5 ?= "\ +UPDATE_IMAGES_sama5d27-som1-ek-sd ?= "\ version.txt \ u-boot.bin \ BOOT.BIN \ zImage \ - zImage.dtb \ + at91-sama5d27_som1_ek.dtb \ rootfs.tar.xz \ " From 22a6b12fe564ed1afcf90fecead53aa50dfc2b9d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 9 Jan 2019 22:51:14 -0800 Subject: [PATCH 093/211] yoe-sdimage.wks: Add a common SD-Card paritioned image 1. Boot 2. rootfs 3. Data Signed-off-by: Khem Raj --- wic/yoe-sdimage.wks | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 wic/yoe-sdimage.wks diff --git a/wic/yoe-sdimage.wks b/wic/yoe-sdimage.wks new file mode 100644 index 000000000..0e9e12f62 --- /dev/null +++ b/wic/yoe-sdimage.wks @@ -0,0 +1,13 @@ +# short-description: Create SD card image +# long-description: Creates a partitioned SD card image. + +# Boot env partition +part --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --align 1024 --fixed-size 100 + +# Main Rootfs partition (1G) +part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --fixed-size 1024 --align 4 + +# User data partition (16M) +part /data --ondisk mmcblk --fstype=ext4 --label data --fixed-size 16 --align 4096 + +bootloader --ptable msdos From d35e306f7a745c2557d2ce3ee17b1059d6b4b106 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 12 Jan 2019 13:24:14 -0800 Subject: [PATCH 094/211] distro: Add commonly used distro specs Its a combination of libc/init-system/windowing-system eglfs can be headless too Signed-off-by: Khem Raj --- conf/distro/busyboxinit.inc | 4 ++++ conf/distro/eglfs.inc | 1 + conf/distro/glibc.inc | 1 + conf/distro/musl.inc | 1 + conf/distro/systemd.inc | 4 ++++ conf/distro/sysvinit.inc | 0 conf/distro/wayland.inc | 1 + conf/distro/x11.inc | 1 + conf/distro/yoe-glibc-busyboxinit-eglfs.conf | 4 ++++ conf/distro/yoe-glibc-busyboxinit-wayland.conf | 4 ++++ conf/distro/yoe-glibc-busyboxinit-x11.conf | 4 ++++ conf/distro/yoe-glibc-systemd-eglfs.conf | 4 ++++ conf/distro/yoe-glibc-systemd-wayland.conf | 4 ++++ conf/distro/yoe-glibc-systemd-x11.conf | 4 ++++ conf/distro/yoe-glibc-sysvinit-eglfs.conf | 4 ++++ conf/distro/yoe-glibc-sysvinit-wayland.conf | 4 ++++ conf/distro/yoe-glibc-sysvinit-x11.conf | 4 ++++ conf/distro/yoe-musl-busyboxinit-eglfs.conf | 4 ++++ conf/distro/yoe-musl-busyboxinit-wayland.conf | 4 ++++ conf/distro/yoe-musl-busyboxinit-x11.conf | 4 ++++ conf/distro/yoe-musl-systemd-eglfs.conf | 4 ++++ conf/distro/yoe-musl-systemd-wayland.conf | 4 ++++ conf/distro/yoe-musl-systemd-x11.conf | 4 ++++ conf/distro/yoe-musl-sysvinit-eglfs.conf | 4 ++++ conf/distro/yoe-musl-sysvinit-wayland.conf | 4 ++++ conf/distro/yoe-musl-sysvinit-x11.conf | 4 ++++ conf/distro/{yoe.conf => yoe.inc} | 0 27 files changed, 85 insertions(+) create mode 100644 conf/distro/busyboxinit.inc create mode 100644 conf/distro/eglfs.inc create mode 100644 conf/distro/glibc.inc create mode 100644 conf/distro/musl.inc create mode 100644 conf/distro/systemd.inc create mode 100644 conf/distro/sysvinit.inc create mode 100644 conf/distro/wayland.inc create mode 100644 conf/distro/x11.inc create mode 100644 conf/distro/yoe-glibc-busyboxinit-eglfs.conf create mode 100644 conf/distro/yoe-glibc-busyboxinit-wayland.conf create mode 100644 conf/distro/yoe-glibc-busyboxinit-x11.conf create mode 100644 conf/distro/yoe-glibc-systemd-eglfs.conf create mode 100644 conf/distro/yoe-glibc-systemd-wayland.conf create mode 100644 conf/distro/yoe-glibc-systemd-x11.conf create mode 100644 conf/distro/yoe-glibc-sysvinit-eglfs.conf create mode 100644 conf/distro/yoe-glibc-sysvinit-wayland.conf create mode 100644 conf/distro/yoe-glibc-sysvinit-x11.conf create mode 100644 conf/distro/yoe-musl-busyboxinit-eglfs.conf create mode 100644 conf/distro/yoe-musl-busyboxinit-wayland.conf create mode 100644 conf/distro/yoe-musl-busyboxinit-x11.conf create mode 100644 conf/distro/yoe-musl-systemd-eglfs.conf create mode 100644 conf/distro/yoe-musl-systemd-wayland.conf create mode 100644 conf/distro/yoe-musl-systemd-x11.conf create mode 100644 conf/distro/yoe-musl-sysvinit-eglfs.conf create mode 100644 conf/distro/yoe-musl-sysvinit-wayland.conf create mode 100644 conf/distro/yoe-musl-sysvinit-x11.conf rename conf/distro/{yoe.conf => yoe.inc} (100%) diff --git a/conf/distro/busyboxinit.inc b/conf/distro/busyboxinit.inc new file mode 100644 index 000000000..ae4de1d1e --- /dev/null +++ b/conf/distro/busyboxinit.inc @@ -0,0 +1,4 @@ +VIRTUAL-RUNTIME_init_manager = "busybox" +VIRTUAL-RUNTIME_dev_manager = "busybox-mdev" +VIRTUAL-RUNTIME_login_manager = "busybox" + diff --git a/conf/distro/eglfs.inc b/conf/distro/eglfs.inc new file mode 100644 index 000000000..26a267f24 --- /dev/null +++ b/conf/distro/eglfs.inc @@ -0,0 +1 @@ +DISTRO_FEATURES_remove = " x11 wayland" diff --git a/conf/distro/glibc.inc b/conf/distro/glibc.inc new file mode 100644 index 000000000..46a2903ab --- /dev/null +++ b/conf/distro/glibc.inc @@ -0,0 +1 @@ +TCLIBC = "glibc" diff --git a/conf/distro/musl.inc b/conf/distro/musl.inc new file mode 100644 index 000000000..46a2903ab --- /dev/null +++ b/conf/distro/musl.inc @@ -0,0 +1 @@ +TCLIBC = "glibc" diff --git a/conf/distro/systemd.inc b/conf/distro/systemd.inc new file mode 100644 index 000000000..a2fa7723e --- /dev/null +++ b/conf/distro/systemd.inc @@ -0,0 +1,4 @@ +DISTRO_FEATURES_append = " systemd" +VIRTUAL-RUNTIME_init_manager = "systemd" +DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit" +VIRTUAL-RUNTIME_initscripts = "" diff --git a/conf/distro/sysvinit.inc b/conf/distro/sysvinit.inc new file mode 100644 index 000000000..e69de29bb diff --git a/conf/distro/wayland.inc b/conf/distro/wayland.inc new file mode 100644 index 000000000..0d61ed13c --- /dev/null +++ b/conf/distro/wayland.inc @@ -0,0 +1 @@ +DISTRO_FEATURES_append = " wayland" diff --git a/conf/distro/x11.inc b/conf/distro/x11.inc new file mode 100644 index 000000000..061c970d8 --- /dev/null +++ b/conf/distro/x11.inc @@ -0,0 +1 @@ +DISTRO_FEATURES_append = " x11" diff --git a/conf/distro/yoe-glibc-busyboxinit-eglfs.conf b/conf/distro/yoe-glibc-busyboxinit-eglfs.conf new file mode 100644 index 000000000..1eb4fed21 --- /dev/null +++ b/conf/distro/yoe-glibc-busyboxinit-eglfs.conf @@ -0,0 +1,4 @@ +require yoe.inc +require glibc.inc +require busyboxinit.inc +require eglfs.inc diff --git a/conf/distro/yoe-glibc-busyboxinit-wayland.conf b/conf/distro/yoe-glibc-busyboxinit-wayland.conf new file mode 100644 index 000000000..e9b2cb451 --- /dev/null +++ b/conf/distro/yoe-glibc-busyboxinit-wayland.conf @@ -0,0 +1,4 @@ +require yoe.inc +require glibc.inc +require busyboxinit.inc +require wayland.inc diff --git a/conf/distro/yoe-glibc-busyboxinit-x11.conf b/conf/distro/yoe-glibc-busyboxinit-x11.conf new file mode 100644 index 000000000..91574073f --- /dev/null +++ b/conf/distro/yoe-glibc-busyboxinit-x11.conf @@ -0,0 +1,4 @@ +require yoe.inc +require glibc.inc +require busyboxinit.inc +require x11.inc diff --git a/conf/distro/yoe-glibc-systemd-eglfs.conf b/conf/distro/yoe-glibc-systemd-eglfs.conf new file mode 100644 index 000000000..2d586f62e --- /dev/null +++ b/conf/distro/yoe-glibc-systemd-eglfs.conf @@ -0,0 +1,4 @@ +require yoe.inc +require glibc.inc +require systemd.inc +require eglfs.inc diff --git a/conf/distro/yoe-glibc-systemd-wayland.conf b/conf/distro/yoe-glibc-systemd-wayland.conf new file mode 100644 index 000000000..af00e98cc --- /dev/null +++ b/conf/distro/yoe-glibc-systemd-wayland.conf @@ -0,0 +1,4 @@ +require yoe.inc +require glibc.inc +require systemd.inc +require wayland.inc diff --git a/conf/distro/yoe-glibc-systemd-x11.conf b/conf/distro/yoe-glibc-systemd-x11.conf new file mode 100644 index 000000000..6c54ef6cb --- /dev/null +++ b/conf/distro/yoe-glibc-systemd-x11.conf @@ -0,0 +1,4 @@ +require yoe.inc +require glibc.inc +require systemd.inc +require x11.inc diff --git a/conf/distro/yoe-glibc-sysvinit-eglfs.conf b/conf/distro/yoe-glibc-sysvinit-eglfs.conf new file mode 100644 index 000000000..56035fcb4 --- /dev/null +++ b/conf/distro/yoe-glibc-sysvinit-eglfs.conf @@ -0,0 +1,4 @@ +require yoe.inc +require glibc.inc +require sysvinit.inc +require eglfs.inc diff --git a/conf/distro/yoe-glibc-sysvinit-wayland.conf b/conf/distro/yoe-glibc-sysvinit-wayland.conf new file mode 100644 index 000000000..e5998d6cc --- /dev/null +++ b/conf/distro/yoe-glibc-sysvinit-wayland.conf @@ -0,0 +1,4 @@ +require yoe.inc +require glibc.inc +require sysvinit.inc +require wayland.inc diff --git a/conf/distro/yoe-glibc-sysvinit-x11.conf b/conf/distro/yoe-glibc-sysvinit-x11.conf new file mode 100644 index 000000000..7fc8f1870 --- /dev/null +++ b/conf/distro/yoe-glibc-sysvinit-x11.conf @@ -0,0 +1,4 @@ +require yoe.inc +require glibc.inc +require sysvinit.inc +require x11.inc diff --git a/conf/distro/yoe-musl-busyboxinit-eglfs.conf b/conf/distro/yoe-musl-busyboxinit-eglfs.conf new file mode 100644 index 000000000..8ffbda575 --- /dev/null +++ b/conf/distro/yoe-musl-busyboxinit-eglfs.conf @@ -0,0 +1,4 @@ +require yoe.inc +require musl.inc +require busyboxinit.inc +require eglfs.inc diff --git a/conf/distro/yoe-musl-busyboxinit-wayland.conf b/conf/distro/yoe-musl-busyboxinit-wayland.conf new file mode 100644 index 000000000..2f0d35a4a --- /dev/null +++ b/conf/distro/yoe-musl-busyboxinit-wayland.conf @@ -0,0 +1,4 @@ +require yoe.inc +require musl.inc +require busyboxinit.inc +require wayland.inc diff --git a/conf/distro/yoe-musl-busyboxinit-x11.conf b/conf/distro/yoe-musl-busyboxinit-x11.conf new file mode 100644 index 000000000..faef95c09 --- /dev/null +++ b/conf/distro/yoe-musl-busyboxinit-x11.conf @@ -0,0 +1,4 @@ +require yoe.inc +require musl.inc +require busyboxinit.inc +require x11.inc diff --git a/conf/distro/yoe-musl-systemd-eglfs.conf b/conf/distro/yoe-musl-systemd-eglfs.conf new file mode 100644 index 000000000..96f8584e0 --- /dev/null +++ b/conf/distro/yoe-musl-systemd-eglfs.conf @@ -0,0 +1,4 @@ +require yoe.inc +require musl.inc +require systemd.inc +require eglfs.inc diff --git a/conf/distro/yoe-musl-systemd-wayland.conf b/conf/distro/yoe-musl-systemd-wayland.conf new file mode 100644 index 000000000..9e06e79c8 --- /dev/null +++ b/conf/distro/yoe-musl-systemd-wayland.conf @@ -0,0 +1,4 @@ +require yoe.inc +require musl.inc +require systemd.inc +require wayland.inc diff --git a/conf/distro/yoe-musl-systemd-x11.conf b/conf/distro/yoe-musl-systemd-x11.conf new file mode 100644 index 000000000..19a0e47a5 --- /dev/null +++ b/conf/distro/yoe-musl-systemd-x11.conf @@ -0,0 +1,4 @@ +require yoe.inc +require musl.inc +require systemd.inc +require x11.inc diff --git a/conf/distro/yoe-musl-sysvinit-eglfs.conf b/conf/distro/yoe-musl-sysvinit-eglfs.conf new file mode 100644 index 000000000..3210a402c --- /dev/null +++ b/conf/distro/yoe-musl-sysvinit-eglfs.conf @@ -0,0 +1,4 @@ +require yoe.inc +require musl.inc +require sysvinit.inc +require eglfs.inc diff --git a/conf/distro/yoe-musl-sysvinit-wayland.conf b/conf/distro/yoe-musl-sysvinit-wayland.conf new file mode 100644 index 000000000..b3c6ae3df --- /dev/null +++ b/conf/distro/yoe-musl-sysvinit-wayland.conf @@ -0,0 +1,4 @@ +require yoe.inc +require musl.inc +require sysvinit.inc +require wayland.inc diff --git a/conf/distro/yoe-musl-sysvinit-x11.conf b/conf/distro/yoe-musl-sysvinit-x11.conf new file mode 100644 index 000000000..82aae64d9 --- /dev/null +++ b/conf/distro/yoe-musl-sysvinit-x11.conf @@ -0,0 +1,4 @@ +require yoe.inc +require musl.inc +require sysvinit.inc +require x11.inc diff --git a/conf/distro/yoe.conf b/conf/distro/yoe.inc similarity index 100% rename from conf/distro/yoe.conf rename to conf/distro/yoe.inc From 4367cc89a962755a615aa77f3463d97231351845 Mon Sep 17 00:00:00 2001 From: Pierre-Jean Texier Date: Sat, 12 Jan 2019 23:15:17 +0100 Subject: [PATCH 095/211] distro/musl: fix TCLIBC Signed-off-by: Pierre-Jean Texier --- conf/distro/musl.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/distro/musl.inc b/conf/distro/musl.inc index 46a2903ab..d90841147 100644 --- a/conf/distro/musl.inc +++ b/conf/distro/musl.inc @@ -1 +1 @@ -TCLIBC = "glibc" +TCLIBC = "musl" From 0bdbbf3296dd53d0f74604794e8e11ed3d84e0aa Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 12 Jan 2019 14:04:05 -0800 Subject: [PATCH 096/211] yoe.inc: Do not hardcode DISTRO Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 1 - 1 file changed, 1 deletion(-) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index 932b43392..98e2fd2fc 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -1,7 +1,6 @@ # # Distro Settings # -DISTRO = "yoe" DISTRO_NAME = "Yoe Linux" MAINTAINER = "Yoe Distro " TARGET_VENDOR = "-yoe" From 02dced0fe1b8170cb26f439b6baba3bf193685af Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 13 Jan 2019 18:34:13 -0800 Subject: [PATCH 097/211] yoe-simple-image: Depend on coreutils-native for sha256sum tool Remove it from build host dependency For now use sha256, we need to enable busybox option to enable sha512sum Signed-off-by: Khem Raj --- conf/layer.conf | 2 -- recipes-core/images/yoe-simple-image.bb | 6 ++++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/layer.conf b/conf/layer.conf index 58fd90d2b..931aadc5f 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -18,5 +18,3 @@ BBFILES_DYNAMIC += " \ meta-96boards:${LAYERDIR}/dynamic-layers/meta-96boards/*/*/*.bb \ meta-96boards:${LAYERDIR}/dynamic-layers/meta-96boards/*/*/*.bbappend \ " - -HOSTTOOLS_NONFATAL += "sha512sum" diff --git a/recipes-core/images/yoe-simple-image.bb b/recipes-core/images/yoe-simple-image.bb index 8190d8c8e..658892069 100644 --- a/recipes-core/images/yoe-simple-image.bb +++ b/recipes-core/images/yoe-simple-image.bb @@ -4,6 +4,8 @@ require recipes-core/images/core-image-base.bb LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" +DEPENDS += "coreutils-native" + inherit distro_features_check IMAGE_FEATURES += "ssh-server-dropbear package-management hwcodecs" @@ -25,7 +27,7 @@ UPDATE_IMAGES_sama5d27-som1-ek-sd ?= "\ rootfs.tar.xz \ " -UPDATE_IMAGES_ ?= "${UPDATE_IMAGES} update.sha512" +UPDATE_IMAGES_ ?= "${UPDATE_IMAGES} update.sha256" KERNEL_IMAGE ?= "zImage-initramfs-${MACHINE}.bin" VERSION ?= "0.00.00" @@ -44,7 +46,7 @@ do_updater_append_sama5d27-som1-ek-sd () { install ${DEPLOY_DIR_IMAGE}/at91-sama5d27_som1_ek.dtb at91-sama5d27_som1_ek.dtb install ${DEPLOY_DIR_IMAGE}/BOOT.BIN BOOT.BIN install ${DEPLOY_DIR_IMAGE}/u-boot.bin u-boot.bin - sha512sum ${UPDATE_IMAGES} > update.sha512 + sha256sum ${UPDATE_IMAGES} > update.sha256 tar -cf ${MACHINE}_${VERSION}.upd ${UPDATE_IMAGES_} rm -rf ${UPDATE_IMAGES_} } From 4abed01086da8c93ead1654bcbb737b7b68ef6c7 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 13 Jan 2019 18:35:53 -0800 Subject: [PATCH 098/211] initramfs-image: Add parted Needed for SD card paritioning Signed-off-by: Khem Raj --- recipes-core/images/initramfs-image.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-core/images/initramfs-image.bb b/recipes-core/images/initramfs-image.bb index 19de3d605..716f8ebf0 100644 --- a/recipes-core/images/initramfs-image.bb +++ b/recipes-core/images/initramfs-image.bb @@ -22,6 +22,7 @@ PACKAGE_INSTALL = "\ util-linux-fsck \ e2fsprogs-e2fsck \ e2fsprogs-tune2fs \ + parted \ " IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}" inherit core-image From 9fa850742766f6998d17851c6f38bbbd4160de3d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 13 Jan 2019 18:36:35 -0800 Subject: [PATCH 099/211] busybox: Add Yoe initramfs required config fragments Signed-off-by: Khem Raj --- recipes-core/busybox/busybox/fragment.cfg | 3 +++ recipes-core/busybox/busybox_%.bbappend | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 recipes-core/busybox/busybox/fragment.cfg create mode 100644 recipes-core/busybox/busybox_%.bbappend diff --git a/recipes-core/busybox/busybox/fragment.cfg b/recipes-core/busybox/busybox/fragment.cfg new file mode 100644 index 000000000..13c7f31bc --- /dev/null +++ b/recipes-core/busybox/busybox/fragment.cfg @@ -0,0 +1,3 @@ +CONFIG_MKFS_VFAT=y +CONFIG_SHA512SUM=y +CONFIG_XZ=y diff --git a/recipes-core/busybox/busybox_%.bbappend b/recipes-core/busybox/busybox_%.bbappend new file mode 100644 index 000000000..0ced3cf85 --- /dev/null +++ b/recipes-core/busybox/busybox_%.bbappend @@ -0,0 +1,3 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += "file://fragment.cfg" From f8cd0df85495a1a49b8da0dc1db202af40c113df Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 13 Jan 2019 18:37:35 -0800 Subject: [PATCH 100/211] updater: Over-haul for sama5d27-som1-ek-sd SD card boot Signed-off-by: Khem Raj --- .../updater/files/sama5d27-som1-ek-sd/init | 530 +++++++++--------- .../files/sama5d27-som1-ek-sd/platform | 34 ++ 2 files changed, 298 insertions(+), 266 deletions(-) diff --git a/recipes-support/updater/files/sama5d27-som1-ek-sd/init b/recipes-support/updater/files/sama5d27-som1-ek-sd/init index db44f57b7..cdcf740c0 100644 --- a/recipes-support/updater/files/sama5d27-som1-ek-sd/init +++ b/recipes-support/updater/files/sama5d27-som1-ek-sd/init @@ -1,18 +1,22 @@ #!/bin/sh -# MTD partitions -#Device Name Start Size(B) Size(MiB) Size(Blks) -#mtd0 spl 0x0 0x200000 2 16 -#mtd1 uboot 0x200000 0x200000 2 16 -#mtd2 uboot env 0x400000 0x200000 2 16 -#mtd3 linux 0x600000 0xc00000 12 96 -#mtd4 rootfs 0x1200000 0x2d00000 45 360 -#mtd5 data 0x3f00000 0x4100000 65 520 -#total size = 0x8000000, 128MiB +VERSION=20 -UPDATER_VERSION="20" +. ./platform -source /platform +SPLASH_DIR="/mnt/.splash" + +EMMC_ROOTFS_MOUNT=/media/rootfs +EMMC_BOOT_MOUNT=/media/boot +EMMC_DATA_MOUNT=/media/data +EMMC_BOOT_MOUNT_IN_ROOTFS=$EMMC_ROOTFS_MOUNT$EMMC_BOOT_MOUNT +EMMC_DATA_MOUNT_IN_ROOTFS=$EMMC_ROOTFS_MOUNT$EMMC_DATA_MOUNT + +SD_ROOTFS_MOUNT=/media/rootfs +SD_BOOT_MOUNT=/media/boot +SD_DATA_MOUNT=/media/data +SD_BOOT_MOUNT_IN_ROOTFS=$SD_ROOTFS_MOUNT$SD_BOOT_MOUNT +SD_DATA_MOUNT_IN_ROOTFS=$SD_ROOTFS_MOUNT$SD_DATA_MOUNT speak() { if [ "$UPDATER_SPEECH" = "1" ]; then @@ -42,10 +46,8 @@ msg_splash() { fi } -SPLASH_DIR="/mnt/.splash" - start_splash() { - if [ -e /usr/bin/psplash ]; then + if [ -e /usr/bin/psplash ]; then splash_enabled=1 # set up psplash mkdir -p "$SPLASH_DIR" @@ -55,257 +57,289 @@ start_splash() { fi } -BOOT="mtd1" -KERNEL="mtd3" -ROOTFS="mtd4" -DATAPART="mtd5" -ROOTFS_MOUNT="/root" - -MTD_ROOTFS=4 -MTD_DATA=5 - -format_data_partition() { - msg_splash "Formatting data partition" - ubidetach -m $MTD_DATA 2>/dev/null - flash_eraseall /dev/mtd$MTD_DATA - if ! ubiattach -m $MTD_DATA; then - msg_splash "Error attaching to MTD data" - return 1 - fi - - ubimkvol /dev/ubi1 -N ubidata -m || return 1 +# normal reboot does not work, so get a bigger hammer ... +restart() { + echo "restarting system ..." + sync + umount -a + reboot -f } -mount_data() { - DATA_MOUNT_POINT=/data +initialize() { + msg "============================================================" + msg "Updater version $VERSION" + mkdir -p /dev + mkdir -p /sys + mkdir -p /proc + + mount -t devtmpfs none /dev + mount -t sysfs sysfs /sys + mount -t proc proc /proc - msg "mounting data partition" + start_splash + + msg_splash "$TITLE v${VERSION}" + msg_splash 10 + + plat_init + + msg "Sleeping for 3 second(s) for USB flash to settle..." + + speak "updater version $VERSION" + + sleep 3 + + mkdir -p $BOOT_MOUNT_POINT mkdir -p $DATA_MOUNT_POINT - if ! mount -t ubifs ubi1:ubidata $DATA_MOUNT_POINT; then - msg "data partition mount failed, formatting" - format_data_partition - if ! mount -t ubifs ubi1:ubidata $DATA_MOUNT_POINT; then - msg_splash "data partition mount after format failed" - speak "updater, data partition error, please service unit" - return 1 - fi +} + +partition_sd() { + echo "starting ..." || return 1 + if [ -z "$1" ]; then + DEVICE=$SD_DEVICE + else + DEVICE=$1 + fi + umount ${DEVICE}p1 2>/dev/null + umount ${DEVICE}p2 2>/dev/null + umount ${DEVICE}p3 2>/dev/null + + DEVICE_SIZE=$(parted -s $DEVICE unit mb print | grep ^Disk | cut -d" " -f 3 | sed -e "s/MB//") + if [ "$DEVICE_SIZE" = "" ] ; then + parted -s $DEVICE mklabel msdos || return 1 + DEVICE_SIZE=$(parted -s $DEVICE unit mb print | grep ^Disk | cut -d" " -f 3 | sed -e "s/MB//") fi - mkdir -p $DATA_MOUNT_POINT/log + ROOTFS_START=$((BOOT_SIZE)) + ROOTFS_END=$((ROOTFS_START+ROOTFS_SIZE)) + DATAFS_SIZE=$((DEVICE_SIZE-BOOT_SIZE-ROOTFS_SIZE)) + DATAFS_START=$((ROOTFS_END)) + DATAFS_END=$((DATAFS_START+DATAFS_SIZE-4)) + + echo "DEVICE_SIZE: $DEVICE_SIZE" + echo "ROOTFS_SIZE: $ROOTFS_SIZE" + echo "ROOTFS_START: $ROOTFS_START" + echo "ROOTFS_END: $ROOTFS_END" + echo "DATAFS_SIZE: $DATAFS_SIZE" + echo "DATAFS_START: $DATAFS_START" + echo "DATAFS_END: $DATAFS_END" + + dd if=/dev/zero of=$DEVICE bs=512 count=2 || return 1 + parted -s $DEVICE mklabel msdos || return 1 + parted -s $DEVICE mkpart primary 0% $BOOT_SIZE || return 1 + parted -s $DEVICE set 1 boot on || return 1 + parted -s $DEVICE mkpart primary $ROOTFS_START $ROOTFS_END || return 1 + parted -s $DEVICE mkpart primary $DATAFS_START $DATAFS_END || return 1 + + echo "partition done" + return 0 +} - msg "data partition mounted" +format_sd_boot() { + mkfs.${BOOT_FSTYPE} -I -n "BOOT" $SD_BOOT_DEV || return 1 +} - return 0 +format_sd_rootfs() { + mkfs.${FSTYPE} -O 64bit -L "ROOT" -F $SD_ROOTFS_DEV || return 1 } -update_uboot() { - if [ -e u-boot.img ]; then - msg "checking if u-boot needs updated" - SIZE=$(stat -c%s u-boot.img) - nanddump -l $SIZE -f uboot.dump /dev/$BOOT || return 1 - dd if=uboot.dump of=uboot.dump2 bs=$SIZE count=1 - if ! diff u-boot.img uboot.dump2 2>/dev/null; then - msg_splash "updating uboot" - flash_eraseall /dev/$BOOT - nandwrite -p /dev/$BOOT u-boot.img - boot_updated=1 - else - msg "u-boot is up to date" - fi - rm uboot.dump - rm uboot.dump2 - fi +format_sd_data() { + mkfs.${FSTYPE} -O 64bit -L "DATA" -F $SD_DATA_DEV || return 1 } -update_kernel() { - kernel_needs_update=0 - - if [ -e zImage ]; then - msg "checking if kernel needs to be updated" - SIZE=$(stat -c%s zImage) - nanddump -l $SIZE -f zImage.dump /dev/$KERNEL || return 1 - dd if=zImage.dump of=zImage.dump2 bs=$SIZE count=1 - if ! diff zImage zImage.dump2 2>/dev/null; then - msg "zImage needs updated" - kernel_needs_update=1 - else - msg "kernel is up to date" - fi - rm zImage.dump - rm zImage.dump2 - fi +partition_emmc() { + partition_sd $EMMC_DEVICE +} - if dmesg | grep "Machine.*ULL"; then - DTB_FILE=zImage-ull.dtb - else - DTB_FILE=zImage.dtb - fi +format_emmc_boot() { + mkfs.${BOOT_FSTYPE} -I -n "BOOT" $EMMC_BOOT_DEV || return 1 +} - if [ -e $DTB_FILE ]; then - msg "checking if dtb needs to be updated" - SIZE=$(stat -c%s $DTB_FILE) - nanddump -s 0xbe0000 -l $SIZE -f dtb.dump /dev/$KERNEL || return 1 - dd if=dtb.dump of=dtb.dump2 bs=$SIZE count=1 - if ! diff $DTB_FILE dtb.dump2 2>/dev/null; then - msg "dtb needs updated" - kernel_needs_update=1 - else - msg "dtb is up to date" - fi - rm dtb.dump - rm dtb.dump2 - fi +format_emmc_rootfs() { + mkfs.${FSTYPE} -O 64bit -L "ROOT" -F $EMMC_ROOTFS_DEV || return 1 +} + +format_emmc_data() { + mkfs.${FSTYPE} -O 64bit -L "DATA" -F $EMMC_DATA_DEV || return 1 +} + +mount_usb() { + mkdir -p $USB_MOUNT_POINT - if [ "$kernel_needs_update" = "1" ]; then - msg_splash "updating kernel image" - msg "DTB: $DTB_FILE" - flash_eraseall /dev/$KERNEL || return 1 - msg "writing zImage" - nandwrite -p /dev/$KERNEL zImage || return 1 - msg "writing dtb" - nandwrite -p -s 0xbe0000 /dev/$KERNEL $DTB_FILE || return 1 - msg_splash "kernel update complete" - boot_updated=1 + if ! mount /dev/sda $USB_MOUNT_POINT 2>/dev/null; then + if ! mount /dev/sda1 $USB_MOUNT_POINT 2>/dev/null; then + msg_splash "No USB disk detected" + return 1 + fi fi + msg_splash "USB disk mounted" return 0 } -update_rootfs() { - if [ -e rootfs.ubi ]; then - msg_splash "Writing new image, please wait ..." - ubidetach -m $MTD_ROOTFS 2>/dev/null - flash_eraseall /dev/$ROOTFS || return 1 - ubiformat /dev/$ROOTFS -f rootfs.ubi -s 2048 -O 2048 - msg_splash "Image update complete" +umount_usb() { + if mount | grep usb; then + umount $USB_MOUNT_POINT fi + return 0 } -process_update() { - UPDATE_FILE=$1 - if ! tar -C /tmp -xf $UPDATE_FILE; then - msg_splash "Failed to extract update image" - return 1 - fi +mount_sd() { + mkdir -p $SD_MOUNT_POINT - cd /tmp - if ! md5sum -c update.md5; then - msg_splash "Error: checksum error in update file" + if ! mount $SD_BOOT_DEV $SD_MOUNT_POINT 2>/dev/null; then + msg_splash "No SD card detected" return 1 - else - speak "updating system" - boot_updated=0 - update_uboot || return 1 - update_kernel || return 1 - - if [ "$boot_updated" = "1" ]; then - msg_splash "Boot components updated, rebooting ..." - speak "rebooting" - reboot -f - fi - - update_rootfs || return 1 - - cp version.txt /data/ fi - cd / - # wait for user to remove USB flash disk - # not doing this for now - # while [ -e /sys/class/scsi_disk/* ]; do sleep 1; done - speak "update complete" + msg_splash "SD card mounted" return 0 } -initialize() { - msg "============================================================" - msg "Updater version $UPDATER_VERSION" +umount_sd() { + if mount | grep sd; then + umount $SD_MOUNT_POINT + fi - mount -t devtmpfs none /dev - mount -t sysfs sysfs /sys - mount -t proc proc /proc + return 0 +} - start_splash +mount_boot() { + mount=$1 + device=$2 + mkdir -p $mount + mount $device $mount 2>/dev/null || return 1 +} - plat_init +mount_data() { + msg_splash "Mounting data partition" + mount=$1 + device=$2 + mkdir -p $mount - ubidetach -m $MTD_ROOTFS - ubidetach -m $MTD_DATA + mount $device $mount 2>/dev/null || return 1 + mkdir -p $mount/log +} - if ! ubiattach -m $MTD_ROOTFS; then - flash_eraseall /dev/mtd$MTD_ROOTFS - ubiattach -m $MTD_ROOTFS +mount_rootfs_sd() { + if ! mount $SD_ROOTFS_DEV $ROOTFS_MOUNT_POINT 2>/dev/null; then + msg_splash "Error mount SD rootfs, please fix ..." + speak "updater, S D file system error" + sleep 9999d fi - if ! ubiattach -m $MTD_DATA; then - flash_eraseall /dev/mtd$MTD_DATA - ubiattach -m $MTD_DATA + mkdir -p $SD_BOOT_MOUNT_IN_ROOTFS + mount --move /boot $SD_BOOT_MOUNT_IN_ROOTFS +} + +mount_rootfs_emmc() { + if ! mount $EMMC_ROOTFS_DEV $ROOTFS_MOUNT_POINT 2>/dev/null; then + msg_splash "Error mount EMMC rootfs, please fix ..." + speak "updater, E M M C file system error" + sleep 9999d fi + mount_data $EMMC_DATA_MOUNT $EMMC_DATA_DEV - msg "Sleeping for 3 second(s) for USB flash to settle..." + mkdir -p $EMMC_BOOT_MOUNT_IN_ROOTFS + mount --move /boot $EMMC_BOOT_MOUNT_IN_ROOTFS +} - speak "updater version $UPDATER_VERSION" +mount_rootfs_nand() { + msg_splash "Boot from NAND not implemented ..." +} - sleep 3 +process_update() { + if ! tar -xvf $1; then + msg_splash "Failed to extract update file" + return 1 + fi - mkdir -p /usb - mkdir -p /data -} + if ! sha256sum -c update.sha256; then + msg_splash "error in update file" + return 1 + fi -mount_usb() { - if mount /dev/sda1 /usb 2>/dev/null; then - usb_mounted=1 - msg 'found disk at /dev/sda1' - return 0 + # check if EMMC card has 3 partitions, if not, partition it now + total_emmc_partitions=$(grep -c "${EMMC_DEVICE}p[0-9]" /proc/partitions) + if [ "$total_emmc_partitions" != "3" ]; then + msg_splash "Partitioning storage, please wait ..." + if ! partition_emmc; then + msg_splash "EMMC Card partition failed, bad card" + sleep 9999d + fi fi - if [ "$usb_mounted" = "0" ]; then - if mount /dev/sda /usb 2>/dev/null; then - usb_mounted=1 - msg 'found disk at /dev/sda' - return 0 + if ! mount_boot $EMMC_BOOT_MOUNT $EMMC_BOOT_DEV; then + msg_splash "Formatting BOOT partition" + format_emmc_boot + if ! mount_boot $EMMC_BOOT_MOUNT $EMMC_BOOT_DEV; then + msg_splash "Failed to mount BOOT partition" + return 1 fi fi - return 1 -} + for f in $BOOT; do + if [ -e $f ]; then + if ! diff $f $EMMC_BOOT_MOUNT/$f; then + msg_splash "Updating bootloader..." + cp $f $EMMC_BOOT_MOUNT + bootloader_updated=1 + fi + fi + done -mount_sd_boot() { - if mount /dev/mmcblk0p1 /boot 2>/dev/null; then - msg 'found sd boot partition' - return 0 + if [ -n "$bootloader_updated" ]; then + msg_splash "bootloader updated" fi - return 1 -} + for f in $KERNEL; do + if [ -e $f ]; then + if ! diff $f $EMMC_BOOT_MOUNT/$f; then + msg_splash "Updating kernel..." + cp $f $EMMC_BOOT_MOUNT + kernel_updated=1 + fi + fi + done -umount_usb() { - if mount | grep usb; then - umount /usb + umount $EMMC_BOOT_DEV + + if [ -e $ROOTFS ]; then + msg_splash "Updating rootfs" + format_emmc_rootfs + mkdir -p $EMMC_ROOTFS_MOUNT + if ! mount $EMMC_ROOTFS_DEV $EMMC_ROOTFS_MOUNT; then + msg_splash "Failed to mount rootfs" + return 1 + fi + + tar xf ${ROOTFS} -C $EMMC_ROOTFS_MOUNT + umount $EMMC_ROOTFS_MOUNT + msg_splash "rootfs update complete" fi return 0 } -# searches for update*.pwu and update*.img files +# searches for update*.upd and update*.img files # and then uses the newest version file it finds # also supports the legacy update.img format for now find_update_file() { DIR=$1 cd $DIR - extensions="pwu img" + extensions="upd img" update="" for ext in $extensions; do - update=$(echo $(ls update_dart*.${ext} -v -r 2>/dev/null) | sed "s/update.${ext}//" | sed "s/${ext}.*/${ext}/" | sed "s/^\s*//") - if echo $update | grep update >/dev/null; then + update=$(echo $(ls ${PLAT}*.${ext} -v -r 2>/dev/null) | sed "s/update.${ext}//" | sed "s/${ext}.*/${ext}/" | sed "s/^\s*//") + if [ -n "${update}" ]; then echo $update break fi done - if [ "${update}" = "" ]; then + if [ -z "${update}" ]; then if [ -e update.img ]; then echo update.img fi @@ -315,10 +349,10 @@ find_update_file() { update_from_usb() { speak "updater, found u s b disk" - update_file=$(find_update_file /usb) + update_file=$(find_update_file $USB_MOUNT_POINT) if echo $update_file | grep update; then msg_splash "USB update: $update_file" - if ! process_update /usb/$update_file; then + if ! process_update $USB_MOUNT_POINT/$update_file; then msg_splash "Failed to process update from USB" speak "updater, failed to process update from u s b" return 1 @@ -332,104 +366,68 @@ update_from_usb() { } update_from_sd() { - update_file=$(find_update_file /boot) - if echo $update_file | grep update; then + speak "update found on S D card" + update_file=$(find_update_file $SD_MOUNT_POINT) + if echo $update_file | grep $PLAT; then msg_splash "SD update: $update_file" - if ! process_update /boot/$update_file; then + if ! process_update $SD_MOUNT_POINT/$update_file; then msg_splash "Failed to process update from SD" - speak "updater, failed to process update from s d" + speak "updater, failed to process update from s d card" return 1 else - msg_splash "Update complete, please remove card and cycle power" - speak "update from s d complete, please remove s d card and cycle power" - sleep 9999d + msg_splash "Update from SD complete" + return 0 fi fi - return 1 } update_from_data() { - update_file=$(find_update_file /data/update) - if echo $update_file | grep update; then - msg_splash "Data partition update: $update_file" - if ! process_update /data/update/$update_file; then - msg_splash "Failed to process update from nand" - speak "updater, failed to process update from nand" - else - msg_splash "Update from nand complete" - fi - - msg_splash "Removing update files from data partition" - rm /data/update/* - fi -} - -#unmount_usb() { -#} - -mount_rootfs_sd() { - if ! mount /dev/mmcblk0p2 $ROOTFS_MOUNT; then - msg_splash "Error mount SD rootfs, please fix ..." - speak "updater, S D file system error" - sleep 9999d - fi - - mkdir -p $ROOTFS_MOUNT/media/boot - mount --move /boot $ROOTFS_MOUNT/media/boot + speak "update found on data partition" + mount_data $DATA_MOUNT_POINT $EMMC_DATA_DEV + return 0 } -mount_rootfs_nand() { - # may be attached by kernel on boot, but we have - # this here in case we programmed the rootfs - ubiattach -m $MTD_ROOTFS - - if ! mount -tubifs ubi0:rootfs $ROOTFS_MOUNT; then - msg_splash "Error mounting nand rootfs, please fix ..." - speak "updater, root f s file system error, please service unit" - sleep 9999d +update() { + # update precedence usb, SD, data partition + msg "checking usb ..." + if ! (mount_usb && update_from_usb); then + msg "checking sd ..." + if ! (mount_sd && update_from_sd); then + msg "checking data ..." + update_from_data + fi fi } boot() { - mkdir -p $ROOTFS_MOUNT + mkdir -p $ROOTFS_MOUNT_POINT - if [ -e /dev/mmcblk0p1 ]; then + if [ -e $EMMC_BOOT_DEV ]; then + msg_splash "Booting from EMMC ..." + speak "booting system from E M M C" + mount_rootfs_emmc + else msg_splash "Booting from SD ..." speak "booting system from S D" mount_rootfs_sd - else - msg_splash "Booting from NAND ..." - speak "booting system" - mount_rootfs_nand fi umount_usb + umount_sd - msg "Moving filesystems into rootfs..." - mkdir -p $ROOTFS_MOUNT/media/data - mount --move /data $ROOTFS_MOUNT/media/data - mount --move /dev $ROOTFS_MOUNT/dev - mount --move /proc $ROOTFS_MOUNT/proc - mount --move /sys $ROOTFS_MOUNT/sys + msg_splash "Moving filesystems into rootfs..." + mkdir -p $ROOTFS_MOUNT_POINT/media/data + mount --move /data $ROOTFS_MOUNT_POINT/media/data + mount --move /dev $ROOTFS_MOUNT_POINT/dev + mount --move /proc $ROOTFS_MOUNT_POINT/proc + mount --move /sys $ROOTFS_MOUNT_POINT/sys msg_splash "switching to main filesystem" + msg_splash 50 - exec switch_root -c /dev/console $ROOTFS_MOUNT /sbin/init 5 -} - -update() { - # update precedence usb, SD, data partition - msg "checking usb ..." - if ! (mount_usb && update_from_usb); then - msg "checking sd ..." - if ! (mount_sd_boot && update_from_sd); then - msg "checking data ..." - update_from_data - fi - fi + exec switch_root -c /dev/console $ROOTFS_MOUNT_POINT /sbin/init 5 } initialize -mount_data update boot diff --git a/recipes-support/updater/files/sama5d27-som1-ek-sd/platform b/recipes-support/updater/files/sama5d27-som1-ek-sd/platform index fb4ee83af..f417faf36 100644 --- a/recipes-support/updater/files/sama5d27-som1-ek-sd/platform +++ b/recipes-support/updater/files/sama5d27-som1-ek-sd/platform @@ -1 +1,35 @@ +TITLE="SAM SOM" +PLAT="sama5d27-som1-ek-sd" + +KERNEL="zImage at91-sama5d27_som1_ek.dtb" +BOOT="BOOT.BIN u-boot.bin" +ROOTFS="rootfs.tar.xz" + +EMMC_DEVICE=/dev/mmcblk1 +EMMC_BOOT_DEV=${EMMC_DEVICE}p1 +EMMC_ROOTFS_DEV=${EMMC_DEVICE}p2 +EMMC_DATA_DEV=${EMMC_DEVICE}p3 + +SD_DEVICE=/dev/mmcblk0 +SD_BOOT_DEV=${SD_DEVICE}p1 +SD_ROOTFS_DEV=${SD_DEVICE}p2 +SD_DATA_DEV=${SD_DEVICE}p3 + +DATA_MOUNT_POINT=/data +BOOT_MOUNT_POINT=/boot +ROOTFS_MOUNT_POINT=/root +USB_MOUNT_POINT=/media/usb +SD_MOUNT_POINT=/media/sd + +# Size in MB +BOOT_SIZE=100 +ROOTFS_SIZE=700 + +FSTYPE=ext4 +BOOT_FSTYPE=vfat + UPDATER_SPEECH=0 + +plat_init() { + msg "Running $PLAT initializations ..." +} From bf32ebcf3957ecaae5a149c25656b7be9578073c Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 14 Jan 2019 18:02:49 -0800 Subject: [PATCH 101/211] busybox: Rename fragment to avoid collisions fragment.cfg is too generic Signed-off-by: Khem Raj --- recipes-core/busybox/busybox/{fragment.cfg => yoe_fragment.cfg} | 0 recipes-core/busybox/busybox_%.bbappend | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename recipes-core/busybox/busybox/{fragment.cfg => yoe_fragment.cfg} (100%) diff --git a/recipes-core/busybox/busybox/fragment.cfg b/recipes-core/busybox/busybox/yoe_fragment.cfg similarity index 100% rename from recipes-core/busybox/busybox/fragment.cfg rename to recipes-core/busybox/busybox/yoe_fragment.cfg diff --git a/recipes-core/busybox/busybox_%.bbappend b/recipes-core/busybox/busybox_%.bbappend index 0ced3cf85..4230fd667 100644 --- a/recipes-core/busybox/busybox_%.bbappend +++ b/recipes-core/busybox/busybox_%.bbappend @@ -1,3 +1,3 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -SRC_URI += "file://fragment.cfg" +SRC_URI += "file://yoe_fragment.cfg" From f8265bec97f333104e4ff1e3d896b23b728697ff Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 14 Jan 2019 18:03:27 -0800 Subject: [PATCH 102/211] updater: Use value comparision insread of string comparision The content of total_emmc_partitions will always be a number Signed-off-by: Khem Raj --- recipes-support/updater/files/sama5d27-som1-ek-sd/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-support/updater/files/sama5d27-som1-ek-sd/init b/recipes-support/updater/files/sama5d27-som1-ek-sd/init index cdcf740c0..76f96f17d 100644 --- a/recipes-support/updater/files/sama5d27-som1-ek-sd/init +++ b/recipes-support/updater/files/sama5d27-som1-ek-sd/init @@ -262,7 +262,7 @@ process_update() { # check if EMMC card has 3 partitions, if not, partition it now total_emmc_partitions=$(grep -c "${EMMC_DEVICE}p[0-9]" /proc/partitions) - if [ "$total_emmc_partitions" != "3" ]; then + if [ $total_emmc_partitions -ne 3 ]; then msg_splash "Partitioning storage, please wait ..." if ! partition_emmc; then msg_splash "EMMC Card partition failed, bad card" From ed2832b26f34b9df386e8ac595bf27634f0dc13e Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 16 Jan 2019 14:19:34 -0800 Subject: [PATCH 103/211] init: Do not send message to /dev/null unless required This helps in debugging the init process Signed-off-by: Khem Raj --- .../updater/files/sama5d27-som1-ek-sd/init | 33 ++++++++++++------- 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/recipes-support/updater/files/sama5d27-som1-ek-sd/init b/recipes-support/updater/files/sama5d27-som1-ek-sd/init index 76f96f17d..bd80a3a8c 100644 --- a/recipes-support/updater/files/sama5d27-som1-ek-sd/init +++ b/recipes-support/updater/files/sama5d27-som1-ek-sd/init @@ -100,9 +100,9 @@ partition_sd() { else DEVICE=$1 fi - umount ${DEVICE}p1 2>/dev/null - umount ${DEVICE}p2 2>/dev/null - umount ${DEVICE}p3 2>/dev/null + umount ${DEVICE}p1 + umount ${DEVICE}p2 + umount ${DEVICE}p3 DEVICE_SIZE=$(parted -s $DEVICE unit mb print | grep ^Disk | cut -d" " -f 3 | sed -e "s/MB//") if [ "$DEVICE_SIZE" = "" ] ; then @@ -165,9 +165,10 @@ format_emmc_data() { mount_usb() { mkdir -p $USB_MOUNT_POINT - - if ! mount /dev/sda $USB_MOUNT_POINT 2>/dev/null; then - if ! mount /dev/sda1 $USB_MOUNT_POINT 2>/dev/null; then + mount /dev/sda $USB_MOUNT_POINT + if [ $? -ne 0 ]; then + mount /dev/sda1 $USB_MOUNT_POINT + if [ $? != 0 ]; then msg_splash "No USB disk detected" return 1 fi @@ -187,8 +188,8 @@ umount_usb() { mount_sd() { mkdir -p $SD_MOUNT_POINT - - if ! mount $SD_BOOT_DEV $SD_MOUNT_POINT 2>/dev/null; then + mount $SD_BOOT_DEV $SD_MOUNT_POINT + if [ $? -ne 0 ]; then msg_splash "No SD card detected" return 1 fi @@ -209,7 +210,10 @@ mount_boot() { mount=$1 device=$2 mkdir -p $mount - mount $device $mount 2>/dev/null || return 1 + mount $device $mount + if [ $? -ne 0 ]; then + return 1 + fi } mount_data() { @@ -218,12 +222,16 @@ mount_data() { device=$2 mkdir -p $mount - mount $device $mount 2>/dev/null || return 1 + mount $device $mount + if [ $? -ne 0 ]; then + return 1 + fi mkdir -p $mount/log } mount_rootfs_sd() { - if ! mount $SD_ROOTFS_DEV $ROOTFS_MOUNT_POINT 2>/dev/null; then + mount $SD_ROOTFS_DEV $ROOTFS_MOUNT_POINT + if [ $? -ne 0 ]; then msg_splash "Error mount SD rootfs, please fix ..." speak "updater, S D file system error" sleep 9999d @@ -234,7 +242,8 @@ mount_rootfs_sd() { } mount_rootfs_emmc() { - if ! mount $EMMC_ROOTFS_DEV $ROOTFS_MOUNT_POINT 2>/dev/null; then + mount $EMMC_ROOTFS_DEV $ROOTFS_MOUNT_POINT + if [ $? -ne 0 ]; then msg_splash "Error mount EMMC rootfs, please fix ..." speak "updater, E M M C file system error" sleep 9999d From a889df3f0df2896d6894f0b579ade40617f6e974 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 18 Jan 2019 22:33:52 -0800 Subject: [PATCH 104/211] sama5d27-som1-ek-sd: Reboot after preparing /boot contents Treat mmcblk0 (full SD slot) as target media for update/install/boot Use uSD as payload carrier for update image in a FAT partition Process is as follows Boot board using sam-ba downloaded at91bootstrap and u-boot into u-boot shell SAMBA=/mnt/a/yoe/build/tmp/deploy/images/sama5d27-som1-ek-sd/sam-ba/sam-ba UBOOT=/mnt/a/yoe/build/tmp/deploy/images/sama5d27-som1-ek-sd/u-boot.bin BOOTSTRAP=/mnt/a/yoe/build/tmp/deploy/images/sama5d27-som1-ek-sd/at91bootstrap-sama5d27_som1_ek.bin-sam-ba CLIENT=usb echo "lowlevel" ${SAMBA} -p ${CLIENT}:ttyACM0 -b sama5d27-som1-ek -t 5 -a lowlevel || exit 1 echo "extram" ${SAMBA} -p ${CLIENT}:ttyACM0 -b sama5d27-som1-ek -t 5 -a extram || exit 1 echo "download bootstrap" ${SAMBA} -p ${CLIENT}:ttyACM0 -b sama5d27-som1-ek -m write:${BOOTSTRAP}:0x200000 || exit 1 echo "download u-boot" ${SAMBA} -p ${CLIENT}:ttyACM0 -b sama5d27-som1-ek -m write:${UBOOT}:0x23F00000 || exit 1 echo "jump to bootstrap" ${SAMBA} -p ${CLIENT}:ttyACM0 -b sama5d27-som1-ek -m execute:0x200000 || exit 1 ~/bin/ttyACM0 Insert SD card in SD slot and also update card in uSD slot Then TFTP kernel+initramfs and DT and boot setenv serverip 10.0.0.10 setenv ipaddr 10.0.0.126 tftp 0x21000000 at91-sama5d27_som1_ek.dtb tftp 0x22000000 zImage bootz 0x22000000 - 0x21000000 This will prepare/partition the SD card and copy content onto /boot on SD-Card and reboot. On reboot the system boots from SD slot-1 and then finds that it needs to update rootfs so it applied the rootfs update from updater image and boots all the way. One can reboot the system and this time it will boot into command prompt using SD in slot-1 Signed-off-by: Khem Raj --- recipes-support/updater/files/sama5d27-som1-ek-sd/init | 7 +++++++ recipes-support/updater/files/sama5d27-som1-ek-sd/platform | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/recipes-support/updater/files/sama5d27-som1-ek-sd/init b/recipes-support/updater/files/sama5d27-som1-ek-sd/init index bd80a3a8c..abd349807 100644 --- a/recipes-support/updater/files/sama5d27-som1-ek-sd/init +++ b/recipes-support/updater/files/sama5d27-som1-ek-sd/init @@ -314,6 +314,13 @@ process_update() { umount $EMMC_BOOT_DEV + + if [ -n "$kernel_updated" ]; then + msg_splash "kernel updated, rebooting ..." + restart + sleep 9999d + fi + if [ -e $ROOTFS ]; then msg_splash "Updating rootfs" format_emmc_rootfs diff --git a/recipes-support/updater/files/sama5d27-som1-ek-sd/platform b/recipes-support/updater/files/sama5d27-som1-ek-sd/platform index f417faf36..1924416c6 100644 --- a/recipes-support/updater/files/sama5d27-som1-ek-sd/platform +++ b/recipes-support/updater/files/sama5d27-som1-ek-sd/platform @@ -5,12 +5,12 @@ KERNEL="zImage at91-sama5d27_som1_ek.dtb" BOOT="BOOT.BIN u-boot.bin" ROOTFS="rootfs.tar.xz" -EMMC_DEVICE=/dev/mmcblk1 +EMMC_DEVICE=/dev/mmcblk0 EMMC_BOOT_DEV=${EMMC_DEVICE}p1 EMMC_ROOTFS_DEV=${EMMC_DEVICE}p2 EMMC_DATA_DEV=${EMMC_DEVICE}p3 -SD_DEVICE=/dev/mmcblk0 +SD_DEVICE=/dev/mmcblk1 SD_BOOT_DEV=${SD_DEVICE}p1 SD_ROOTFS_DEV=${SD_DEVICE}p2 SD_DATA_DEV=${SD_DEVICE}p3 From f79f6f1eb35c16e94bf4d5a0d8dc28bc98bf60f2 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 19 Jan 2019 01:42:29 -0800 Subject: [PATCH 105/211] yoe-simple-image: Add 96boards-tools to arm/arm64 targets Signed-off-by: Khem Raj --- recipes-core/images/yoe-simple-image.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-core/images/yoe-simple-image.bb b/recipes-core/images/yoe-simple-image.bb index 658892069..f9f4771c4 100644 --- a/recipes-core/images/yoe-simple-image.bb +++ b/recipes-core/images/yoe-simple-image.bb @@ -14,6 +14,9 @@ IMAGE_INSTALL += "\ os-release \ " +IMAGE_INSTALL_append_arm = " 96boards-tools" +IMAGE_INSTALL_append_aarch64 = " 96boards-tools" + export IMAGE_BASENAME = "yoe-simple-image" UPDATE_IMAGES_ ??= "" From 084eb35f72fca577e28cbbf228ca85dd788e9079 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 19 Jan 2019 14:23:38 -0800 Subject: [PATCH 106/211] sama5d27-som1-ek-sd/init: Fix updates from usb code * Correct the code to check do update file name regexp * When not speaking, print the same text to console * Increase the delay to 10s for USB to settle, some USB2 sticks are pretty slow to come on board We can stick the update disk into USB-C on board then boot AT91bootstrap and u-boot over sam-ba and when in u-boot shell. usb reset;fatls usb 0:1;fatload usb 0:1 0x21000000 at91-sama5d27_som1_ek.dtb;fatload usb 0:1 0x22000000 zImage;bootz 0x22000000 - 0x21000000 This boots kernel+DT from USB and then reads upd file and updates it into eMMC Signed-off-by: Khem Raj --- recipes-support/updater/files/sama5d27-som1-ek-sd/init | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/recipes-support/updater/files/sama5d27-som1-ek-sd/init b/recipes-support/updater/files/sama5d27-som1-ek-sd/init index abd349807..751fa8fcb 100644 --- a/recipes-support/updater/files/sama5d27-som1-ek-sd/init +++ b/recipes-support/updater/files/sama5d27-som1-ek-sd/init @@ -22,6 +22,8 @@ speak() { if [ "$UPDATER_SPEECH" = "1" ]; then msg "speak $1" espeak "$1" + else + msg "$1" fi } @@ -83,11 +85,11 @@ initialize() { plat_init - msg "Sleeping for 3 second(s) for USB flash to settle..." + msg "Sleeping for 10 second(s) for USB flash to settle..." speak "updater version $VERSION" - sleep 3 + sleep 10 mkdir -p $BOOT_MOUNT_POINT mkdir -p $DATA_MOUNT_POINT @@ -366,7 +368,7 @@ find_update_file() { update_from_usb() { speak "updater, found u s b disk" update_file=$(find_update_file $USB_MOUNT_POINT) - if echo $update_file | grep update; then + if echo $update_file | grep $PLAT; then msg_splash "USB update: $update_file" if ! process_update $USB_MOUNT_POINT/$update_file; then msg_splash "Failed to process update from USB" From 4e9105e0c68fb5a4d28b57d76606613aa3bf13eb Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 28 Jan 2019 10:47:26 -0800 Subject: [PATCH 107/211] yoe: Enable polkit in default distro features Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index 98e2fd2fc..a256d27b6 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -81,7 +81,7 @@ INHERIT += "uninative" # Add /etc/build to every image INHERIT += "image-buildinfo" -DISTRO_FEATURES_append = " largefile opengl ptest multiarch wayland pam " +DISTRO_FEATURES_append = " largefile opengl ptest multiarch wayland pam polkit " #PREFERRED_PROVIDER_pkgconfig = "pkgconf" #PREFERRED_PROVIDER_pkgconfig-native = "pkgconf-native" From 3c06f53d5855413e6c46621a57db8cdcaa10840a Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Tue, 12 Feb 2019 10:38:53 -0500 Subject: [PATCH 108/211] change version var to IMG_VERSION to match site.conf --- recipes-core/images/yoe-simple-image.bb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/recipes-core/images/yoe-simple-image.bb b/recipes-core/images/yoe-simple-image.bb index f9f4771c4..454a64fee 100644 --- a/recipes-core/images/yoe-simple-image.bb +++ b/recipes-core/images/yoe-simple-image.bb @@ -33,24 +33,24 @@ UPDATE_IMAGES_sama5d27-som1-ek-sd ?= "\ UPDATE_IMAGES_ ?= "${UPDATE_IMAGES} update.sha256" KERNEL_IMAGE ?= "zImage-initramfs-${MACHINE}.bin" -VERSION ?= "0.00.00" +IMG_VERSION ?= "0.0.0" do_updater () { } do_updater_append_sama5d27-som1-ek-sd () { - echo "VERSION = ${VERSION}" + echo "IMG_VERSION = ${IMG_VERSION}" install -d ${TOPDIR}/images cd ${TOPDIR}/images - echo "${VERSION}" > version.txt - install ${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.wic.xz ${MACHINE}_${VERSION}.wic.xz + echo "${IMG_VERSION}" > version.txt + install ${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.wic.xz ${MACHINE}_${IMG_VERSION}.wic.xz install ${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.tar.xz rootfs.tar.xz install ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE} zImage install ${DEPLOY_DIR_IMAGE}/at91-sama5d27_som1_ek.dtb at91-sama5d27_som1_ek.dtb install ${DEPLOY_DIR_IMAGE}/BOOT.BIN BOOT.BIN install ${DEPLOY_DIR_IMAGE}/u-boot.bin u-boot.bin sha256sum ${UPDATE_IMAGES} > update.sha256 - tar -cf ${MACHINE}_${VERSION}.upd ${UPDATE_IMAGES_} + tar -cf ${MACHINE}_${IMG_VERSION}.upd ${UPDATE_IMAGES_} rm -rf ${UPDATE_IMAGES_} } From bd8feed20631ee2fe20a128e5a73dfcfee0c508d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 12 Feb 2019 23:43:30 -0800 Subject: [PATCH 109/211] updater: Fix formatting/mounting data partion * Add support for update from data partition * Fix logic to detect if boot media is partioned or not * Fix logic for pivoting the rootfs Signed-off-by: Khem Raj --- .../updater/files/sama5d27-som1-ek-sd/init | 72 ++++++++++++------- .../files/sama5d27-som1-ek-sd/platform | 2 +- 2 files changed, 47 insertions(+), 27 deletions(-) diff --git a/recipes-support/updater/files/sama5d27-som1-ek-sd/init b/recipes-support/updater/files/sama5d27-som1-ek-sd/init index 751fa8fcb..1eb26eb2c 100644 --- a/recipes-support/updater/files/sama5d27-som1-ek-sd/init +++ b/recipes-support/updater/files/sama5d27-som1-ek-sd/init @@ -6,15 +6,15 @@ VERSION=20 SPLASH_DIR="/mnt/.splash" -EMMC_ROOTFS_MOUNT=/media/rootfs -EMMC_BOOT_MOUNT=/media/boot -EMMC_DATA_MOUNT=/media/data +EMMC_ROOTFS_MOUNT=$ROOTFS_MOUNT_POINT +EMMC_BOOT_MOUNT=$BOOT_MOUNT_POINT +EMMC_DATA_MOUNT=$DATA_MOUNT_POINT EMMC_BOOT_MOUNT_IN_ROOTFS=$EMMC_ROOTFS_MOUNT$EMMC_BOOT_MOUNT EMMC_DATA_MOUNT_IN_ROOTFS=$EMMC_ROOTFS_MOUNT$EMMC_DATA_MOUNT -SD_ROOTFS_MOUNT=/media/rootfs -SD_BOOT_MOUNT=/media/boot -SD_DATA_MOUNT=/media/data +SD_ROOTFS_MOUNT=$ROOTFS_MOUNT_POINT +SD_BOOT_MOUNT=$BOOT_MOUNT_POINT +SD_DATA_MOUNT=$DATA_MOUNT_POINT SD_BOOT_MOUNT_IN_ROOTFS=$SD_ROOTFS_MOUNT$SD_BOOT_MOUNT SD_DATA_MOUNT_IN_ROOTFS=$SD_ROOTFS_MOUNT$SD_DATA_MOUNT @@ -107,7 +107,7 @@ partition_sd() { umount ${DEVICE}p3 DEVICE_SIZE=$(parted -s $DEVICE unit mb print | grep ^Disk | cut -d" " -f 3 | sed -e "s/MB//") - if [ "$DEVICE_SIZE" = "" ] ; then + if [ "$DEVICE_SIZE" = "" ]; then parted -s $DEVICE mklabel msdos || return 1 DEVICE_SIZE=$(parted -s $DEVICE unit mb print | grep ^Disk | cut -d" " -f 3 | sed -e "s/MB//") fi @@ -133,7 +133,7 @@ partition_sd() { parted -s $DEVICE mkpart primary $ROOTFS_START $ROOTFS_END || return 1 parted -s $DEVICE mkpart primary $DATAFS_START $DATAFS_END || return 1 - echo "partition done" + echo "partitioning $DEVICE done" return 0 } @@ -232,6 +232,7 @@ mount_data() { } mount_rootfs_sd() { + mkdir -p $ROOTFS_MOUNT_POINT mount $SD_ROOTFS_DEV $ROOTFS_MOUNT_POINT if [ $? -ne 0 ]; then msg_splash "Error mount SD rootfs, please fix ..." @@ -239,21 +240,26 @@ mount_rootfs_sd() { sleep 9999d fi - mkdir -p $SD_BOOT_MOUNT_IN_ROOTFS - mount --move /boot $SD_BOOT_MOUNT_IN_ROOTFS + mkdir -p $SD_BOOT_MOUNT_IN_ROOTFS $SD_DATA_MOUNT_IN_ROOTFS + mount_data $SD_DATA_MOUNT $SD_DATA_DEV + mount_data $SD_BOOT_MOUNT $SD_BOOT_DEV + mount --move $SD_BOOT_MOUNT $SD_BOOT_MOUNT_IN_ROOTFS + mount --move $SD_DATA_MOUNT $SD_DATA_MOUNT_IN_ROOTFS } mount_rootfs_emmc() { + mkdir -p $ROOTFS_MOUNT_POINT mount $EMMC_ROOTFS_DEV $ROOTFS_MOUNT_POINT if [ $? -ne 0 ]; then msg_splash "Error mount EMMC rootfs, please fix ..." speak "updater, E M M C file system error" sleep 9999d fi + mkdir -p $EMMC_BOOT_MOUNT_IN_ROOTFS $EMMC_DATA_MOUNT_IN_ROOTFS mount_data $EMMC_DATA_MOUNT $EMMC_DATA_DEV - - mkdir -p $EMMC_BOOT_MOUNT_IN_ROOTFS - mount --move /boot $EMMC_BOOT_MOUNT_IN_ROOTFS + mount_data $EMMC_BOOT_MOUNT $EMMC_BOOT_DEV + mount --move $EMMC_BOOT_MOUNT $EMMC_BOOT_MOUNT_IN_ROOTFS + mount --move $EMMC_DATA_MOUNT $EMMC_DATA_MOUNT_IN_ROOTFS } mount_rootfs_nand() { @@ -272,7 +278,8 @@ process_update() { fi # check if EMMC card has 3 partitions, if not, partition it now - total_emmc_partitions=$(grep -c "${EMMC_DEVICE}p[0-9]" /proc/partitions) + total_emmc_partitions=$(fdisk -l ${EMMC_DEVICE} | grep ^${EMMC_DEVICE}p | wc -l) + msg_splash "Found $total_emmc_partitions partitions on ${EMMC_DEVICE}" if [ $total_emmc_partitions -ne 3 ]; then msg_splash "Partitioning storage, please wait ..." if ! partition_emmc; then @@ -336,6 +343,11 @@ process_update() { umount $EMMC_ROOTFS_MOUNT msg_splash "rootfs update complete" fi + # find if data partition is not formatted + fs_type=$(blkid -o value -s TYPE $EMMC_DATA_DEV) + if [ -z "$fs_type" ] ; then + format_emmc_data + fi return 0 } @@ -366,9 +378,9 @@ find_update_file() { } update_from_usb() { - speak "updater, found u s b disk" update_file=$(find_update_file $USB_MOUNT_POINT) if echo $update_file | grep $PLAT; then + speak "updater, found u s b disk" msg_splash "USB update: $update_file" if ! process_update $USB_MOUNT_POINT/$update_file; then msg_splash "Failed to process update from USB" @@ -384,9 +396,9 @@ update_from_usb() { } update_from_sd() { - speak "update found on S D card" update_file=$(find_update_file $SD_MOUNT_POINT) if echo $update_file | grep $PLAT; then + speak "update found on S D card" msg_splash "SD update: $update_file" if ! process_update $SD_MOUNT_POINT/$update_file; then msg_splash "Failed to process update from SD" @@ -400,25 +412,35 @@ update_from_sd() { } update_from_data() { - speak "update found on data partition" - mount_data $DATA_MOUNT_POINT $EMMC_DATA_DEV + update_file=$(find_update_file $DATA_MOUNT_POINT) + if echo $update_file | grep $PLAT; then + speak "update found on data partition" + msg_splash "Updating from Data partition: $update_file" + if ! process_update $DATA_MOUNT_POINT/$update_file; then + msg_splash "Failed to process update from data partition" + speak "updater, failed to process update from data partition" + return 1 + else + msg_splash "Update from Data partition complete" + return 0 + fi + fi return 0 } update() { # update precedence usb, SD, data partition - msg "checking usb ..." + msg "checking usb for update ..." if ! (mount_usb && update_from_usb); then - msg "checking sd ..." + msg "checking sd for update ..." if ! (mount_sd && update_from_sd); then - msg "checking data ..." - update_from_data + msg "checking data partition for update ..." + mount_data $DATA_MOUNT_POINT $EMMC_DATA_DEV && update_from_data fi fi } boot() { - mkdir -p $ROOTFS_MOUNT_POINT if [ -e $EMMC_BOOT_DEV ]; then msg_splash "Booting from EMMC ..." @@ -433,9 +455,7 @@ boot() { umount_usb umount_sd - msg_splash "Moving filesystems into rootfs..." - mkdir -p $ROOTFS_MOUNT_POINT/media/data - mount --move /data $ROOTFS_MOUNT_POINT/media/data + msg_splash "Moving system mounts into rootfs..." mount --move /dev $ROOTFS_MOUNT_POINT/dev mount --move /proc $ROOTFS_MOUNT_POINT/proc mount --move /sys $ROOTFS_MOUNT_POINT/sys diff --git a/recipes-support/updater/files/sama5d27-som1-ek-sd/platform b/recipes-support/updater/files/sama5d27-som1-ek-sd/platform index 1924416c6..7a7d63f11 100644 --- a/recipes-support/updater/files/sama5d27-som1-ek-sd/platform +++ b/recipes-support/updater/files/sama5d27-som1-ek-sd/platform @@ -15,9 +15,9 @@ SD_BOOT_DEV=${SD_DEVICE}p1 SD_ROOTFS_DEV=${SD_DEVICE}p2 SD_DATA_DEV=${SD_DEVICE}p3 -DATA_MOUNT_POINT=/data BOOT_MOUNT_POINT=/boot ROOTFS_MOUNT_POINT=/root +DATA_MOUNT_POINT=/data USB_MOUNT_POINT=/media/usb SD_MOUNT_POINT=/media/sd From 252022675330905ff4abf14038787911f17d8c0c Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 12 Feb 2019 23:45:13 -0800 Subject: [PATCH 110/211] yoe-simple-image: Remove 96boards-tools for sama5d27-som1-ek-sd We use initramfs based updater to manage boot media setup therefore we dont need the SD card resize mechanism from 96boards-tools Signed-off-by: Khem Raj --- recipes-core/images/yoe-simple-image.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-core/images/yoe-simple-image.bb b/recipes-core/images/yoe-simple-image.bb index 454a64fee..d6f8f2ff4 100644 --- a/recipes-core/images/yoe-simple-image.bb +++ b/recipes-core/images/yoe-simple-image.bb @@ -29,6 +29,8 @@ UPDATE_IMAGES_sama5d27-som1-ek-sd ?= "\ at91-sama5d27_som1_ek.dtb \ rootfs.tar.xz \ " +# We use updater to handle disk/SD management, therefore remove 96boards-tools +IMAGE_INSTALL_remove_sama5d27-som1-ek-sd = "96boards-tools" UPDATE_IMAGES_ ?= "${UPDATE_IMAGES} update.sha256" KERNEL_IMAGE ?= "zImage-initramfs-${MACHINE}.bin" From 90c18d695e01c7819a856fe162b529d46a412c05 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 13 Feb 2019 13:02:30 -0800 Subject: [PATCH 111/211] Updater: util-linux's sfdisk instead of parted for disk management parted was bringing in ~1M along with dependencies into the image whereas sfdisk is adding < 100K 73 KiB util-linux-sfdisk sfdisk partitioning is concise code as can be seem in init script Signed-off-by: Khem Raj --- recipes-core/images/initramfs-image.bb | 5 ++- .../updater/files/sama5d27-som1-ek-sd/init | 33 ++++--------------- .../files/sama5d27-som1-ek-sd/platform | 6 ++-- 3 files changed, 12 insertions(+), 32 deletions(-) diff --git a/recipes-core/images/initramfs-image.bb b/recipes-core/images/initramfs-image.bb index 716f8ebf0..277cb8c5f 100644 --- a/recipes-core/images/initramfs-image.bb +++ b/recipes-core/images/initramfs-image.bb @@ -19,10 +19,10 @@ PACKAGE_INSTALL = "\ mtd-utils-ubifs \ e2fsprogs \ e2fsprogs-mke2fs \ - util-linux-fsck \ e2fsprogs-e2fsck \ e2fsprogs-tune2fs \ - parted \ + util-linux-fsck \ + util-linux-sfdisk \ " IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}" inherit core-image @@ -31,4 +31,3 @@ IMAGE_DEVICE_TABLES = "files/device_table-minimal.txt" IMAGE_ROOTFS_SIZE = "8192" IMAGE_ROOTFS_EXTRA_SPACE = "0" BAD_RECOMMENDATIONS += "busybox-syslog" - diff --git a/recipes-support/updater/files/sama5d27-som1-ek-sd/init b/recipes-support/updater/files/sama5d27-som1-ek-sd/init index 1eb26eb2c..14b06a05a 100644 --- a/recipes-support/updater/files/sama5d27-som1-ek-sd/init +++ b/recipes-support/updater/files/sama5d27-som1-ek-sd/init @@ -106,33 +106,14 @@ partition_sd() { umount ${DEVICE}p2 umount ${DEVICE}p3 - DEVICE_SIZE=$(parted -s $DEVICE unit mb print | grep ^Disk | cut -d" " -f 3 | sed -e "s/MB//") - if [ "$DEVICE_SIZE" = "" ]; then - parted -s $DEVICE mklabel msdos || return 1 - DEVICE_SIZE=$(parted -s $DEVICE unit mb print | grep ^Disk | cut -d" " -f 3 | sed -e "s/MB//") - fi - - ROOTFS_START=$((BOOT_SIZE)) - ROOTFS_END=$((ROOTFS_START+ROOTFS_SIZE)) - DATAFS_SIZE=$((DEVICE_SIZE-BOOT_SIZE-ROOTFS_SIZE)) - DATAFS_START=$((ROOTFS_END)) - DATAFS_END=$((DATAFS_START+DATAFS_SIZE-4)) - - echo "DEVICE_SIZE: $DEVICE_SIZE" - echo "ROOTFS_SIZE: $ROOTFS_SIZE" - echo "ROOTFS_START: $ROOTFS_START" - echo "ROOTFS_END: $ROOTFS_END" - echo "DATAFS_SIZE: $DATAFS_SIZE" - echo "DATAFS_START: $DATAFS_START" - echo "DATAFS_END: $DATAFS_END" - dd if=/dev/zero of=$DEVICE bs=512 count=2 || return 1 - parted -s $DEVICE mklabel msdos || return 1 - parted -s $DEVICE mkpart primary 0% $BOOT_SIZE || return 1 - parted -s $DEVICE set 1 boot on || return 1 - parted -s $DEVICE mkpart primary $ROOTFS_START $ROOTFS_END || return 1 - parted -s $DEVICE mkpart primary $DATAFS_START $DATAFS_END || return 1 - + # Three primary partitions: one FAT bootable part (boot), second for rootfs and the rest is in third(data) + sfdisk $DEVICE << EOF + ,${BOOT_SIZE},6,* + ,${ROOTFS_SIZE} + ; +EOF + sfdisk -V -l $DEVICE echo "partitioning $DEVICE done" return 0 } diff --git a/recipes-support/updater/files/sama5d27-som1-ek-sd/platform b/recipes-support/updater/files/sama5d27-som1-ek-sd/platform index 7a7d63f11..d94255eac 100644 --- a/recipes-support/updater/files/sama5d27-som1-ek-sd/platform +++ b/recipes-support/updater/files/sama5d27-som1-ek-sd/platform @@ -21,9 +21,9 @@ DATA_MOUNT_POINT=/data USB_MOUNT_POINT=/media/usb SD_MOUNT_POINT=/media/sd -# Size in MB -BOOT_SIZE=100 -ROOTFS_SIZE=700 +# Size in 'M' for MB, 'G' for GB +BOOT_SIZE=100M +ROOTFS_SIZE=700M FSTYPE=ext4 BOOT_FSTYPE=vfat From 08359c7c4c38c548d64d0e0140465fc22c3570c6 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 13 Feb 2019 14:38:40 -0800 Subject: [PATCH 112/211] yoe-simple-image: Do not install udev hwdb Saves some space images/sama5d27_som1_ek_sd/musl/yoe-simple-image/installed-package-sizes.txt images/sama5d27_som1_ek_sd/musl/yoe-simple-image/installed-package-sizes.txt @@ -1,4 +1,3 @@ -6134 KiB eudev-hwdb 3816 KiB dt-overlay-at91 2756 KiB bluez5 2504 KiB shared-mime-info Signed-off-by: Khem Raj --- recipes-core/images/yoe-simple-image.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-core/images/yoe-simple-image.bb b/recipes-core/images/yoe-simple-image.bb index d6f8f2ff4..35a4b1992 100644 --- a/recipes-core/images/yoe-simple-image.bb +++ b/recipes-core/images/yoe-simple-image.bb @@ -61,3 +61,5 @@ do_updater[depends] += "${PN}:do_image_complete" do_updater[depends] += "virtual/kernel:do_deploy" # We want to build updater everytime we build image do_updater[nostamp] = "1" + +BAD_RECOMMENDATIONS += "eudev-hwdb" From e01e55764f6f42275d7dccb3e4494997d219ffb9 Mon Sep 17 00:00:00 2001 From: Pierre-Jean Texier Date: Tue, 19 Feb 2019 20:22:53 +0100 Subject: [PATCH 113/211] images: remove all references to qtquick1 Signed-off-by: Pierre-Jean Texier --- recipes-core/images/qt5.inc | 3 --- 1 file changed, 3 deletions(-) diff --git a/recipes-core/images/qt5.inc b/recipes-core/images/qt5.inc index fe7ede8fe..f05e288f5 100644 --- a/recipes-core/images/qt5.inc +++ b/recipes-core/images/qt5.inc @@ -32,9 +32,6 @@ QT5BASE = "\ qtdeclarative-plugins \ " QTWEBKIT ??= "\ - qtquick1 \ - qtquick1-qmlplugins \ - qtquick1-plugins \ qtwebkit \ qtwebkit-qmlplugins \ " From 76202851961aae3cae2cecedfe64c6920b755b08 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 25 Feb 2019 16:18:37 -0800 Subject: [PATCH 114/211] distro/x11: Remove wayland from distro features when distro is supposed to be just X11 then there is no need to have wayland as competing feature in that distro Signed-off-by: Khem Raj --- conf/distro/x11.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/distro/x11.inc b/conf/distro/x11.inc index 061c970d8..05ad9dd50 100644 --- a/conf/distro/x11.inc +++ b/conf/distro/x11.inc @@ -1 +1,2 @@ DISTRO_FEATURES_append = " x11" +DISTRO_FEATURES_remove = "wayland" From 13b05b8e816a7a15ad4989d3342d761255e17a94 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 14 Mar 2019 22:19:46 -0700 Subject: [PATCH 115/211] distro: Add yoe-baremetal and yoe-newlib distro configs Signed-off-by: Khem Raj --- conf/distro/baremetal.inc | 2 ++ conf/distro/newlib.inc | 2 ++ conf/distro/yoe-baremetal.conf | 2 ++ conf/distro/yoe-newlib.conf | 2 ++ 4 files changed, 8 insertions(+) create mode 100644 conf/distro/baremetal.inc create mode 100644 conf/distro/newlib.inc create mode 100644 conf/distro/yoe-baremetal.conf create mode 100644 conf/distro/yoe-newlib.conf diff --git a/conf/distro/baremetal.inc b/conf/distro/baremetal.inc new file mode 100644 index 000000000..746a4bf94 --- /dev/null +++ b/conf/distro/baremetal.inc @@ -0,0 +1,2 @@ +TCLIBC = "baremetal" + diff --git a/conf/distro/newlib.inc b/conf/distro/newlib.inc new file mode 100644 index 000000000..fd637e0db --- /dev/null +++ b/conf/distro/newlib.inc @@ -0,0 +1,2 @@ +TCLIBC = "newlib" + diff --git a/conf/distro/yoe-baremetal.conf b/conf/distro/yoe-baremetal.conf new file mode 100644 index 000000000..b8c9d94d5 --- /dev/null +++ b/conf/distro/yoe-baremetal.conf @@ -0,0 +1,2 @@ +require yoe.inc +require baremetal.inc diff --git a/conf/distro/yoe-newlib.conf b/conf/distro/yoe-newlib.conf new file mode 100644 index 000000000..a71180e28 --- /dev/null +++ b/conf/distro/yoe-newlib.conf @@ -0,0 +1,2 @@ +require yoe.inc +require newlib.inc From c3286678a628083690dc67c8bcd873572e42f61b Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 1 Apr 2019 18:50:43 -0700 Subject: [PATCH 116/211] layer.conf: Add warrior to supported layers Signed-off-by: Khem Raj --- conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/layer.conf b/conf/layer.conf index 931aadc5f..28e125591 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -7,7 +7,7 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" BBFILE_COLLECTIONS += "meta-yoe" BBFILE_PATTERN_meta-yoe := "^${LAYERDIR}/" BBFILE_PRIORITY_meta-yoe = "99" -LAYERSERIES_COMPAT_meta-yoe = "sumo thud" +LAYERSERIES_COMPAT_meta-yoe = "sumo thud warrior" LAYERDEPENDS_meta-yoe = "core" BBFILES_DYNAMIC += " \ From 915773c51623a2dde9fd2fd68e02215ecd51cbc7 Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Wed, 10 Apr 2019 12:35:34 -0400 Subject: [PATCH 117/211] autoformat changes --- .../updater/files/sama5d27-som1-ek-sd/init | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/recipes-support/updater/files/sama5d27-som1-ek-sd/init b/recipes-support/updater/files/sama5d27-som1-ek-sd/init index 14b06a05a..73eca46bf 100644 --- a/recipes-support/updater/files/sama5d27-som1-ek-sd/init +++ b/recipes-support/updater/files/sama5d27-som1-ek-sd/init @@ -53,8 +53,9 @@ start_splash() { splash_enabled=1 # set up psplash mkdir -p "$SPLASH_DIR" - mount tmpfs -t tmpfs $SPLASH_DIR -o,size=40k 2>&1 > /dev/console - TMPDIR=$SPLASH_DIR psplash& 2>&1 > /dev/console + mount tmpfs -t tmpfs $SPLASH_DIR -o,size=40k 2>&1 >/dev/console + TMPDIR=$SPLASH_DIR psplash & + 2>&1 >/dev/console sleep 1 fi } @@ -108,7 +109,7 @@ partition_sd() { dd if=/dev/zero of=$DEVICE bs=512 count=2 || return 1 # Three primary partitions: one FAT bootable part (boot), second for rootfs and the rest is in third(data) - sfdisk $DEVICE << EOF + sfdisk $DEVICE < Date: Wed, 10 Apr 2019 12:36:01 -0400 Subject: [PATCH 118/211] add options for update file name and usb det delay --- .../updater/files/sama5d27-som1-ek-sd/init | 14 ++++++-------- .../updater/files/sama5d27-som1-ek-sd/platform | 3 +++ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/recipes-support/updater/files/sama5d27-som1-ek-sd/init b/recipes-support/updater/files/sama5d27-som1-ek-sd/init index 73eca46bf..64d52fcfb 100644 --- a/recipes-support/updater/files/sama5d27-som1-ek-sd/init +++ b/recipes-support/updater/files/sama5d27-som1-ek-sd/init @@ -86,12 +86,8 @@ initialize() { plat_init - msg "Sleeping for 10 second(s) for USB flash to settle..." - speak "updater version $VERSION" - sleep 10 - mkdir -p $BOOT_MOUNT_POINT mkdir -p $DATA_MOUNT_POINT } @@ -343,7 +339,7 @@ find_update_file() { extensions="upd img" update="" for ext in $extensions; do - update=$(echo $(ls ${PLAT}*.${ext} -v -r 2>/dev/null) | sed "s/update.${ext}//" | sed "s/${ext}.*/${ext}/" | sed "s/^\s*//") + update=$(echo $(ls ${UPDATE_FILE_NAME}*.${ext} -v -r 2>/dev/null) | sed "s/update.${ext}//" | sed "s/${ext}.*/${ext}/" | sed "s/^\s*//") if [ -n "${update}" ]; then echo $update break @@ -360,7 +356,7 @@ find_update_file() { update_from_usb() { update_file=$(find_update_file $USB_MOUNT_POINT) - if echo $update_file | grep $PLAT; then + if [ "$update_file" != "" ]; then speak "updater, found u s b disk" msg_splash "USB update: $update_file" if ! process_update $USB_MOUNT_POINT/$update_file; then @@ -378,7 +374,7 @@ update_from_usb() { update_from_sd() { update_file=$(find_update_file $SD_MOUNT_POINT) - if echo $update_file | grep $PLAT; then + if [ "$update_file" != "" ]; then speak "update found on S D card" msg_splash "SD update: $update_file" if ! process_update $SD_MOUNT_POINT/$update_file; then @@ -394,7 +390,7 @@ update_from_sd() { update_from_data() { update_file=$(find_update_file $DATA_MOUNT_POINT) - if echo $update_file | grep $PLAT; then + if [ "$update_file" != "" ]; then speak "update found on data partition" msg_splash "Updating from Data partition: $update_file" if ! process_update $DATA_MOUNT_POINT/$update_file; then @@ -411,6 +407,8 @@ update_from_data() { update() { # update precedence usb, SD, data partition + msg "Sleeping for ${USB_DETECTION_DELAY} second(s) for USB flash to settle..." + sleep ${USB_DETECTION_DELAY} msg "checking usb for update ..." if ! (mount_usb && update_from_usb); then msg "checking sd for update ..." diff --git a/recipes-support/updater/files/sama5d27-som1-ek-sd/platform b/recipes-support/updater/files/sama5d27-som1-ek-sd/platform index d94255eac..034d4aa4b 100644 --- a/recipes-support/updater/files/sama5d27-som1-ek-sd/platform +++ b/recipes-support/updater/files/sama5d27-som1-ek-sd/platform @@ -1,5 +1,8 @@ TITLE="SAM SOM" PLAT="sama5d27-som1-ek-sd" +UPDATE_FILE_NAME="sama5d27" + +USB_DETECTION_DELAY=10 KERNEL="zImage at91-sama5d27_som1_ek.dtb" BOOT="BOOT.BIN u-boot.bin" From f347f99d4376b73bf8ae36fdf6589bb30926ac3f Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Wed, 10 Apr 2019 12:44:14 -0400 Subject: [PATCH 119/211] make update image name configurable --- recipes-core/images/yoe-simple-image.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-core/images/yoe-simple-image.bb b/recipes-core/images/yoe-simple-image.bb index 35a4b1992..1b862b6b8 100644 --- a/recipes-core/images/yoe-simple-image.bb +++ b/recipes-core/images/yoe-simple-image.bb @@ -37,6 +37,8 @@ KERNEL_IMAGE ?= "zImage-initramfs-${MACHINE}.bin" IMG_VERSION ?= "0.0.0" +UPDATE_IMAGE_NAME ?= "${MACHINE}" + do_updater () { } @@ -52,7 +54,7 @@ do_updater_append_sama5d27-som1-ek-sd () { install ${DEPLOY_DIR_IMAGE}/BOOT.BIN BOOT.BIN install ${DEPLOY_DIR_IMAGE}/u-boot.bin u-boot.bin sha256sum ${UPDATE_IMAGES} > update.sha256 - tar -cf ${MACHINE}_${IMG_VERSION}.upd ${UPDATE_IMAGES_} + tar -cf ${UPDATE_IMAGE_NAME}_${IMG_VERSION}.upd ${UPDATE_IMAGES_} rm -rf ${UPDATE_IMAGES_} } From 7b45fba6f9465fc0ab829c7a2586ab9506988549 Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Wed, 10 Apr 2019 14:47:58 -0400 Subject: [PATCH 120/211] set USB detect delay to 4s --- recipes-support/updater/files/sama5d27-som1-ek-sd/platform | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-support/updater/files/sama5d27-som1-ek-sd/platform b/recipes-support/updater/files/sama5d27-som1-ek-sd/platform index 034d4aa4b..343d15f05 100644 --- a/recipes-support/updater/files/sama5d27-som1-ek-sd/platform +++ b/recipes-support/updater/files/sama5d27-som1-ek-sd/platform @@ -2,7 +2,7 @@ TITLE="SAM SOM" PLAT="sama5d27-som1-ek-sd" UPDATE_FILE_NAME="sama5d27" -USB_DETECTION_DELAY=10 +USB_DETECTION_DELAY=4 KERNEL="zImage at91-sama5d27_som1_ek.dtb" BOOT="BOOT.BIN u-boot.bin" From 8b33d2178a3844a4af036e70f6fe557310795a50 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 22 May 2019 16:04:22 -0700 Subject: [PATCH 121/211] systemd: coalesce Name= into one expression Signed-off-by: Khem Raj --- recipes-core/systemd/systemd/wired.network | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/recipes-core/systemd/systemd/wired.network b/recipes-core/systemd/systemd/wired.network index 7a7c4ec0c..6546491a0 100644 --- a/recipes-core/systemd/systemd/wired.network +++ b/recipes-core/systemd/systemd/wired.network @@ -1,6 +1,5 @@ [Match] -Name=eth* -Name=en* +Name=eth* en* [Network] DHCP=v4 From 60170af69d69acae86eba1ce8b9af4e025f08c55 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 6 Aug 2019 21:19:01 -0700 Subject: [PATCH 122/211] yoe.inc: Bump major version to 3.0 Yocto's next release will also be 3.0 so this will match Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index a256d27b6..a7958e16f 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -6,7 +6,7 @@ MAINTAINER = "Yoe Distro " TARGET_VENDOR = "-yoe" SDK_VENDOR = "-yoesdk" # Distro version keep it up with Yocto release -DISTRO_VERSION = "2.6" +DISTRO_VERSION = "3.0" DISTRO_CODENAME = "master" SDK_VERSION := "${DISTRO_VERSION}" From eb201b23298e4f06ad580bd2addc56fbdb4e5c41 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 10 Aug 2019 13:25:01 -0700 Subject: [PATCH 123/211] yoe-simple-image: Mark updater task do nothing by default Signed-off-by: Khem Raj --- recipes-core/images/yoe-simple-image.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-core/images/yoe-simple-image.bb b/recipes-core/images/yoe-simple-image.bb index 1b862b6b8..29964580b 100644 --- a/recipes-core/images/yoe-simple-image.bb +++ b/recipes-core/images/yoe-simple-image.bb @@ -40,6 +40,7 @@ IMG_VERSION ?= "0.0.0" UPDATE_IMAGE_NAME ?= "${MACHINE}" do_updater () { + : } do_updater_append_sama5d27-som1-ek-sd () { From 5a641251f92309bdcdf55cdb73c236f747928726 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 12 Sep 2019 22:32:58 -0700 Subject: [PATCH 124/211] yoe.inc: Define SDKEXTPATH and set codename to zeus Set SDK paths for both traditional and extensible SDKs without using DISTRO var, it otherwise ends up rebuilding crosssdk recipes ( binutils ) which causes almost all nativesdk to rebuild Adjust MAINTAINER field to mention community Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index a7958e16f..df4208509 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -2,16 +2,17 @@ # Distro Settings # DISTRO_NAME = "Yoe Linux" -MAINTAINER = "Yoe Distro " +MAINTAINER = "Yoe Distro Community " TARGET_VENDOR = "-yoe" SDK_VENDOR = "-yoesdk" # Distro version keep it up with Yocto release DISTRO_VERSION = "3.0" -DISTRO_CODENAME = "master" +DISTRO_CODENAME = "zeus" SDK_VERSION := "${DISTRO_VERSION}" -SDK_NAME = "${DISTRO}-${TCLIBC}-${SDKMACHINE}-${IMAGE_BASENAME}-${TUNE_PKGARCH}-${MACHINE}" -SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}" +SDK_NAME = "yoe-${SDKMACHINE}-${IMAGE_BASENAME}-${TUNE_PKGARCH}-${MACHINE}" +SDKPATH = "/opt/yoe/${SDK_VERSION}" +SDKEXTPATH = "~/yoe_sdk/${DISTRO_VERSION}" DISTRO_VERSION[vardepsexclude] = "DATE" SDK_VERSION[vardepsexclude] = "DATE" From d4d9c6aeae41575396ea69d3a9b4422904eb5c94 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 14 Sep 2019 14:08:52 -0700 Subject: [PATCH 125/211] yoe.inc: Define yoe specific SDK_NAME_PREFIX Also use it where possible Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index df4208509..6db7a9b5c 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -10,9 +10,10 @@ DISTRO_VERSION = "3.0" DISTRO_CODENAME = "zeus" SDK_VERSION := "${DISTRO_VERSION}" -SDK_NAME = "yoe-${SDKMACHINE}-${IMAGE_BASENAME}-${TUNE_PKGARCH}-${MACHINE}" -SDKPATH = "/opt/yoe/${SDK_VERSION}" -SDKEXTPATH = "~/yoe_sdk/${DISTRO_VERSION}" +SDK_NAME_PREFIX = "yoe" +SDK_NAME = "${SDK_NAME_PREFIX}-${SDKMACHINE}-${IMAGE_BASENAME}-${TUNE_PKGARCH}-${MACHINE}" +SDKPATH = "/opt/${SDK_NAME_PREFIX}/${SDK_VERSION}" +SDKEXTPATH = "~/${SDK_NAME_PREFIX}_sdk/${DISTRO_VERSION}" DISTRO_VERSION[vardepsexclude] = "DATE" SDK_VERSION[vardepsexclude] = "DATE" From 5aa05fadd5ad1c54fed38c6d990dcfa0d780032b Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 25 Sep 2019 16:27:27 -0700 Subject: [PATCH 126/211] yoe: Include nativesdk artifacts in sstate This helps in creating derivative eSDKs where it wont then need to recompile the nativesdk packages Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index 6db7a9b5c..a9745d7e6 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -14,6 +14,7 @@ SDK_NAME_PREFIX = "yoe" SDK_NAME = "${SDK_NAME_PREFIX}-${SDKMACHINE}-${IMAGE_BASENAME}-${TUNE_PKGARCH}-${MACHINE}" SDKPATH = "/opt/${SDK_NAME_PREFIX}/${SDK_VERSION}" SDKEXTPATH = "~/${SDK_NAME_PREFIX}_sdk/${DISTRO_VERSION}" +SDK_INCLUDE_NATIVESDK = "1" DISTRO_VERSION[vardepsexclude] = "DATE" SDK_VERSION[vardepsexclude] = "DATE" From 8782d0f2a4659bdd9f646da162f755438f2ad825 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 26 Sep 2019 16:23:48 -0700 Subject: [PATCH 127/211] README: Update distro name to reflect Yoe Signed-off-by: Khem Raj --- README | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README b/README index 69f3067db..90d7ca14b 100644 --- a/README +++ b/README @@ -1,3 +1 @@ -BEC Distro Layer based on OpenEmbedded ( OE-Core ) - - +YOE Distribution Policy Layer based on OpenEmbedded Build Infrastructure From e065ebe40802bba0cd7ea9c1241dfa2d8ff5940d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 26 Sep 2019 16:24:42 -0700 Subject: [PATCH 128/211] yoe: Add YOE_PROFILE knob to control common distro features Switch to single distro called yoe and then set YOE_PROFILE to define common distro features policy via conf/site.conf Signed-off-by: Khem Raj --- conf/distro/{yoe-baremetal.conf => yoe-baremetal.inc} | 0 ...c-busyboxinit-eglfs.conf => yoe-glibc-busyboxinit-eglfs.inc} | 0 ...syboxinit-wayland.conf => yoe-glibc-busyboxinit-wayland.inc} | 0 ...glibc-busyboxinit-x11.conf => yoe-glibc-busyboxinit-x11.inc} | 0 ...yoe-glibc-systemd-eglfs.conf => yoe-glibc-systemd-eglfs.inc} | 0 ...glibc-systemd-wayland.conf => yoe-glibc-systemd-wayland.inc} | 0 .../{yoe-glibc-systemd-x11.conf => yoe-glibc-systemd-x11.inc} | 0 ...e-glibc-sysvinit-eglfs.conf => yoe-glibc-sysvinit-eglfs.inc} | 0 ...ibc-sysvinit-wayland.conf => yoe-glibc-sysvinit-wayland.inc} | 0 .../{yoe-glibc-sysvinit-x11.conf => yoe-glibc-sysvinit-x11.inc} | 0 ...sl-busyboxinit-eglfs.conf => yoe-musl-busyboxinit-eglfs.inc} | 0 ...usyboxinit-wayland.conf => yoe-musl-busyboxinit-wayland.inc} | 0 ...e-musl-busyboxinit-x11.conf => yoe-musl-busyboxinit-x11.inc} | 0 .../{yoe-musl-systemd-eglfs.conf => yoe-musl-systemd-eglfs.inc} | 0 ...e-musl-systemd-wayland.conf => yoe-musl-systemd-wayland.inc} | 0 .../{yoe-musl-systemd-x11.conf => yoe-musl-systemd-x11.inc} | 0 ...yoe-musl-sysvinit-eglfs.conf => yoe-musl-sysvinit-eglfs.inc} | 0 ...musl-sysvinit-wayland.conf => yoe-musl-sysvinit-wayland.inc} | 0 .../{yoe-musl-sysvinit-x11.conf => yoe-musl-sysvinit-x11.inc} | 0 conf/distro/{yoe-newlib.conf => yoe-newlib.inc} | 0 conf/distro/yoe.conf | 2 ++ 21 files changed, 2 insertions(+) rename conf/distro/{yoe-baremetal.conf => yoe-baremetal.inc} (100%) rename conf/distro/{yoe-glibc-busyboxinit-eglfs.conf => yoe-glibc-busyboxinit-eglfs.inc} (100%) rename conf/distro/{yoe-glibc-busyboxinit-wayland.conf => yoe-glibc-busyboxinit-wayland.inc} (100%) rename conf/distro/{yoe-glibc-busyboxinit-x11.conf => yoe-glibc-busyboxinit-x11.inc} (100%) rename conf/distro/{yoe-glibc-systemd-eglfs.conf => yoe-glibc-systemd-eglfs.inc} (100%) rename conf/distro/{yoe-glibc-systemd-wayland.conf => yoe-glibc-systemd-wayland.inc} (100%) rename conf/distro/{yoe-glibc-systemd-x11.conf => yoe-glibc-systemd-x11.inc} (100%) rename conf/distro/{yoe-glibc-sysvinit-eglfs.conf => yoe-glibc-sysvinit-eglfs.inc} (100%) rename conf/distro/{yoe-glibc-sysvinit-wayland.conf => yoe-glibc-sysvinit-wayland.inc} (100%) rename conf/distro/{yoe-glibc-sysvinit-x11.conf => yoe-glibc-sysvinit-x11.inc} (100%) rename conf/distro/{yoe-musl-busyboxinit-eglfs.conf => yoe-musl-busyboxinit-eglfs.inc} (100%) rename conf/distro/{yoe-musl-busyboxinit-wayland.conf => yoe-musl-busyboxinit-wayland.inc} (100%) rename conf/distro/{yoe-musl-busyboxinit-x11.conf => yoe-musl-busyboxinit-x11.inc} (100%) rename conf/distro/{yoe-musl-systemd-eglfs.conf => yoe-musl-systemd-eglfs.inc} (100%) rename conf/distro/{yoe-musl-systemd-wayland.conf => yoe-musl-systemd-wayland.inc} (100%) rename conf/distro/{yoe-musl-systemd-x11.conf => yoe-musl-systemd-x11.inc} (100%) rename conf/distro/{yoe-musl-sysvinit-eglfs.conf => yoe-musl-sysvinit-eglfs.inc} (100%) rename conf/distro/{yoe-musl-sysvinit-wayland.conf => yoe-musl-sysvinit-wayland.inc} (100%) rename conf/distro/{yoe-musl-sysvinit-x11.conf => yoe-musl-sysvinit-x11.inc} (100%) rename conf/distro/{yoe-newlib.conf => yoe-newlib.inc} (100%) create mode 100644 conf/distro/yoe.conf diff --git a/conf/distro/yoe-baremetal.conf b/conf/distro/yoe-baremetal.inc similarity index 100% rename from conf/distro/yoe-baremetal.conf rename to conf/distro/yoe-baremetal.inc diff --git a/conf/distro/yoe-glibc-busyboxinit-eglfs.conf b/conf/distro/yoe-glibc-busyboxinit-eglfs.inc similarity index 100% rename from conf/distro/yoe-glibc-busyboxinit-eglfs.conf rename to conf/distro/yoe-glibc-busyboxinit-eglfs.inc diff --git a/conf/distro/yoe-glibc-busyboxinit-wayland.conf b/conf/distro/yoe-glibc-busyboxinit-wayland.inc similarity index 100% rename from conf/distro/yoe-glibc-busyboxinit-wayland.conf rename to conf/distro/yoe-glibc-busyboxinit-wayland.inc diff --git a/conf/distro/yoe-glibc-busyboxinit-x11.conf b/conf/distro/yoe-glibc-busyboxinit-x11.inc similarity index 100% rename from conf/distro/yoe-glibc-busyboxinit-x11.conf rename to conf/distro/yoe-glibc-busyboxinit-x11.inc diff --git a/conf/distro/yoe-glibc-systemd-eglfs.conf b/conf/distro/yoe-glibc-systemd-eglfs.inc similarity index 100% rename from conf/distro/yoe-glibc-systemd-eglfs.conf rename to conf/distro/yoe-glibc-systemd-eglfs.inc diff --git a/conf/distro/yoe-glibc-systemd-wayland.conf b/conf/distro/yoe-glibc-systemd-wayland.inc similarity index 100% rename from conf/distro/yoe-glibc-systemd-wayland.conf rename to conf/distro/yoe-glibc-systemd-wayland.inc diff --git a/conf/distro/yoe-glibc-systemd-x11.conf b/conf/distro/yoe-glibc-systemd-x11.inc similarity index 100% rename from conf/distro/yoe-glibc-systemd-x11.conf rename to conf/distro/yoe-glibc-systemd-x11.inc diff --git a/conf/distro/yoe-glibc-sysvinit-eglfs.conf b/conf/distro/yoe-glibc-sysvinit-eglfs.inc similarity index 100% rename from conf/distro/yoe-glibc-sysvinit-eglfs.conf rename to conf/distro/yoe-glibc-sysvinit-eglfs.inc diff --git a/conf/distro/yoe-glibc-sysvinit-wayland.conf b/conf/distro/yoe-glibc-sysvinit-wayland.inc similarity index 100% rename from conf/distro/yoe-glibc-sysvinit-wayland.conf rename to conf/distro/yoe-glibc-sysvinit-wayland.inc diff --git a/conf/distro/yoe-glibc-sysvinit-x11.conf b/conf/distro/yoe-glibc-sysvinit-x11.inc similarity index 100% rename from conf/distro/yoe-glibc-sysvinit-x11.conf rename to conf/distro/yoe-glibc-sysvinit-x11.inc diff --git a/conf/distro/yoe-musl-busyboxinit-eglfs.conf b/conf/distro/yoe-musl-busyboxinit-eglfs.inc similarity index 100% rename from conf/distro/yoe-musl-busyboxinit-eglfs.conf rename to conf/distro/yoe-musl-busyboxinit-eglfs.inc diff --git a/conf/distro/yoe-musl-busyboxinit-wayland.conf b/conf/distro/yoe-musl-busyboxinit-wayland.inc similarity index 100% rename from conf/distro/yoe-musl-busyboxinit-wayland.conf rename to conf/distro/yoe-musl-busyboxinit-wayland.inc diff --git a/conf/distro/yoe-musl-busyboxinit-x11.conf b/conf/distro/yoe-musl-busyboxinit-x11.inc similarity index 100% rename from conf/distro/yoe-musl-busyboxinit-x11.conf rename to conf/distro/yoe-musl-busyboxinit-x11.inc diff --git a/conf/distro/yoe-musl-systemd-eglfs.conf b/conf/distro/yoe-musl-systemd-eglfs.inc similarity index 100% rename from conf/distro/yoe-musl-systemd-eglfs.conf rename to conf/distro/yoe-musl-systemd-eglfs.inc diff --git a/conf/distro/yoe-musl-systemd-wayland.conf b/conf/distro/yoe-musl-systemd-wayland.inc similarity index 100% rename from conf/distro/yoe-musl-systemd-wayland.conf rename to conf/distro/yoe-musl-systemd-wayland.inc diff --git a/conf/distro/yoe-musl-systemd-x11.conf b/conf/distro/yoe-musl-systemd-x11.inc similarity index 100% rename from conf/distro/yoe-musl-systemd-x11.conf rename to conf/distro/yoe-musl-systemd-x11.inc diff --git a/conf/distro/yoe-musl-sysvinit-eglfs.conf b/conf/distro/yoe-musl-sysvinit-eglfs.inc similarity index 100% rename from conf/distro/yoe-musl-sysvinit-eglfs.conf rename to conf/distro/yoe-musl-sysvinit-eglfs.inc diff --git a/conf/distro/yoe-musl-sysvinit-wayland.conf b/conf/distro/yoe-musl-sysvinit-wayland.inc similarity index 100% rename from conf/distro/yoe-musl-sysvinit-wayland.conf rename to conf/distro/yoe-musl-sysvinit-wayland.inc diff --git a/conf/distro/yoe-musl-sysvinit-x11.conf b/conf/distro/yoe-musl-sysvinit-x11.inc similarity index 100% rename from conf/distro/yoe-musl-sysvinit-x11.conf rename to conf/distro/yoe-musl-sysvinit-x11.inc diff --git a/conf/distro/yoe-newlib.conf b/conf/distro/yoe-newlib.inc similarity index 100% rename from conf/distro/yoe-newlib.conf rename to conf/distro/yoe-newlib.inc diff --git a/conf/distro/yoe.conf b/conf/distro/yoe.conf new file mode 100644 index 000000000..0d657a235 --- /dev/null +++ b/conf/distro/yoe.conf @@ -0,0 +1,2 @@ +YOE_PROFILE ??= "yoe-glibc-sysvinit-wayland" +require ${YOE_PROFILE}.inc From 044740e0bf9df23724f42b9c025a084eb5f3f4e5 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 8 Oct 2019 15:22:34 -0700 Subject: [PATCH 129/211] layer: Mark zeus compatible Signed-off-by: Khem Raj --- conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/layer.conf b/conf/layer.conf index 28e125591..3f90bf310 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -7,7 +7,7 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" BBFILE_COLLECTIONS += "meta-yoe" BBFILE_PATTERN_meta-yoe := "^${LAYERDIR}/" BBFILE_PRIORITY_meta-yoe = "99" -LAYERSERIES_COMPAT_meta-yoe = "sumo thud warrior" +LAYERSERIES_COMPAT_meta-yoe = "sumo thud warrior zeus" LAYERDEPENDS_meta-yoe = "core" BBFILES_DYNAMIC += " \ From 22da3bfa4d88742e82caeba35affe46b2a7f1a50 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 22 Nov 2019 15:56:38 -0800 Subject: [PATCH 130/211] yoe-simple-image.bb: Use features_check instead of distro_features_check distro_features_check is now deprecated Signed-off-by: Khem Raj --- recipes-core/images/yoe-simple-image.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-core/images/yoe-simple-image.bb b/recipes-core/images/yoe-simple-image.bb index 29964580b..b1b59af69 100644 --- a/recipes-core/images/yoe-simple-image.bb +++ b/recipes-core/images/yoe-simple-image.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda DEPENDS += "coreutils-native" -inherit distro_features_check +inherit features_check IMAGE_FEATURES += "ssh-server-dropbear package-management hwcodecs" From 9f44b31153952a8550bd3ee8ac0c74dacfcd4abb Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 5 Dec 2019 09:44:29 -0800 Subject: [PATCH 131/211] yoe.inc: Define blacklists and provider for native libgl Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index a9745d7e6..bac07e0bf 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -91,6 +91,8 @@ DISTRO_FEATURES_append = " largefile opengl ptest multiarch wayland pam polkit " #PREFERRED_PROVIDER_nativesdk-pkgconfig = "nativesdk-pkgconf" PREFERRED_PROVIDER_virtual/libgl ??= "mesa" +PREFERRED_PROVIDER_virtual/libgl-native ?= "mesa-native" +PREFERRED_PROVIDER_libgl-native = "mesa-native" PREFERRED_PROVIDER_virtual/psplash ??= "psplash" PREFERRED_PROVIDER_psplash-support ??= "psplash" PREFERRED_PROVIDER_jpeg ??= "libjpeg-turbo" @@ -101,3 +103,16 @@ PREFERRED_PROVIDER_u-boot-fw-utils ??= "u-boot-fw-utils" # the following is required because some BSP layers (fsl) don't set this, and then # other BSP layers fail bitbake parsing (ti). MACHINE_KERNEL_PR = "0" + +INHERIT += "blacklist" +PNBLACKLIST[build-appliance-image] = "tries to include whole downloads directory in /home/builder/poky :/" +PNBLACKLIST[smartrefrigerator] = "Needs porting to QT > 5.6" +PNBLACKLIST[qmlbrowser] = "Needs porting to QT > 5.6" +PNBLACKLIST[minehunt] = "Needs porting to QT > 5.6" +PNBLACKLIST[homeautomation] = "Needs porting to QT > 5.6" +PNBLACKLIST[samegame] = "Needs porting to QT > 5.6" +PNBLACKLIST[applicationlauncher] = "Needs porting to QT > 5.6" +PNBLACKLIST[spacetouch] = "Needs porting to libplanes 1.0" +PNBLACKLIST[qtviewplanes] = "Needs porting to libplanes 1.0" +PNBLACKLIST[egt-thermostat] = "Needs porting to egt 0.8.2+" + From 5ad7bf8ae47c6a4d987694bed372203a10ce5adb Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 16 Dec 2019 17:02:23 -0800 Subject: [PATCH 132/211] Bump master to next (3.1) based release Name it argali ( The largest sheep ) [1] [1] https://www.wikiwand.com/en/Argali Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 4 ++-- conf/layer.conf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index bac07e0bf..b5e867fa8 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -6,8 +6,8 @@ MAINTAINER = "Yoe Distro Community " TARGET_VENDOR = "-yoe" SDK_VENDOR = "-yoesdk" # Distro version keep it up with Yocto release -DISTRO_VERSION = "3.0" -DISTRO_CODENAME = "zeus" +DISTRO_VERSION = "3.1" +DISTRO_CODENAME = "argali" SDK_VERSION := "${DISTRO_VERSION}" SDK_NAME_PREFIX = "yoe" diff --git a/conf/layer.conf b/conf/layer.conf index 3f90bf310..2ceb61ea8 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -7,7 +7,7 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" BBFILE_COLLECTIONS += "meta-yoe" BBFILE_PATTERN_meta-yoe := "^${LAYERDIR}/" BBFILE_PRIORITY_meta-yoe = "99" -LAYERSERIES_COMPAT_meta-yoe = "sumo thud warrior zeus" +LAYERSERIES_COMPAT_meta-yoe = "sumo thud warrior zeus dunfell" LAYERDEPENDS_meta-yoe = "core" BBFILES_DYNAMIC += " \ From e67b98ad7725cf5ff639ca3eb60b881c18486d84 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 19 Dec 2019 11:07:08 -0800 Subject: [PATCH 133/211] yoe.inc: Reduce cmake logs verbosity distro-wide Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index b5e867fa8..e494462a2 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -45,6 +45,10 @@ TCLIBCAPPEND = "" BUILDHISTORY_COMMIT ?= "1" +# Do not use verbose logs for cmake, this reduces build logs significantly, for recipes +# e.g. qtwebkit from 163M down to < 1M +CMAKE_VERBOSE ?= "" + # the following is required because some BSP layers (fsl) don't set this, and then # other BSP layers fail bitbake parsing (ti). MACHINE_KERNEL_PR ??= "0" From 5feff1b580a8e86344d0e800022301ff6c49fb81 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 10 Jan 2020 00:10:17 -0800 Subject: [PATCH 134/211] images: Add new image dedicated for Simple-IoT Move updater bits to a inc file, since it will remain common for all images Use updater.inc in both Simple IoT image and simple image Signed-off-by: Khem Raj --- recipes-core/images/updater.inc | 47 ++++++++++++++++++++ recipes-core/images/yoe-simple-image.bb | 50 +--------------------- recipes-core/images/yoe-simpleiot-image.bb | 18 ++++++++ 3 files changed, 67 insertions(+), 48 deletions(-) create mode 100644 recipes-core/images/updater.inc create mode 100644 recipes-core/images/yoe-simpleiot-image.bb diff --git a/recipes-core/images/updater.inc b/recipes-core/images/updater.inc new file mode 100644 index 000000000..ee297d6c1 --- /dev/null +++ b/recipes-core/images/updater.inc @@ -0,0 +1,47 @@ +DEPENDS += "coreutils-native" + +UPDATE_IMAGES_ ??= "" + +UPDATE_IMAGES_sama5d27-som1-ek-sd ?= "\ + version.txt \ + u-boot.bin \ + BOOT.BIN \ + zImage \ + at91-sama5d27_som1_ek.dtb \ + rootfs.tar.xz \ +" +# We use updater to handle disk/SD management, therefore remove 96boards-tools +IMAGE_INSTALL_remove_sama5d27-som1-ek-sd = "96boards-tools" + +UPDATE_IMAGES_ ?= "${UPDATE_IMAGES} update.sha256" +KERNEL_IMAGE ?= "zImage-initramfs-${MACHINE}.bin" + +IMG_VERSION ?= "0.0.0" + +UPDATE_IMAGE_NAME ?= "${MACHINE}" + +do_updater () { + : +} + +do_updater_append_sama5d27-som1-ek-sd () { + echo "IMG_VERSION = ${IMG_VERSION}" + install -d ${TOPDIR}/images + cd ${TOPDIR}/images + echo "${IMG_VERSION}" > version.txt + install ${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.wic.xz ${MACHINE}_${IMG_VERSION}.wic.xz + install ${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.tar.xz rootfs.tar.xz + install ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE} zImage + install ${DEPLOY_DIR_IMAGE}/at91-sama5d27_som1_ek.dtb at91-sama5d27_som1_ek.dtb + install ${DEPLOY_DIR_IMAGE}/BOOT.BIN BOOT.BIN + install ${DEPLOY_DIR_IMAGE}/u-boot.bin u-boot.bin + sha256sum ${UPDATE_IMAGES} > update.sha256 + tar -cf ${UPDATE_IMAGE_NAME}_${IMG_VERSION}.upd ${UPDATE_IMAGES_} + rm -rf ${UPDATE_IMAGES_} +} + +addtask updater after do_image before do_build +do_updater[depends] += "${PN}:do_image_complete" +do_updater[depends] += "virtual/kernel:do_deploy" +# We want to build updater everytime we build image +do_updater[nostamp] = "1" diff --git a/recipes-core/images/yoe-simple-image.bb b/recipes-core/images/yoe-simple-image.bb index b1b59af69..a8e521bb7 100644 --- a/recipes-core/images/yoe-simple-image.bb +++ b/recipes-core/images/yoe-simple-image.bb @@ -1,11 +1,11 @@ # Yoe sample image require recipes-core/images/core-image-base.bb +require updater.inc + LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" -DEPENDS += "coreutils-native" - inherit features_check IMAGE_FEATURES += "ssh-server-dropbear package-management hwcodecs" @@ -19,50 +19,4 @@ IMAGE_INSTALL_append_aarch64 = " 96boards-tools" export IMAGE_BASENAME = "yoe-simple-image" -UPDATE_IMAGES_ ??= "" - -UPDATE_IMAGES_sama5d27-som1-ek-sd ?= "\ - version.txt \ - u-boot.bin \ - BOOT.BIN \ - zImage \ - at91-sama5d27_som1_ek.dtb \ - rootfs.tar.xz \ -" -# We use updater to handle disk/SD management, therefore remove 96boards-tools -IMAGE_INSTALL_remove_sama5d27-som1-ek-sd = "96boards-tools" - -UPDATE_IMAGES_ ?= "${UPDATE_IMAGES} update.sha256" -KERNEL_IMAGE ?= "zImage-initramfs-${MACHINE}.bin" - -IMG_VERSION ?= "0.0.0" - -UPDATE_IMAGE_NAME ?= "${MACHINE}" - -do_updater () { - : -} - -do_updater_append_sama5d27-som1-ek-sd () { - echo "IMG_VERSION = ${IMG_VERSION}" - install -d ${TOPDIR}/images - cd ${TOPDIR}/images - echo "${IMG_VERSION}" > version.txt - install ${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.wic.xz ${MACHINE}_${IMG_VERSION}.wic.xz - install ${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.tar.xz rootfs.tar.xz - install ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE} zImage - install ${DEPLOY_DIR_IMAGE}/at91-sama5d27_som1_ek.dtb at91-sama5d27_som1_ek.dtb - install ${DEPLOY_DIR_IMAGE}/BOOT.BIN BOOT.BIN - install ${DEPLOY_DIR_IMAGE}/u-boot.bin u-boot.bin - sha256sum ${UPDATE_IMAGES} > update.sha256 - tar -cf ${UPDATE_IMAGE_NAME}_${IMG_VERSION}.upd ${UPDATE_IMAGES_} - rm -rf ${UPDATE_IMAGES_} -} - -addtask updater after do_image before do_build -do_updater[depends] += "${PN}:do_image_complete" -do_updater[depends] += "virtual/kernel:do_deploy" -# We want to build updater everytime we build image -do_updater[nostamp] = "1" - BAD_RECOMMENDATIONS += "eudev-hwdb" diff --git a/recipes-core/images/yoe-simpleiot-image.bb b/recipes-core/images/yoe-simpleiot-image.bb new file mode 100644 index 000000000..cb0eb2d3e --- /dev/null +++ b/recipes-core/images/yoe-simpleiot-image.bb @@ -0,0 +1,18 @@ +# Yoe sample IoT image + +require recipes-core/images/core-image-minimal.bb +require updater.inc + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +inherit features_check + +IMAGE_FEATURES += "ssh-server-dropbear" + +IMAGE_INSTALL += "\ + os-release \ +" +export IMAGE_BASENAME = "yoe-simpleiot-image" + +BAD_RECOMMENDATIONS += "eudev-hwdb" From aedecab008bf9acdcfd04f90dee9abf6fb750c4d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 29 Jan 2020 22:15:06 -0800 Subject: [PATCH 135/211] yoe.inc: Pin swig to OE-core provided version meta-atmel also has older recipes for 3.0.8 but we should ignore that here at distro level Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index e494462a2..f429a4664 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -104,6 +104,12 @@ PREFERRED_PROVIDER_jpeg-native ??= "libjpeg-turbo-native" PREFERRED_PROVIDER_grub-efi-native ??= "grub-efi-native" PREFERRED_PROVIDER_u-boot-fw-utils ??= "u-boot-fw-utils" +# Pin versions, some BSP layers are housing older versions and have higher BBFILE_PRIORITY +# as a result DEFAULT_PREFERENCE = "-1" does not help either so pin it here +PREFERRED_VERSION_swig = "3.0.12" +PREFERRED_VERSION_swig-native = "3.0.12" +PREFERRED_VERSION_swig-nativesdk = "3.0.12" + # the following is required because some BSP layers (fsl) don't set this, and then # other BSP layers fail bitbake parsing (ti). MACHINE_KERNEL_PR = "0" From 6ddf78ff13f985b2d348d8a933d1e980d943d8a3 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 30 Jan 2020 18:04:40 -0800 Subject: [PATCH 136/211] yoe: Disable uninative on ppc64le build hosts Currently, prebuilt buildtools tarballs for ppc64 do not exist therefore disable uninative Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index f429a4664..55ee97914 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -83,7 +83,7 @@ require conf/distro/include/no-static-libs.inc require conf/distro/include/yocto-uninative.inc require conf/distro/include/security_flags.inc -INHERIT += "uninative" +INHERIT += "${@bb.utils.contains('BUILD_ARCH', 'ppc64le', '', 'uninative', d)}" # Add /etc/build to every image INHERIT += "image-buildinfo" From c43859d205fdce6500a1d034fd179463a105b249 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 22 Feb 2020 13:09:09 -0800 Subject: [PATCH 137/211] yoe-debug-image: Revamp Add ptest packages, along with profile/debugging tool suite Rename package to reflect changes in metadata e.g. alsa-utils-alsaconf is now alsa-utils-scripts etc. Do not use python2 utilitities, replace with py3 Signed-off-by: Khem Raj --- recipes-core/images/yoe-debug-image.bb | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/recipes-core/images/yoe-debug-image.bb b/recipes-core/images/yoe-debug-image.bb index 6211fb771..fb4f3878b 100644 --- a/recipes-core/images/yoe-debug-image.bb +++ b/recipes-core/images/yoe-debug-image.bb @@ -1,7 +1,7 @@ # this image includes the base utilities needed to exercise most # embedded linux hardware -# note, the following must be set to build netperf: +# note, the following must be set to build netperf/sox: # LICENSE_FLAGS_WHITELIST = "non-commercial" # see conf/locallocal.conf.sample in Yoe build template @@ -12,8 +12,9 @@ # e2fsprogs-tune2fs \ # require recipes-extended/images/core-image-full-cmdline.bb +require updater.inc -IMAGE_FEATURES += "package-management hwcodecs" +IMAGE_FEATURES += "package-management hwcodecs ptest-pkgs tools-debug tools-profile" IMAGE_INSTALL += "\ rsync \ @@ -29,7 +30,6 @@ IMAGE_INSTALL += "\ alsa-utils \ alsa-utils-alsamixer \ alsa-utils-aconnect \ - alsa-utils-alsaconf \ alsa-utils-alsactl \ alsa-utils-alsamixer \ alsa-utils-amixer \ @@ -37,21 +37,25 @@ IMAGE_INSTALL += "\ alsa-utils-aseqdump \ alsa-utils-aseqnet \ alsa-utils-iecset \ + alsa-utils-scripts \ alsa-utils-speakertest \ dosfstools \ usbutils \ i2c-tools \ + iw \ minicom \ screen \ - wireless-tools \ cpufrequtils \ nano \ - cpuburn-neon \ sox \ strace \ ethtool \ - python \ - python-pyserial \ + python3 \ + python3-pyserial \ " +IMAGE_INSTALL_append_armv7a = " cpuburn-arm " +IMAGE_INSTALL_append_armv7ve = " cpuburn-arm " +IMAGE_INSTALL_append_aarch64 = " cpuburn-arm " + export IMAGE_BASENAME = "yoe-debug-image" From 1848e1c0a7d02f9f4749a6d2af75975bb7bdaebe Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 23 Feb 2020 16:43:08 -0800 Subject: [PATCH 138/211] yoe-debug-image: Increase default mem to 2G for qemu to run tests Signed-off-by: Khem Raj --- recipes-core/images/yoe-debug-image.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-core/images/yoe-debug-image.bb b/recipes-core/images/yoe-debug-image.bb index fb4f3878b..7ce7a58c3 100644 --- a/recipes-core/images/yoe-debug-image.bb +++ b/recipes-core/images/yoe-debug-image.bb @@ -59,3 +59,5 @@ IMAGE_INSTALL_append_armv7ve = " cpuburn-arm " IMAGE_INSTALL_append_aarch64 = " cpuburn-arm " export IMAGE_BASENAME = "yoe-debug-image" + +QB_MEM = "-m 2048" From 30a2fd4af6cff10db82d86e988b84873714a8a20 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 25 Feb 2020 10:27:11 -0800 Subject: [PATCH 139/211] yoe.inc: Update PREFERRED_PROVIDER for u-boot to match oe-core Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index 55ee97914..ef6eeb5e1 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -102,7 +102,8 @@ PREFERRED_PROVIDER_psplash-support ??= "psplash" PREFERRED_PROVIDER_jpeg ??= "libjpeg-turbo" PREFERRED_PROVIDER_jpeg-native ??= "libjpeg-turbo-native" PREFERRED_PROVIDER_grub-efi-native ??= "grub-efi-native" -PREFERRED_PROVIDER_u-boot-fw-utils ??= "u-boot-fw-utils" +PREFERRED_PROVIDER_u-boot-fw-utils ??= "libubootenv" +PREFERRED_PROVIDER_u-boot ??= "u-boot" # Pin versions, some BSP layers are housing older versions and have higher BBFILE_PRIORITY # as a result DEFAULT_PREFERENCE = "-1" does not help either so pin it here From 029f3fb8ef4c070e2df8c99677e32645eb0842e5 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 29 Feb 2020 06:26:23 -0800 Subject: [PATCH 140/211] yoe: Get stricter - turn more QA warnings into errors Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index ef6eeb5e1..9c30066d4 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -58,9 +58,15 @@ BB_DANGLINGAPPENDS_WARNONLY = "1" # Poky goodness # QA check settings - a little stricter than the OE-Core defaults -WARN_TO_ERROR_QA = "already-stripped compile-host-path install-host-path \ - installed-vs-shipped ldflags pn-overrides rpaths staticdev \ - unknown-configure-option useless-rpaths" + +WARN_TO_ERROR_QA = "ldflags useless-rpaths rpaths staticdev libdir xorg-driver-abi \ + textrel already-stripped incompatible-license files-invalid \ + installed-vs-shipped compile-host-path install-host-path \ + pn-overrides infodir build-deps src-uri-bad \ + unknown-configure-option symlink-to-sysroot multilib \ + invalid-packageconfig host-user-contaminated uppercase-pn patch-fuzz \ + mime mime-xdg \ + " WARN_QA_remove = "${WARN_TO_ERROR_QA}" ERROR_QA_append = " ${WARN_TO_ERROR_QA}" #ERROR_QA_remove = "split-strip" From 527ae6da0b7be95c7a6adff6072f4629d6d250f1 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 22 Mar 2020 17:09:01 -0700 Subject: [PATCH 141/211] yoe-sdk-image: Add a developer image This includes compilers, debuggers, development libraries and headers Signed-off-by: Khem Raj --- recipes-core/images/yoe-debug-image.bb | 2 +- recipes-core/images/yoe-sdk-image.bb | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 recipes-core/images/yoe-sdk-image.bb diff --git a/recipes-core/images/yoe-debug-image.bb b/recipes-core/images/yoe-debug-image.bb index 7ce7a58c3..0a57359f7 100644 --- a/recipes-core/images/yoe-debug-image.bb +++ b/recipes-core/images/yoe-debug-image.bb @@ -14,7 +14,7 @@ require recipes-extended/images/core-image-full-cmdline.bb require updater.inc -IMAGE_FEATURES += "package-management hwcodecs ptest-pkgs tools-debug tools-profile" +IMAGE_FEATURES += "package-management hwcodecs ptest-pkgs dbg-pkgs tools-debug tools-profile" IMAGE_INSTALL += "\ rsync \ diff --git a/recipes-core/images/yoe-sdk-image.bb b/recipes-core/images/yoe-sdk-image.bb new file mode 100644 index 000000000..ba2db6231 --- /dev/null +++ b/recipes-core/images/yoe-sdk-image.bb @@ -0,0 +1,7 @@ +# this image includes On-Device toolchain and debug tools + +require yoe-debug-image.bb + +IMAGE_FEATURES += "tools-sdk dev-pkgs" + +export IMAGE_BASENAME = "yoe-sdk-image" From 28166e018a37734165259c5e9aebb401c71d15a1 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 28 Mar 2020 11:26:01 -0700 Subject: [PATCH 142/211] yoe.inc: Enable BB_GENERATE_MIRROR_TARBALLS Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index 9c30066d4..291542a1c 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -34,6 +34,9 @@ ftp://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ http://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ https://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n" +# Allow reusing DL_DIR from the current build as a mirror for other builds. +BB_GENERATE_MIRROR_TARBALLS = "1" + # The CONNECTIVITY_CHECK_URI's are used to test whether we can succesfully # fetch from the network (and warn you if not). To disable the test set # the variable to be empty. From 65b021c9e5eb0fdde7b083e0aed62cd98bcdb6cd Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 30 Mar 2020 20:36:55 -0700 Subject: [PATCH 143/211] yoe.inc: Set preferred providers for native/nativesdk u-boot-tools Needed after https://github.com/Freescale/meta-freescale/pull/313 Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index 291542a1c..603a56467 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -114,6 +114,14 @@ PREFERRED_PROVIDER_grub-efi-native ??= "grub-efi-native" PREFERRED_PROVIDER_u-boot-fw-utils ??= "libubootenv" PREFERRED_PROVIDER_u-boot ??= "u-boot" +# This helps in using imx specific provider when building for imx platforms, otherwise +# it uses the oe-core versions +IMX_DEFAULT_BOOTLOADER ??= "u-boot" +PREFERRED_PROVIDER_u-boot-tools-native ??= "${IMX_DEFAULT_BOOTLOADER}-tools-native" +PREDERRED_PROVIDED_nativesdk-u-boot-tools ??= "${IMX_DEFAULT_BOOTLOADER}-tools-native" +PREFERRED_PROVIDER_u-boot-mkimage-native ??= "${IMX_DEFAULT_BOOTLOADER}-tools-native" +PREFERRED_PROVIDER_nativesdk-u-boot-mkimage ??= "nativesdk-${IMX_DEFAULT_BOOTLOADER}-tools" + # Pin versions, some BSP layers are housing older versions and have higher BBFILE_PRIORITY # as a result DEFAULT_PREFERENCE = "-1" does not help either so pin it here PREFERRED_VERSION_swig = "3.0.12" From de1d0eb3f30ff15b0652585c4f847837e62cc67e Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 30 Mar 2020 20:51:55 -0700 Subject: [PATCH 144/211] yoe.inc: Select right version for WPE backend Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index 603a56467..0f10184da 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -122,6 +122,12 @@ PREDERRED_PROVIDED_nativesdk-u-boot-tools ??= "${IMX_DEFAULT_BOOTLOADER}-tools-n PREFERRED_PROVIDER_u-boot-mkimage-native ??= "${IMX_DEFAULT_BOOTLOADER}-tools-native" PREFERRED_PROVIDER_nativesdk-u-boot-mkimage ??= "nativesdk-${IMX_DEFAULT_BOOTLOADER}-tools" +# wpe backend selection, wpebackend-fdo, wpebackend-mesa, wpebackend-rdk +# +PREFERRED_RPROVIDER_virtual/wpebackend = "${WPEBACKEND}" +WPEBACKEND_rpi ?= "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', 'wpebackend-fdo', ' wpebackend-rdk', d)}" +WPEBACKEND = "wpebackend-rdk" + # Pin versions, some BSP layers are housing older versions and have higher BBFILE_PRIORITY # as a result DEFAULT_PREFERENCE = "-1" does not help either so pin it here PREFERRED_VERSION_swig = "3.0.12" From 95638d8530c7579b70a4c8795afcb501e97c39c7 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 30 Mar 2020 20:55:12 -0700 Subject: [PATCH 145/211] yoe: Enable u-boot as bootloader for rpi Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index 0f10184da..8d7d295ab 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -138,6 +138,9 @@ PREFERRED_VERSION_swig-nativesdk = "3.0.12" # other BSP layers fail bitbake parsing (ti). MACHINE_KERNEL_PR = "0" +# Enable u-boot for RPI +RPI_USE_U_BOOT = "1" + INHERIT += "blacklist" PNBLACKLIST[build-appliance-image] = "tries to include whole downloads directory in /home/builder/poky :/" PNBLACKLIST[smartrefrigerator] = "Needs porting to QT > 5.6" From f7411d2f9aebd5b97f926fd3cf7d042403cdf941 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 30 Mar 2020 20:56:24 -0700 Subject: [PATCH 146/211] yoe: Use tiny init system for swupdate Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index 8d7d295ab..fd5cf29b7 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -141,6 +141,9 @@ MACHINE_KERNEL_PR = "0" # Enable u-boot for RPI RPI_USE_U_BOOT = "1" +# swupdate initramfs init system +SWUPDATE_INIT = "tiny" + INHERIT += "blacklist" PNBLACKLIST[build-appliance-image] = "tries to include whole downloads directory in /home/builder/poky :/" PNBLACKLIST[smartrefrigerator] = "Needs porting to QT > 5.6" From e0ea62d38e31916d6546496fc72c036424696b86 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 30 Mar 2020 20:59:05 -0700 Subject: [PATCH 147/211] yoe: Enable testing images and sdks Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index fd5cf29b7..c1b4c0c50 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -88,6 +88,8 @@ ERROR_QA_append = " ${WARN_TO_ERROR_QA}" # image-prelink sometimes disabled due to issues with IFUNC symbol relocation USER_CLASSES ?= "buildstats buildhistory buildstats-summary image-mklibs image-prelink" +IMAGE_CLASSES += "testimage testsdk" + require conf/distro/include/no-static-libs.inc require conf/distro/include/yocto-uninative.inc require conf/distro/include/security_flags.inc From a45c1a7cae2e62e3416c57469f224f00343c8d52 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 31 Mar 2020 07:57:05 -0700 Subject: [PATCH 148/211] yoe: Mask old webkitgtk recipes form meta-webkit Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index c1b4c0c50..779a72ab6 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -158,3 +158,5 @@ PNBLACKLIST[spacetouch] = "Needs porting to libplanes 1.0" PNBLACKLIST[qtviewplanes] = "Needs porting to libplanes 1.0" PNBLACKLIST[egt-thermostat] = "Needs porting to egt 0.8.2+" +# mask out the old webkitgtk recipes from meta-webkit +BBMASK .= "recipes-browser/webkitgtk/webkitgtk" From 8b9822078fc69cac1902373449aae0697ace72a0 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 2 Apr 2020 10:54:59 -0700 Subject: [PATCH 149/211] layer.conf: Add webkit layer to dynamic-layers Signed-off-by: Khem Raj --- conf/layer.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/layer.conf b/conf/layer.conf index 2ceb61ea8..7d7d5376a 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -17,4 +17,6 @@ BBFILES_DYNAMIC += " \ qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/*/*/*.bbappend \ meta-96boards:${LAYERDIR}/dynamic-layers/meta-96boards/*/*/*.bb \ meta-96boards:${LAYERDIR}/dynamic-layers/meta-96boards/*/*/*.bbappend \ + webkit:${LAYERDIR}/dynamic-layers/webkit/*/*/*.bb \ + webkit:${LAYERDIR}/dynamic-layers/webkit/*/*/*.bbappend \ " From ebf1082e130cfc64070aaa9ec9674c9067d7a19b Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 2 Apr 2020 10:55:59 -0700 Subject: [PATCH 150/211] layer.conf: Add meta-swupdate to dynamic layers Signed-off-by: Khem Raj --- conf/layer.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/layer.conf b/conf/layer.conf index 7d7d5376a..f90fe7da2 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -17,6 +17,8 @@ BBFILES_DYNAMIC += " \ qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/*/*/*.bbappend \ meta-96boards:${LAYERDIR}/dynamic-layers/meta-96boards/*/*/*.bb \ meta-96boards:${LAYERDIR}/dynamic-layers/meta-96boards/*/*/*.bbappend \ + swupdate:${LAYERDIR}/dynamic-layers/swupdate/*/*/*.bb \ + swupdate:${LAYERDIR}/dynamic-layers/swupdate/*/*/*.bbappend \ webkit:${LAYERDIR}/dynamic-layers/webkit/*/*/*.bb \ webkit:${LAYERDIR}/dynamic-layers/webkit/*/*/*.bbappend \ " From 8e43a1444f73bf2d40c677b27af6832534709b55 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 2 Apr 2020 10:56:34 -0700 Subject: [PATCH 151/211] mtd-utils: Enable zstd compression This is good to have for swupdate loads Signed-off-by: Khem Raj --- recipes-devtools/mtd-utils/mtd-utils_%.bbappend | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 recipes-devtools/mtd-utils/mtd-utils_%.bbappend diff --git a/recipes-devtools/mtd-utils/mtd-utils_%.bbappend b/recipes-devtools/mtd-utils/mtd-utils_%.bbappend new file mode 100644 index 000000000..8d257b996 --- /dev/null +++ b/recipes-devtools/mtd-utils/mtd-utils_%.bbappend @@ -0,0 +1,3 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +PACKAGECONFIG_append = " zstd" From 4c430c43d66a3d080e69cde784d17807f8daf5ed Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 2 Apr 2020 10:57:51 -0700 Subject: [PATCH 152/211] distro: Add knobs to build kiosk/wpewebkit settings This ensures that we can build kiosk images for - RPI3 + EGLFS ( using userland graphics ), drm/kms does not yet work so vc4graphics is not an options yet - RPI3/RPI4 + Wayland/weston using vc4graphics Signed-off-by: Khem Raj --- conf/distro/eglfs.inc | 8 ++++++++ conf/distro/wayland.inc | 2 ++ conf/distro/yoe.inc | 7 ++++--- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/conf/distro/eglfs.inc b/conf/distro/eglfs.inc index 26a267f24..ea5527414 100644 --- a/conf/distro/eglfs.inc +++ b/conf/distro/eglfs.inc @@ -1 +1,9 @@ DISTRO_FEATURES_remove = " x11 wayland" + +# Use bcm userland graphics driver +DISABLE_VC4GRAPHICS = "1" + +# Use rdk backend for eglfs +PREFERRED_PROVIDER_virtual/wpebackend = "wpebackend-rdk" + +PACKAGECONFIG_pn-wpebackend-rdk_rpi = "rpi" diff --git a/conf/distro/wayland.inc b/conf/distro/wayland.inc index 0d61ed13c..bde6d07e5 100644 --- a/conf/distro/wayland.inc +++ b/conf/distro/wayland.inc @@ -1 +1,3 @@ DISTRO_FEATURES_append = " wayland" + +PACKAGECONFIG_append_pn-cog_rpi = " drm" diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index 779a72ab6..108d2e310 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -126,9 +126,10 @@ PREFERRED_PROVIDER_nativesdk-u-boot-mkimage ??= "nativesdk-${IMX_DEFAULT_BOOTLOA # wpe backend selection, wpebackend-fdo, wpebackend-mesa, wpebackend-rdk # -PREFERRED_RPROVIDER_virtual/wpebackend = "${WPEBACKEND}" -WPEBACKEND_rpi ?= "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', 'wpebackend-fdo', ' wpebackend-rdk', d)}" -WPEBACKEND = "wpebackend-rdk" +PREFERRED_PROVIDER_virtual/wpebackend ??= "wpebackend-fdo" + +# Disable qt in wpe +PACKAGECONFIG_remove = "qtwpe" # Pin versions, some BSP layers are housing older versions and have higher BBFILE_PRIORITY # as a result DEFAULT_PREFERENCE = "-1" does not help either so pin it here From f984325929764555bda57e9613f10e0c7c038dcf Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 2 Apr 2020 11:00:29 -0700 Subject: [PATCH 153/211] swupdate: Move the needed files for swupdate under dynamic layers Signed-off-by: Khem Raj --- .../images/files/beaglebone/emmcsetup.lua | 85 ++++++++++ .../images/files/beaglebone/sw-description | 63 ++++++++ .../recipes-core/images/files/emmcsetup.lua | 0 .../images/files/raspberrypi3/emmcsetup.lua | 85 ++++++++++ .../images/files/raspberrypi3/sw-description | 55 +++++++ .../raspberrypi3/sw-description.embscript | 145 ++++++++++++++++++ .../recipes-core/images/files/sw-description | 0 .../images/files/sw-description.embscript | 0 .../images/yoe-simple-swupdate-image.bb | 29 ++++ .../swupdate/beaglebone/09-swupdate-args | 16 ++ .../swupdate/beaglebone/10-remove-force-ro | 2 + .../swupdate/swupdate/beaglebone/defconfig | 107 +++++++++++++ .../swupdate/swupdate/beaglebone/swupdate.cfg | 47 ++++++ .../swupdate/swupdate/raspberrypi3/defconfig | 106 +++++++++++++ .../swupdate/swupdate_%.bbappend | 1 + 15 files changed, 741 insertions(+) create mode 100644 dynamic-layers/swupdate/recipes-core/images/files/beaglebone/emmcsetup.lua create mode 100644 dynamic-layers/swupdate/recipes-core/images/files/beaglebone/sw-description create mode 100644 dynamic-layers/swupdate/recipes-core/images/files/emmcsetup.lua create mode 100644 dynamic-layers/swupdate/recipes-core/images/files/raspberrypi3/emmcsetup.lua create mode 100644 dynamic-layers/swupdate/recipes-core/images/files/raspberrypi3/sw-description create mode 100644 dynamic-layers/swupdate/recipes-core/images/files/raspberrypi3/sw-description.embscript create mode 100644 dynamic-layers/swupdate/recipes-core/images/files/sw-description create mode 100644 dynamic-layers/swupdate/recipes-core/images/files/sw-description.embscript create mode 100644 dynamic-layers/swupdate/recipes-core/images/yoe-simple-swupdate-image.bb create mode 100644 dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/09-swupdate-args create mode 100644 dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/10-remove-force-ro create mode 100644 dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/defconfig create mode 100644 dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/swupdate.cfg create mode 100644 dynamic-layers/swupdate/recipes-support/swupdate/swupdate/raspberrypi3/defconfig create mode 100644 dynamic-layers/swupdate/recipes-support/swupdate/swupdate_%.bbappend diff --git a/dynamic-layers/swupdate/recipes-core/images/files/beaglebone/emmcsetup.lua b/dynamic-layers/swupdate/recipes-core/images/files/beaglebone/emmcsetup.lua new file mode 100644 index 000000000..88eba77dd --- /dev/null +++ b/dynamic-layers/swupdate/recipes-core/images/files/beaglebone/emmcsetup.lua @@ -0,0 +1,85 @@ +function os.capture(cmd) + local f = assert(io.popen(cmd, 'r')) + local s = assert(f:read('*a')) + f:close() + return s +end + +function file_exists(name) + local f=io.open(name,"r") + if f~=nil then io.close(f) return true else return false end +end + +function cmdexec(cmd) + local ret, s, status = os.execute(cmd) + if (status ~= 0) then + return false, cmd .. " return with error" + end + + return true,"" +end + +function preinst() + local out + local s1 + local ret + + local log = os.tmpname() + + local eMMC = "/dev/mmcblk1" + ret = file_exists("/dev/mmcblk1") + + if (ret == false) then + return false, "Cannot fine eMMC" + end + + cmdexec("/usr/sbin/sfdisk -d " .. eMMC .. "> /tmp/dumppartitions") + + -- check if there are two identical partitions + -- and create the second one if no available + f = io.input("/tmp/dumppartitions") + fo = io.output("/tmp/partitions") + t = f:read() + found = false + while (t ~= nil) do + j=0 + j=string.find(t, "/dev/mmcblk1p3") + fo:write(t .. "\n") + if (j == 1) then + found=true + break + end + j=string.find(t, "/dev/mmcblk1p2") + if (j == 1) then + start, size = string.match(t, "%a+%s*=%s*(%d+), size=%s*(%d+)") + end + t = f:read() + end + + if (found) then + f:close() + fo:close() + return true, out + end + + start=start+size + partitions = eMMC .. "p3 : start= " .. string.format("%d", start) .. ", size= " .. size .. ", type=83\n" + + fo:write(partitions) + fo:close() + f:close() + + out = os.capture("/usr/sbin/sfdisk --force " .. eMMC .. " < /tmp/partitions") + + -- use partprobe to inform the kernel of the new partitions + + cmdexec("/usr/sbin/partprobe " .. eMMC) + + return true, out +end + +function postinst() + local out = "Post installed script called" + + return true, out +end diff --git a/dynamic-layers/swupdate/recipes-core/images/files/beaglebone/sw-description b/dynamic-layers/swupdate/recipes-core/images/files/beaglebone/sw-description new file mode 100644 index 000000000..51477f134 --- /dev/null +++ b/dynamic-layers/swupdate/recipes-core/images/files/beaglebone/sw-description @@ -0,0 +1,63 @@ +software = +{ + version = "0.1.0"; + + beaglebone = { + hardware-compatibility: [ "1.0"]; + stable : { + copy1 : { + images: ( + { + filename = "core-image-full-cmdline-beaglebone.ext4.gz"; + device = "/dev/mmcblk1p2"; + type = "raw"; + compressed = true; + } + ); + scripts: ( + { + filename = "emmcsetup.lua"; + type = "lua"; + } + ); + uboot: ( + { + name = "boot_targets"; + value = "legacy_mmc1 mmc1 nand0 pxe dhcp"; + }, + { + name = "bootcmd_legacy_mmc1"; + value = "setenv mmcdev 1;setenv bootpart 1:2; run mmcboot"; + } + ); + + }; + copy2 : { + images: ( + { + filename = "core-image-full-cmdline-beaglebone.ext4.gz"; + device = "/dev/mmcblk1p3"; + type = "raw"; + compressed = true; + } + ); + scripts: ( + { + filename = "emmcsetup.lua"; + type = "lua"; + } + ); + uboot: ( + { + name = "boot_targets"; + value = "legacy_mmc1 mmc1 nand0 pxe dhcp"; + }, + { + name = "bootcmd_legacy_mmc1"; + value = "setenv mmcdev 1;setenv bootpart 1:3; run mmcboot"; + } + ); + }; + }; + } +} diff --git a/dynamic-layers/swupdate/recipes-core/images/files/emmcsetup.lua b/dynamic-layers/swupdate/recipes-core/images/files/emmcsetup.lua new file mode 100644 index 000000000..e69de29bb diff --git a/dynamic-layers/swupdate/recipes-core/images/files/raspberrypi3/emmcsetup.lua b/dynamic-layers/swupdate/recipes-core/images/files/raspberrypi3/emmcsetup.lua new file mode 100644 index 000000000..5fc05e1ba --- /dev/null +++ b/dynamic-layers/swupdate/recipes-core/images/files/raspberrypi3/emmcsetup.lua @@ -0,0 +1,85 @@ +function os.capture(cmd) + local f = assert(io.popen(cmd, 'r')) + local s = assert(f:read('*a')) + f:close() + return s +end + +function file_exists(name) + local f=io.open(name,"r") + if f~=nil then io.close(f) return true else return false end +end + +function cmdexec(cmd) + local ret, s, status = os.execute(cmd) + if (status ~= 0) then + return false, cmd .. " return with error" + end + + return true,"" +end + +function preinst() + local out + local s1 + local ret + + local log = os.tmpname() + + local eMMC = "/dev/mmcblk0" + ret = file_exists("/dev/mmcblk0") + + if (ret == false) then + return false, "Cannot find eMMC" + end + + cmdexec("/usr/sbin/sfdisk -d " .. eMMC .. "> /tmp/dumppartitions") + + -- check if there are two identical partitions + -- and create the second one if no available + f = io.input("/tmp/dumppartitions") + fo = io.output("/tmp/partitions") + t = f:read() + found = false + while (t ~= nil) do + j=0 + j=string.find(t, "/dev/mmcblk0p3") + fo:write(t .. "\n") + if (j == 1) then + found=true + break + end + j=string.find(t, "/dev/mmcblk0p2") + if (j == 1) then + start, size = string.match(t, "%a+%s*=%s*(%d+), size=%s*(%d+)") + end + t = f:read() + end + + if (found) then + f:close() + fo:close() + return true, out + end + + start=start+size + partitions = eMMC .. "p3 : start= " .. string.format("%d", start) .. ", size= " .. size .. ", type=83\n" + + fo:write(partitions) + fo:close() + f:close() + + out = os.capture("/usr/sbin/sfdisk --force " .. eMMC .. " < /tmp/partitions") + + -- use partprobe to inform the kernel of the new partitions + + cmdexec("/usr/sbin/partprobe " .. eMMC) + + return true, out +end + +function postinst() + local out = "Post install script called" + + return true, out +end diff --git a/dynamic-layers/swupdate/recipes-core/images/files/raspberrypi3/sw-description b/dynamic-layers/swupdate/recipes-core/images/files/raspberrypi3/sw-description new file mode 100644 index 000000000..866f142b8 --- /dev/null +++ b/dynamic-layers/swupdate/recipes-core/images/files/raspberrypi3/sw-description @@ -0,0 +1,55 @@ +software = +{ + version = "0.1.0"; + + raspberrypi3 = { + hardware-compatibility: [ "1.0"]; + stable : { + copy1 : { + images: ( + { + filename = "yoe-debug-image-raspberrypi3.ext4.gz"; + type = "raw"; + compressed = true; + device = "/dev/mmcblk0p2"; + } + ); + scripts: ( + { + filename = "emmcsetup.lua"; + type = "lua"; + } + ); + uboot: ( + { + name = "rpipart"; + value = "2"; + } + ); + + }; + copy2 : { + images: ( + { + filename = "yoe-debug-image-raspberrypi3.ext4.gz"; + type = "raw"; + compressed = true; + device = "/dev/mmcblk0p3"; + } + ); + scripts: ( + { + filename = "emmcsetup.lua"; + type = "lua"; + } + ); + uboot: ( + { + name = "rpipart"; + value = "3"; + } + ); + }; + }; + } +} diff --git a/dynamic-layers/swupdate/recipes-core/images/files/raspberrypi3/sw-description.embscript b/dynamic-layers/swupdate/recipes-core/images/files/raspberrypi3/sw-description.embscript new file mode 100644 index 000000000..09b40ffe4 --- /dev/null +++ b/dynamic-layers/swupdate/recipes-core/images/files/raspberrypi3/sw-description.embscript @@ -0,0 +1,145 @@ +software = +{ + version = "0.1.0"; + + raspberrypi3 = { + + embedded-script =" +--[[ + SWUpdate Embedded Script Example + Copyright (C) 2017, Stefano Babic + Description: + This is just an example how to integrate an embedded script in sw-description + The script is first parsed, be sure to escape double quotes + and use double quotes just when they are strictly required. + The script simply reads from a GPIO, and returns false if this GPIO + is set. That means: + GPIO(x)=0 ==> SWUpdate installs the SWU + GPIO(x)=1 ==> SWUpdate stops returning an error +]] +-- Include swupdate library to use TRACE / ERROR +require (\"swupdate\") + +INPUT = 1 +OUTPUT = 0 + +--[[ + Some functions are simply retrieved from LUA examples + see book 'Programming in Lua' or some snipset from internet. +]] + +function file_exists(filename) + local file=io.open(filename,'r') + if file~=nil then io.close(file) return true else return false end +end + +function writeToFile (filename, data) + local file=io.open(filename, 'w') + file:write(data) + file:close() +end + +function readFromFile (filename) + if file_exists(filename) then + local file=io.open(filename, 'r') + local data = file:read(1) + file:close() + return data + else + return \"\" + end +end + +function pinMode(pin, mode) + local gpio_path = '/sys/class/gpio/' + local gpio_direction = gpio_path..'gpio'..pin..'/direction' + local gpio_export = gpio_path..'export' + + if not file_exists(gpio_direction) then + writeToFile(gpio_export,pin) + end + + if mode==INPUT then + writeToFile(gpio_direction, 'in') + else + writeToFile(gpio_direction, 'out') + end +end + +function digitalRead(pin) + value = readFromFile('/sys/class/gpio/gpio'..pin..'/value') + return tonumber(value) +end + +function allowInstall(image) + + -- Completely unuseful, but it is to show how to get values from image + + for k,l in pairs(image) do + swupdate.trace(\"image[\" .. tostring(k) .. \"] = \" .. tostring(l)) + end + + -- Read GPIO21, that means pin 40 on the Header + pinMode(21,INPUT) + val=digitalRead(21) + if (val == 0) then + swupdate.trace(\"Updated allowed: go on !\") + return true, image + else + swupdate.trace(\"Updated forbidden: STOP !\") + return false, image + end +end "; + + hardware-compatibility: [ "1.0"]; + stable : { + copy1 : { + images: ( + { + filename = "core-image-full-cmdline-raspberrypi3.ext4.gz"; + type = "raw"; + compressed = true; + device = "/dev/mmcblk0p2"; + hook = "allowInstall"; + } + ); + scripts: ( + { + filename = "emmcsetup.lua"; + type = "lua"; + } + ); + uboot: ( + { + name = "rpipart"; + value = "2"; + } + ); + + }; + copy2 : { + images: ( + { + filename = "core-image-full-cmdline-raspberrypi3.ext4.gz"; + type = "raw"; + compressed = true; + device = "/dev/mmcblk0p3"; + hook = "allowInstall"; + } + ); + scripts: ( + { + filename = "emmcsetup.lua"; + type = "lua"; + } + ); + uboot: ( + { + name = "rpipart"; + value = "3"; + } + ); + }; + }; + } +} diff --git a/dynamic-layers/swupdate/recipes-core/images/files/sw-description b/dynamic-layers/swupdate/recipes-core/images/files/sw-description new file mode 100644 index 000000000..e69de29bb diff --git a/dynamic-layers/swupdate/recipes-core/images/files/sw-description.embscript b/dynamic-layers/swupdate/recipes-core/images/files/sw-description.embscript new file mode 100644 index 000000000..e69de29bb diff --git a/dynamic-layers/swupdate/recipes-core/images/yoe-simple-swupdate-image.bb b/dynamic-layers/swupdate/recipes-core/images/yoe-simple-swupdate-image.bb new file mode 100644 index 000000000..56bce7162 --- /dev/null +++ b/dynamic-layers/swupdate/recipes-core/images/yoe-simple-swupdate-image.bb @@ -0,0 +1,29 @@ +# Copyright (C) 2020 Khem Raj +# Released under the MIT license (see COPYING.MIT for the terms) + +SUMMARY = "A Simple Yoe SW Update image" +HOMEPAGE = "https://yoedistro.org" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" +SECTION = "" + +# Add all local files to be added to the SWU +# sw-description must always be in the list. +# You can extend with scripts or wahtever you need +SRC_URI = "\ + file://emmcsetup.lua \ + file://sw-description \ +" +# images to build before building swupdate image +IMAGE_DEPENDS = "yoe-debug-image virtual/kernel" + +# images and files that will be included in the .swu image +SWUPDATE_IMAGES = "yoe-debug-image uImage-initramfs" + +# a deployable image can have multiple format, choose one +SWUPDATE_IMAGES_FSTYPES[yoe-debug-image] = ".ext4.gz" +SWUPDATE_IMAGES_FSTYPES[uImage-initramfs] = ".bin" + +inherit swupdate + + diff --git a/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/09-swupdate-args b/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/09-swupdate-args new file mode 100644 index 000000000..ceb4d77a6 --- /dev/null +++ b/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/09-swupdate-args @@ -0,0 +1,16 @@ +rootfs=`mount | grep "on / type" | cut -d':' -f 2 | cut -d' ' -f 1` + +if [ $rootfs == '/dev/mmcblk1p2' ];then + selection="-e stable,copy2" +else + selection="-e stable,copy1" +fi + +state=`fw_printenv ustate | cut -f 2 -d'='` +if [ $state == 1 ];then + SWUPDATE_SURICATTA_ARGS="-c 2" +else + SWUPDATE_SURICATTA_ARGS=" " +fi + +SWUPDATE_ARGS="-H beaglebone:1.0 ${selection} -f /etc/swupdate.cfg" diff --git a/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/10-remove-force-ro b/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/10-remove-force-ro new file mode 100644 index 000000000..33a9b9c8c --- /dev/null +++ b/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/10-remove-force-ro @@ -0,0 +1,2 @@ +# be sure that we can change U-Boot ENV (not needed with swupdate >2019.11) +echo 0 > /sys/block/mmcblk1boot1/force_ro diff --git a/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/defconfig b/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/defconfig new file mode 100644 index 000000000..5f0ec5ea2 --- /dev/null +++ b/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/defconfig @@ -0,0 +1,107 @@ +# +# Automatically generated file; DO NOT EDIT. +# Swupdate Configuration +# +CONFIG_HAVE_DOT_CONFIG=y + +# +# Swupdate Settings +# + +# +# General Configuration +# +CONFIG_CURL=y +# CONFIG_CURL_SSL is not set +# CONFIG_SYSTEMD is not set +CONFIG_SCRIPTS=y +CONFIG_HW_COMPATIBILITY=y +CONFIG_HW_COMPATIBILITY_FILE="/etc/hwrevision" +CONFIG_SW_VERSIONS_FILE="/etc/sw-versions" + +# +# Socket Paths +# +CONFIG_SOCKET_CTRL_PATH="" +CONFIG_SOCKET_PROGRESS_PATH="" +CONFIG_SOCKET_REMOTE_HANDLER_DIRECTORY="/tmp/" +# CONFIG_MTD is not set +CONFIG_LUA=y +CONFIG_LUAPKG="lua" +# CONFIG_FEATURE_SYSLOG is not set + +# +# Build Options +# +CONFIG_CROSS_COMPILE="" +CONFIG_SYSROOT="" +CONFIG_EXTRA_CFLAGS="" +CONFIG_EXTRA_LDFLAGS="" +CONFIG_EXTRA_LDLIBS="" + +# +# Debugging Options +# +# CONFIG_DEBUG is not set +# CONFIG_WERROR is not set +# CONFIG_NOCLEANUP is not set +# CONFIG_BOOTLOADER_EBG is not set +CONFIG_UBOOT=y +# CONFIG_BOOTLOADER_NONE is not set +# CONFIG_BOOTLOADER_GRUB is not set +CONFIG_UBOOT_FWENV="/etc/fw_env.config" +CONFIG_UBOOT_NEWAPI=y +CONFIG_UBOOT_DEFAULTENV="/etc/u-boot-initial-env" +# CONFIG_SSL_IMPL_NONE is not set +CONFIG_SSL_IMPL_OPENSSL=y +# CONFIG_SSL_IMPL_MBEDTLS is not set +CONFIG_DOWNLOAD=y +# CONFIG_DOWNLOAD_SSL is not set +CONFIG_CHANNEL_CURL=y +CONFIG_HASH_VERIFY=y +# CONFIG_SIGNED_IMAGES is not set +CONFIG_ENCRYPTED_IMAGES=y +CONFIG_SURICATTA=y + +# +# Features +# +CONFIG_SURICATTA_SSL=y +# CONFIG_SURICATTA_STATE_CHOICE_NONE is not set +CONFIG_SURICATTA_STATE_CHOICE_BOOTLOADER=y +CONFIG_SURICATTA_STATE_BOOTLOADER="ustate" + +# +# Server +# +CONFIG_SURICATTA_HAWKBIT=y +# CONFIG_SURICATTA_GENERAL is not set +CONFIG_WEBSERVER=y +CONFIG_MONGOOSE=y +# CONFIG_MONGOOSEIPV6 is not set +CONFIG_MONGOOSESSL=y +CONFIG_GUNZIP=y +CONFIG_ZSTD=y + +# +# Parser Features +# +CONFIG_LIBCONFIG=y +CONFIG_PARSERROOT="" +CONFIG_JSON=y +# CONFIG_LUAEXTERNAL is not set +# CONFIG_SETSWDESCRIPTION is not set + +# +# Image Handlers +# +CONFIG_RAW=y +# CONFIG_RDIFFHANDLER is not set +CONFIG_LUASCRIPTHANDLER=y +CONFIG_SHELLSCRIPTHANDLER=y +# CONFIG_HANDLER_IN_LUA is not set +CONFIG_ARCHIVE=y +CONFIG_REMOTE_HANDLER=y +# CONFIG_SWUFORWARDER_HANDLER is not set +CONFIG_BOOTLOADERHANDLER=y +# CONFIG_UCFWHANDLER is not set diff --git a/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/swupdate.cfg b/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/swupdate.cfg new file mode 100644 index 000000000..a646a6533 --- /dev/null +++ b/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/swupdate.cfg @@ -0,0 +1,47 @@ +globals : +{ + + verbose = true; + loglevel = 5; + syslog = true; + /* public-key-file = "test.pem";*/ +}; + +download : +{ + retries = 3; + timeout = 1800; +}; + +identify : ( + { name = "board"; value = "BeagleboneBlack"; } +); + +suricatta : +{ + + tenant = "default"; + id = "bbb"; + confirm = 0; + url = "http://papero:8080"; + polldelay = 360; + nocheckcert = true; + retry = 4; + retrywait = 200; + loglevel = 10; + userid = 0; + groupid = 0; + max_artifacts = 1; +/* + cafile = "/etc/ssl/cafile"; + sslkey = "/etc/ssl/sslkey"; + sslcert = "/etc/ssl/sslcert"; +*/ +}; + +webserver : +{ + document_root = "/www"; + userid = 0; + groupid = 0; +}; diff --git a/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/raspberrypi3/defconfig b/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/raspberrypi3/defconfig new file mode 100644 index 000000000..37a1c4e51 --- /dev/null +++ b/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/raspberrypi3/defconfig @@ -0,0 +1,106 @@ +# +# Automatically generated file; DO NOT EDIT. +# Swupdate Configuration +# +CONFIG_HAVE_DOT_CONFIG=y + +# +# Swupdate Settings +# + +# +# General Configuration +# +CONFIG_SCRIPTS=y +CONFIG_HW_COMPATIBILITY=y +CONFIG_HW_COMPATIBILITY_FILE="/etc/hwrevision" +CONFIG_SW_VERSIONS_FILE="/etc/sw-versions" +# CONFIG_MTD is not set +CONFIG_LUA=y +CONFIG_LUAPKG="lua" +# CONFIG_FEATURE_SYSLOG is not set + +# +# Build Options +# +CONFIG_CROSS_COMPILE="" +CONFIG_SYSROOT="" +CONFIG_EXTRA_CFLAGS="" +CONFIG_EXTRA_LDFLAGS="" +CONFIG_EXTRA_LDLIBS="" + +# +# Debugging Options +# +# CONFIG_DEBUG is not set +# CONFIG_WERROR is not set +# CONFIG_NOCLEANUP is not set +# CONFIG_BOOTLOADER is not set +CONFIG_UBOOT=y +# CONFIG_BOOTLOADER_NONE is not set +# CONFIG_BOOTLOADER_GRUB is not set +CONFIG_UBOOT_FWENV="/etc/fw_env.config" +CONFIG_UBOOT_NEWAPI=y +CONFIG_UBOOT_DEFAULTENV="/etc/u-boot-initial-env" +CONFIG_DOWNLOAD=y +CONFIG_HASH_VERIFY=y +# CONFIG_SIGNED_IMAGES is not set +CONFIG_ENCRYPTED_IMAGES=y +CONFIG_SURICATTA=y + +# +# Suricatta +# + +# +# Features +# +CONFIG_SURICATTA_SSL=y +# CONFIG_SURICATTA_STATE_CHOICE_NONE is not set +CONFIG_SURICATTA_STATE_CHOICE_BOOTLOADER=y +CONFIG_SURICATTA_STATE_BOOTLOADER="ustate" + +# +# Server +# +CONFIG_SURICATTA_HAWKBIT=y +# CONFIG_SURICATTA_SERVER_NONE is not set +CONFIG_WEBSERVER=y + +# +# Webserver Features +# +CONFIG_MONGOOSE=y + +# +# Mongoose Feature +# +CONFIG_MONGOOSELUA=y +# CONFIG_MONGOOSEIPV6 is not set +CONFIG_MONGOOSESSL=y + +# +# Archival Features +# +CONFIG_GUNZIP=y +CONFIG_ZSTD=y + +# +# Parser Features +# +CONFIG_LIBCONFIG=y +CONFIG_PARSERROOT="" +CONFIG_JSON=y +# CONFIG_LUAEXTERNAL is not set +# CONFIG_SETSWDESCRIPTION is not set + +# +# Image Handlers +# +CONFIG_RAW=y +CONFIG_LUASCRIPTHANDLER=y +CONFIG_SHELLSCRIPTHANDLER=y +# CONFIG_HANDLER_IN_LUA is not set +CONFIG_ARCHIVE=y +CONFIG_REMOTE_HANDLER=y +CONFIG_BOOTLOADERHANDLER=y diff --git a/dynamic-layers/swupdate/recipes-support/swupdate/swupdate_%.bbappend b/dynamic-layers/swupdate/recipes-support/swupdate/swupdate_%.bbappend new file mode 100644 index 000000000..2b9351da7 --- /dev/null +++ b/dynamic-layers/swupdate/recipes-support/swupdate/swupdate_%.bbappend @@ -0,0 +1 @@ +FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" From 9db2e4ea6f5310f72d250c0b0e29b0f2a65dca18 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 2 Apr 2020 11:01:07 -0700 Subject: [PATCH 154/211] wpebackend-rdk: Use rpi backend when using userland graphics on rpi Signed-off-by: Khem Raj --- .../recipes-browser/wpebackend-rdk/wpebackend-rdk_%.bbappend | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 dynamic-layers/webkit/recipes-browser/wpebackend-rdk/wpebackend-rdk_%.bbappend diff --git a/dynamic-layers/webkit/recipes-browser/wpebackend-rdk/wpebackend-rdk_%.bbappend b/dynamic-layers/webkit/recipes-browser/wpebackend-rdk/wpebackend-rdk_%.bbappend new file mode 100644 index 000000000..4e4532649 --- /dev/null +++ b/dynamic-layers/webkit/recipes-browser/wpebackend-rdk/wpebackend-rdk_%.bbappend @@ -0,0 +1,4 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +# Enable rpi backend +PACKAGECONFIG_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' rpi', d)}" From ca95c858c0f4863ea3dcca681e86e81b715a9de1 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 2 Apr 2020 11:01:51 -0700 Subject: [PATCH 155/211] yoe-kiosk-image: Add yoe-kiosk-image This is a reference image to build wpewebkit based kiosk browser using cog, To launch on weston, open a terminal and then start in full screen mode export COG_PLATFORM_FDO_VIEW_FULLSCREEN=1 or any custom resolution with ( Full HD ) export COG_PLATFORM_FDO_VIEW_WIDTH=1920 export COG_PLATFORM_FDO_VIEW_HEIGHT=1080 cog -P fdo http://yoedistro.org Signed-off-by: Khem Raj --- recipes-core/images/yoe-kiosk-image.bb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 recipes-core/images/yoe-kiosk-image.bb diff --git a/recipes-core/images/yoe-kiosk-image.bb b/recipes-core/images/yoe-kiosk-image.bb new file mode 100644 index 000000000..dce99be0b --- /dev/null +++ b/recipes-core/images/yoe-kiosk-image.bb @@ -0,0 +1,19 @@ +# +# Yoe Kiosk image running wpewebkit based browser +# +require yoe-simple-image.bb + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +REQUIRED_DISTRO_FEATURES = "opengl" + +IMAGE_FEATURES += "splash" + +CORE_IMAGE_BASE_INSTALL += " \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'weston weston-init weston-examples', '', d)} \ + wpewebkit \ + cog \ +" +# +export IMAGE_BASENAME = "yoe-kiosk-image" From 30b9eab176a5a6f27b76b8489b34184b245c3aec Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 2 Apr 2020 19:06:51 -0700 Subject: [PATCH 156/211] yoe: Fix wpewebkit PACKAGECONFIG removal As such it was not effective Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index 108d2e310..9ac499e7f 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -129,7 +129,7 @@ PREFERRED_PROVIDER_nativesdk-u-boot-mkimage ??= "nativesdk-${IMX_DEFAULT_BOOTLOA PREFERRED_PROVIDER_virtual/wpebackend ??= "wpebackend-fdo" # Disable qt in wpe -PACKAGECONFIG_remove = "qtwpe" +PACKAGECONFIG_remove_pn-wpewebkit = "qtwpe" # Pin versions, some BSP layers are housing older versions and have higher BBFILE_PRIORITY # as a result DEFAULT_PREFERENCE = "-1" does not help either so pin it here From f63ecf6e84097c4dc5c8a95764c554a66dcde709 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 3 Apr 2020 19:13:18 -0700 Subject: [PATCH 157/211] icu: Prune icudata to just include en_US locale data Reduces image size for libicudata from 27M to 12M Signed-off-by: Khem Raj --- recipes-support/icu/icu/filter.json | 30 +++++++++++++++++++++++++++++ recipes-support/icu/icu_%.bbappend | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 recipes-support/icu/icu/filter.json create mode 100644 recipes-support/icu/icu_%.bbappend diff --git a/recipes-support/icu/icu/filter.json b/recipes-support/icu/icu/filter.json new file mode 100644 index 000000000..e2b56f28d --- /dev/null +++ b/recipes-support/icu/icu/filter.json @@ -0,0 +1,30 @@ +{ + "strategy": "additive", + "featureFilters": { + "brkitr_rules": "include", + "brkitr_dictionaries": "include", + "brkitr_tree": "include", + "coll_tree": "include", + "misc": "include", + "curr_tree": "include", + "lang_tree": "include", + "region_tree": "include", + "rbnf_tree": "include", + "zone_tree": "include", + "unit_tree": "include", + "cnvalias": "include", + "locales_tree": "include", + "unames": "include", + "ulayout": "include" + }, + "localeFilter": { + "filterType": "locale", + "includeChildren": false, + "whitelist": [ + "en_US", + "en_US_POSIX", + "en_001", + "en_150" + ] + } +} diff --git a/recipes-support/icu/icu_%.bbappend b/recipes-support/icu/icu_%.bbappend new file mode 100644 index 000000000..000578744 --- /dev/null +++ b/recipes-support/icu/icu_%.bbappend @@ -0,0 +1,2 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" + From 9f30599271524a4ef9f78d4fe0c622ab3ebe37e2 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 4 Apr 2020 13:44:21 -0700 Subject: [PATCH 158/211] icu: Update filter to work with icu66 Signed-off-by: Khem Raj --- recipes-support/icu/icu/filter.json | 37 +++++++---------------------- 1 file changed, 9 insertions(+), 28 deletions(-) diff --git a/recipes-support/icu/icu/filter.json b/recipes-support/icu/icu/filter.json index e2b56f28d..f7b8ac5a8 100644 --- a/recipes-support/icu/icu/filter.json +++ b/recipes-support/icu/icu/filter.json @@ -1,30 +1,11 @@ { - "strategy": "additive", - "featureFilters": { - "brkitr_rules": "include", - "brkitr_dictionaries": "include", - "brkitr_tree": "include", - "coll_tree": "include", - "misc": "include", - "curr_tree": "include", - "lang_tree": "include", - "region_tree": "include", - "rbnf_tree": "include", - "zone_tree": "include", - "unit_tree": "include", - "cnvalias": "include", - "locales_tree": "include", - "unames": "include", - "ulayout": "include" - }, - "localeFilter": { - "filterType": "locale", - "includeChildren": false, - "whitelist": [ - "en_US", - "en_US_POSIX", - "en_001", - "en_150" - ] - } + "localeFilter": { + "filterType": "locale", + "includeChildren": false, + "whitelist": [ + "en_US", + "en_GB", + "de_DE" + ] + } } From 40e22904c7970e46417e0466f4a2a65736579ef2 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 5 Apr 2020 20:55:50 -0700 Subject: [PATCH 159/211] yoe-debug-image.bb: Base on yoe-simple-image.bb like all images Signed-off-by: Khem Raj --- recipes-core/images/yoe-debug-image.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/recipes-core/images/yoe-debug-image.bb b/recipes-core/images/yoe-debug-image.bb index 0a57359f7..0cd974885 100644 --- a/recipes-core/images/yoe-debug-image.bb +++ b/recipes-core/images/yoe-debug-image.bb @@ -11,8 +11,7 @@ # e2fsprogs-e2fsck \ # e2fsprogs-tune2fs \ # -require recipes-extended/images/core-image-full-cmdline.bb -require updater.inc +require yoe-simple-image.bb IMAGE_FEATURES += "package-management hwcodecs ptest-pkgs dbg-pkgs tools-debug tools-profile" From 286481e4a181472ecafda73235b45f89f2094d7d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 5 Apr 2020 20:56:12 -0700 Subject: [PATCH 160/211] yoe-simple-image,yoe-simpleiot-image: Add udev-hwdb to BAD_RECOMMENDATIONS Signed-off-by: Khem Raj --- recipes-core/images/yoe-simple-image.bb | 2 +- recipes-core/images/yoe-simpleiot-image.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-core/images/yoe-simple-image.bb b/recipes-core/images/yoe-simple-image.bb index a8e521bb7..b8f934c25 100644 --- a/recipes-core/images/yoe-simple-image.bb +++ b/recipes-core/images/yoe-simple-image.bb @@ -19,4 +19,4 @@ IMAGE_INSTALL_append_aarch64 = " 96boards-tools" export IMAGE_BASENAME = "yoe-simple-image" -BAD_RECOMMENDATIONS += "eudev-hwdb" +BAD_RECOMMENDATIONS += "eudev-hwdb udev-hwdb" diff --git a/recipes-core/images/yoe-simpleiot-image.bb b/recipes-core/images/yoe-simpleiot-image.bb index cb0eb2d3e..91e5e19fb 100644 --- a/recipes-core/images/yoe-simpleiot-image.bb +++ b/recipes-core/images/yoe-simpleiot-image.bb @@ -15,4 +15,4 @@ IMAGE_INSTALL += "\ " export IMAGE_BASENAME = "yoe-simpleiot-image" -BAD_RECOMMENDATIONS += "eudev-hwdb" +BAD_RECOMMENDATIONS += "eudev-hwdb udev-hwdb" From e5e00daab8147515940a9ef6d264fef18c1b1958 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 6 Apr 2020 10:56:53 -0700 Subject: [PATCH 161/211] coreutils: Avoid pulling in packagegroup-core-buildessential into build deps It pulls in target toolchain into build path for yoe-simple-image, prolongs the build times, so lets short circuit the deps Signed-off-by: Khem Raj --- recipes-core/coreutils/coreutils_%.bbappend | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 recipes-core/coreutils/coreutils_%.bbappend diff --git a/recipes-core/coreutils/coreutils_%.bbappend b/recipes-core/coreutils/coreutils_%.bbappend new file mode 100644 index 000000000..0a0c4c90f --- /dev/null +++ b/recipes-core/coreutils/coreutils_%.bbappend @@ -0,0 +1,9 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +# it pulls in buildessentials packagegroup into build dependency +# we can live with one less ptest package +# see below thread for details +# https://lists.openembedded.org/g/openembedded-core/topic/patch_1_2_v5_coreutils_add/72395668 +RDEPENDS_${PN}-ptest_remove = "libmodule-build-perl" + +RRECOMMENDS_${PN}-ptest += "libmodule-build-perl" From 91c31fd31cf31c607e0618d863faf862b854340a Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 6 Apr 2020 11:01:47 -0700 Subject: [PATCH 162/211] images: Add libmodule-build-perl to bad recommendations Signed-off-by: Khem Raj --- recipes-core/images/yoe-simple-image.bb | 2 +- recipes-core/images/yoe-simpleiot-image.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-core/images/yoe-simple-image.bb b/recipes-core/images/yoe-simple-image.bb index b8f934c25..692fd3114 100644 --- a/recipes-core/images/yoe-simple-image.bb +++ b/recipes-core/images/yoe-simple-image.bb @@ -19,4 +19,4 @@ IMAGE_INSTALL_append_aarch64 = " 96boards-tools" export IMAGE_BASENAME = "yoe-simple-image" -BAD_RECOMMENDATIONS += "eudev-hwdb udev-hwdb" +BAD_RECOMMENDATIONS += "eudev-hwdb udev-hwdb libmodule-build-perl" diff --git a/recipes-core/images/yoe-simpleiot-image.bb b/recipes-core/images/yoe-simpleiot-image.bb index 91e5e19fb..56953bea7 100644 --- a/recipes-core/images/yoe-simpleiot-image.bb +++ b/recipes-core/images/yoe-simpleiot-image.bb @@ -15,4 +15,4 @@ IMAGE_INSTALL += "\ " export IMAGE_BASENAME = "yoe-simpleiot-image" -BAD_RECOMMENDATIONS += "eudev-hwdb udev-hwdb" +BAD_RECOMMENDATIONS += "eudev-hwdb udev-hwdb libmodule-build-perl" From 6cf4c219ef57d371a4edcbf63c12947b5f70de3c Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 6 Apr 2020 16:34:07 -0700 Subject: [PATCH 163/211] elm: Add prebuilt elm compiler for x86_64 Signed-off-by: Khem Raj --- recipes-siot/elm/elm_19.0.1.bb | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 recipes-siot/elm/elm_19.0.1.bb diff --git a/recipes-siot/elm/elm_19.0.1.bb b/recipes-siot/elm/elm_19.0.1.bb new file mode 100644 index 000000000..8028b3b90 --- /dev/null +++ b/recipes-siot/elm/elm_19.0.1.bb @@ -0,0 +1,26 @@ +# Copyright (C) 2020 Cliff Brake +# Released under the MIT license (see COPYING.MIT for the terms) + +DESCRIPTION = "Elm Compiler" +SECTION = "devel" +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +SRC_URI = "https://github.com/elm/compiler/releases/download/0.19.1/binary-for-linux-64-bit.gz" +SRC_URI[md5sum] = "9584db6d744bc3179538ca6f7b3e0ff1" +SRC_URI[sha256sum] = "e44af52bb27f725a973478e589d990a6428e115fe1bb14f03833134d6c0f155c" + +inherit bin_package + +S = "${WORKDIR}" + +do_install () { + install -D -m755 ${S}/binary-for-linux-64-bit ${D}${bindir}/elm +} + +INSANE_SKIP_${PN} += "already-stripped" +BBCLASSEXTEND = "native nativesdk" + +COMPATIBLE_HOST_class-target = "null" + From d9825c40779e9169a949f748b07387f183e1b48f Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 6 Apr 2020 16:34:30 -0700 Subject: [PATCH 164/211] simpleiot: Add recipe Signed-off-by: Khem Raj --- recipes-siot/simpleiot/simpleiot/siot | 34 ++++++++++++++++++ recipes-siot/simpleiot/simpleiot_git.bb | 48 +++++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 recipes-siot/simpleiot/simpleiot/siot create mode 100644 recipes-siot/simpleiot/simpleiot_git.bb diff --git a/recipes-siot/simpleiot/simpleiot/siot b/recipes-siot/simpleiot/simpleiot/siot new file mode 100644 index 000000000..8076d7f41 --- /dev/null +++ b/recipes-siot/simpleiot/simpleiot/siot @@ -0,0 +1,34 @@ +#!/bin/sh + +PIDFILE=/var/run/siot.pid +DESC="Simple IOT Framework App" +DATADIR=/data/siot + +check_dbs () { + echo "Add Database checks" +} + +mkdir -p $DATADIR + +case "$1" in + start) + echo -n "Starting $DESC" + check_dbs + start-stop-daemon -S -m -p $PIDFILE -b -x /usr/bin/siot + ;; + stop) + echo -n "Stopping $DESC" + start-stop-daemon -K -p $PIDFILE --retry 5 + ;; + restart) + echo -n "Restarting $DESC" + start-stop-daemon -K -p $PIDFILE --retry 5 + start-stop-daemon -S -m -p $PIDFILE -b -x /usr/bin/siot + ;; + *) + echo "Usage: $N {start|stop|restart}" >&2 + exit 1 + ;; +esac + +exit 0 diff --git a/recipes-siot/simpleiot/simpleiot_git.bb b/recipes-siot/simpleiot/simpleiot_git.bb new file mode 100644 index 000000000..ad9745fb3 --- /dev/null +++ b/recipes-siot/simpleiot/simpleiot_git.bb @@ -0,0 +1,48 @@ +# Copyright (C) 2020 Cliff Brake +# Released under the MIT license (see COPYING.MIT for the terms) + +SUMMARY = "Simple IOT Framework application" +HOMEPAGE = "http://simpleiot.org" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" +SECTION = "apps" + +DEPENDS = "go-native elm-native" + +inherit update-rc.d goarch + +SRCREV = "9aa0cf5116eb5f770f7e6a2a2f2e624398a72234" +PV = "1.0+git${SRCPV}" + +SRC_URI = "git://github.com/simpleiot/simpleiot \ + file://siot \ + " +S = "${WORKDIR}/git" + +GOPATH = "${TMPDIR}/work-shared/go" + +INITSCRIPT_NAME = "siot" +INITSCRIPT_PARAMS = "start 99 5 . stop 20 6 ." + +do_configure() { + export GOPATH=${GOPATH} + go install github.com/benbjohnson/genesis/... +} + +do_compile() { + export GOPATH=${GOPATH} + export GOARCH=${TARGET_GOARCH} + export PATH=${GOPATH}/bin:$PATH + source ./envsetup.sh + # FIXME: get elm cache in ~/.elm moved to work-shared + rm -rf frontend/elm-stuff + siot_setup + siot_build +} + +do_install() { + install -D -m 0755 ${S}/siot ${D}${bindir}/siot + install -D -m 0755 ${WORKDIR}/siot ${D}${sysconfdir}/init.d/siot +} + +INSANE_SKIP_${PN} += "ldflags" From 07efc34d66c8e1b08320d595bd0e009acf9c1a30 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 6 Apr 2020 16:36:32 -0700 Subject: [PATCH 165/211] yoe-simpleiot-image: Add simpleiot to image Signed-off-by: Khem Raj --- recipes-core/images/yoe-simpleiot-image.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-core/images/yoe-simpleiot-image.bb b/recipes-core/images/yoe-simpleiot-image.bb index 56953bea7..b7883f580 100644 --- a/recipes-core/images/yoe-simpleiot-image.bb +++ b/recipes-core/images/yoe-simpleiot-image.bb @@ -12,6 +12,7 @@ IMAGE_FEATURES += "ssh-server-dropbear" IMAGE_INSTALL += "\ os-release \ + simpleiot \ " export IMAGE_BASENAME = "yoe-simpleiot-image" From d56d3d32cdbad710473c09b1607b203f458863bb Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 7 Apr 2020 07:28:14 -0700 Subject: [PATCH 166/211] yoe: Disable rpi rainbow at boot Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index 9ac499e7f..14520e80c 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -144,6 +144,9 @@ MACHINE_KERNEL_PR = "0" # Enable u-boot for RPI RPI_USE_U_BOOT = "1" +# Disable rpi raimbow screen +DISABLE_SPLASH = "1" + # swupdate initramfs init system SWUPDATE_INIT = "tiny" From 62e615d9d102e169d4016b2c94acaf6c6144f7ac Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 7 Apr 2020 07:30:34 -0700 Subject: [PATCH 167/211] tiny.inc: Add file for tinification policies This will have settings needed for very small footprint distro e.g. siot distro Signed-off-by: Khem Raj --- conf/distro/tiny.inc | 1 + 1 file changed, 1 insertion(+) create mode 100644 conf/distro/tiny.inc diff --git a/conf/distro/tiny.inc b/conf/distro/tiny.inc new file mode 100644 index 000000000..37dd549de --- /dev/null +++ b/conf/distro/tiny.inc @@ -0,0 +1 @@ +DISTRO_FEATURES_remove = "pam" From 8d57c95633b649ba36a30c06265eefef3191a400 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 7 Apr 2020 16:48:06 -0700 Subject: [PATCH 168/211] yoe: Update init systems knobs Sync with latest settings from dunfell Signed-off-by: Khem Raj --- conf/distro/busyboxinit.inc | 7 +++++-- conf/distro/systemd.inc | 6 ++++-- conf/distro/sysvinit.inc | 6 ++++++ 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/conf/distro/busyboxinit.inc b/conf/distro/busyboxinit.inc index ae4de1d1e..b07d9de5b 100644 --- a/conf/distro/busyboxinit.inc +++ b/conf/distro/busyboxinit.inc @@ -1,4 +1,7 @@ -VIRTUAL-RUNTIME_init_manager = "busybox" +# enable mdev/busybox for init +DISTRO_FEATURES_BACKFILL_CONSIDERED_append = " systemd sysvinit" VIRTUAL-RUNTIME_dev_manager = "busybox-mdev" +VIRTUAL-RUNTIME_init_manager = "busybox" +VIRTUAL-RUNTIME_initscripts = "initscripts" +VIRTUAL-RUNTIME_keymaps = "keymaps" VIRTUAL-RUNTIME_login_manager = "busybox" - diff --git a/conf/distro/systemd.inc b/conf/distro/systemd.inc index a2fa7723e..6542e29cf 100644 --- a/conf/distro/systemd.inc +++ b/conf/distro/systemd.inc @@ -1,4 +1,6 @@ +# Use systemd for system initialization DISTRO_FEATURES_append = " systemd" +DISTRO_FEATURES_BACKFILL_CONSIDERED_append = " sysvinit" VIRTUAL-RUNTIME_init_manager = "systemd" -DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit" -VIRTUAL-RUNTIME_initscripts = "" +VIRTUAL-RUNTIME_initscripts = "systemd-compat-units" +VIRTUAL-RUNTIME_login_manager = "shadow-base" diff --git a/conf/distro/sysvinit.inc b/conf/distro/sysvinit.inc index e69de29bb..7725b30e1 100644 --- a/conf/distro/sysvinit.inc +++ b/conf/distro/sysvinit.inc @@ -0,0 +1,6 @@ +# Use sysvinit for system initialization +DISTRO_FEATURES_append = " sysvinit" +DISTRO_FEATURES_BACKFILL_CONSIDERED_append = " systemd" +VIRTUAL-RUNTIME_init_manager = "sysvinit" +VIRTUAL-RUNTIME_initscripts = "initscripts" +VIRTUAL-RUNTIME_login_manager = "busybox" From a4f84c6e9d9afdfd56d80f2ca17621c7000926d7 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 7 Apr 2020 16:48:50 -0700 Subject: [PATCH 169/211] yoe: Remove ptest from default distro feature list ptest now needs target gcc to be compiled for minimal images too, therefore it should be a deliberate choice made by user, we are disabling it for yoe default distro policies Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index 14520e80c..8071ecbcb 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -99,7 +99,7 @@ INHERIT += "${@bb.utils.contains('BUILD_ARCH', 'ppc64le', '', 'uninative', d)}" # Add /etc/build to every image INHERIT += "image-buildinfo" -DISTRO_FEATURES_append = " largefile opengl ptest multiarch wayland pam polkit " +DISTRO_FEATURES_append = " largefile opengl multiarch wayland pam polkit " #PREFERRED_PROVIDER_pkgconfig = "pkgconf" #PREFERRED_PROVIDER_pkgconfig-native = "pkgconf-native" From a4775ae18e8013d02078f0b10ae74a6c60d33894 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 7 Apr 2020 22:26:20 -0700 Subject: [PATCH 170/211] busyboxinit.inc: Remove sysvinit from BACKFILL_CONSIDERED This adds the initsrcripts back to image which help boot the system to a sane state Signed-off-by: Khem Raj --- conf/distro/busyboxinit.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/distro/busyboxinit.inc b/conf/distro/busyboxinit.inc index b07d9de5b..eef0f67cb 100644 --- a/conf/distro/busyboxinit.inc +++ b/conf/distro/busyboxinit.inc @@ -1,5 +1,5 @@ # enable mdev/busybox for init -DISTRO_FEATURES_BACKFILL_CONSIDERED_append = " systemd sysvinit" +DISTRO_FEATURES_BACKFILL_CONSIDERED_append = " systemd" VIRTUAL-RUNTIME_dev_manager = "busybox-mdev" VIRTUAL-RUNTIME_init_manager = "busybox" VIRTUAL-RUNTIME_initscripts = "initscripts" From aeb2350bdff2f0569faa6e911698513be158f879 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 7 Apr 2020 22:38:18 -0700 Subject: [PATCH 171/211] simpleiot: Use -modcacherw flag to keep modules not become undeletable Currently go module downloads all dependencies and marks then read-only such that even same user can not delete work-shared/ folder. This option makes the module cache as r/w Signed-off-by: Khem Raj --- recipes-siot/simpleiot/simpleiot_git.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-siot/simpleiot/simpleiot_git.bb b/recipes-siot/simpleiot/simpleiot_git.bb index ad9745fb3..e3c2fb43c 100644 --- a/recipes-siot/simpleiot/simpleiot_git.bb +++ b/recipes-siot/simpleiot/simpleiot_git.bb @@ -26,6 +26,7 @@ INITSCRIPT_PARAMS = "start 99 5 . stop 20 6 ." do_configure() { export GOPATH=${GOPATH} + export GOFLAGS="-modcacherw" go install github.com/benbjohnson/genesis/... } @@ -33,6 +34,7 @@ do_compile() { export GOPATH=${GOPATH} export GOARCH=${TARGET_GOARCH} export PATH=${GOPATH}/bin:$PATH + export GOFLAGS="-modcacherw" source ./envsetup.sh # FIXME: get elm cache in ~/.elm moved to work-shared rm -rf frontend/elm-stuff From 1ac569d3c18e7832e2d29b7a9bf56593c0f38590 Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Wed, 8 Apr 2020 11:22:13 -0400 Subject: [PATCH 172/211] start siot on port 80 --- recipes-siot/simpleiot/simpleiot/siot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 recipes-siot/simpleiot/simpleiot/siot diff --git a/recipes-siot/simpleiot/simpleiot/siot b/recipes-siot/simpleiot/simpleiot/siot old mode 100644 new mode 100755 index 8076d7f41..4717a9519 --- a/recipes-siot/simpleiot/simpleiot/siot +++ b/recipes-siot/simpleiot/simpleiot/siot @@ -13,8 +13,8 @@ mkdir -p $DATADIR case "$1" in start) echo -n "Starting $DESC" - check_dbs - start-stop-daemon -S -m -p $PIDFILE -b -x /usr/bin/siot + check_dbs + start-stop-daemon -S -m -p $PIDFILE -b -x /usr/bin/env SIOT_PORT=80 /usr/bin/siot ;; stop) echo -n "Stopping $DESC" From c7fd3d732003426f9f0b1a9922b67a74e3c4817c Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 8 Apr 2020 10:47:36 -0700 Subject: [PATCH 173/211] simpleiot: Disable on all mips Dependencies like bolt are not yet ported onto mips errors are like below ../../../../../work-shared/go/pkg/mod/go.etcd.io/bbolt@v1.3.0/bolt_unix.go:62:15: undefined: maxMapSize ../../../../../work-shared/go/pkg/mod/go.etcd.io/bbolt@v1.3.0/db.go:101:13: undefined: maxMapSize ../../../../../work-shared/go/pkg/mod/go.etcd.io/bbolt@v1.3.0/db.go:317:12: undefined: maxMapSize ../../../../../work-shared/go/pkg/mod/go.etcd.io/bbolt@v1.3.0/db.go:335:10: undefined: maxMapSize ../../../../../work-shared/go/pkg/mod/go.etcd.io/bbolt@v1.3.0/db.go:336:8: undefined: maxMapSize ../../../../../work-shared/go/pkg/mod/go.etcd.io/bbolt@v1.3.0/freelist.go:165:19: undefined: maxAllocSize ../../../../../work-shared/go/pkg/mod/go.etcd.io/bbolt@v1.3.0/freelist.go:172:14: undefined: maxAllocSize ../../../../../work-shared/go/pkg/mod/go.etcd.io/bbolt@v1.3.0/freelist.go:200:12: undefined: maxAllocSize ../../../../../work-shared/go/pkg/mod/go.etcd.io/bbolt@v1.3.0/freelist.go:203:7: undefined: maxAllocSize ../../../../../work-shared/go/pkg/mod/go.etcd.io/bbolt@v1.3.0/freelist.go:204:12: undefined: maxAllocSize Signed-off-by: Khem Raj --- recipes-siot/simpleiot/simpleiot_git.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-siot/simpleiot/simpleiot_git.bb b/recipes-siot/simpleiot/simpleiot_git.bb index e3c2fb43c..a52f00568 100644 --- a/recipes-siot/simpleiot/simpleiot_git.bb +++ b/recipes-siot/simpleiot/simpleiot_git.bb @@ -48,3 +48,6 @@ do_install() { } INSANE_SKIP_${PN} += "ldflags" + +COMPATIBLE_HOST_mipsarch = "null" + From 42e6f98169e185450e7275d609d2c94e0595ae3e Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Wed, 8 Apr 2020 14:11:45 -0400 Subject: [PATCH 174/211] enable syslog for siot --- recipes-siot/simpleiot/simpleiot/siot | 4 ++-- recipes-siot/simpleiot/simpleiot_git.bb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-siot/simpleiot/simpleiot/siot b/recipes-siot/simpleiot/simpleiot/siot index 4717a9519..4b2d7aba5 100755 --- a/recipes-siot/simpleiot/simpleiot/siot +++ b/recipes-siot/simpleiot/simpleiot/siot @@ -14,7 +14,7 @@ case "$1" in start) echo -n "Starting $DESC" check_dbs - start-stop-daemon -S -m -p $PIDFILE -b -x /usr/bin/env SIOT_PORT=80 /usr/bin/siot + start-stop-daemon -S -m -p $PIDFILE -b -x /usr/bin/env SIOT_PORT=80 /usr/bin/siot -- -syslog ;; stop) echo -n "Stopping $DESC" @@ -23,7 +23,7 @@ case "$1" in restart) echo -n "Restarting $DESC" start-stop-daemon -K -p $PIDFILE --retry 5 - start-stop-daemon -S -m -p $PIDFILE -b -x /usr/bin/siot + start-stop-daemon -S -m -p $PIDFILE -b -x /usr/bin/env SIOT_PORT=80 /usr/bin/siot -- -syslog ;; *) echo "Usage: $N {start|stop|restart}" >&2 diff --git a/recipes-siot/simpleiot/simpleiot_git.bb b/recipes-siot/simpleiot/simpleiot_git.bb index a52f00568..1bd499404 100644 --- a/recipes-siot/simpleiot/simpleiot_git.bb +++ b/recipes-siot/simpleiot/simpleiot_git.bb @@ -11,7 +11,7 @@ DEPENDS = "go-native elm-native" inherit update-rc.d goarch -SRCREV = "9aa0cf5116eb5f770f7e6a2a2f2e624398a72234" +SRCREV = "b59b133e376c284d13e995a0ff2c114eb287b717" PV = "1.0+git${SRCPV}" SRC_URI = "git://github.com/simpleiot/simpleiot \ From 5cac19acb0946572ed9c0ab105cfa04ed1ac0d86 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 8 Apr 2020 15:26:24 -0700 Subject: [PATCH 175/211] override beaglebone's wic template from meta-ti meta-ti has 3 partition scheme, which currently does not boot since partition2 in that scheme is not a rootfs partition and uboot is confused Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index 8071ecbcb..ef043e863 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -150,6 +150,9 @@ DISABLE_SPLASH = "1" # swupdate initramfs init system SWUPDATE_INIT = "tiny" +# we want to have boot + rootfs ( that can grow ) +WKS_FILE_beaglebone = "sdimage-bootpart.wks" + INHERIT += "blacklist" PNBLACKLIST[build-appliance-image] = "tries to include whole downloads directory in /home/builder/poky :/" PNBLACKLIST[smartrefrigerator] = "Needs porting to QT > 5.6" From 48343d942f6df0ce869fd188dce9ba999eb4526e Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 8 Apr 2020 19:57:36 -0700 Subject: [PATCH 176/211] linux-ti-staging: Add bbappend to enable wireguard Signed-off-by: Khem Raj --- conf/layer.conf | 2 ++ .../recipes-kernel/linux/linux-ti-staging/wireguard.cfg | 4 ++++ .../meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend | 5 +++++ 3 files changed, 11 insertions(+) create mode 100644 dynamic-layers/meta-ti/recipes-kernel/linux/linux-ti-staging/wireguard.cfg create mode 100644 dynamic-layers/meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend diff --git a/conf/layer.conf b/conf/layer.conf index f90fe7da2..1c336ffcf 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -17,6 +17,8 @@ BBFILES_DYNAMIC += " \ qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/*/*/*.bbappend \ meta-96boards:${LAYERDIR}/dynamic-layers/meta-96boards/*/*/*.bb \ meta-96boards:${LAYERDIR}/dynamic-layers/meta-96boards/*/*/*.bbappend \ + meta-ti:${LAYERDIR}/dynamic-layers/meta-ti/*/*/*.bb \ + meta-ti:${LAYERDIR}/dynamic-layers/meta-ti/*/*/*.bbappend \ swupdate:${LAYERDIR}/dynamic-layers/swupdate/*/*/*.bb \ swupdate:${LAYERDIR}/dynamic-layers/swupdate/*/*/*.bbappend \ webkit:${LAYERDIR}/dynamic-layers/webkit/*/*/*.bb \ diff --git a/dynamic-layers/meta-ti/recipes-kernel/linux/linux-ti-staging/wireguard.cfg b/dynamic-layers/meta-ti/recipes-kernel/linux/linux-ti-staging/wireguard.cfg new file mode 100644 index 000000000..588d7680e --- /dev/null +++ b/dynamic-layers/meta-ti/recipes-kernel/linux/linux-ti-staging/wireguard.cfg @@ -0,0 +1,4 @@ +CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m +CONFIG_NET_UDP_TUNNEL=m +CONFIG_NET_FOU=m +CONFIG_IPV6_FOU=m diff --git a/dynamic-layers/meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend b/dynamic-layers/meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend new file mode 100644 index 000000000..51c07726f --- /dev/null +++ b/dynamic-layers/meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend @@ -0,0 +1,5 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += "file://wireguard.cfg" + +KERNEL_CONFIG_FRAGMENTS += "${WORKDIR}/wireguard.cfg" From 2adcd9c9f49b75906720b2e313e4f9134682c0c8 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 9 Apr 2020 07:36:31 -0700 Subject: [PATCH 177/211] simpleiot: Enable mips again Upstream has now dropped the troublesome package boltdb which was not ported to mips, so now it works ok on mips again. Define BRANCH so different branch could be easily tested without changing recipe Signed-off-by: Khem Raj --- recipes-siot/simpleiot/simpleiot_git.bb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/recipes-siot/simpleiot/simpleiot_git.bb b/recipes-siot/simpleiot/simpleiot_git.bb index 1bd499404..78a3153be 100644 --- a/recipes-siot/simpleiot/simpleiot_git.bb +++ b/recipes-siot/simpleiot/simpleiot_git.bb @@ -11,10 +11,12 @@ DEPENDS = "go-native elm-native" inherit update-rc.d goarch -SRCREV = "b59b133e376c284d13e995a0ff2c114eb287b717" +SRCREV = "c48c5592d3182603754379219c7bdf4baa000ea3" PV = "1.0+git${SRCPV}" -SRC_URI = "git://github.com/simpleiot/simpleiot \ +BRANCH ?= "master" + +SRC_URI = "git://github.com/simpleiot/simpleiot;branch=${BRANCH} \ file://siot \ " S = "${WORKDIR}/git" @@ -48,6 +50,3 @@ do_install() { } INSANE_SKIP_${PN} += "ldflags" - -COMPATIBLE_HOST_mipsarch = "null" - From fd3a9e7d55a24cfdcd6e38061ba9f502ec7b2c9e Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 11 Apr 2020 15:51:20 -0700 Subject: [PATCH 178/211] yoe-kiosk-image: Add gstreamer1.0-libav Helps with youtube playback Signed-off-by: Khem Raj --- recipes-core/images/yoe-kiosk-image.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-core/images/yoe-kiosk-image.bb b/recipes-core/images/yoe-kiosk-image.bb index dce99be0b..a6a37088a 100644 --- a/recipes-core/images/yoe-kiosk-image.bb +++ b/recipes-core/images/yoe-kiosk-image.bb @@ -12,8 +12,9 @@ IMAGE_FEATURES += "splash" CORE_IMAGE_BASE_INSTALL += " \ ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'weston weston-init weston-examples', '', d)} \ - wpewebkit \ cog \ + gstreamer1.0-libav \ + wpewebkit \ " # export IMAGE_BASENAME = "yoe-kiosk-image" From f9ffc4af2c06fd88b64e78b0ce18e65f04d62839 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 11 Apr 2020 16:05:12 -0700 Subject: [PATCH 179/211] yoe-debug-image: Add htop to image its a good monitoring tool Signed-off-by: Khem Raj --- recipes-core/images/yoe-debug-image.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-core/images/yoe-debug-image.bb b/recipes-core/images/yoe-debug-image.bb index 0cd974885..8f7b51bdc 100644 --- a/recipes-core/images/yoe-debug-image.bb +++ b/recipes-core/images/yoe-debug-image.bb @@ -18,6 +18,7 @@ IMAGE_FEATURES += "package-management hwcodecs ptest-pkgs dbg-pkgs tools-debug t IMAGE_INSTALL += "\ rsync \ devmem2 \ + htop \ evtest \ netperf \ gdbserver \ From 1d8aad991a7305a7782dcdbff11ee6352d3f1789 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 11 Apr 2020 16:05:49 -0700 Subject: [PATCH 180/211] yoe-sdk-image: Include kiosk pieces to ultimate SDK image Signed-off-by: Khem Raj --- recipes-core/images/yoe-kiosk-image.bb | 12 +----------- recipes-core/images/yoe-kiosk-image.inc | 10 ++++++++++ recipes-core/images/yoe-sdk-image.bb | 1 + 3 files changed, 12 insertions(+), 11 deletions(-) create mode 100644 recipes-core/images/yoe-kiosk-image.inc diff --git a/recipes-core/images/yoe-kiosk-image.bb b/recipes-core/images/yoe-kiosk-image.bb index a6a37088a..47fcf03b5 100644 --- a/recipes-core/images/yoe-kiosk-image.bb +++ b/recipes-core/images/yoe-kiosk-image.bb @@ -2,19 +2,9 @@ # Yoe Kiosk image running wpewebkit based browser # require yoe-simple-image.bb +require yoe-kiosk-image.inc LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" -REQUIRED_DISTRO_FEATURES = "opengl" - -IMAGE_FEATURES += "splash" - -CORE_IMAGE_BASE_INSTALL += " \ - ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'weston weston-init weston-examples', '', d)} \ - cog \ - gstreamer1.0-libav \ - wpewebkit \ -" -# export IMAGE_BASENAME = "yoe-kiosk-image" diff --git a/recipes-core/images/yoe-kiosk-image.inc b/recipes-core/images/yoe-kiosk-image.inc new file mode 100644 index 000000000..20b6cf3e7 --- /dev/null +++ b/recipes-core/images/yoe-kiosk-image.inc @@ -0,0 +1,10 @@ +REQUIRED_DISTRO_FEATURES = "opengl" + +IMAGE_FEATURES += "splash" + +CORE_IMAGE_BASE_INSTALL += " \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'weston weston-init weston-examples', '', d)} \ + cog \ + gstreamer1.0-libav \ + wpewebkit \ +" diff --git a/recipes-core/images/yoe-sdk-image.bb b/recipes-core/images/yoe-sdk-image.bb index ba2db6231..1fcde0d7e 100644 --- a/recipes-core/images/yoe-sdk-image.bb +++ b/recipes-core/images/yoe-sdk-image.bb @@ -1,6 +1,7 @@ # this image includes On-Device toolchain and debug tools require yoe-debug-image.bb +require yoe-kiosk-image.inc IMAGE_FEATURES += "tools-sdk dev-pkgs" From 673ce090b5fce70f745590c49e826548e92658e9 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 11 Apr 2020 16:18:59 -0700 Subject: [PATCH 181/211] yoe-kiosk-image: Shorten the name of inc file Signed-off-by: Khem Raj --- recipes-core/images/{yoe-kiosk-image.inc => kiosk.inc} | 0 recipes-core/images/yoe-kiosk-image.bb | 2 +- recipes-core/images/yoe-sdk-image.bb | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename recipes-core/images/{yoe-kiosk-image.inc => kiosk.inc} (100%) diff --git a/recipes-core/images/yoe-kiosk-image.inc b/recipes-core/images/kiosk.inc similarity index 100% rename from recipes-core/images/yoe-kiosk-image.inc rename to recipes-core/images/kiosk.inc diff --git a/recipes-core/images/yoe-kiosk-image.bb b/recipes-core/images/yoe-kiosk-image.bb index 47fcf03b5..443c09707 100644 --- a/recipes-core/images/yoe-kiosk-image.bb +++ b/recipes-core/images/yoe-kiosk-image.bb @@ -2,7 +2,7 @@ # Yoe Kiosk image running wpewebkit based browser # require yoe-simple-image.bb -require yoe-kiosk-image.inc +require kiosk.inc LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" diff --git a/recipes-core/images/yoe-sdk-image.bb b/recipes-core/images/yoe-sdk-image.bb index 1fcde0d7e..5f997b871 100644 --- a/recipes-core/images/yoe-sdk-image.bb +++ b/recipes-core/images/yoe-sdk-image.bb @@ -1,7 +1,7 @@ # this image includes On-Device toolchain and debug tools require yoe-debug-image.bb -require yoe-kiosk-image.inc +require kiosk.inc IMAGE_FEATURES += "tools-sdk dev-pkgs" From 934f5cf1fa04ded45bf4c840099cf3bf7cdd3aeb Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 11 Apr 2020 16:19:27 -0700 Subject: [PATCH 182/211] qt5: Keep just one image Move the logic to build eglfs/x11/wayland bits based on DISTRO_FEATURES Signed-off-by: Khem Raj --- recipes-core/images/qt5.inc | 3 +++ recipes-core/images/yoe-qt5-eglfs-image.bb | 17 ----------------- ...e-qt5-wayland-image.bb => yoe-qt5-image.bb} | 10 ++-------- recipes-core/images/yoe-qt5-x11-image.bb | 18 ------------------ 4 files changed, 5 insertions(+), 43 deletions(-) delete mode 100644 recipes-core/images/yoe-qt5-eglfs-image.bb rename recipes-core/images/{yoe-qt5-wayland-image.bb => yoe-qt5-image.bb} (57%) delete mode 100644 recipes-core/images/yoe-qt5-x11-image.bb diff --git a/recipes-core/images/qt5.inc b/recipes-core/images/qt5.inc index f05e288f5..fda62365e 100644 --- a/recipes-core/images/qt5.inc +++ b/recipes-core/images/qt5.inc @@ -35,3 +35,6 @@ QTWEBKIT ??= "\ qtwebkit \ qtwebkit-qmlplugins \ " +REQUIRED_DISTRO_FEATURES = "opengl" +IMAGE_FEATURES += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11-base', '', d)}" + diff --git a/recipes-core/images/yoe-qt5-eglfs-image.bb b/recipes-core/images/yoe-qt5-eglfs-image.bb deleted file mode 100644 index 37943bc4b..000000000 --- a/recipes-core/images/yoe-qt5-eglfs-image.bb +++ /dev/null @@ -1,17 +0,0 @@ -# Yoe QT5 sample image -require yoe-simple-image.bb - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" - -require qt5.inc - -CONFLICT_DISTRO_FEATURES = "wayland x11" - -REQUIRED_DISTRO_FEATURES = "opengl" - -IMAGE_INSTALL += " \ - ${QT5APPS} \ - ${QT5BASE} \ -" -export IMAGE_BASENAME = "yoe-qt5-eglfs-image" diff --git a/recipes-core/images/yoe-qt5-wayland-image.bb b/recipes-core/images/yoe-qt5-image.bb similarity index 57% rename from recipes-core/images/yoe-qt5-wayland-image.bb rename to recipes-core/images/yoe-qt5-image.bb index 53b3857ae..8ada64652 100644 --- a/recipes-core/images/yoe-qt5-wayland-image.bb +++ b/recipes-core/images/yoe-qt5-image.bb @@ -6,16 +6,10 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda require qt5.inc -REQUIRED_DISTRO_FEATURES = "wayland" - -IMAGE_FEATURES += "splash" - CORE_IMAGE_BASE_INSTALL += " \ - weston weston-init \ - weston-examples \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', ' weston weston-init weston-examples qtwayland-plugins', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'weston-xwayland', '', d)} \ - ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwayland-plugins', '', d)} \ ${QT5APPS} \ ${QT5BASE} \ " -export IMAGE_BASENAME = "yoe-qt5-wayland-image" +export IMAGE_BASENAME = "yoe-qt5-image" diff --git a/recipes-core/images/yoe-qt5-x11-image.bb b/recipes-core/images/yoe-qt5-x11-image.bb deleted file mode 100644 index 75226ef1d..000000000 --- a/recipes-core/images/yoe-qt5-x11-image.bb +++ /dev/null @@ -1,18 +0,0 @@ -# Yoe QT5/X11 sample image -require yoe-simple-image.bb - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" - -require qt5.inc - -REQUIRED_DISTRO_FEATURES = "x11" -CONFLICT_DISTRO_FEATURES = "wayland" - -IMAGE_FEATURES += "splash x11-base" - -IMAGE_INSTALL += " \ - ${QT5APPS} \ - ${QT5BASE} \ -" -export IMAGE_BASENAME = "yoe-qt5-x11-image" From 78005262aa67ed2983a482366cd3e2f69453ffb7 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 11 Apr 2020 19:11:36 -0700 Subject: [PATCH 183/211] yoe-qt5-image/yoe-kiosk-image: Add weston-xwayland only when both x11 and wayland are in distro features Signed-off-by: Khem Raj --- recipes-core/images/kiosk.inc | 1 + recipes-core/images/qt5.inc | 10 +++++++++- recipes-core/images/yoe-qt5-image.bb | 8 +------- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/recipes-core/images/kiosk.inc b/recipes-core/images/kiosk.inc index 20b6cf3e7..f3268bc93 100644 --- a/recipes-core/images/kiosk.inc +++ b/recipes-core/images/kiosk.inc @@ -4,6 +4,7 @@ IMAGE_FEATURES += "splash" CORE_IMAGE_BASE_INSTALL += " \ ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'weston weston-init weston-examples', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland x11', 'weston-xwayland', '', d)} \ cog \ gstreamer1.0-libav \ wpewebkit \ diff --git a/recipes-core/images/qt5.inc b/recipes-core/images/qt5.inc index fda62365e..4a54edcd2 100644 --- a/recipes-core/images/qt5.inc +++ b/recipes-core/images/qt5.inc @@ -36,5 +36,13 @@ QTWEBKIT ??= "\ qtwebkit-qmlplugins \ " REQUIRED_DISTRO_FEATURES = "opengl" -IMAGE_FEATURES += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11-base', '', d)}" +X11BASE = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11-base', '', d)}" +IMAGE_FEATURES += "${@bb.utils.contains('DISTRO_FEATURES', 'wayland x11', '', '${X11BASE}', d)}" + +CORE_IMAGE_BASE_INSTALL += " \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'weston weston-init weston-examples qtwayland-plugins', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland x11', 'weston-xwayland', '', d)} \ + ${QT5APPS} \ + ${QT5BASE} \ +" diff --git a/recipes-core/images/yoe-qt5-image.bb b/recipes-core/images/yoe-qt5-image.bb index 8ada64652..5cbbcaa85 100644 --- a/recipes-core/images/yoe-qt5-image.bb +++ b/recipes-core/images/yoe-qt5-image.bb @@ -1,4 +1,4 @@ -# Yoe QT5/Wayland sample image +# Yoe QT5/Wayland/X11/eglfs sample image require yoe-simple-image.bb LICENSE = "MIT" @@ -6,10 +6,4 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda require qt5.inc -CORE_IMAGE_BASE_INSTALL += " \ - ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', ' weston weston-init weston-examples qtwayland-plugins', '', d)} \ - ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'weston-xwayland', '', d)} \ - ${QT5APPS} \ - ${QT5BASE} \ -" export IMAGE_BASENAME = "yoe-qt5-image" From afb18938744b8646c6a2a2d76bc7d607ce773d81 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 16 Apr 2020 13:17:07 -0700 Subject: [PATCH 184/211] icu: Further reduce ICU data locale size Signed-off-by: Khem Raj --- recipes-support/icu/icu/filter.json | 39 ++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 9 deletions(-) diff --git a/recipes-support/icu/icu/filter.json b/recipes-support/icu/icu/filter.json index f7b8ac5a8..f73a5d527 100644 --- a/recipes-support/icu/icu/filter.json +++ b/recipes-support/icu/icu/filter.json @@ -1,11 +1,32 @@ { - "localeFilter": { - "filterType": "locale", - "includeChildren": false, - "whitelist": [ - "en_US", - "en_GB", - "de_DE" - ] - } + "strategy": "additive", + "featureFilters": { + "brkitr_rules": "include", + "brkitr_dictionaries": "include", + "brkitr_tree": "include", + "coll_tree": "include", + "misc": "include", + "curr_tree": "include", + "lang_tree": "include", + "region_tree": "include", + "rbnf_tree": "include", + "zone_tree": "include", + "unit_tree": "include", + "cnvalias": "include", + "locales_tree": "include", + "unames": "include", + "ulayout": "include" + }, + "localeFilter": { + "filterType": "locale", + "includeChildren": false, + "whitelist": [ + "en_US", + "en_US_POSIX", + "en_001", + "en_150", + "pt" + ] + } } + From f38b32ff363ff0f485c5f49e588b30d7e05dde32 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 16 Apr 2020 16:54:09 -0700 Subject: [PATCH 185/211] icu: Disable parallel build New filter exposes a build race seen occasionally Item coll/root.res depends on missing item coll/ucadata.icu Makefile:255: recipe for target 'out/tmp/icudata.lst' failed make[1]: *** [out/tmp/icudata.lst] Error 2 Signed-off-by: Khem Raj --- recipes-support/icu/icu_%.bbappend | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-support/icu/icu_%.bbappend b/recipes-support/icu/icu_%.bbappend index 000578744..0d91bfad6 100644 --- a/recipes-support/icu/icu_%.bbappend +++ b/recipes-support/icu/icu_%.bbappend @@ -1,2 +1,4 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" +PARALLEL_MAKE = "" + From 7a3dbb8e4a8c1568d700438d75e864f06e69d6ee Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 17 Apr 2020 15:22:04 -0700 Subject: [PATCH 186/211] icu: Fix a colllation tree dependency on ucadata This was causing build breaks that was implied as parallel build failures. logs show | Item coll/root.res depends on missing item coll/ucadata.icu | make[1]: *** [Makefile:153: out/icudt66b.dat] Error 2 This fixes that New size +-rwxr-xr-x - - 5203216 ./usr/lib/libicudata.so.66.1 Signed-off-by: Khem Raj --- recipes-support/icu/icu/filter.json | 8 +++----- recipes-support/icu/icu_%.bbappend | 2 -- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/recipes-support/icu/icu/filter.json b/recipes-support/icu/icu/filter.json index f73a5d527..799aef4fb 100644 --- a/recipes-support/icu/icu/filter.json +++ b/recipes-support/icu/icu/filter.json @@ -1,9 +1,11 @@ { "strategy": "additive", + "collationUCAData": "implicithan", "featureFilters": { "brkitr_rules": "include", "brkitr_dictionaries": "include", "brkitr_tree": "include", + "coll_ucadata": "include", "coll_tree": "include", "misc": "include", "curr_tree": "include", @@ -21,11 +23,7 @@ "filterType": "locale", "includeChildren": false, "whitelist": [ - "en_US", - "en_US_POSIX", - "en_001", - "en_150", - "pt" + "en_US" ] } } diff --git a/recipes-support/icu/icu_%.bbappend b/recipes-support/icu/icu_%.bbappend index 0d91bfad6..000578744 100644 --- a/recipes-support/icu/icu_%.bbappend +++ b/recipes-support/icu/icu_%.bbappend @@ -1,4 +1,2 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" -PARALLEL_MAKE = "" - From 4031dc1563c442b2c015f6c6e7f461512ae4c253 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 21 Apr 2020 19:16:18 -0700 Subject: [PATCH 187/211] yoe-debug-image: Do not package dbg packages This increased image size a bit so let user decide that via a bbappend Signed-off-by: Khem Raj --- recipes-core/images/yoe-debug-image.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-core/images/yoe-debug-image.bb b/recipes-core/images/yoe-debug-image.bb index 8f7b51bdc..4122c4fc7 100644 --- a/recipes-core/images/yoe-debug-image.bb +++ b/recipes-core/images/yoe-debug-image.bb @@ -13,7 +13,7 @@ # require yoe-simple-image.bb -IMAGE_FEATURES += "package-management hwcodecs ptest-pkgs dbg-pkgs tools-debug tools-profile" +IMAGE_FEATURES += "package-management hwcodecs ptest-pkgs tools-debug tools-profile" IMAGE_INSTALL += "\ rsync \ From 29898a1dfbef84a7abef425b86a576c2ffd01277 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 21 Apr 2020 19:16:56 -0700 Subject: [PATCH 188/211] yoe-sdk-image: Add c/c++ and go compilers and runtimes Signed-off-by: Khem Raj --- recipes-core/images/yoe-sdk-image.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-core/images/yoe-sdk-image.bb b/recipes-core/images/yoe-sdk-image.bb index 5f997b871..c52f9d4bc 100644 --- a/recipes-core/images/yoe-sdk-image.bb +++ b/recipes-core/images/yoe-sdk-image.bb @@ -5,4 +5,6 @@ require kiosk.inc IMAGE_FEATURES += "tools-sdk dev-pkgs" +IMAGE_INSTALL += "packagegroup-go-sdk-target packagegroup-core-buildessential" + export IMAGE_BASENAME = "yoe-sdk-image" From 92dfeb54dc851461517e08d74a38c51ada021929 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 26 Apr 2020 22:54:27 -0700 Subject: [PATCH 189/211] yoe: Blacklist video test samples Enable webkitgtk from meta-webkit Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index ef043e863..0584715b9 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -164,6 +164,9 @@ PNBLACKLIST[applicationlauncher] = "Needs porting to QT > 5.6" PNBLACKLIST[spacetouch] = "Needs porting to libplanes 1.0" PNBLACKLIST[qtviewplanes] = "Needs porting to libplanes 1.0" PNBLACKLIST[egt-thermostat] = "Needs porting to egt 0.8.2+" - -# mask out the old webkitgtk recipes from meta-webkit -BBMASK .= "recipes-browser/webkitgtk/webkitgtk" +PNBLACKLIST[bigbuckbunny-1080p] = "big and doesn't really need to be tested so much" +PNBLACKLIST[bigbuckbunny-480p] = "big and doesn't really need to be tested so much" +PNBLACKLIST[bigbuckbunny-720p] = "big and doesn't really need to be tested so much" +PNBLACKLIST[tearsofsteel-1080p] = "big and doesn't really need to be tested so much" +RDEPENDS_packagegroup-meta-multimedia_remove_pn-packagegroup-meta-multimedia = "bigbuckbunny-1080p bigbuckbunny-480p bigbuckbunny-720p tearsofsteel-1080p" +PNBLACKLIST[build-appliance-image] = "tries to include whole downloads directory in /home/builder/poky :/" From 5b41c71b136dfe842806cfc24654888b17b46ea0 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 1 May 2020 16:16:40 -0700 Subject: [PATCH 190/211] yoe-release-image.bb: Add new image busybox wget lacks TLS handshake, since we use feeds its better to have secure support in wget, it increases the size a bit but thats perhaps compromise we are willing to make. Fixes https://github.com/YoeDistro/yoe-distro/issues/356 Signed-off-by: Khem Raj --- recipes-core/images/yoe-release-image.bb | 8 ++++++++ recipes-core/images/yoe-simple-image.bb | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 recipes-core/images/yoe-release-image.bb diff --git a/recipes-core/images/yoe-release-image.bb b/recipes-core/images/yoe-release-image.bb new file mode 100644 index 000000000..5e75a1607 --- /dev/null +++ b/recipes-core/images/yoe-release-image.bb @@ -0,0 +1,8 @@ +# Yoe base image for using feeds + +require yoe-simple-image.bb + +IMAGE_INSTALL += "\ + wget \ +" +export IMAGE_BASENAME = "yoe-release-image" diff --git a/recipes-core/images/yoe-simple-image.bb b/recipes-core/images/yoe-simple-image.bb index 692fd3114..e36aac870 100644 --- a/recipes-core/images/yoe-simple-image.bb +++ b/recipes-core/images/yoe-simple-image.bb @@ -1,4 +1,4 @@ -# Yoe sample image +# Yoe base starter image require recipes-core/images/core-image-base.bb require updater.inc From 5cd4154b73ba903329b375cea3a45918cb6f0cd9 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 2 May 2020 13:41:26 -0700 Subject: [PATCH 191/211] yoe-sdk-image.bb: remove go SDK for RISCV32 Golang port for rv32 is still not available Signed-off-by: Khem Raj --- recipes-core/images/yoe-sdk-image.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-core/images/yoe-sdk-image.bb b/recipes-core/images/yoe-sdk-image.bb index c52f9d4bc..255626f8f 100644 --- a/recipes-core/images/yoe-sdk-image.bb +++ b/recipes-core/images/yoe-sdk-image.bb @@ -6,5 +6,6 @@ require kiosk.inc IMAGE_FEATURES += "tools-sdk dev-pkgs" IMAGE_INSTALL += "packagegroup-go-sdk-target packagegroup-core-buildessential" +IMAGE_INSTALL_remove_riscv32 = "packagegroup-go-sdk-target" export IMAGE_BASENAME = "yoe-sdk-image" From 8e911fbed563482d64141bbc5712143ff9088458 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 3 May 2020 15:02:45 -0700 Subject: [PATCH 192/211] yoe.inc: Mask webkitgtk from oe-core We use meta-webkit which always have more update version Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index 0584715b9..af2890a94 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -170,3 +170,6 @@ PNBLACKLIST[bigbuckbunny-720p] = "big and doesn't really need to be tested so mu PNBLACKLIST[tearsofsteel-1080p] = "big and doesn't really need to be tested so much" RDEPENDS_packagegroup-meta-multimedia_remove_pn-packagegroup-meta-multimedia = "bigbuckbunny-1080p bigbuckbunny-480p bigbuckbunny-720p tearsofsteel-1080p" PNBLACKLIST[build-appliance-image] = "tries to include whole downloads directory in /home/builder/poky :/" + +# mask out the old webkitgtk recipes from OE-core +BBMASK .= "recipes-sato/webkit/webkitgtk" From 1576adcd535db3780346403525d31b44e9e648d8 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 16 May 2020 08:43:01 -0700 Subject: [PATCH 193/211] canboat: Update to 1.3.0 and fix with gcc10 Signed-off-by: Khem Raj --- .../canboat/{canboat.bb => canboat_1.3.0.bb} | 4 +- ...le-definitions-of-StringBuffer-sbNew.patch | 46 +++++++++++++++++++ ...t-use-root-user-group-during-install.patch | 11 ++--- .../files/0001-use-php-instead-of-php5.patch | 29 +----------- 4 files changed, 53 insertions(+), 37 deletions(-) rename recipes-core/canboat/{canboat.bb => canboat_1.3.0.bb} (86%) create mode 100644 recipes-core/canboat/files/0001-Avoid-multiple-definitions-of-StringBuffer-sbNew.patch diff --git a/recipes-core/canboat/canboat.bb b/recipes-core/canboat/canboat_1.3.0.bb similarity index 86% rename from recipes-core/canboat/canboat.bb rename to recipes-core/canboat/canboat_1.3.0.bb index 29248eef4..ea434a4f7 100644 --- a/recipes-core/canboat/canboat.bb +++ b/recipes-core/canboat/canboat_1.3.0.bb @@ -10,9 +10,11 @@ SRC_URI = "git://github.com/canboat/canboat.git;branch=${SRCBRANCH} \ file://0001-Do-not-use-root-user-group-during-install.patch \ file://0001-Define-ANALYZEREXEC.patch \ file://0001-use-php-instead-of-php5.patch \ + file://0001-Avoid-multiple-definitions-of-StringBuffer-sbNew.patch \ " SRCBRANCH = "master" -SRCREV = "93b2ebfb334d7a9750b6947d3a4af9b091be2432" + +SRCREV = "b8923b45570c21feff89de4eff6007ed5408e1b7" S = "${WORKDIR}/git" diff --git a/recipes-core/canboat/files/0001-Avoid-multiple-definitions-of-StringBuffer-sbNew.patch b/recipes-core/canboat/files/0001-Avoid-multiple-definitions-of-StringBuffer-sbNew.patch new file mode 100644 index 000000000..6812a7a76 --- /dev/null +++ b/recipes-core/canboat/files/0001-Avoid-multiple-definitions-of-StringBuffer-sbNew.patch @@ -0,0 +1,46 @@ +From 25799167153e8359c4814beb5a130ddb86ca9644 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 16 May 2020 08:39:21 -0700 +Subject: [PATCH] Avoid multiple definitions of StringBuffer sbNew + +This helps build with gcc10+ + +multiple definition of `sbNew'; /tmp/cc7KbBAf.o:(.bss+0x0): first defined here +collect2: error: ld returned 1 exit status +make[1]: *** [Makefile:28: ../rel/linux-x86_64/actisense-serial] Error 1 + +Upstream-Status: Submitted [https://github.com/canboat/canboat/pull/193] +Signed-off-by: Khem Raj +--- + common/common.h | 2 +- + n2kd/main.c | 1 + + 2 files changed, 2 insertions(+), 1 deletion(-) + +diff --git a/common/common.h b/common/common.h +index 0d72f86..ad4ee7c 100644 +--- a/common/common.h ++++ b/common/common.h +@@ -107,7 +107,7 @@ enum Base64Encoding + BASE64_AIS + }; + +-StringBuffer sbNew; ++extern StringBuffer sbNew; + + void sbAppendEncodeHex(StringBuffer *sb, const void *data, size_t len, char separator); // binary to hex + void sbAppendEncodeBase64(StringBuffer *sb, const uint8_t *data, size_t len, enum Base64Encoding encoding); // binary to Base64 +diff --git a/n2kd/main.c b/n2kd/main.c +index 4fa618f..cd48028 100644 +--- a/n2kd/main.c ++++ b/n2kd/main.c +@@ -49,6 +49,7 @@ bool rateLimit; + + uint32_t protocol = 1; + int debug = 0; ++StringBuffer sbNew; + + #define SENSOR_TIMEOUT (120) /* Timeout when PGN messages expire (no longer retransmitted) */ + #define AIS_TIMEOUT (3600) /* AIS messages expiration is much longer */ +-- +2.26.2 + diff --git a/recipes-core/canboat/files/0001-Do-not-use-root-user-group-during-install.patch b/recipes-core/canboat/files/0001-Do-not-use-root-user-group-during-install.patch index 42828618e..cc394e51d 100644 --- a/recipes-core/canboat/files/0001-Do-not-use-root-user-group-during-install.patch +++ b/recipes-core/canboat/files/0001-Do-not-use-root-user-group-during-install.patch @@ -10,19 +10,14 @@ Signed-off-by: Khem Raj Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/Makefile b/Makefile -index 8e5120f..bbb1c38 100755 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ clean: install: rel/$(PLATFORM)/analyzer $(DESTDIR)$(BINDIR) $(DESTDIR)$(CONFDIR) - for i in rel/$(PLATFORM)/* util/* */*_monitor; do f=`basename $$i`; rm -f $(DESTDIR)$(BINDIR)/$$f; cp $$i $(DESTDIR)$(BINDIR); done + for i in rel/$(PLATFORM)/* util/* */*_monitor; do f=`basename $$i`; echo $$f; rm -f $(DESTDIR)$(BINDIR)/$$f; cp $$i $(DESTDIR)$(BINDIR); done - for i in config/*; do install -g $(ROOT_GID) -o $(ROOT_UID) -m $(ROOT_MOD) $$i $(DESTDIR)$(CONFDIR); done -+ for i in config/*; do install -m 0644 $$i $(DESTDIR)$(CONFDIR); done - -killall -9 actisense-serial n2kd socketcan-writer || echo 'No running processes killed' ++ for i in config/*; do install -m $(ROOT_MOD) $$i $(DESTDIR)$(CONFDIR); done + -killall -9 actisense-serial ikonvert-serial n2kd socketcan-writer || echo 'No running processes killed' zip: --- -2.17.0 - diff --git a/recipes-core/canboat/files/0001-use-php-instead-of-php5.patch b/recipes-core/canboat/files/0001-use-php-instead-of-php5.patch index e26747cb4..293dab8ec 100644 --- a/recipes-core/canboat/files/0001-use-php-instead-of-php5.patch +++ b/recipes-core/canboat/files/0001-use-php-instead-of-php5.patch @@ -13,8 +13,6 @@ Signed-off-by: Khem Raj util/list-product-information | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) -diff --git a/airmar/airmar.php b/airmar/airmar.php -index ccd4b4d..46ed49d 100755 --- a/airmar/airmar.php +++ b/airmar/airmar.php @@ -1,4 +1,4 @@ @@ -23,11 +21,9 @@ index ccd4b4d..46ed49d 100755 >', $MONITOR_LOGFILE or die "Can't write to $MONITOR_LOGFILE $!"; open STDERR, '>&STDOUT' or die "Can't dup stdout: $!"; @@ -36,26 +32,3 @@ index f8cfd42..4cb4766 100755 } if (!$monitor) { -diff --git a/send-message/format-message b/send-message/format-message -index 590a815..2d91185 100755 ---- a/send-message/format-message -+++ b/send-message/format-message -@@ -1,4 +1,4 @@ --#!/usr/bin/php5 -+#!/usr/bin/env php - Date: Sat, 16 May 2020 08:45:28 -0700 Subject: [PATCH 194/211] kiosk: Require opengl for cog Signed-off-by: Khem Raj --- recipes-core/images/kiosk.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-core/images/kiosk.inc b/recipes-core/images/kiosk.inc index f3268bc93..8ae160c01 100644 --- a/recipes-core/images/kiosk.inc +++ b/recipes-core/images/kiosk.inc @@ -5,7 +5,7 @@ IMAGE_FEATURES += "splash" CORE_IMAGE_BASE_INSTALL += " \ ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'weston weston-init weston-examples', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'wayland x11', 'weston-xwayland', '', d)} \ - cog \ + ${@bb.utils.contains_any('DISTRO_FEATURES', 'wayland x11 opengl', 'cog', '', d)} \ gstreamer1.0-libav \ wpewebkit \ " From 567e060fd176542c3f5a584f381d9f3edde4aad5 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 16 May 2020 08:45:59 -0700 Subject: [PATCH 195/211] qtbase: Enable needed features for linuxfb Signed-off-by: Khem Raj --- dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend | 1 + 1 file changed, 1 insertion(+) diff --git a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend index 9f7f56922..a0573177b 100644 --- a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend +++ b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend @@ -4,3 +4,4 @@ QT_CONFIG_FLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '-qpa way bb.utils.contains('DISTRO_FEATURES', 'x11', '', \ '-qpa eglfs', d), d)}" +PACKAGECONFIG_append = " libinput eglfs examples linuxfb tslib" From 678dd4a26ef62615add1ff1b391ded59bc842b06 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 11 Jun 2020 22:26:08 -0700 Subject: [PATCH 196/211] images: Place features_check in right places Fixes spurious parse warnings WARNING: /mnt/b/yoe/master/sources/meta-yoe/recipes-core/images/yoe-simple-image.bb: Recipe inherits features_check but doesn't use it Signed-off-by: Khem Raj --- recipes-core/images/kiosk.inc | 2 ++ recipes-core/images/qt5.inc | 3 +++ recipes-core/images/yoe-simple-image.bb | 2 -- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/recipes-core/images/kiosk.inc b/recipes-core/images/kiosk.inc index 8ae160c01..da3b3aa92 100644 --- a/recipes-core/images/kiosk.inc +++ b/recipes-core/images/kiosk.inc @@ -1,3 +1,5 @@ +inherit features_check + REQUIRED_DISTRO_FEATURES = "opengl" IMAGE_FEATURES += "splash" diff --git a/recipes-core/images/qt5.inc b/recipes-core/images/qt5.inc index 4a54edcd2..433bdcd7f 100644 --- a/recipes-core/images/qt5.inc +++ b/recipes-core/images/qt5.inc @@ -35,6 +35,9 @@ QTWEBKIT ??= "\ qtwebkit \ qtwebkit-qmlplugins \ " + +inherit features_check + REQUIRED_DISTRO_FEATURES = "opengl" X11BASE = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11-base', '', d)}" diff --git a/recipes-core/images/yoe-simple-image.bb b/recipes-core/images/yoe-simple-image.bb index e36aac870..269cfcb7a 100644 --- a/recipes-core/images/yoe-simple-image.bb +++ b/recipes-core/images/yoe-simple-image.bb @@ -6,8 +6,6 @@ require updater.inc LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" -inherit features_check - IMAGE_FEATURES += "ssh-server-dropbear package-management hwcodecs" IMAGE_INSTALL += "\ From 535c48c372051175194ce829891ecb056bf49dcb Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 17 Jun 2020 15:16:50 -0700 Subject: [PATCH 197/211] yoe-simpleiot-image.bb: Do not inherit features_check Its unused Signed-off-by: Khem Raj --- recipes-core/images/yoe-simpleiot-image.bb | 2 -- 1 file changed, 2 deletions(-) diff --git a/recipes-core/images/yoe-simpleiot-image.bb b/recipes-core/images/yoe-simpleiot-image.bb index b7883f580..17e1605f0 100644 --- a/recipes-core/images/yoe-simpleiot-image.bb +++ b/recipes-core/images/yoe-simpleiot-image.bb @@ -6,8 +6,6 @@ require updater.inc LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" -inherit features_check - IMAGE_FEATURES += "ssh-server-dropbear" IMAGE_INSTALL += "\ From a2a23f0abf9624e7bbe6a857a6ea0e6a3bdc8a36 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 19 Jun 2020 10:46:41 -0700 Subject: [PATCH 198/211] elm: Delete Depend on meta-elm-binary instead Signed-off-by: Khem Raj --- recipes-siot/elm/elm_19.0.1.bb | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 recipes-siot/elm/elm_19.0.1.bb diff --git a/recipes-siot/elm/elm_19.0.1.bb b/recipes-siot/elm/elm_19.0.1.bb deleted file mode 100644 index 8028b3b90..000000000 --- a/recipes-siot/elm/elm_19.0.1.bb +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright (C) 2020 Cliff Brake -# Released under the MIT license (see COPYING.MIT for the terms) - -DESCRIPTION = "Elm Compiler" -SECTION = "devel" -LICENSE = "MIT" - -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" - -SRC_URI = "https://github.com/elm/compiler/releases/download/0.19.1/binary-for-linux-64-bit.gz" -SRC_URI[md5sum] = "9584db6d744bc3179538ca6f7b3e0ff1" -SRC_URI[sha256sum] = "e44af52bb27f725a973478e589d990a6428e115fe1bb14f03833134d6c0f155c" - -inherit bin_package - -S = "${WORKDIR}" - -do_install () { - install -D -m755 ${S}/binary-for-linux-64-bit ${D}${bindir}/elm -} - -INSANE_SKIP_${PN} += "already-stripped" -BBCLASSEXTEND = "native nativesdk" - -COMPATIBLE_HOST_class-target = "null" - From ccb0fbd047290bbf0c4d1f8a3bda210270d3a011 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 19 Jun 2020 10:47:04 -0700 Subject: [PATCH 199/211] simpleiot: Change dependency to elm-binary-native Signed-off-by: Khem Raj --- recipes-siot/simpleiot/simpleiot_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-siot/simpleiot/simpleiot_git.bb b/recipes-siot/simpleiot/simpleiot_git.bb index 78a3153be..cd848b0be 100644 --- a/recipes-siot/simpleiot/simpleiot_git.bb +++ b/recipes-siot/simpleiot/simpleiot_git.bb @@ -7,7 +7,7 @@ LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" SECTION = "apps" -DEPENDS = "go-native elm-native" +DEPENDS = "go-native elm-binary-native" inherit update-rc.d goarch From 31a72512885fb20ffddbacb776e39c507052881b Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 19 Jun 2020 10:48:00 -0700 Subject: [PATCH 200/211] meta-yoe: Add elm-binary-layer to Layer depends Signed-off-by: Khem Raj --- conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/layer.conf b/conf/layer.conf index 1c336ffcf..5621be048 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -8,7 +8,7 @@ BBFILE_COLLECTIONS += "meta-yoe" BBFILE_PATTERN_meta-yoe := "^${LAYERDIR}/" BBFILE_PRIORITY_meta-yoe = "99" LAYERSERIES_COMPAT_meta-yoe = "sumo thud warrior zeus dunfell" -LAYERDEPENDS_meta-yoe = "core" +LAYERDEPENDS_meta-yoe = "core elm-binary-layer" BBFILES_DYNAMIC += " \ qt4-layer:${LAYERDIR}/dynamic-layers/qt4-layer/*/*/*.bb \ From 3b7656fd780041b54401ce022ff0a156505a187a Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 19 Jun 2020 16:17:38 -0700 Subject: [PATCH 201/211] simpleiot: Update to latest Since it depends on npm for frontend builds add dependency on nodejs-native Signed-off-by: Khem Raj --- recipes-siot/simpleiot/simpleiot_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-siot/simpleiot/simpleiot_git.bb b/recipes-siot/simpleiot/simpleiot_git.bb index cd848b0be..94133af80 100644 --- a/recipes-siot/simpleiot/simpleiot_git.bb +++ b/recipes-siot/simpleiot/simpleiot_git.bb @@ -7,11 +7,11 @@ LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" SECTION = "apps" -DEPENDS = "go-native elm-binary-native" +DEPENDS = "go-native elm-binary-native nodejs-native" inherit update-rc.d goarch -SRCREV = "c48c5592d3182603754379219c7bdf4baa000ea3" +SRCREV = "398160f5d1c343b123ce52e5fd1e7a977c2a431b" PV = "1.0+git${SRCPV}" BRANCH ?= "master" @@ -37,7 +37,7 @@ do_compile() { export GOARCH=${TARGET_GOARCH} export PATH=${GOPATH}/bin:$PATH export GOFLAGS="-modcacherw" - source ./envsetup.sh + . ${S}/envsetup.sh # FIXME: get elm cache in ~/.elm moved to work-shared rm -rf frontend/elm-stuff siot_setup From bb1013a2df9e63d8705c32262512e32939ffac47 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 22 Jun 2020 16:12:06 -0700 Subject: [PATCH 202/211] simpleiot: Move to latest on master Fixes cross builds Signed-off-by: Khem Raj --- recipes-siot/simpleiot/simpleiot_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-siot/simpleiot/simpleiot_git.bb b/recipes-siot/simpleiot/simpleiot_git.bb index 94133af80..152de2672 100644 --- a/recipes-siot/simpleiot/simpleiot_git.bb +++ b/recipes-siot/simpleiot/simpleiot_git.bb @@ -11,8 +11,8 @@ DEPENDS = "go-native elm-binary-native nodejs-native" inherit update-rc.d goarch -SRCREV = "398160f5d1c343b123ce52e5fd1e7a977c2a431b" -PV = "1.0+git${SRCPV}" +SRCREV = "98fdb1f2c0bc9c303692ad1c092ba48146e77b08" +PV = "0.0.5+git${SRCPV}" BRANCH ?= "master" From 1c318959692ea9d6bd45ddc5819e0745a129b8c8 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 25 Jun 2020 13:02:37 -0700 Subject: [PATCH 203/211] simpleiot: Disable CGO on x86_64 Fixes Issue #76 Signed-off-by: Khem Raj --- recipes-siot/simpleiot/simpleiot_git.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-siot/simpleiot/simpleiot_git.bb b/recipes-siot/simpleiot/simpleiot_git.bb index 152de2672..d105d087b 100644 --- a/recipes-siot/simpleiot/simpleiot_git.bb +++ b/recipes-siot/simpleiot/simpleiot_git.bb @@ -23,6 +23,9 @@ S = "${WORKDIR}/git" GOPATH = "${TMPDIR}/work-shared/go" +CGO_ENABLED_x86-64 = "0" +export CGO_ENABLED + INITSCRIPT_NAME = "siot" INITSCRIPT_PARAMS = "start 99 5 . stop 20 6 ." From 510f8f87f78a416d22cf509f3c07c20b8bc9e8dc Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 7 Aug 2020 15:55:17 -0700 Subject: [PATCH 204/211] yoe: Remove webkitgtk from BBMASK We do not have meta-webkit Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 3 --- 1 file changed, 3 deletions(-) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index af2890a94..0584715b9 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -170,6 +170,3 @@ PNBLACKLIST[bigbuckbunny-720p] = "big and doesn't really need to be tested so mu PNBLACKLIST[tearsofsteel-1080p] = "big and doesn't really need to be tested so much" RDEPENDS_packagegroup-meta-multimedia_remove_pn-packagegroup-meta-multimedia = "bigbuckbunny-1080p bigbuckbunny-480p bigbuckbunny-720p tearsofsteel-1080p" PNBLACKLIST[build-appliance-image] = "tries to include whole downloads directory in /home/builder/poky :/" - -# mask out the old webkitgtk recipes from OE-core -BBMASK .= "recipes-sato/webkit/webkitgtk" From c19e4a7d026e45dd2284168c28c2b08cce487a8b Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 7 Aug 2020 15:56:52 -0700 Subject: [PATCH 205/211] kiosk: Drop wpewebkit from image Signed-off-by: Khem Raj --- recipes-core/images/kiosk.inc | 1 - 1 file changed, 1 deletion(-) diff --git a/recipes-core/images/kiosk.inc b/recipes-core/images/kiosk.inc index da3b3aa92..bd0aeac0c 100644 --- a/recipes-core/images/kiosk.inc +++ b/recipes-core/images/kiosk.inc @@ -9,5 +9,4 @@ CORE_IMAGE_BASE_INSTALL += " \ ${@bb.utils.contains('DISTRO_FEATURES', 'wayland x11', 'weston-xwayland', '', d)} \ ${@bb.utils.contains_any('DISTRO_FEATURES', 'wayland x11 opengl', 'cog', '', d)} \ gstreamer1.0-libav \ - wpewebkit \ " From c31e2948b907e9facba2a6f308a80baf2533fea1 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 7 Aug 2020 16:01:10 -0700 Subject: [PATCH 206/211] kiosk: Drop adding cog to image This is from meta-webkit which we dont use Signed-off-by: Khem Raj --- recipes-core/images/kiosk.inc | 1 - 1 file changed, 1 deletion(-) diff --git a/recipes-core/images/kiosk.inc b/recipes-core/images/kiosk.inc index bd0aeac0c..bb582a5fa 100644 --- a/recipes-core/images/kiosk.inc +++ b/recipes-core/images/kiosk.inc @@ -7,6 +7,5 @@ IMAGE_FEATURES += "splash" CORE_IMAGE_BASE_INSTALL += " \ ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'weston weston-init weston-examples', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'wayland x11', 'weston-xwayland', '', d)} \ - ${@bb.utils.contains_any('DISTRO_FEATURES', 'wayland x11 opengl', 'cog', '', d)} \ gstreamer1.0-libav \ " From 9e32b3691a18d1bd447447608543a5f5bc34edc2 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 4 Sep 2020 23:36:31 -0700 Subject: [PATCH 207/211] gitmodules: Remove meta-yoe It will be merged into top level yoedistro repo Signed-off-by: Khem Raj --- .gitmodules | 4 ---- sources/meta-yoe | 1 - 2 files changed, 5 deletions(-) delete mode 160000 sources/meta-yoe diff --git a/.gitmodules b/.gitmodules index 5441aff9e..62e4ce39c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -42,10 +42,6 @@ path = sources/meta-qcom url = https://github.com/YoeDistro/meta-qcom branch = master -[submodule "sources/meta-yoe"] - path = sources/meta-yoe - url = https://github.com/YoeDistro/meta-yoe - branch = master [submodule "sources/meta-riscv"] path = sources/meta-riscv url = https://github.com/YoeDistro/meta-riscv diff --git a/sources/meta-yoe b/sources/meta-yoe deleted file mode 160000 index d1d3c2630..000000000 --- a/sources/meta-yoe +++ /dev/null @@ -1 +0,0 @@ -Subproject commit d1d3c263060069332bd906e26bf85bc7206c264b From 4d552feba14f9df6993e0c08d6e6aa6500ac2b08 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 4 Sep 2020 23:39:29 -0700 Subject: [PATCH 208/211] Moved files to sources/meta-yoe Signed-off-by: Khem Raj --- README => sources/meta-yoe/README | 0 {classes => sources/meta-yoe/classes}/bec-image.bbclass | 0 {conf => sources/meta-yoe/conf}/distro/baremetal.inc | 0 {conf => sources/meta-yoe/conf}/distro/busyboxinit.inc | 0 {conf => sources/meta-yoe/conf}/distro/eglfs.inc | 0 {conf => sources/meta-yoe/conf}/distro/glibc.inc | 0 {conf => sources/meta-yoe/conf}/distro/musl.inc | 0 {conf => sources/meta-yoe/conf}/distro/newlib.inc | 0 {conf => sources/meta-yoe/conf}/distro/systemd.inc | 0 {conf => sources/meta-yoe/conf}/distro/sysvinit.inc | 0 {conf => sources/meta-yoe/conf}/distro/tiny.inc | 0 {conf => sources/meta-yoe/conf}/distro/wayland.inc | 0 {conf => sources/meta-yoe/conf}/distro/x11.inc | 0 {conf => sources/meta-yoe/conf}/distro/yoe-baremetal.inc | 0 .../meta-yoe/conf}/distro/yoe-glibc-busyboxinit-eglfs.inc | 0 .../meta-yoe/conf}/distro/yoe-glibc-busyboxinit-wayland.inc | 0 .../meta-yoe/conf}/distro/yoe-glibc-busyboxinit-x11.inc | 0 .../meta-yoe/conf}/distro/yoe-glibc-systemd-eglfs.inc | 0 .../meta-yoe/conf}/distro/yoe-glibc-systemd-wayland.inc | 0 {conf => sources/meta-yoe/conf}/distro/yoe-glibc-systemd-x11.inc | 0 .../meta-yoe/conf}/distro/yoe-glibc-sysvinit-eglfs.inc | 0 .../meta-yoe/conf}/distro/yoe-glibc-sysvinit-wayland.inc | 0 {conf => sources/meta-yoe/conf}/distro/yoe-glibc-sysvinit-x11.inc | 0 .../meta-yoe/conf}/distro/yoe-musl-busyboxinit-eglfs.inc | 0 .../meta-yoe/conf}/distro/yoe-musl-busyboxinit-wayland.inc | 0 .../meta-yoe/conf}/distro/yoe-musl-busyboxinit-x11.inc | 0 {conf => sources/meta-yoe/conf}/distro/yoe-musl-systemd-eglfs.inc | 0 .../meta-yoe/conf}/distro/yoe-musl-systemd-wayland.inc | 0 {conf => sources/meta-yoe/conf}/distro/yoe-musl-systemd-x11.inc | 0 .../meta-yoe/conf}/distro/yoe-musl-sysvinit-eglfs.inc | 0 .../meta-yoe/conf}/distro/yoe-musl-sysvinit-wayland.inc | 0 {conf => sources/meta-yoe/conf}/distro/yoe-musl-sysvinit-x11.inc | 0 {conf => sources/meta-yoe/conf}/distro/yoe-newlib.inc | 0 {conf => sources/meta-yoe/conf}/distro/yoe.conf | 0 {conf => sources/meta-yoe/conf}/distro/yoe.inc | 0 {conf => sources/meta-yoe/conf}/layer.conf | 0 .../meta-96boards/recipes-graphics/wayland/weston-init.bbappend | 0 .../recipes-graphics/wayland/weston-init/71-weston-drm.rules | 0 .../meta-ti/recipes-kernel/linux/linux-ti-staging/wireguard.cfg | 0 .../meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend | 0 .../dynamic-layers}/qt4-layer/recipes/lcd-test/lcd-test-qt_git.bb | 0 .../dynamic-layers}/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend | 0 .../swupdate/recipes-core/images/files/beaglebone/emmcsetup.lua | 0 .../swupdate/recipes-core/images/files/beaglebone/sw-description | 0 .../swupdate/recipes-core/images/files/emmcsetup.lua | 0 .../swupdate/recipes-core/images/files/raspberrypi3/emmcsetup.lua | 0 .../recipes-core/images/files/raspberrypi3/sw-description | 0 .../images/files/raspberrypi3/sw-description.embscript | 0 .../swupdate/recipes-core/images/files/sw-description | 0 .../swupdate/recipes-core/images/files/sw-description.embscript | 0 .../swupdate/recipes-core/images/yoe-simple-swupdate-image.bb | 0 .../recipes-support/swupdate/swupdate/beaglebone/09-swupdate-args | 0 .../swupdate/swupdate/beaglebone/10-remove-force-ro | 0 .../recipes-support/swupdate/swupdate/beaglebone/defconfig | 0 .../recipes-support/swupdate/swupdate/beaglebone/swupdate.cfg | 0 .../recipes-support/swupdate/swupdate/raspberrypi3/defconfig | 0 .../swupdate/recipes-support/swupdate/swupdate_%.bbappend | 0 .../recipes-browser/wpebackend-rdk/wpebackend-rdk_%.bbappend | 0 .../wpa-supplicant/wpa-supplicant/wpa_supplicant.conf-sane | 0 .../wpa-supplicant/wpa-supplicant_%.bbappend | 0 .../meta-yoe/recipes-core}/busybox/busybox/yoe_fragment.cfg | 0 .../meta-yoe/recipes-core}/busybox/busybox_%.bbappend | 0 .../meta-yoe/recipes-core}/canboat/canboat_1.3.0.bb | 0 .../0001-Avoid-multiple-definitions-of-StringBuffer-sbNew.patch | 0 .../recipes-core}/canboat/files/0001-Define-ANALYZEREXEC.patch | 0 .../files/0001-Do-not-use-root-user-group-during-install.patch | 0 .../canboat/files/0001-use-php-instead-of-php5.patch | 0 .../meta-yoe/recipes-core}/coreutils/coreutils_%.bbappend | 0 .../meta-yoe/recipes-core}/images/initramfs-image-splash.bb | 0 .../meta-yoe/recipes-core}/images/initramfs-image.bb | 0 {recipes-core => sources/meta-yoe/recipes-core}/images/kiosk.inc | 0 {recipes-core => sources/meta-yoe/recipes-core}/images/qt5.inc | 0 .../meta-yoe/recipes-core}/images/updater.inc | 0 .../meta-yoe/recipes-core}/images/yoe-debug-image.bb | 0 .../meta-yoe/recipes-core}/images/yoe-kiosk-image.bb | 0 .../meta-yoe/recipes-core}/images/yoe-qt5-image.bb | 0 .../meta-yoe/recipes-core}/images/yoe-release-image.bb | 0 .../meta-yoe/recipes-core}/images/yoe-sdk-image.bb | 0 .../meta-yoe/recipes-core}/images/yoe-simple-image.bb | 0 .../meta-yoe/recipes-core}/images/yoe-simpleiot-image.bb | 0 .../meta-yoe/recipes-core}/network-hotplug/files/network.rules | 0 .../meta-yoe/recipes-core}/network-hotplug/files/network@.service | 0 .../meta-yoe/recipes-core}/network-hotplug/network-hotplug.bb | 0 .../meta-yoe/recipes-core}/os-release/os-release.bbappend | 0 .../meta-yoe/recipes-core}/systemd/systemd/wired.network | 0 .../meta-yoe/recipes-core}/systemd/systemd/wireless.network | 0 .../meta-yoe/recipes-core}/systemd/systemd_%.bbappend | 0 .../meta-yoe/recipes-devtools}/mtd-utils/mtd-utils_%.bbappend | 0 .../recipes-kernel}/linux-backports/files/backports_config | 0 .../meta-yoe/recipes-kernel}/linux-backports/linux-backports.bb | 0 .../meta-yoe/recipes-siot}/simpleiot/simpleiot/siot | 0 .../meta-yoe/recipes-siot}/simpleiot/simpleiot_git.bb | 0 .../meta-yoe/recipes-support}/icu/icu/filter.json | 0 .../meta-yoe/recipes-support}/icu/icu_%.bbappend | 0 .../meta-yoe/recipes-support}/updater/files/imx6ul-var-dart/init | 0 .../recipes-support}/updater/files/imx6ul-var-dart/platform | 0 .../meta-yoe/recipes-support}/updater/files/init | 0 .../meta-yoe/recipes-support}/updater/files/platform | 0 .../recipes-support}/updater/files/sama5d27-som1-ek-sd/init | 0 .../recipes-support}/updater/files/sama5d27-som1-ek-sd/platform | 0 .../meta-yoe/recipes-support}/updater/updater_1.0.bb | 0 .../meta-yoe/recipes-test}/fs-stress-test/fs-stress-test_git.bb | 0 .../meta-yoe/recipes-test}/lcd-test/lcd-test_git.bb | 0 .../meta-yoe/recipes-test}/serial-test/serial-test_git.bb | 0 {wic => sources/meta-yoe/wic}/yoe-sdimage.wks | 0 105 files changed, 0 insertions(+), 0 deletions(-) rename README => sources/meta-yoe/README (100%) rename {classes => sources/meta-yoe/classes}/bec-image.bbclass (100%) rename {conf => sources/meta-yoe/conf}/distro/baremetal.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/busyboxinit.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/eglfs.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/glibc.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/musl.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/newlib.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/systemd.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/sysvinit.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/tiny.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/wayland.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/x11.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/yoe-baremetal.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/yoe-glibc-busyboxinit-eglfs.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/yoe-glibc-busyboxinit-wayland.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/yoe-glibc-busyboxinit-x11.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/yoe-glibc-systemd-eglfs.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/yoe-glibc-systemd-wayland.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/yoe-glibc-systemd-x11.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/yoe-glibc-sysvinit-eglfs.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/yoe-glibc-sysvinit-wayland.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/yoe-glibc-sysvinit-x11.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/yoe-musl-busyboxinit-eglfs.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/yoe-musl-busyboxinit-wayland.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/yoe-musl-busyboxinit-x11.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/yoe-musl-systemd-eglfs.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/yoe-musl-systemd-wayland.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/yoe-musl-systemd-x11.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/yoe-musl-sysvinit-eglfs.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/yoe-musl-sysvinit-wayland.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/yoe-musl-sysvinit-x11.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/yoe-newlib.inc (100%) rename {conf => sources/meta-yoe/conf}/distro/yoe.conf (100%) rename {conf => sources/meta-yoe/conf}/distro/yoe.inc (100%) rename {conf => sources/meta-yoe/conf}/layer.conf (100%) rename {dynamic-layers => sources/meta-yoe/dynamic-layers}/meta-96boards/recipes-graphics/wayland/weston-init.bbappend (100%) rename {dynamic-layers => sources/meta-yoe/dynamic-layers}/meta-96boards/recipes-graphics/wayland/weston-init/71-weston-drm.rules (100%) rename {dynamic-layers => sources/meta-yoe/dynamic-layers}/meta-ti/recipes-kernel/linux/linux-ti-staging/wireguard.cfg (100%) rename {dynamic-layers => sources/meta-yoe/dynamic-layers}/meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend (100%) rename {dynamic-layers => sources/meta-yoe/dynamic-layers}/qt4-layer/recipes/lcd-test/lcd-test-qt_git.bb (100%) rename {dynamic-layers => sources/meta-yoe/dynamic-layers}/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend (100%) rename {dynamic-layers => sources/meta-yoe/dynamic-layers}/swupdate/recipes-core/images/files/beaglebone/emmcsetup.lua (100%) rename {dynamic-layers => sources/meta-yoe/dynamic-layers}/swupdate/recipes-core/images/files/beaglebone/sw-description (100%) rename {dynamic-layers => sources/meta-yoe/dynamic-layers}/swupdate/recipes-core/images/files/emmcsetup.lua (100%) rename {dynamic-layers => sources/meta-yoe/dynamic-layers}/swupdate/recipes-core/images/files/raspberrypi3/emmcsetup.lua (100%) rename {dynamic-layers => sources/meta-yoe/dynamic-layers}/swupdate/recipes-core/images/files/raspberrypi3/sw-description (100%) rename {dynamic-layers => sources/meta-yoe/dynamic-layers}/swupdate/recipes-core/images/files/raspberrypi3/sw-description.embscript (100%) rename {dynamic-layers => sources/meta-yoe/dynamic-layers}/swupdate/recipes-core/images/files/sw-description (100%) rename {dynamic-layers => sources/meta-yoe/dynamic-layers}/swupdate/recipes-core/images/files/sw-description.embscript (100%) rename {dynamic-layers => sources/meta-yoe/dynamic-layers}/swupdate/recipes-core/images/yoe-simple-swupdate-image.bb (100%) rename {dynamic-layers => sources/meta-yoe/dynamic-layers}/swupdate/recipes-support/swupdate/swupdate/beaglebone/09-swupdate-args (100%) rename {dynamic-layers => sources/meta-yoe/dynamic-layers}/swupdate/recipes-support/swupdate/swupdate/beaglebone/10-remove-force-ro (100%) rename {dynamic-layers => sources/meta-yoe/dynamic-layers}/swupdate/recipes-support/swupdate/swupdate/beaglebone/defconfig (100%) rename {dynamic-layers => sources/meta-yoe/dynamic-layers}/swupdate/recipes-support/swupdate/swupdate/beaglebone/swupdate.cfg (100%) rename {dynamic-layers => sources/meta-yoe/dynamic-layers}/swupdate/recipes-support/swupdate/swupdate/raspberrypi3/defconfig (100%) rename {dynamic-layers => sources/meta-yoe/dynamic-layers}/swupdate/recipes-support/swupdate/swupdate_%.bbappend (100%) rename {dynamic-layers => sources/meta-yoe/dynamic-layers}/webkit/recipes-browser/wpebackend-rdk/wpebackend-rdk_%.bbappend (100%) rename {recipes-connectivity => sources/meta-yoe/recipes-connectivity}/wpa-supplicant/wpa-supplicant/wpa_supplicant.conf-sane (100%) rename {recipes-connectivity => sources/meta-yoe/recipes-connectivity}/wpa-supplicant/wpa-supplicant_%.bbappend (100%) rename {recipes-core => sources/meta-yoe/recipes-core}/busybox/busybox/yoe_fragment.cfg (100%) rename {recipes-core => sources/meta-yoe/recipes-core}/busybox/busybox_%.bbappend (100%) rename {recipes-core => sources/meta-yoe/recipes-core}/canboat/canboat_1.3.0.bb (100%) rename {recipes-core => sources/meta-yoe/recipes-core}/canboat/files/0001-Avoid-multiple-definitions-of-StringBuffer-sbNew.patch (100%) rename {recipes-core => sources/meta-yoe/recipes-core}/canboat/files/0001-Define-ANALYZEREXEC.patch (100%) rename {recipes-core => sources/meta-yoe/recipes-core}/canboat/files/0001-Do-not-use-root-user-group-during-install.patch (100%) rename {recipes-core => sources/meta-yoe/recipes-core}/canboat/files/0001-use-php-instead-of-php5.patch (100%) rename {recipes-core => sources/meta-yoe/recipes-core}/coreutils/coreutils_%.bbappend (100%) rename {recipes-core => sources/meta-yoe/recipes-core}/images/initramfs-image-splash.bb (100%) rename {recipes-core => sources/meta-yoe/recipes-core}/images/initramfs-image.bb (100%) rename {recipes-core => sources/meta-yoe/recipes-core}/images/kiosk.inc (100%) rename {recipes-core => sources/meta-yoe/recipes-core}/images/qt5.inc (100%) rename {recipes-core => sources/meta-yoe/recipes-core}/images/updater.inc (100%) rename {recipes-core => sources/meta-yoe/recipes-core}/images/yoe-debug-image.bb (100%) rename {recipes-core => sources/meta-yoe/recipes-core}/images/yoe-kiosk-image.bb (100%) rename {recipes-core => sources/meta-yoe/recipes-core}/images/yoe-qt5-image.bb (100%) rename {recipes-core => sources/meta-yoe/recipes-core}/images/yoe-release-image.bb (100%) rename {recipes-core => sources/meta-yoe/recipes-core}/images/yoe-sdk-image.bb (100%) rename {recipes-core => sources/meta-yoe/recipes-core}/images/yoe-simple-image.bb (100%) rename {recipes-core => sources/meta-yoe/recipes-core}/images/yoe-simpleiot-image.bb (100%) rename {recipes-core => sources/meta-yoe/recipes-core}/network-hotplug/files/network.rules (100%) rename {recipes-core => sources/meta-yoe/recipes-core}/network-hotplug/files/network@.service (100%) rename {recipes-core => sources/meta-yoe/recipes-core}/network-hotplug/network-hotplug.bb (100%) rename {recipes-core => sources/meta-yoe/recipes-core}/os-release/os-release.bbappend (100%) rename {recipes-core => sources/meta-yoe/recipes-core}/systemd/systemd/wired.network (100%) rename {recipes-core => sources/meta-yoe/recipes-core}/systemd/systemd/wireless.network (100%) rename {recipes-core => sources/meta-yoe/recipes-core}/systemd/systemd_%.bbappend (100%) rename {recipes-devtools => sources/meta-yoe/recipes-devtools}/mtd-utils/mtd-utils_%.bbappend (100%) rename {recipes-kernel => sources/meta-yoe/recipes-kernel}/linux-backports/files/backports_config (100%) rename {recipes-kernel => sources/meta-yoe/recipes-kernel}/linux-backports/linux-backports.bb (100%) rename {recipes-siot => sources/meta-yoe/recipes-siot}/simpleiot/simpleiot/siot (100%) rename {recipes-siot => sources/meta-yoe/recipes-siot}/simpleiot/simpleiot_git.bb (100%) rename {recipes-support => sources/meta-yoe/recipes-support}/icu/icu/filter.json (100%) rename {recipes-support => sources/meta-yoe/recipes-support}/icu/icu_%.bbappend (100%) rename {recipes-support => sources/meta-yoe/recipes-support}/updater/files/imx6ul-var-dart/init (100%) rename {recipes-support => sources/meta-yoe/recipes-support}/updater/files/imx6ul-var-dart/platform (100%) rename {recipes-support => sources/meta-yoe/recipes-support}/updater/files/init (100%) rename {recipes-support => sources/meta-yoe/recipes-support}/updater/files/platform (100%) rename {recipes-support => sources/meta-yoe/recipes-support}/updater/files/sama5d27-som1-ek-sd/init (100%) rename {recipes-support => sources/meta-yoe/recipes-support}/updater/files/sama5d27-som1-ek-sd/platform (100%) rename {recipes-support => sources/meta-yoe/recipes-support}/updater/updater_1.0.bb (100%) rename {recipes-test => sources/meta-yoe/recipes-test}/fs-stress-test/fs-stress-test_git.bb (100%) rename {recipes-test => sources/meta-yoe/recipes-test}/lcd-test/lcd-test_git.bb (100%) rename {recipes-test => sources/meta-yoe/recipes-test}/serial-test/serial-test_git.bb (100%) rename {wic => sources/meta-yoe/wic}/yoe-sdimage.wks (100%) diff --git a/README b/sources/meta-yoe/README similarity index 100% rename from README rename to sources/meta-yoe/README diff --git a/classes/bec-image.bbclass b/sources/meta-yoe/classes/bec-image.bbclass similarity index 100% rename from classes/bec-image.bbclass rename to sources/meta-yoe/classes/bec-image.bbclass diff --git a/conf/distro/baremetal.inc b/sources/meta-yoe/conf/distro/baremetal.inc similarity index 100% rename from conf/distro/baremetal.inc rename to sources/meta-yoe/conf/distro/baremetal.inc diff --git a/conf/distro/busyboxinit.inc b/sources/meta-yoe/conf/distro/busyboxinit.inc similarity index 100% rename from conf/distro/busyboxinit.inc rename to sources/meta-yoe/conf/distro/busyboxinit.inc diff --git a/conf/distro/eglfs.inc b/sources/meta-yoe/conf/distro/eglfs.inc similarity index 100% rename from conf/distro/eglfs.inc rename to sources/meta-yoe/conf/distro/eglfs.inc diff --git a/conf/distro/glibc.inc b/sources/meta-yoe/conf/distro/glibc.inc similarity index 100% rename from conf/distro/glibc.inc rename to sources/meta-yoe/conf/distro/glibc.inc diff --git a/conf/distro/musl.inc b/sources/meta-yoe/conf/distro/musl.inc similarity index 100% rename from conf/distro/musl.inc rename to sources/meta-yoe/conf/distro/musl.inc diff --git a/conf/distro/newlib.inc b/sources/meta-yoe/conf/distro/newlib.inc similarity index 100% rename from conf/distro/newlib.inc rename to sources/meta-yoe/conf/distro/newlib.inc diff --git a/conf/distro/systemd.inc b/sources/meta-yoe/conf/distro/systemd.inc similarity index 100% rename from conf/distro/systemd.inc rename to sources/meta-yoe/conf/distro/systemd.inc diff --git a/conf/distro/sysvinit.inc b/sources/meta-yoe/conf/distro/sysvinit.inc similarity index 100% rename from conf/distro/sysvinit.inc rename to sources/meta-yoe/conf/distro/sysvinit.inc diff --git a/conf/distro/tiny.inc b/sources/meta-yoe/conf/distro/tiny.inc similarity index 100% rename from conf/distro/tiny.inc rename to sources/meta-yoe/conf/distro/tiny.inc diff --git a/conf/distro/wayland.inc b/sources/meta-yoe/conf/distro/wayland.inc similarity index 100% rename from conf/distro/wayland.inc rename to sources/meta-yoe/conf/distro/wayland.inc diff --git a/conf/distro/x11.inc b/sources/meta-yoe/conf/distro/x11.inc similarity index 100% rename from conf/distro/x11.inc rename to sources/meta-yoe/conf/distro/x11.inc diff --git a/conf/distro/yoe-baremetal.inc b/sources/meta-yoe/conf/distro/yoe-baremetal.inc similarity index 100% rename from conf/distro/yoe-baremetal.inc rename to sources/meta-yoe/conf/distro/yoe-baremetal.inc diff --git a/conf/distro/yoe-glibc-busyboxinit-eglfs.inc b/sources/meta-yoe/conf/distro/yoe-glibc-busyboxinit-eglfs.inc similarity index 100% rename from conf/distro/yoe-glibc-busyboxinit-eglfs.inc rename to sources/meta-yoe/conf/distro/yoe-glibc-busyboxinit-eglfs.inc diff --git a/conf/distro/yoe-glibc-busyboxinit-wayland.inc b/sources/meta-yoe/conf/distro/yoe-glibc-busyboxinit-wayland.inc similarity index 100% rename from conf/distro/yoe-glibc-busyboxinit-wayland.inc rename to sources/meta-yoe/conf/distro/yoe-glibc-busyboxinit-wayland.inc diff --git a/conf/distro/yoe-glibc-busyboxinit-x11.inc b/sources/meta-yoe/conf/distro/yoe-glibc-busyboxinit-x11.inc similarity index 100% rename from conf/distro/yoe-glibc-busyboxinit-x11.inc rename to sources/meta-yoe/conf/distro/yoe-glibc-busyboxinit-x11.inc diff --git a/conf/distro/yoe-glibc-systemd-eglfs.inc b/sources/meta-yoe/conf/distro/yoe-glibc-systemd-eglfs.inc similarity index 100% rename from conf/distro/yoe-glibc-systemd-eglfs.inc rename to sources/meta-yoe/conf/distro/yoe-glibc-systemd-eglfs.inc diff --git a/conf/distro/yoe-glibc-systemd-wayland.inc b/sources/meta-yoe/conf/distro/yoe-glibc-systemd-wayland.inc similarity index 100% rename from conf/distro/yoe-glibc-systemd-wayland.inc rename to sources/meta-yoe/conf/distro/yoe-glibc-systemd-wayland.inc diff --git a/conf/distro/yoe-glibc-systemd-x11.inc b/sources/meta-yoe/conf/distro/yoe-glibc-systemd-x11.inc similarity index 100% rename from conf/distro/yoe-glibc-systemd-x11.inc rename to sources/meta-yoe/conf/distro/yoe-glibc-systemd-x11.inc diff --git a/conf/distro/yoe-glibc-sysvinit-eglfs.inc b/sources/meta-yoe/conf/distro/yoe-glibc-sysvinit-eglfs.inc similarity index 100% rename from conf/distro/yoe-glibc-sysvinit-eglfs.inc rename to sources/meta-yoe/conf/distro/yoe-glibc-sysvinit-eglfs.inc diff --git a/conf/distro/yoe-glibc-sysvinit-wayland.inc b/sources/meta-yoe/conf/distro/yoe-glibc-sysvinit-wayland.inc similarity index 100% rename from conf/distro/yoe-glibc-sysvinit-wayland.inc rename to sources/meta-yoe/conf/distro/yoe-glibc-sysvinit-wayland.inc diff --git a/conf/distro/yoe-glibc-sysvinit-x11.inc b/sources/meta-yoe/conf/distro/yoe-glibc-sysvinit-x11.inc similarity index 100% rename from conf/distro/yoe-glibc-sysvinit-x11.inc rename to sources/meta-yoe/conf/distro/yoe-glibc-sysvinit-x11.inc diff --git a/conf/distro/yoe-musl-busyboxinit-eglfs.inc b/sources/meta-yoe/conf/distro/yoe-musl-busyboxinit-eglfs.inc similarity index 100% rename from conf/distro/yoe-musl-busyboxinit-eglfs.inc rename to sources/meta-yoe/conf/distro/yoe-musl-busyboxinit-eglfs.inc diff --git a/conf/distro/yoe-musl-busyboxinit-wayland.inc b/sources/meta-yoe/conf/distro/yoe-musl-busyboxinit-wayland.inc similarity index 100% rename from conf/distro/yoe-musl-busyboxinit-wayland.inc rename to sources/meta-yoe/conf/distro/yoe-musl-busyboxinit-wayland.inc diff --git a/conf/distro/yoe-musl-busyboxinit-x11.inc b/sources/meta-yoe/conf/distro/yoe-musl-busyboxinit-x11.inc similarity index 100% rename from conf/distro/yoe-musl-busyboxinit-x11.inc rename to sources/meta-yoe/conf/distro/yoe-musl-busyboxinit-x11.inc diff --git a/conf/distro/yoe-musl-systemd-eglfs.inc b/sources/meta-yoe/conf/distro/yoe-musl-systemd-eglfs.inc similarity index 100% rename from conf/distro/yoe-musl-systemd-eglfs.inc rename to sources/meta-yoe/conf/distro/yoe-musl-systemd-eglfs.inc diff --git a/conf/distro/yoe-musl-systemd-wayland.inc b/sources/meta-yoe/conf/distro/yoe-musl-systemd-wayland.inc similarity index 100% rename from conf/distro/yoe-musl-systemd-wayland.inc rename to sources/meta-yoe/conf/distro/yoe-musl-systemd-wayland.inc diff --git a/conf/distro/yoe-musl-systemd-x11.inc b/sources/meta-yoe/conf/distro/yoe-musl-systemd-x11.inc similarity index 100% rename from conf/distro/yoe-musl-systemd-x11.inc rename to sources/meta-yoe/conf/distro/yoe-musl-systemd-x11.inc diff --git a/conf/distro/yoe-musl-sysvinit-eglfs.inc b/sources/meta-yoe/conf/distro/yoe-musl-sysvinit-eglfs.inc similarity index 100% rename from conf/distro/yoe-musl-sysvinit-eglfs.inc rename to sources/meta-yoe/conf/distro/yoe-musl-sysvinit-eglfs.inc diff --git a/conf/distro/yoe-musl-sysvinit-wayland.inc b/sources/meta-yoe/conf/distro/yoe-musl-sysvinit-wayland.inc similarity index 100% rename from conf/distro/yoe-musl-sysvinit-wayland.inc rename to sources/meta-yoe/conf/distro/yoe-musl-sysvinit-wayland.inc diff --git a/conf/distro/yoe-musl-sysvinit-x11.inc b/sources/meta-yoe/conf/distro/yoe-musl-sysvinit-x11.inc similarity index 100% rename from conf/distro/yoe-musl-sysvinit-x11.inc rename to sources/meta-yoe/conf/distro/yoe-musl-sysvinit-x11.inc diff --git a/conf/distro/yoe-newlib.inc b/sources/meta-yoe/conf/distro/yoe-newlib.inc similarity index 100% rename from conf/distro/yoe-newlib.inc rename to sources/meta-yoe/conf/distro/yoe-newlib.inc diff --git a/conf/distro/yoe.conf b/sources/meta-yoe/conf/distro/yoe.conf similarity index 100% rename from conf/distro/yoe.conf rename to sources/meta-yoe/conf/distro/yoe.conf diff --git a/conf/distro/yoe.inc b/sources/meta-yoe/conf/distro/yoe.inc similarity index 100% rename from conf/distro/yoe.inc rename to sources/meta-yoe/conf/distro/yoe.inc diff --git a/conf/layer.conf b/sources/meta-yoe/conf/layer.conf similarity index 100% rename from conf/layer.conf rename to sources/meta-yoe/conf/layer.conf diff --git a/dynamic-layers/meta-96boards/recipes-graphics/wayland/weston-init.bbappend b/sources/meta-yoe/dynamic-layers/meta-96boards/recipes-graphics/wayland/weston-init.bbappend similarity index 100% rename from dynamic-layers/meta-96boards/recipes-graphics/wayland/weston-init.bbappend rename to sources/meta-yoe/dynamic-layers/meta-96boards/recipes-graphics/wayland/weston-init.bbappend diff --git a/dynamic-layers/meta-96boards/recipes-graphics/wayland/weston-init/71-weston-drm.rules b/sources/meta-yoe/dynamic-layers/meta-96boards/recipes-graphics/wayland/weston-init/71-weston-drm.rules similarity index 100% rename from dynamic-layers/meta-96boards/recipes-graphics/wayland/weston-init/71-weston-drm.rules rename to sources/meta-yoe/dynamic-layers/meta-96boards/recipes-graphics/wayland/weston-init/71-weston-drm.rules diff --git a/dynamic-layers/meta-ti/recipes-kernel/linux/linux-ti-staging/wireguard.cfg b/sources/meta-yoe/dynamic-layers/meta-ti/recipes-kernel/linux/linux-ti-staging/wireguard.cfg similarity index 100% rename from dynamic-layers/meta-ti/recipes-kernel/linux/linux-ti-staging/wireguard.cfg rename to sources/meta-yoe/dynamic-layers/meta-ti/recipes-kernel/linux/linux-ti-staging/wireguard.cfg diff --git a/dynamic-layers/meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend b/sources/meta-yoe/dynamic-layers/meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend similarity index 100% rename from dynamic-layers/meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend rename to sources/meta-yoe/dynamic-layers/meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend diff --git a/dynamic-layers/qt4-layer/recipes/lcd-test/lcd-test-qt_git.bb b/sources/meta-yoe/dynamic-layers/qt4-layer/recipes/lcd-test/lcd-test-qt_git.bb similarity index 100% rename from dynamic-layers/qt4-layer/recipes/lcd-test/lcd-test-qt_git.bb rename to sources/meta-yoe/dynamic-layers/qt4-layer/recipes/lcd-test/lcd-test-qt_git.bb diff --git a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend b/sources/meta-yoe/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend similarity index 100% rename from dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend rename to sources/meta-yoe/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend diff --git a/dynamic-layers/swupdate/recipes-core/images/files/beaglebone/emmcsetup.lua b/sources/meta-yoe/dynamic-layers/swupdate/recipes-core/images/files/beaglebone/emmcsetup.lua similarity index 100% rename from dynamic-layers/swupdate/recipes-core/images/files/beaglebone/emmcsetup.lua rename to sources/meta-yoe/dynamic-layers/swupdate/recipes-core/images/files/beaglebone/emmcsetup.lua diff --git a/dynamic-layers/swupdate/recipes-core/images/files/beaglebone/sw-description b/sources/meta-yoe/dynamic-layers/swupdate/recipes-core/images/files/beaglebone/sw-description similarity index 100% rename from dynamic-layers/swupdate/recipes-core/images/files/beaglebone/sw-description rename to sources/meta-yoe/dynamic-layers/swupdate/recipes-core/images/files/beaglebone/sw-description diff --git a/dynamic-layers/swupdate/recipes-core/images/files/emmcsetup.lua b/sources/meta-yoe/dynamic-layers/swupdate/recipes-core/images/files/emmcsetup.lua similarity index 100% rename from dynamic-layers/swupdate/recipes-core/images/files/emmcsetup.lua rename to sources/meta-yoe/dynamic-layers/swupdate/recipes-core/images/files/emmcsetup.lua diff --git a/dynamic-layers/swupdate/recipes-core/images/files/raspberrypi3/emmcsetup.lua b/sources/meta-yoe/dynamic-layers/swupdate/recipes-core/images/files/raspberrypi3/emmcsetup.lua similarity index 100% rename from dynamic-layers/swupdate/recipes-core/images/files/raspberrypi3/emmcsetup.lua rename to sources/meta-yoe/dynamic-layers/swupdate/recipes-core/images/files/raspberrypi3/emmcsetup.lua diff --git a/dynamic-layers/swupdate/recipes-core/images/files/raspberrypi3/sw-description b/sources/meta-yoe/dynamic-layers/swupdate/recipes-core/images/files/raspberrypi3/sw-description similarity index 100% rename from dynamic-layers/swupdate/recipes-core/images/files/raspberrypi3/sw-description rename to sources/meta-yoe/dynamic-layers/swupdate/recipes-core/images/files/raspberrypi3/sw-description diff --git a/dynamic-layers/swupdate/recipes-core/images/files/raspberrypi3/sw-description.embscript b/sources/meta-yoe/dynamic-layers/swupdate/recipes-core/images/files/raspberrypi3/sw-description.embscript similarity index 100% rename from dynamic-layers/swupdate/recipes-core/images/files/raspberrypi3/sw-description.embscript rename to sources/meta-yoe/dynamic-layers/swupdate/recipes-core/images/files/raspberrypi3/sw-description.embscript diff --git a/dynamic-layers/swupdate/recipes-core/images/files/sw-description b/sources/meta-yoe/dynamic-layers/swupdate/recipes-core/images/files/sw-description similarity index 100% rename from dynamic-layers/swupdate/recipes-core/images/files/sw-description rename to sources/meta-yoe/dynamic-layers/swupdate/recipes-core/images/files/sw-description diff --git a/dynamic-layers/swupdate/recipes-core/images/files/sw-description.embscript b/sources/meta-yoe/dynamic-layers/swupdate/recipes-core/images/files/sw-description.embscript similarity index 100% rename from dynamic-layers/swupdate/recipes-core/images/files/sw-description.embscript rename to sources/meta-yoe/dynamic-layers/swupdate/recipes-core/images/files/sw-description.embscript diff --git a/dynamic-layers/swupdate/recipes-core/images/yoe-simple-swupdate-image.bb b/sources/meta-yoe/dynamic-layers/swupdate/recipes-core/images/yoe-simple-swupdate-image.bb similarity index 100% rename from dynamic-layers/swupdate/recipes-core/images/yoe-simple-swupdate-image.bb rename to sources/meta-yoe/dynamic-layers/swupdate/recipes-core/images/yoe-simple-swupdate-image.bb diff --git a/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/09-swupdate-args b/sources/meta-yoe/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/09-swupdate-args similarity index 100% rename from dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/09-swupdate-args rename to sources/meta-yoe/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/09-swupdate-args diff --git a/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/10-remove-force-ro b/sources/meta-yoe/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/10-remove-force-ro similarity index 100% rename from dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/10-remove-force-ro rename to sources/meta-yoe/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/10-remove-force-ro diff --git a/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/defconfig b/sources/meta-yoe/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/defconfig similarity index 100% rename from dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/defconfig rename to sources/meta-yoe/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/defconfig diff --git a/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/swupdate.cfg b/sources/meta-yoe/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/swupdate.cfg similarity index 100% rename from dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/swupdate.cfg rename to sources/meta-yoe/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/beaglebone/swupdate.cfg diff --git a/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/raspberrypi3/defconfig b/sources/meta-yoe/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/raspberrypi3/defconfig similarity index 100% rename from dynamic-layers/swupdate/recipes-support/swupdate/swupdate/raspberrypi3/defconfig rename to sources/meta-yoe/dynamic-layers/swupdate/recipes-support/swupdate/swupdate/raspberrypi3/defconfig diff --git a/dynamic-layers/swupdate/recipes-support/swupdate/swupdate_%.bbappend b/sources/meta-yoe/dynamic-layers/swupdate/recipes-support/swupdate/swupdate_%.bbappend similarity index 100% rename from dynamic-layers/swupdate/recipes-support/swupdate/swupdate_%.bbappend rename to sources/meta-yoe/dynamic-layers/swupdate/recipes-support/swupdate/swupdate_%.bbappend diff --git a/dynamic-layers/webkit/recipes-browser/wpebackend-rdk/wpebackend-rdk_%.bbappend b/sources/meta-yoe/dynamic-layers/webkit/recipes-browser/wpebackend-rdk/wpebackend-rdk_%.bbappend similarity index 100% rename from dynamic-layers/webkit/recipes-browser/wpebackend-rdk/wpebackend-rdk_%.bbappend rename to sources/meta-yoe/dynamic-layers/webkit/recipes-browser/wpebackend-rdk/wpebackend-rdk_%.bbappend diff --git a/recipes-connectivity/wpa-supplicant/wpa-supplicant/wpa_supplicant.conf-sane b/sources/meta-yoe/recipes-connectivity/wpa-supplicant/wpa-supplicant/wpa_supplicant.conf-sane similarity index 100% rename from recipes-connectivity/wpa-supplicant/wpa-supplicant/wpa_supplicant.conf-sane rename to sources/meta-yoe/recipes-connectivity/wpa-supplicant/wpa-supplicant/wpa_supplicant.conf-sane diff --git a/recipes-connectivity/wpa-supplicant/wpa-supplicant_%.bbappend b/sources/meta-yoe/recipes-connectivity/wpa-supplicant/wpa-supplicant_%.bbappend similarity index 100% rename from recipes-connectivity/wpa-supplicant/wpa-supplicant_%.bbappend rename to sources/meta-yoe/recipes-connectivity/wpa-supplicant/wpa-supplicant_%.bbappend diff --git a/recipes-core/busybox/busybox/yoe_fragment.cfg b/sources/meta-yoe/recipes-core/busybox/busybox/yoe_fragment.cfg similarity index 100% rename from recipes-core/busybox/busybox/yoe_fragment.cfg rename to sources/meta-yoe/recipes-core/busybox/busybox/yoe_fragment.cfg diff --git a/recipes-core/busybox/busybox_%.bbappend b/sources/meta-yoe/recipes-core/busybox/busybox_%.bbappend similarity index 100% rename from recipes-core/busybox/busybox_%.bbappend rename to sources/meta-yoe/recipes-core/busybox/busybox_%.bbappend diff --git a/recipes-core/canboat/canboat_1.3.0.bb b/sources/meta-yoe/recipes-core/canboat/canboat_1.3.0.bb similarity index 100% rename from recipes-core/canboat/canboat_1.3.0.bb rename to sources/meta-yoe/recipes-core/canboat/canboat_1.3.0.bb diff --git a/recipes-core/canboat/files/0001-Avoid-multiple-definitions-of-StringBuffer-sbNew.patch b/sources/meta-yoe/recipes-core/canboat/files/0001-Avoid-multiple-definitions-of-StringBuffer-sbNew.patch similarity index 100% rename from recipes-core/canboat/files/0001-Avoid-multiple-definitions-of-StringBuffer-sbNew.patch rename to sources/meta-yoe/recipes-core/canboat/files/0001-Avoid-multiple-definitions-of-StringBuffer-sbNew.patch diff --git a/recipes-core/canboat/files/0001-Define-ANALYZEREXEC.patch b/sources/meta-yoe/recipes-core/canboat/files/0001-Define-ANALYZEREXEC.patch similarity index 100% rename from recipes-core/canboat/files/0001-Define-ANALYZEREXEC.patch rename to sources/meta-yoe/recipes-core/canboat/files/0001-Define-ANALYZEREXEC.patch diff --git a/recipes-core/canboat/files/0001-Do-not-use-root-user-group-during-install.patch b/sources/meta-yoe/recipes-core/canboat/files/0001-Do-not-use-root-user-group-during-install.patch similarity index 100% rename from recipes-core/canboat/files/0001-Do-not-use-root-user-group-during-install.patch rename to sources/meta-yoe/recipes-core/canboat/files/0001-Do-not-use-root-user-group-during-install.patch diff --git a/recipes-core/canboat/files/0001-use-php-instead-of-php5.patch b/sources/meta-yoe/recipes-core/canboat/files/0001-use-php-instead-of-php5.patch similarity index 100% rename from recipes-core/canboat/files/0001-use-php-instead-of-php5.patch rename to sources/meta-yoe/recipes-core/canboat/files/0001-use-php-instead-of-php5.patch diff --git a/recipes-core/coreutils/coreutils_%.bbappend b/sources/meta-yoe/recipes-core/coreutils/coreutils_%.bbappend similarity index 100% rename from recipes-core/coreutils/coreutils_%.bbappend rename to sources/meta-yoe/recipes-core/coreutils/coreutils_%.bbappend diff --git a/recipes-core/images/initramfs-image-splash.bb b/sources/meta-yoe/recipes-core/images/initramfs-image-splash.bb similarity index 100% rename from recipes-core/images/initramfs-image-splash.bb rename to sources/meta-yoe/recipes-core/images/initramfs-image-splash.bb diff --git a/recipes-core/images/initramfs-image.bb b/sources/meta-yoe/recipes-core/images/initramfs-image.bb similarity index 100% rename from recipes-core/images/initramfs-image.bb rename to sources/meta-yoe/recipes-core/images/initramfs-image.bb diff --git a/recipes-core/images/kiosk.inc b/sources/meta-yoe/recipes-core/images/kiosk.inc similarity index 100% rename from recipes-core/images/kiosk.inc rename to sources/meta-yoe/recipes-core/images/kiosk.inc diff --git a/recipes-core/images/qt5.inc b/sources/meta-yoe/recipes-core/images/qt5.inc similarity index 100% rename from recipes-core/images/qt5.inc rename to sources/meta-yoe/recipes-core/images/qt5.inc diff --git a/recipes-core/images/updater.inc b/sources/meta-yoe/recipes-core/images/updater.inc similarity index 100% rename from recipes-core/images/updater.inc rename to sources/meta-yoe/recipes-core/images/updater.inc diff --git a/recipes-core/images/yoe-debug-image.bb b/sources/meta-yoe/recipes-core/images/yoe-debug-image.bb similarity index 100% rename from recipes-core/images/yoe-debug-image.bb rename to sources/meta-yoe/recipes-core/images/yoe-debug-image.bb diff --git a/recipes-core/images/yoe-kiosk-image.bb b/sources/meta-yoe/recipes-core/images/yoe-kiosk-image.bb similarity index 100% rename from recipes-core/images/yoe-kiosk-image.bb rename to sources/meta-yoe/recipes-core/images/yoe-kiosk-image.bb diff --git a/recipes-core/images/yoe-qt5-image.bb b/sources/meta-yoe/recipes-core/images/yoe-qt5-image.bb similarity index 100% rename from recipes-core/images/yoe-qt5-image.bb rename to sources/meta-yoe/recipes-core/images/yoe-qt5-image.bb diff --git a/recipes-core/images/yoe-release-image.bb b/sources/meta-yoe/recipes-core/images/yoe-release-image.bb similarity index 100% rename from recipes-core/images/yoe-release-image.bb rename to sources/meta-yoe/recipes-core/images/yoe-release-image.bb diff --git a/recipes-core/images/yoe-sdk-image.bb b/sources/meta-yoe/recipes-core/images/yoe-sdk-image.bb similarity index 100% rename from recipes-core/images/yoe-sdk-image.bb rename to sources/meta-yoe/recipes-core/images/yoe-sdk-image.bb diff --git a/recipes-core/images/yoe-simple-image.bb b/sources/meta-yoe/recipes-core/images/yoe-simple-image.bb similarity index 100% rename from recipes-core/images/yoe-simple-image.bb rename to sources/meta-yoe/recipes-core/images/yoe-simple-image.bb diff --git a/recipes-core/images/yoe-simpleiot-image.bb b/sources/meta-yoe/recipes-core/images/yoe-simpleiot-image.bb similarity index 100% rename from recipes-core/images/yoe-simpleiot-image.bb rename to sources/meta-yoe/recipes-core/images/yoe-simpleiot-image.bb diff --git a/recipes-core/network-hotplug/files/network.rules b/sources/meta-yoe/recipes-core/network-hotplug/files/network.rules similarity index 100% rename from recipes-core/network-hotplug/files/network.rules rename to sources/meta-yoe/recipes-core/network-hotplug/files/network.rules diff --git a/recipes-core/network-hotplug/files/network@.service b/sources/meta-yoe/recipes-core/network-hotplug/files/network@.service similarity index 100% rename from recipes-core/network-hotplug/files/network@.service rename to sources/meta-yoe/recipes-core/network-hotplug/files/network@.service diff --git a/recipes-core/network-hotplug/network-hotplug.bb b/sources/meta-yoe/recipes-core/network-hotplug/network-hotplug.bb similarity index 100% rename from recipes-core/network-hotplug/network-hotplug.bb rename to sources/meta-yoe/recipes-core/network-hotplug/network-hotplug.bb diff --git a/recipes-core/os-release/os-release.bbappend b/sources/meta-yoe/recipes-core/os-release/os-release.bbappend similarity index 100% rename from recipes-core/os-release/os-release.bbappend rename to sources/meta-yoe/recipes-core/os-release/os-release.bbappend diff --git a/recipes-core/systemd/systemd/wired.network b/sources/meta-yoe/recipes-core/systemd/systemd/wired.network similarity index 100% rename from recipes-core/systemd/systemd/wired.network rename to sources/meta-yoe/recipes-core/systemd/systemd/wired.network diff --git a/recipes-core/systemd/systemd/wireless.network b/sources/meta-yoe/recipes-core/systemd/systemd/wireless.network similarity index 100% rename from recipes-core/systemd/systemd/wireless.network rename to sources/meta-yoe/recipes-core/systemd/systemd/wireless.network diff --git a/recipes-core/systemd/systemd_%.bbappend b/sources/meta-yoe/recipes-core/systemd/systemd_%.bbappend similarity index 100% rename from recipes-core/systemd/systemd_%.bbappend rename to sources/meta-yoe/recipes-core/systemd/systemd_%.bbappend diff --git a/recipes-devtools/mtd-utils/mtd-utils_%.bbappend b/sources/meta-yoe/recipes-devtools/mtd-utils/mtd-utils_%.bbappend similarity index 100% rename from recipes-devtools/mtd-utils/mtd-utils_%.bbappend rename to sources/meta-yoe/recipes-devtools/mtd-utils/mtd-utils_%.bbappend diff --git a/recipes-kernel/linux-backports/files/backports_config b/sources/meta-yoe/recipes-kernel/linux-backports/files/backports_config similarity index 100% rename from recipes-kernel/linux-backports/files/backports_config rename to sources/meta-yoe/recipes-kernel/linux-backports/files/backports_config diff --git a/recipes-kernel/linux-backports/linux-backports.bb b/sources/meta-yoe/recipes-kernel/linux-backports/linux-backports.bb similarity index 100% rename from recipes-kernel/linux-backports/linux-backports.bb rename to sources/meta-yoe/recipes-kernel/linux-backports/linux-backports.bb diff --git a/recipes-siot/simpleiot/simpleiot/siot b/sources/meta-yoe/recipes-siot/simpleiot/simpleiot/siot similarity index 100% rename from recipes-siot/simpleiot/simpleiot/siot rename to sources/meta-yoe/recipes-siot/simpleiot/simpleiot/siot diff --git a/recipes-siot/simpleiot/simpleiot_git.bb b/sources/meta-yoe/recipes-siot/simpleiot/simpleiot_git.bb similarity index 100% rename from recipes-siot/simpleiot/simpleiot_git.bb rename to sources/meta-yoe/recipes-siot/simpleiot/simpleiot_git.bb diff --git a/recipes-support/icu/icu/filter.json b/sources/meta-yoe/recipes-support/icu/icu/filter.json similarity index 100% rename from recipes-support/icu/icu/filter.json rename to sources/meta-yoe/recipes-support/icu/icu/filter.json diff --git a/recipes-support/icu/icu_%.bbappend b/sources/meta-yoe/recipes-support/icu/icu_%.bbappend similarity index 100% rename from recipes-support/icu/icu_%.bbappend rename to sources/meta-yoe/recipes-support/icu/icu_%.bbappend diff --git a/recipes-support/updater/files/imx6ul-var-dart/init b/sources/meta-yoe/recipes-support/updater/files/imx6ul-var-dart/init similarity index 100% rename from recipes-support/updater/files/imx6ul-var-dart/init rename to sources/meta-yoe/recipes-support/updater/files/imx6ul-var-dart/init diff --git a/recipes-support/updater/files/imx6ul-var-dart/platform b/sources/meta-yoe/recipes-support/updater/files/imx6ul-var-dart/platform similarity index 100% rename from recipes-support/updater/files/imx6ul-var-dart/platform rename to sources/meta-yoe/recipes-support/updater/files/imx6ul-var-dart/platform diff --git a/recipes-support/updater/files/init b/sources/meta-yoe/recipes-support/updater/files/init similarity index 100% rename from recipes-support/updater/files/init rename to sources/meta-yoe/recipes-support/updater/files/init diff --git a/recipes-support/updater/files/platform b/sources/meta-yoe/recipes-support/updater/files/platform similarity index 100% rename from recipes-support/updater/files/platform rename to sources/meta-yoe/recipes-support/updater/files/platform diff --git a/recipes-support/updater/files/sama5d27-som1-ek-sd/init b/sources/meta-yoe/recipes-support/updater/files/sama5d27-som1-ek-sd/init similarity index 100% rename from recipes-support/updater/files/sama5d27-som1-ek-sd/init rename to sources/meta-yoe/recipes-support/updater/files/sama5d27-som1-ek-sd/init diff --git a/recipes-support/updater/files/sama5d27-som1-ek-sd/platform b/sources/meta-yoe/recipes-support/updater/files/sama5d27-som1-ek-sd/platform similarity index 100% rename from recipes-support/updater/files/sama5d27-som1-ek-sd/platform rename to sources/meta-yoe/recipes-support/updater/files/sama5d27-som1-ek-sd/platform diff --git a/recipes-support/updater/updater_1.0.bb b/sources/meta-yoe/recipes-support/updater/updater_1.0.bb similarity index 100% rename from recipes-support/updater/updater_1.0.bb rename to sources/meta-yoe/recipes-support/updater/updater_1.0.bb diff --git a/recipes-test/fs-stress-test/fs-stress-test_git.bb b/sources/meta-yoe/recipes-test/fs-stress-test/fs-stress-test_git.bb similarity index 100% rename from recipes-test/fs-stress-test/fs-stress-test_git.bb rename to sources/meta-yoe/recipes-test/fs-stress-test/fs-stress-test_git.bb diff --git a/recipes-test/lcd-test/lcd-test_git.bb b/sources/meta-yoe/recipes-test/lcd-test/lcd-test_git.bb similarity index 100% rename from recipes-test/lcd-test/lcd-test_git.bb rename to sources/meta-yoe/recipes-test/lcd-test/lcd-test_git.bb diff --git a/recipes-test/serial-test/serial-test_git.bb b/sources/meta-yoe/recipes-test/serial-test/serial-test_git.bb similarity index 100% rename from recipes-test/serial-test/serial-test_git.bb rename to sources/meta-yoe/recipes-test/serial-test/serial-test_git.bb diff --git a/wic/yoe-sdimage.wks b/sources/meta-yoe/wic/yoe-sdimage.wks similarity index 100% rename from wic/yoe-sdimage.wks rename to sources/meta-yoe/wic/yoe-sdimage.wks From f63e2de4366395fdcf93d6c36ecf1d6a32ead781 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 4 Sep 2020 23:41:44 -0700 Subject: [PATCH 209/211] Layer Updates: sources/bitbake sources/meta-arm sources/meta-freescale sources/meta-freescale-3rdparty sources/meta-intel sources/meta-openembedded sources/meta-qcom sources/meta-qt5 sources/meta-raspberrypi sources/meta-riscv sources/meta-rust sources/meta-ti sources/openembedded-core * sources/bitbake 14caa3d4...6059d0e7 (3): > process/knotty: Improve early exception handling > COW: migrate test suite into tests/cow > COW: formatting * sources/meta-arm 237c94f...8ddfd20 (14): > arm-bsp: use neoverse-n1 for N1SDP > arm-bsp: SGI575 should use A75 tuning > arm-bsp: ARMv8-2a: Add tuning files > arm-bsp: add cortexa73-cortexa35 tune > arm-autonomy/xen/gem5: Update EARLY_PRINTK support > gem5: Backport pointer authentication fixes > arm-autonomy/gem5-aarch64-native: Set CPU and disable pointer authentication > arm-autonomy: Introduce arm-autonomy-host DISTRO_FEATURES_NATIVE > arm-autonomy/xen,xen-tools: Remove sdl from PACKAGECONFIG for arm-autonomy-host > arm-autonomy/xen-devicetree: Update XEN_DEVICETREE_DOM0_BOOTARGS for N1SDP > arm-autonomy/xen-devicetree: Fixes and updates for N1SDP > arm-autonomy/xen-devicetree: Use a different sed delimiter character > arm-autonomy/xen: Update EARLY_PRINTK support and remove custom defconfigs > optee-examples: Respect LDFLAGS passed via environment * sources/meta-freescale 34131f21...b9002e4c (3): > imx8*: Drop unused IMAGE_BOOTLOADER > linux-fslc-imx: add mx8mn uuid patches from linux-5.8.y > imx-atf: fix build with -fno-common * sources/meta-freescale-3rdparty 83644f2...e2d8ca6 (1): > Drop unused IMAGE_BOOTLOADER variable * sources/meta-intel 9e9b9fd3...58ce85f0 (6): > intel-compute-runtime: add PACKAGECONFIG for level zero > level-zero: upgrade 0.91.10 -> 1.0 > intel-compute-runtime: upgrade 20.27.17231 -> 20.33.17675 > intel-graphics-compiler: upgrade 1.0.4241 -> 1.0.4756 > vc-intrinsics: add recipe > linux-intel-rt/5.4: update revision to include bug fixes * sources/meta-openembedded c32d2eb448...933b9d92d9 (102): > brotli: update to 1.0.9 > xmlsec1: do not use system libraries for non nss > gvfs: adjust fuse packageconfig to fuse3 > byacc: add nativesdk support > libencode-perl: upgrade 3.06 -> 3.07 > libdbd-sqlite-perl: upgrade 1.64 -> 1.66 > purple-skypeweb: upgrade 1.6 -> 1.7 > xscreensaver: Add HOMEPAGE > hwdata: Upgrade 0.336 -> 0.339 > nano: Upgrade 5.1 -> 5.2 > meta-perl-ptest-image: Depend on ptest DISTRO_FEATURE > meta-perl-image: Add packagegroup-meta-perl-extended > libdata-hexdump-perl: Use update alternatives for hexdump > po4a: Switch to github for SRC_URI as alioth one seems to be gone > packagegroup-meta-perl: Update to represent latest recipes > packagegroup-meta-multimedia: Remove projucer on musl > packagegroup-meta-oe: Remove log4cplus > packagegroup-meta-networking: Remove dhcpcd and kea > dhcpcd: pkg moved to core > kea: pkg moved to core > log4cplus: pkg moved to core > tmux: Add -p option to mkdir > fping: Upgrade 4.4 -> 5.0 > mosquitto: Upgrade 1.6.11 -> 1.6.12 > znc: Upgrade 1.7.5 -> 1.8.1 > python3-pillow: Upgrade 6.2.1 -> 7.2.0 > python3-flask-pymongo: Consolidate in a single file > python3-flask-mail: Consolidate in a single file > python3-flask-nav: Consolidate in a single file > python3-traitlets: Upgrade 4.3.3 -> 5.0.0 > python3-luma-core: Upgrade 1.16.0 -> 1.16.1 > python3-sentry-sdk: Upgrade 0.17.0 -> 0.17.1 > python3-hpack: Upgrade 3.0.0 -> 4.0.0 > python3-hpack: Consolidate in a single file > python3-ipython: Upgrade 7.17.0 -> 7.18.1 > python3-more-itertools: Upgrade 8.4.0 -> 8.5.0 > python3-prompt-toolkit: Upgrade 3.0.6 -> 3.0.7 > python3-parse: Upgrade 1.16.0 -> 1.17.0 > python3-paramiko: Upgrade 2.7.1 - 2.7.2 > python3-sh: Upgrade 1.13.1 -> 1.14.0 > python3-cmd2: Upgrade 1.3.5 -> 1.3.8 > python3-flask-user: Consolidate in a single file > python3-google-api-python-client: Upgrade 1.10.1 -> 1.11.0 > python3-cryptography-vectors: Upgrade 3.0 -> 3.1 > python3-luma-core: Upgrade 1.15.0 -> 1.16.0 > python3-ecdsa: Upgrade 0.15 -> 0.16.0 > python3-texttable: add recipe > toybox: Add packageconfigs for iconv and getconf > imapfilter: Fix linker flags > nss: remove signlibs.sh > mycroft: rdep on procps > packagegroup-meta-multimedia: Add new recipes > schroedinger: Update SRC_URI > openjpeg: fix CVE-2020-15389 > lua: fix CVE-2020-15945 > netkit-rwho: Convert to ontarget postinst > netkit-ftp: Use update-alternatives for ftp > netkit-rwho: Use update-alternatives for tftp > ssmtp: Use update alternatives for conflicts with esmtp > netkit-rpc: Use update alternatives for rpcinfo > quagga,pimd: Use update-alternatives for pimd > autossh: Depend on ssh instead of hardcoding openssh > bearssl: fix GNU_HASH link error > packagegroup-meta-networking: Add new packages > networkmanager: Depend on dhcpcd > packagegroup-meta-oe: Exclude from world builds > monkey: Correct the install path in init services > monkey: Remove /var/run > packagegroup-meta-webserver: Update to include new recipes > packagegroup-meta-filesystems: Update to add new recipes > properties-cpp: Add recipe > layer.conf: Fix for signature change for allarch icon themes > layer.conf: fixes icon-theme signature changes > php: Upgrade 7.4.4 -> 7.4.9 > net-snmp: upgrade 5.8 -> 5.9 > sharutils: Use update alternatives for uudecode/uuencode > imagemagick: Create symlinks for magick-script > uml-utilities: Use update alternatives for tunctl > lmbench: Use update alternatives for stream > paho-mqtt-c: upgrade 1.3.4 -> 1.3.5 > iperf3: upgrade 3.7 -> 3.9 > fio: upgrade 3.21 -> 3.22 > hexedit: Define update alternatives > sblim-sfcb: Fix target postinst > mutter: Add a comment to remove pipewire-0.2 dependency with 3.36 > ttf-liberation-sans-narrow: Do not install normal liberation fonts > libusbgx: Use update-alternatives > canutils: Use update-alternatives > mime-support: Use update-alternatives > packagegroup-meta-oe: Overhaul so it can build meta-oe-image > python3-flask-sqlalchemy: Upgrade 2.4.1 -> 2.4.4 > python3-flask-sqlalchemy: Consolidate in a single file > python3-flask-restful: Upgrade 0.3.7 -> 0.3.8 > python3-flask-restful: Consolidate in a single file > python3-flask-migrate: Upgrade 2.5.2 -> 2.5.3 > python3-flask-migrate: Consolidate in a single file > python3-flask-babel: Upgrade 1.0.0 -> 2.0.0 > python3-ntplib: Upgrade 0.3.3 -> 0.3.4 > python3-twitter: Upgrade 3.8.0 -> 3.9.0 > python3-cryptography: Upgrade 3.0 -> 3.1 > python3-google-api-python-client: Upgrade 1.10.0 -> 1.10.1 > python3-flask-socketio: Upgrade 4.2.1 -> 4.3.1 * sources/meta-qcom 35fb62e...8a8ae95 (5): > Merge pull request #181 from alimon/mesa_20.3 > Merge pull request #178 from lumag/fw-qcom-rb5 > Merge pull request #180 from alimon/venus_5.2 > Merge pull request #177 from lumag/armv8.2 > Merge pull request #179 from alimon/master * sources/meta-qt5 5144a99...23f78f7 (12): > libconnman-qt5: Fix build errors found wih clang-11 > qtwebengine: fix build with bison-3.7 > qt5: Link with -pthread for riscv64 > qt5-creator: rrecommend qtwebengine dev related packages > qt5-creator: Add cmake to RRECOMMENDS > qt5-creator: Make clang a PACKAGECONFIG - enabled for clang toolchain > qttools: Force build of native help-tools when clang is set in PACKAGECONFIG > qttools: Remove unused variables/configurations > libqofonoext: Add recipe > qt5-creator: Update to 4.13.0 beta2 > qt5-creator: Refresh musl patch > python3-pyqt5: Update to dev2008081558 snapshot * sources/meta-raspberrypi 968dcd3...a34a6d9 (4): > README: Mention Yoe distro in supported distro list > linux-raspberrypi_5.4.bb: Build ashmem and binder drivers > rpi-gpio: add -fcommon temporarily > linux-raspberrypi-5.4: backport a fix for perf build with -fno-common from gcc-10 * sources/meta-riscv 6ca7222...1faef0e (3): > qt5-layer: Remove Qt5 overides > Use https URLs to fetch repositories > mesa : Fix patch-fuzz waring message when build qemuriscv32 * sources/meta-rust 7f235b6...318fb46 (1): > Merge pull request #278 from srwalter/rust-1.46 * sources/meta-ti 5d82cb58...0fe2507c (4): > ti-rtos-firmware/metadata: update to 07.01.00.10 version > ti-sci-fw: upgrade 2020.07-rc2 -> 2020.07-rc3 > linux-ti-staging: Update to the tag 07.01.000.01 and rt kernel moves to 5.4.61 > u-boot-ti-staging: Update to tag 07.01.00.0001 * sources/openembedded-core 09f4db415f...404292b570 (60): > xserver-xorg: update 1.20.8 -> 1.20.9 > mesa: update 20.1.5 -> 20.1.6 > libx11: update 1.6.11 -> 1.6.12 > gnupg: update 2.2.21 -> 2.2.22 > libva-utils: fix upstream version check > nasm: update 2.15.03 -> 2.15.05 > gnu-config: update to latest revision > stress-ng: upgrade 0.11.18 -> 0.11.19 > resolvconf: upgrade 1.82 -> 1.83 > re2c: upgrade 2.0.2 -> 2.0.3 > pango: upgrade 1.46.0 -> 1.46.1 > p11-kit: upgrade 0.23.20 -> 0.23.21 > ninja: upgrade 1.10.0 -> 1.10.1 > msmtp: upgrade 1.8.11 -> 1.8.12 > libuv: upgrade 1.38.1 -> 1.39.0 > librepo: upgrade 1.12.0 -> 1.12.1 > libmpc: upgrade 1.1.0 -> 1.2.0 > harfbuzz: upgrade 2.7.1 -> 2.7.2 > enchant2: upgrade 2.2.8 -> 2.2.9 > debianutils: upgrade 4.11 -> 4.11.1 > libxcrypt: upgrade 4.4.16 -> 4.4.17 > cmake: upgrade 3.18.1 -> 3.18.2 > glib-2.0: update 2.64.4 -> 2.64.5 > package.bbclass: hash equivalency and pr service > kernel-yocto: only replace leading -I in include paths > linux-yocto/5.8: update to v5.8.5 > linux-libc-headers: kernel headers are installed in STAGING_KERNEL_BUILDDIR > iputils: Adapt ${PN}-tftpd package dependency to PACKAGECONFIG > iputils: upgrade s20190709 -> s20200821 > json-glib: Backport a build fix with clang > selftest/prservice: Improve test failure message > diffoscope: upgrade 156 -> 158 > bind: 9.11 remove > bind: Add 9.16.x > dhcp: remove from core > build-appliance/packagegroup-core-base-utils: Replace dhcp-client/dhcp-server with dhcpcd/kea > maintainers.inc: Add me as dhcpcd maintainer > dhcpcd: Move from meta-network as OE-Core needs a client > maintainers.inc: Add me as kea & log4plus maintainer. > kea: Move from meta-networking > log4cplus: move meta-oe pkg to core > devtool: deploy-target: Fix size calculation for hard links > insane: improve gnu-hash-style warning > insane: fix gnu-hash-style check > elfutils: silence a new QA warning > patchelf: upgrade 0.11 -> 0.12 > linux-yocto-dev: bump to v5.9+ > lttng-modules/devupstream: bump to latest 2.12 commits > sysvinit rc: Use PSPLASH_FIFO_DIR for progress fifo > oeqa: reproducible: Fix test not producing diffs > timezone: include leap second data in tzdata-core > lttng-tools: lttng-ust works on riscv64 > iw: upgrade 5.4 -> 5.8 > glib-networking: add ptest > oeqa: sdk: Capture stderr output > util-linux: Allow update alternatives for additional apps > recipes-kernel: linux-firmware add qcom-venus-{5.2,5.4} packages > wic: misc: Add /bin to the list of searchpaths > license_image.bbclass: Create symlink to the image license manifest dir > sysstat: fix installed-vs-shipped QA Issue in systemd Signed-off-by: Khem Raj --- sources/bitbake | 2 +- sources/meta-arm | 2 +- sources/meta-freescale | 2 +- sources/meta-freescale-3rdparty | 2 +- sources/meta-intel | 2 +- sources/meta-openembedded | 2 +- sources/meta-qcom | 2 +- sources/meta-qt5 | 2 +- sources/meta-raspberrypi | 2 +- sources/meta-riscv | 2 +- sources/meta-rust | 2 +- sources/meta-ti | 2 +- sources/openembedded-core | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/sources/bitbake b/sources/bitbake index 14caa3d4e..6059d0e77 160000 --- a/sources/bitbake +++ b/sources/bitbake @@ -1 +1 @@ -Subproject commit 14caa3d4e5615252b9453162183980044d896d2f +Subproject commit 6059d0e77f60ddb679049bd34478f41b1ab7995d diff --git a/sources/meta-arm b/sources/meta-arm index 237c94f5e..8ddfd20f7 160000 --- a/sources/meta-arm +++ b/sources/meta-arm @@ -1 +1 @@ -Subproject commit 237c94f5ef890bb21c3031afe8a9ea95ab85224b +Subproject commit 8ddfd20f79124678cab501a80e159c10cfd5f41f diff --git a/sources/meta-freescale b/sources/meta-freescale index 34131f21d..b9002e4ce 160000 --- a/sources/meta-freescale +++ b/sources/meta-freescale @@ -1 +1 @@ -Subproject commit 34131f21de826030d6fe3af4f25fb291a4b0fdb4 +Subproject commit b9002e4ce93915a353eb72d73d8fa3f9a8a08190 diff --git a/sources/meta-freescale-3rdparty b/sources/meta-freescale-3rdparty index 83644f2ea..e2d8ca601 160000 --- a/sources/meta-freescale-3rdparty +++ b/sources/meta-freescale-3rdparty @@ -1 +1 @@ -Subproject commit 83644f2ea000c1ab92fc0da1c45e2d7fb7a6060c +Subproject commit e2d8ca60114b4e854c804f941bced514b97c16a1 diff --git a/sources/meta-intel b/sources/meta-intel index 9e9b9fd33..58ce85f09 160000 --- a/sources/meta-intel +++ b/sources/meta-intel @@ -1 +1 @@ -Subproject commit 9e9b9fd332ab259db05578b0ae36b28a2fd8bd92 +Subproject commit 58ce85f09cf28636a809891b254754c041c987b4 diff --git a/sources/meta-openembedded b/sources/meta-openembedded index c32d2eb44..933b9d92d 160000 --- a/sources/meta-openembedded +++ b/sources/meta-openembedded @@ -1 +1 @@ -Subproject commit c32d2eb448ce343463dc75cc6120f395e32f0177 +Subproject commit 933b9d92d98f8664812896ae2f9db9935c239abb diff --git a/sources/meta-qcom b/sources/meta-qcom index 35fb62ec5..8a8ae95d5 160000 --- a/sources/meta-qcom +++ b/sources/meta-qcom @@ -1 +1 @@ -Subproject commit 35fb62ec5ca4b3ef1df28238348e466f2ec4dfd5 +Subproject commit 8a8ae95d542c81a89a57305ba419502ec13bd3fb diff --git a/sources/meta-qt5 b/sources/meta-qt5 index 5144a99a6..23f78f70d 160000 --- a/sources/meta-qt5 +++ b/sources/meta-qt5 @@ -1 +1 @@ -Subproject commit 5144a99a696a8a72c0765ea0e8be8ceafaa78f85 +Subproject commit 23f78f70d9aedddd09b581854368ab2af9f46b8c diff --git a/sources/meta-raspberrypi b/sources/meta-raspberrypi index 968dcd3f4..a34a6d9ea 160000 --- a/sources/meta-raspberrypi +++ b/sources/meta-raspberrypi @@ -1 +1 @@ -Subproject commit 968dcd3f40fe48c83867432afc1aab9a62cc108b +Subproject commit a34a6d9eaf375cf29c800a5a770cc449bf119a1d diff --git a/sources/meta-riscv b/sources/meta-riscv index 6ca7222f5..1faef0e15 160000 --- a/sources/meta-riscv +++ b/sources/meta-riscv @@ -1 +1 @@ -Subproject commit 6ca7222f59e9a030923530cbe30d94434d27a5f2 +Subproject commit 1faef0e153dac3b5d966c5fd200a8b96b227cf04 diff --git a/sources/meta-rust b/sources/meta-rust index 7f235b6f8..318fb4686 160000 --- a/sources/meta-rust +++ b/sources/meta-rust @@ -1 +1 @@ -Subproject commit 7f235b6f8973cc5269448375f2a8f9867bb2a369 +Subproject commit 318fb46863c0df5001f937bb4ca856491a493725 diff --git a/sources/meta-ti b/sources/meta-ti index 5d82cb589..0fe2507c0 160000 --- a/sources/meta-ti +++ b/sources/meta-ti @@ -1 +1 @@ -Subproject commit 5d82cb589f53c4bda665f772535ed896e21f686e +Subproject commit 0fe2507c0f655807519f18c5ac0c8dc6ec55bf30 diff --git a/sources/openembedded-core b/sources/openembedded-core index 09f4db415..404292b57 160000 --- a/sources/openembedded-core +++ b/sources/openembedded-core @@ -1 +1 @@ -Subproject commit 09f4db415fb6a1398e9e9b359630043c833f6118 +Subproject commit 404292b570a78895a1c7900eeb319e36e31dec20 From f1f0ee83fc111959c0ea8cfc1f72f910145a4993 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 4 Sep 2020 23:48:38 -0700 Subject: [PATCH 210/211] Update changelog Signed-off-by: Khem Raj --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 44a50a69d..de55da875 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,3 +27,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fix RPI X11 builds with Userland graphics - Update Vivante driver to 6.4.0.p2.0 based release - Add 5.4 android common kernel for meta-arm +- Add tune files for cortexa73-cortexa35/ARMv8-2a +- Fix meta-openembedded test images e.g. meta-oe-ptest-image +- Use glibc master for RISCV32 +- Move kea/dhcpcd from meta-openembedded to opemebedded-core +- Fix QT5 recipes with clang-11 +- Move meta-yoe into yoedistro repo From f7dc63a94929b56b735ec7efeb3b83bb20576b43 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 5 Sep 2020 00:07:03 -0700 Subject: [PATCH 211/211] yoe.inc: Bump release to 3.2.0-alpha codename beltex beltex is a nice sheep [1] Prepare to release 3.2.0-alpha [1] https://en.wikipedia.org/wiki/Beltex Signed-off-by: Khem Raj --- CHANGELOG.md | 2 +- sources/meta-yoe/conf/distro/yoe.inc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index de55da875..130d921b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## Unreleased -## [3.2.0-alpha] - 2020-08-10 +## [3.2.0-alpha] - 2020-09-05 - Dropped meta-webkit from default distro layers - Update glibc to 2.32 and binutils 2.35 major versions diff --git a/sources/meta-yoe/conf/distro/yoe.inc b/sources/meta-yoe/conf/distro/yoe.inc index 0584715b9..29f25a71e 100644 --- a/sources/meta-yoe/conf/distro/yoe.inc +++ b/sources/meta-yoe/conf/distro/yoe.inc @@ -6,8 +6,8 @@ MAINTAINER = "Yoe Distro Community " TARGET_VENDOR = "-yoe" SDK_VENDOR = "-yoesdk" # Distro version keep it up with Yocto release -DISTRO_VERSION = "3.1" -DISTRO_CODENAME = "argali" +DISTRO_VERSION = "3.2.0-alpha" +DISTRO_CODENAME = "beltex" SDK_VERSION := "${DISTRO_VERSION}" SDK_NAME_PREFIX = "yoe"