aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
AgeCommit message (Collapse)Author
2015-04-27linux-yocto/3.19: configuration updates and stable integrationBruce Ashfield
Bumping the linux-yocto 3.19 SRCREVs to integrate the 3.19.5 korg stable updates, as well as the following meta data changes: 205aca0c1241 meta: intel-common: Enable USB-based Bluetooth hardware b6a810e8e808 meta: features/bluetooth: add support for USB Bluetooth hardware 767f3fa34680 common-pc-drivers: Add CONFIG_EEPROM_AT24 e308b2c52519 intel-core*: Add Braswell soc support 8c1c74d5052b braswell: Add features/soc/braswell Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-27lttng-tools: Add extern qualifier to declarations in .h fileKhem Raj
This will ensure that compiler does not initialize the definitions in header files Change-Id: I1076201c667f96707c320a51a77d4a70e22df750 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-21cryptodev: 1.6 -> 1.7Robert Yang
* Remove 0002-In-the-3.13-rc1-Linux-kernel-the-INIT_COMPLETION-mac.patch since it was a backported patch. * Updated 0001-Add-the-compile-and-install-rules-for-cryptodev-test.patch. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-15linux-firmware: fix the mess of licensesJackie Huang
Each firmware has their own license, it was a kind of a mess to leave the license as Proprietary and we got a lot warnings like: WARNING: The license listed Firmware-atheros_firmware was not in the licenses collected for linux-firmware To fix this and make it more clear: - Fix some incorrect license names. - Add all license files into common-licenses in previous commit. - Add all licenses and their md5 values in alphabetical order. - Add pn-*-license to split up per firmware package and pn-license for others. - Re-order the codes for each split-out firmware as: LICENSE_*, FILES_*, RDEPENDS_* [YOCTO #7539] Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-15kmod: upgrade to 20Chen Qi
The following patches are rebased. -- Change-to-calling-bswap_-instead-of-htobe-and-be-toh.patch -- avoid_parallel_tests.patch The ptest part of kmod is removed because new version of kmod port all tests to use modules from module-playground instead of copying prebuilt modules to the repository. So, we cannot use ptest as before. Remove it so that kmod can build successfully. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-09kexec-tools: Add support for build with x32 ABI in x86_64Mariano Lopez
Add autoconf test for detect when build is x32 ABI this enables to test into purgatory Makefile to avoid use -mcmodel=large flag in CC. Add ELFCLASS read and syscall number into kexec, see patch. [YOCTO #7419] Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-29kernel-yocto: merge duplicate kernel_configme task definitionsRoss Burton
The kernel_configme task was added twice (once in the .bbclass, one in a .inc) with different ordering constraints. Change this to be just one definition in the bbclass with the stronger ordering constraints. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-29linux-yocto: add kern-tools-native to kernel_metadata dependsRoss Burton
The autobuilder failed like this: temp/run.do_kernel_metadata.25242: line 165: createme: command not found createme is provided by kern-tools-native. do_patch has a dependency on kern-tools-native, but do_kernel_metadata runs before do_patch. So move the dependency from do_patch to do_kernel_metadata, moving the statement from the .inc to the class so it's alongside the task definition. [ YOCTO #7531 ] Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-25lttng-modules: Update along 2.6 stable branchRichard Purdie
Resolve compile issues with latest 3.19 stable series kernels. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-24linux-yocto/3.19: fixes for Intel core warningsBruce Ashfield
Updating the 3.19 meta branch to include the following configuration change to deal with kernel configuration audit warnings: 9e70b482d377 romley: remove common video and media config items 8a4e096759ad intel-common: remove eg20t from common config c2f5ab15620c drm-cdvpvr: Add STAGING_MEDIA ac4693c1db39 media: Prefer modules(m) to yes(y) and update for 3.19 Kernel Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-24linux-yocto/3.14: integrate korg stable and meta data changesBruce Ashfield
Updating the 3.14 SRCREVs to import the v3.14.36 korg stable changes and configuration changes to the meta branch. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-24linux-yocto/3.19: configuration updates and stable importBruce Ashfield
Updating the 3.19 SRCREVs to pick up the korg 3.19.2 release, as well as the following meta data changes: ed82e1ac3196 features: soc: fix typo in baytrail.cfg 76bc151242d7 tiny.cfg: Enable BINFMT_SCRIPT Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-20systemtap: Fix build in x32 ABIAníbal Limón
Add a patch for fix printing of time_t value that is long long int in x32 ABI instead of long int. [YOCTO #7423] Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2015-03-20perf: add bash to RDEPENDSBruce Ashfield
perf has a dependency on bash in its utilities, which generate the following warning: WARNING: QA Issue: perf requires /bin/bash, but no providers in its RDEPENDS [file-rdeps] Since perf is not installed on extremely small systems, we just add bash to the RDEPENDS, rather than modifying scripts or removing content. [YOCTO: #7445] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-03-20linux-yocto/3.19: integrate korg -stable updateBruce Ashfield
Updating to the latest and greatest -stable release for the 3.19 series. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-03-20kern-tools: fix iterative configuration runsBruce Ashfield
When fixing a kernel configuration warning, it is often necessary to modify the kernel's meta-data and re-run the tools to update and re-audit the config. This implies that the patch, config and audit steps are run multiple times. The tools had a bug that would incorrectly restore old meta-data versus using updated configuration. Updating the kern-tools SRCREV to fix the issue. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-03-20trace-cmd: remove unnecessary 'protocol=git' from SRC_URIMaxin B. John
Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-03-16linux-yocto-rt: removed duplicated lineAlexandru.Vaduva
Seemed that the recipe contained redundant information. Signed-off-by: Alexandru.Vaduva <Alexandru.Vaduva@enea.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-03-16sysprof: fix arm big-endian build.Koen Kooi
Applying the existing ARM patch for armeb makes it work. Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-03-16Revert "blktrace: fix and enable parallel build"Robert Yang
This reverts commit 2d9763a1c8685e9bd3a6b0aa0995eec5112dc4a7. There are a few parallel issues: 1) ../rbtree.o: error adding symbols: Invalid operation collect2: error: ld returned 1 exit status Makefile:42: recipe for target 'btt' failed 2) git/blkiomon.c:216: undefined reference to `rb_insert_color' collect2: error: ld returned 1 exit status Makefile:27: recipe for target 'blkparse' failed 3) ld: rbtree.o: invalid string offset 128 >= 125 for section `.strtab' 4) btreplay.o: file not recognized: File truncated collect2: error: ld returned 1 exit status btreplay/btreplay.c:47:18: fatal error: list.h: No such file or directory Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-03-16lttng: Add tracing group when building lttng-toolsMehaffey, John
This prevents the "Warning: No tracing group detected" message from lttng when there is no group 'tracing' while using lttng on the target. Signed-off-by: John Mehaffey <mehaf@gedanken.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-03-16kernel-devsrc: fix file ownershipJonathan Liu
The file ownership needs to be explicitly set otherwise it inherits the user and group id of the build user. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-03-09systemtap: Upgrade to 2.7Saul Wold
This address issues with the 3.19 kernel and the number of patches to back port would be to great [YOCTO #7401] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-03-02kern-tools: improve patch application performanceBruce Ashfield
Update the SRCREV for the following incremental improvement in patch processing time: kgit-meta: skip patches on non-leaf nodes In a similar way as commit 0768d697 [kgit-meta: dont run kgit-s2q for non-leaf nodes], we can save even more processing time by not even analysing and linking patches if we aren't on the leaf node of the tree. This early exit can save nearly 95% of the time required to "patch" a tree when no changes are actually applied. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-02linux-yocto/3.14: OcteonIII supportBruce Ashfield
With these SRCREV updates, we add the following support to the kernel: The following has been verified with the branch sources: On 68xx: * SGMII, XAUI Packet IO interfaces. * PCIe devices * EHCI/OHCI USB driver On 78XX: * Ran LTP testsuite * SGMII, XAUI Packet IO interfaces * MMC driver (which covers GPIO interrupts in the driver) * PCIe devices * XHCI USB driver Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-02kernel-yocto: inhibit BSP description warnings for custom linux-yocto kernelsBruce Ashfield
We don't require that a yocto custom kernel + defconfig have a full BSP description (but of course it would be better if they did). Since this isn't a requirement, we shouldn't alarm users by generating a BSP description warning. To implement this, we add a bsp audit level flag (like the one that exists for kconfig audits), and only set it to activate in the versioned linux-yocto recipes. [YOCTO: #7370] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-02linux-yocto: fix qemux86-64 config warningBruce Ashfield
During the 3.19 update a 32 bit option in the 64 bit config was missed, which results in the option being dropped (and reported as a warning): Value requested for CONFIG_PCI_GOANY not in final ".config" Requested value: "CONFIG_PCI_GOANY=y" Actual value set: "" So we split the 32bit only drivers out of the common driver include and the problem goes away. [YOCTO: 7354] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-21lttng-tools: add PACKAGECONFIG for kmodRobert Yang
Fixed: lttng-tools-2.6.0: lttng-tools-ptest rdepends on libkmod, but it isn't a build dependency? [build-deps] lttng-tools-2.6.0: lttng-tools rdepends on libkmod, but it isn't a build dependency? [build-deps] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-21kexec-tools: fix build failure on aarch64_be architectureFathi Boudra
* refresh/cleanup the patch to apply cleanly on 2.0.9 * get rid of configure - it's autogenerated * configure.ac: use aarch64* wildcard Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-02-21kernelshark: Update to version 2.5.3Ben Shelton
Update to version 2.5.3 to match trace-cmd. Changes include: - Remove kernelshark-fix-syntax-error-of-shell.patch (the syntax error is no longer present in the new version). - Specify bindir_relative and libdir in EXTRA_OEMAKE as in the trace-cmd recipe so files get installed to the right place. Additionally, remove unnecessary EXTRA_OEMAKE options. - Fix up the do_install steps to remove the plugins directory; that directory now lives under /usr/lib. - Set NO_PYTHON=1 because building the ctracecmd Python module requires swig, which is not available in oe-core. Signed-off-by: Ben Shelton <ben.shelton@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-21trace-cmd: Update to version 2.5.3Ben Shelton
Updating adds new features including the very useful 'profile' option. Changes include: - Remove addldflags.patch (already upstream in the new version). - Remove make-docs-optional.patch (docs are built in a separate target in the new version). - Update SRC_URI, SRCREV, PR, and PV in the .inc file and don't override them in the recipe. - Fix a typo in LIC_FILES_CHECKSUM so 'endline' is properly defined. - Drop PR. Signed-off-by: Ben Shelton <ben.shelton@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-20linux-yocto: introduce 3.19 versioned recipesBruce Ashfield
Introducing the v3.19.x recipes for the validated linux-yocto kernel. Build, boot and sanity testing was performed on qemu for all major architectures. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-20linux-yocto: remove 3.10 and 3.17 recipesBruce Ashfield
In accordance with the kernel release criteria we support the latest mainline kernel + the last LSTI kernel + a development kernel. 3.19 will be introduced as the latest mainline, and 3.14 is the released LTSI kernel, which means that we remove the 3.10 and 3.17 variants. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-20linux-yocto: make kernel configuration audit user visibleBruce Ashfield
After a linux-yocto style kernel is configured, a kernel configuration audit is executed to detect common errors or issues with the config. This output used to be visible, but was made less obvious to not alarm users unnecessarily (since some configuration issues are acceptable). There are some classes of configuration issue that are worth being visible, and that is specified configuration values that do not make the final .config. These dropped options can result in any number of runtime failures, so flagging them at build time makes sense. The visibility of auditing is controlled by KCONF_AUDIT_LEVEL: 0: no reporting 1: report options that are specified, but not in the final config 2: report options that are not hardware related, but set by a BSP The default level is 1, with level 2 and above being for BSP development only. If these conditions are detected, warnings will be generated as follows: WARNING: [kernel config]: specified values did not make it into the kernel's final configuration: Value requested for CONFIG_SND_PCSP not in final ".config" Requested value: "CONFIG_SND_PCSP=y" Actual value set: "" or WARNING: [kernel config]: BSP specified non-hw configuration: CONFIG_BLOCK CONFIG_CFG80211_WEXT CONFIG_CORDIC CONFIG_CRC8 CONFIG_EFIVAR_FS CONFIG_EFI_PARTITION CONFIG_NET CONFIG_NETDEVICES CONFIG_PARTITION_ADVANCED CONFIG_WEXT_CORE CONFIG_WEXT_PROC CONFIG_WIRELESS At this point thse are only a warnings, since there needs to be time for layers and configuration fragments to be validated against this new check. [YOCTO: #6943] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-20linux-libc-headers: update to 3.19Bruce Ashfield
Updating the libc-headers now that the kernel has released. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-14meta: enable parallel build for several recipesRobert Yang
I used a for loop to build these packages more than 520 times, these recipes never failed. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-02-14blktrace: fix and enable parallel buildRobert Yang
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-02-14lttng-tools: 2.5.3 -> 2.6.0Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-14lttng-ust: 2.5.2 -> 2.6.0Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-14kexec-tools: 2.0.8 -> 2.0.9Richard Purdie
Adjust the patch since it was partially applied upstream (in a different form) but not completely since the ppc specific part was not applied. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-14cryptodev-module: Fix build on kernel v3.19Ricardo Ribalda Delgado
Kernel commit f938612dd97d481b8b5bf960c992ae577f081c17 removes the get_unused_fd_macro(). This patch replaces the macro with its output. | NOTE: make -j 8 KERNEL_DIR=/home/ricardo/curro/qtec/qt5022/build-qt5022-cesium/build/tmp/sysroots/qt5022/usr/src/kernel PREFIX=/home/ricardo/curro/qtec/qt5022/build-qt5022-cesium/build/tmp/work/qt5022-poky-linux/cryptodev-module/1.6-r0/image KERNEL_PATH=/home/ricardo/curro/qtec/qt5022/build-qt5022-cesium/build/tmp/sysroots/qt5022/usr/src/kernel KERNEL_SRC=/home/ricardo/curro/qtec/qt5022/build-qt5022-cesium/build/tmp/sysroots/qt5022/usr/src/kernel KERNEL_VERSION=3.19.0-qtec-standard CC=x86_64-poky-linux-gcc LD=x86_64-poky-linux-ld.bfd AR=x86_64-poky-linux-ar | make -C /home/ricardo/curro/qtec/qt5022/build-qt5022-cesium/build/tmp/sysroots/qt5022/usr/src/kernel SUBDIRS=`pwd` modules | make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. | make[1]: Entering directory '/home/ricardo/curro/qtec/qt5022/build-qt5022-cesium/build/tmp/sysroots/qt5022/usr/src/kernel' | CC [M] /home/ricardo/curro/qtec/qt5022/build-qt5022-cesium/build/tmp/work/qt5022-poky-linux/cryptodev-module/1.6-r0/cryptodev-linux-1.6/ioctl.o | /home/ricardo/curro/qtec/qt5022/build-qt5022-cesium/build/tmp/work/qt5022-poky-linux/cryptodev-module/1.6-r0/cryptodev-linux-1.6/ioctl.c: In function 'clonefd': | /home/ricardo/curro/qtec/qt5022/build-qt5022-cesium/build/tmp/work/qt5022-poky-linux/cryptodev-module/1.6-r0/cryptodev-linux-1.6/ioctl.c:532:2: error: implicit declaration of function 'get_unused_fd' [-Werror=implicit-function-declaration] | ret = get_unused_fd(); | ^ Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-02-14kern-tools: fix patch application error (preempt-rt)Bruce Ashfield
Updating the SRCREV to import the following kern-tools patch: kgit-meta: always clear series file on branch transitions This was triggered by the patch optimization changes, that no longer run do_patch if a leaf/final branch is not being processed. Without this change, invalid patches, or already applied patches in an existig series file will be re-used which leads to missing files, or patch errors. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-02-08linux-yocto/3.14: fix qemumips build errorBruce Ashfield
The merge of the 3.14 -stable series triggered a build failure in the 32 bit mips builds. Updating the SRCREVs to import the fix for the issue. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-08kern-tools: import patch performance improvementsBruce Ashfield
Updating the SRCREV for the following commits: 4822d22b65c2 kgit-meta: dont run kgit-s2q for non-leaf nodes 3e3de1b9cdec createme: remove meta branch checks With these, we save 10 seconds on the average patch phase, and significantly more if very long patch queues are used. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-08linux-yocto-dev: update to v3.19+Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-08lttng: update to 2.6.0-stableBruce Ashfield
To fix build issues against the v3.19 kernel, we can safely update to the lttng 2.6 stable branches. This allows us to drop two backported patches that are already part of this update. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-08linux-yocto: basic octeon III supportBruce Ashfield
Importing the following commits to add basic octeon III support to the 3.14 linux-yocto kernel: 1e0bbd1dd68e MIPS:OCTEON: More OCTEONIII support f51a5843ee2d MIPS: Octeon: CVMSEG LM loads may cause dcache parity errors 58bcba842781 MIPS: Octeon: Implement the core-16057 workaround ba5a219685e8 MIPS Override assembler ISA for kernel FPU instruction. 7759a0511965 MIPS donot build fast TLB refill handler with 32-bit kernels. 3f51e46ff641 MIPS Add minimal support for OCTEON3 to c-r4k.c bbde024d903a MIPS Add function get ebase cpunum 9f18310679cb MIPS OCTEON Enable use of FPU d24496ee8fc8 MIPS OCTEON Add OCTEON3 to get cpu type Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-08linux-yocto/3.17: update to v3.17.8Bruce Ashfield
Updating to the latest korg stable version. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-08linux-yocto/3.10: update to v3.10.65Bruce Ashfield
Integrating the latest korg -stable updates for 3.10 LTSI. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-08linux-yocto/3.14: update to 3.14.29Bruce Ashfield
Updating to the latest korg -stable release for 3.14. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>