summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* image_types_wic: Move wic working directoryPaul Barker2021-01-201-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | By default the wic working directory is placed under the output directory. When invoking wic under bitbake, the wic output directory is added to PSEUDO_PATHS_IGNORE to avoid issues with files being removed from outside a pseudo environment (see oe-core commit ad8f5532ff). However, wic will copy the rootfs directory into its working directory if it needs to add or remove content before creating a filesystem image. This copy of the rootfs directory must be tracked by pseudo in order to keep the permissions correct in the resulting image. So we can't have the wic working directory under a path in PSEUDO_PATHS_IGNORE unless we like broken permissions. To fix this the new '-w' argument to wic is used to move the working directory away from the output directory. Note that wic deletes the temporary working directory automatically when it finishes creating an image so users won't normally see the 'tmp-wic' directory under WORKDIR. Fixes [Yocto #14129] (From OE-Core rev: 4d07169499c47fa9dc759e6f81843416a6dc25c5) Signed-off-by: Paul Barker <pbarker@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-git: upgrade 3.1.11 -> 3.1.12Anuj Mittal2021-01-201-1/+1
| | | | | | | (From OE-Core rev: 437f795cb1cb4d532ff90f82b819dee02ae0a0f7) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-importlib-metadata: upgrade 3.3.0 -> 3.4.0Anuj Mittal2021-01-201-1/+1
| | | | | | | (From OE-Core rev: eae5da8c0b331d39c91b6af2f990365615e0c294) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lighttpd: upgrade 1.4.57 -> 1.4.58Anuj Mittal2021-01-201-1/+1
| | | | | | | (From OE-Core rev: 4720e8f26f86a1d1fdc764309baa25b83d6d2483) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wget: upgrade 1.20.3 -> 1.21.1Anuj Mittal2021-01-202-8/+7
| | | | | | | (From OE-Core rev: 589bf1c8de9273e8c4bbc6a4468fb699d4deb176) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-mako: upgrade 1.1.3 -> 1.1.4Anuj Mittal2021-01-201-1/+1
| | | | | | | (From OE-Core rev: e93e2dd8e79842cf2a4d6b43befab16013eaab57) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lzip: upgrade 1.21 -> 1.22Anuj Mittal2021-01-201-3/+3
| | | | | | | | | License-Update: copyright years, formatting changes (From OE-Core rev: ef26799535f4ada60e35c7fe48cce959ba632c78) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* logrotate: upgrade 3.17.0 -> 3.18.0Anuj Mittal2021-01-201-1/+1
| | | | | | | (From OE-Core rev: 4efc2586a43a399c0f91a26d66a33ac47b8778e2) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygments: upgrade 2.7.3 -> 2.7.4Anuj Mittal2021-01-201-2/+2
| | | | | | | | | License-Update: change in copyright years (From OE-Core rev: a4c922785f658c5130ef60acd21f354050d20ea5) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcr: upgrade 3.38.0 -> 3.38.1Anuj Mittal2021-01-201-1/+1
| | | | | | | (From OE-Core rev: 3e515429df3c1728ffa69b1aba8e5350f5430f44) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vala: upgrade 0.50.2 -> 0.50.3Anuj Mittal2021-01-201-1/+1
| | | | | | | (From OE-Core rev: 9fbbfdd84f3576cf275c4d046066511cf8c97b2d) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: upgrade to latest revisionAnuj Mittal2021-01-202-26/+1
| | | | | | | (From OE-Core rev: 8d23a0d498d14cdac0eb353c362527dd2faf93cc) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mpg123: upgrade 1.26.3 -> 1.26.4Anuj Mittal2021-01-201-2/+2
| | | | | | | | | License-Update: Change in copyright years (From OE-Core rev: 3a070c2ebae0304818627be958fbecb60a3901a9) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 2.7.2 -> 2.7.4Anuj Mittal2021-01-204-156/+1
| | | | | | | | | | Remove backported patches and remove the introspection patch as that is no longer needed. (From OE-Core rev: 94bc7f8c2442f6627b001f1dd40c0023260b22e8) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-tools: upgrade 1.2.162.0 -> 1.2.162.1Anuj Mittal2021-01-201-1/+1
| | | | | | | (From OE-Core rev: c35f89f1f09a4c3aa0bcf91b63027c2d8bcd15fd) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* stress-ng: upgrade 0.12.00 -> 0.12.01Anuj Mittal2021-01-201-1/+1
| | | | | | | (From OE-Core rev: 6a5c1500889f1c13e8a66ab4524f7936a088f9ae) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libproxy: upgrade 0.4.15 -> 0.4.17Anuj Mittal2021-01-204-197/+2
| | | | | | | (From OE-Core rev: d7626175069ab113d23fb1cbb85e665984637972) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libepoxy: upgrade 1.5.4 -> 1.5.5Anuj Mittal2021-01-202-6/+6
| | | | | | | (From OE-Core rev: ef24da0af6fe2eab618e01a70093efba26a12557) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-ugly: upgrade 1.18.2 -> 1.18.3Anuj Mittal2021-01-201-1/+1
| | | | | | | (From OE-Core rev: 43613b1f58a646a952d28bfb29962d3cf28c4d78) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-devtools: upgrade 1.18.2 -> 1.18.3Anuj Mittal2021-01-201-1/+1
| | | | | | | (From OE-Core rev: 88ad4d3f5734db02b1da22f3c4a6025429698d7e) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-examples: upgrade 1.18.2 -> 1.18.3Anuj Mittal2021-01-201-1/+1
| | | | | | | (From OE-Core rev: 9c53521b15b1795a0c959bc20b21ded7e526ae87) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-vaapi: upgrade 1.18.2 -> 1.18.3Anuj Mittal2021-01-201-1/+1
| | | | | | | (From OE-Core rev: d7238bf3e5146f1caf573887c469bcb4e9a91a18) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-python: upgrade 1.18.2 -> 1.18.3Anuj Mittal2021-01-201-1/+1
| | | | | | | (From OE-Core rev: fe871c8ab6d48493be9beeb9a452faa2bf439f4e) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-rtsp-server: upgrade 1.18.2 -> 1.18.3Anuj Mittal2021-01-201-1/+1
| | | | | | | (From OE-Core rev: 5e77be6647e4235d0993206ba7dd8a80cec57bbf) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-omx: upgrade 1.18.2 -> 1.18.3Anuj Mittal2021-01-201-1/+1
| | | | | | | (From OE-Core rev: 9ee2d60c36caff1ccd5ece858ad036fcd33e6da0) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-libav: upgrade 1.18.2 -> 1.18.3Anuj Mittal2021-01-201-1/+1
| | | | | | | (From OE-Core rev: 331318c9804e745f1379b4192c748673ae05c5a0) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-bad: upgrade 1.18.2 -> 1.18.3Anuj Mittal2021-01-201-1/+1
| | | | | | | (From OE-Core rev: 9d74e4a471643e2c803e26296931e6827cae4660) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-good: upgrade 1.18.2 -> 1.18.3Anuj Mittal2021-01-201-1/+1
| | | | | | | (From OE-Core rev: 880d0236a6ff2fed68edd54cb7c6235ce67143ec) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-base: upgrade 1.18.2 -> 1.18.3Anuj Mittal2021-01-201-1/+1
| | | | | | | (From OE-Core rev: 2b676d165c798514008fdc159e346cfe0e228926) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0: upgrade 1.18.2 -> 1.18.3Anuj Mittal2021-01-201-1/+1
| | | | | | | (From OE-Core rev: 279d3837bc9c479523868ea1e6c75ecca04612ae) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* enchant2: upgrade 2.2.14 -> 2.2.15Anuj Mittal2021-01-201-1/+1
| | | | | | | (From OE-Core rev: a9a662c07026c18a3dbe0ca4050f1778cc9a741c) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bash: Add makefile race workaroundRichard Purdie2021-01-202-0/+53
| | | | | | | | | | | There is a race between two make invocations in 5.1. It has been reported upstream, in the meantime add a work around patch (which upstream may yet even apply). The autobuilder found two instances of this race in a single build. (From OE-Core rev: 62b8580cea567f2d9b7a900fc4302d6bc5a785b2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runtime_test.py: correct output check for bash 5.1Alexander Kanavin2021-01-201-1/+1
| | | | | | | | | | | | | Bash 5.1 inserts escape sequences into its output (specifically disabling bracketed paste mode via \x1b[?2004l). I am not sure if somehow terminal detection isn't working correctly there, but in any case the marker is still in the output, but needs to be checked by 'in' rather than exact equivalence. (From OE-Core rev: c25a1b16cc50e51ecf040c2c1db128e1dfceddec) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bash: Set HEREDOC_PIPESIZE deterministicallyRichard Purdie2021-01-201-0/+3
| | | | | | | | | | We had reproducibility issues where the pipe size appears to vary on some build hosts between 65535 and 4096. It should be the former on Linux in general so standarise on that. Easiest way is to pass in CFLAGS. (From OE-Core rev: 6de2152693c31ee1181e9eacc32b90dd63d4e0a9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bash: update 5.0 -> 5.1Alexander Kanavin2021-01-206-474/+106
| | | | | | | | [RP: Add aclocal support and patch m4 handling to adapt to OE] (From OE-Core rev: ab4406dfdbd5e21f6fff0865228ebf5da1274505) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/imagefeatures: adding fitImage initramfs bundle testcaseAbdellatif El Khlifi2021-01-201-0/+132
| | | | | | | | | | | | | | | | | | | | | | This commit provides a testcase for the initramfs bundle support implemented in kernel-fitimage.bbclass The testcase verifies the content of the initramfs bundle node in the FIT Image Tree Source (its). The testcase is self-contained and the configurations are set by the test case itself. To verify the initramfs bundle support, the testcase uses beaglebone-yocto machine. This testcase can be run through the following command: oe-selftest -r fitimage.FitImageTests.test_initramfs_bundle Change-Id: I8ab8abf2c150ea515fd439784eb20c6b092bfbc5 (From OE-Core rev: 1119d577756b386507f33669fe29dafb5579a1a7) Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel: skip installing fitImage when using Initramfs bundlesAbdellatif El Khlifi2021-01-201-1/+15
| | | | | | | | | | | | | | | | | | | | When including an initramfs bundle inside a FIT image, the fitImage is created after the install task by do_assemble_fitimage_initramfs. This happens after the generation of the initramfs bundle (done by do_bundle_initramfs). So, at the level of the install task we should not try to install the fitImage. The fitImage is still not generated yet. After the generation of the fitImage, the deploy task copies the fitImage from the build directory to the deploy folder. Change-Id: I3eaa6bba1412f388f710fa0f389f66631c1c4826 (From OE-Core rev: 1b67fd9ac74935fa41e960478c54e45422339138) Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-fitimage: adding support for Initramfs bundle and u-boot scriptAbdellatif El Khlifi2021-01-201-23/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds Initramfs bundle support to the FIT image in addition to u-boot boot script capability. These new features are selectable. In case of Initramfs, the kernel is configured to be bundled with the rootfs in the same binary (ie: zImage-initramfs-<machine>.bin). When the kernel is copied to RAM and executed, it unpacks the Initramfs rootfs. For more information about Initramfs please read: https://www.kernel.org/doc/Documentation/filesystems/ramfs-rootfs-initramfs.txt For more details about the Initramfs bundle and boot script implementation please check the kernel-fitimage.bbclass paragraph in Yocto reference or mega manual. Current limitations: - Initramfs bundle FIT support has been tested on ARM 32-bit - The kernel image type in case of ARM 32-bit is zImage Change-Id: I901bfd899e8d733c5b9a2b6645b1d4748f4b1fda (From OE-Core rev: 19fa415c8769a67b52babd80f71d68bf36a21db2) Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Fix do_compile error when enable ccacheRobert Yang2021-01-201-1/+5
| | | | | | | | | | | | | | Fixed: apt-pkg/libapt-pkg.so.5.0.2: undefined reference to `ZSTD_endStream' collect2: error: ld returned 1 exit status This is because ccache-native depends on zstd-native which makes apt wronly find it. Disable zstd for apt to fix the problem. (From OE-Core rev: 0aa7d612b8b7e5f14b4ed38f2a32b3f7eefca31c) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ccache.bbclass: Use ccache-native and disable ccache for native recipesRobert Yang2021-01-202-6/+7
| | | | | | | | | | | | Since host's ccache is not reliable, so disable ccache for native recipes and use ccache-native for other types of recipes. We need disable ccache for native recipes is because ccache-native now depends on cmake-native which causes circular dependencies, and it's not easy to break the circular. (From OE-Core rev: 631bbd4896882ba2acbe5bc85bc90ab7abc794ef) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "ccache.bbclass: use ccache from host distribution"Robert Yang2021-01-203-7/+6
| | | | | | | | | | | This reverts commit f5b29367af4d8e5daea5771264774aa49519f9a8. Will use ccache-native which is more reliable. (From OE-Core rev: 1b659623430e1a6e6dd266e65bab7ca8155a7138) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Backport patch to resolve i*86 tune configuration overridesNathan Rossi2021-01-203-114/+209
| | | | | | | | | | | Upstream has merged a change to handle detection of target overrides so that they are only applied as required. Backport this patch from upstream and remove the OE specific patch. (From OE-Core rev: d430f425e1a5725e93833a652e5c6988576f7347) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* appliance: Add VHD/VHDX generationSinan Kaya2021-01-201-1/+3
| | | | | | | | (From OE-Core rev: e21f0afbb8d88004aa33a181e09bb3e671983bb3) Signed-off-by: Sinan Kaya <okaya@kernel.org> Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/classes: Add supprot for WIC<>VHD/VHDX conversionSinan Kaya2021-01-202-3/+7
| | | | | | | | | (From OE-Core rev: b57b1615d965575deb0bf164b9873fe31a4d39b4) Signed-off-by: Sinan Kaya <okaya@kernel.org> Co-Developed-by: Anatol Belski <anbelski@linux.microsoft.com> Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* p11-kit: upgrade 0.23.21 -> 0.23.22Lee Chee Yang2021-01-201-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/p11-glue/p11-kit/releases/tag/0.23.22 Release notes: Fix memory-safety issues that affect the RPC protocol (CVE-2020-29361, CVE-2020-29362, and CVE-2020-29363), discovered and fixed by David Cook anchor: Prefer persistent format when storing anchor [#329] common: Fix infloop in p11_path_build [#326, #327] proxy: C_CloseAllSessions: Make sure that calloc args are non-zero [#325] common: Check for a NULL locale before freeing it [#321] Build and test fixes [#313, #315, #317, #318, #319, #323, #330, #333, #334, #335, #338, #339] https://github.com/p11-glue/p11-kit/commit/c4e75e10021ce86ab42682ea4936dce94ced2f77 patch to fix trailing newline using custom_target() caused error with DISTRO_FEATURES api-documentation due to meson bugs, enable manpages PACKAGECONFIG should prevent this error. | warning: failed to load external entity "../version.xml" | ../p11-kit-docs.xml:11: parser error : Failure to process entity version | <releaseinfo>for p11-kit &version;</releaseinfo> | ^ | ../p11-kit-docs.xml:11: parser error : Entity 'version' not defined | <releaseinfo>for p11-kit &version;</releaseinfo> | ^ | unable to parse ../p11-kit-docs.xml (From OE-Core rev: b112ba291835061640123c13784e2b33cc73f17d) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/ptest: print a warning if ptests failedAlexander Kanavin2021-01-201-0/+1
| | | | | | | | | | This allows spotting ptest regressions without having hard ptest failures (for that full ptest stability should be achieved). (From OE-Core rev: 79b54d902df2788b0822b6c9cc14705ab00e6a5b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* boost: drop arm-intrinsics.patchMans Rullgard2021-01-172-56/+1
| | | | | | | | | | This patch makes gcc produce broken code. It is unclear why it is there in the first place. Drop it. (From OE-Core rev: 5f3cace37496fe1dc4fd045f688f7d441505c437) Signed-off-by: Mans Rullgard <mans@mansr.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: Drop gcc7 related patchRichard Purdie2021-01-172-45/+0
| | | | | | | | We'd appear to be past the need for a gcc7 patch from 3 years ago now. (From OE-Core rev: 1ff0eb404819d259c411937bd12c82e04a5837ba) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: Upgrade 2.12.3->2.12.4Richard Purdie2021-01-178-1025/+1
| | | | | | | | Drop backported patches. (From OE-Core rev: ae69c941cb95470783dc33bec5b1ca9053133666) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* toolchain-shar-extract.sh: Handle special characters in script pathAndrey Mozzhuhin2021-01-171-6/+6
| | | | | | | | | | | | | Extracting SDK archive may fail if the script is run using a path with special characters such as space or asterisk. This is because the shell interprets such characters after expanding the $0 variable. Added quotes to all uses of the shell variable $0 to fix this. (From OE-Core rev: 0453acbbd45604537090ec7a3295b34309e6eecb) Signed-off-by: Andrey Mozzhuhin <amozzhuhin@yandex.ru> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>