summaryrefslogtreecommitdiff
path: root/meta/recipes-kernel
Commit message (Collapse)AuthorAgeFilesLines
* Revert "linux-yocto: Allow bbappend files to add to COMPATIBLE_MACHINE to ↵Richard Purdie2011-05-101-2/+1
| | | | | | | | fix errors" There are better ways to handle this problem. This reverts commit fe983dcff611df2a4fef0d094b130cdf04c0728d.
* linux-yocto: Allow bbappend files to add to COMPATIBLE_MACHINE to fix errorsRichard Purdie2011-05-101-1/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: error if meta data not presentBruce Ashfield2011-05-102-2/+4
| | | | | | | | | | | | | | | | | There are valid reasons to build repositories without meta data present and there are times when this is an error. This change adds sanity tests to the build process to detect missing meta data and throw an informative error message. Sanity checking is only triggered from recipes (linux-yocto) that always require meta data to be present. Other recipes are not impacted and can auto-generate meta data as required. Without this change the build process suceeds, but incorrect meta data will be used (with no user knowledge), which is not the desired behaviour. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto: remove non-core (qemu) machine compatibilityBruce Ashfield2011-05-102-19/+2
| | | | | | | | | | The machine configuration of the non-core (non-qemu) machines exists in other layers. Moving the branch mappings, compatibility and SRCREVs of these machines out of the main linux-yocto recipe is the first step in that move. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Acked-by: Darren Hart <dvhart@linux.intel.com>
* linux-libc-headers: add microblaze ARCH definitionAdrian Alonso2011-05-101-1/+2
| | | | | | | * Add Microblaze ARCH definition * Bump PR Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
* lttng-ust_0.12.bb: Fix compilation on uclibcKhem Raj2011-05-102-1/+53
| | | | | | | We provide alternative implementation of sched_getcpu() when compiling for uclibc Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-yocto: update SRCREVsBruce Ashfield2011-05-051-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the linux-yocto/2.6.37 SRCREVs to pickup: perf tool: Fix gcc 4.6.0 issues 1/1 [ Author: Kyle McMartin Email: kyle@mcmartin.ca Subject: perf tool: Fix gcc 4.6.0 issues Date: Thu, 5 May 2011 00:06:01 -0400 commit fb7d0b3cefb80a105f7fd26bbc62e0cbf9192822 upstream. GCC 4.6.0 in Fedora rawhide turned up some compile errors in tools/perf due to the -Werror=unused-but-set-variable flag. I've gone through and annotated some of the assignments that had side effects (ie: return value from a function) with the __used annotation, and in some cases, just removed unused code. In a few cases, we were assigning something useful, but not using it in later parts of the function. kyle@dreadnought:~/src% gcc --version gcc (GCC) 4.6.0 20110122 (Red Hat 4.6.0-0.3) Cc: Ingo Molnar <mingo@redhat.com> LKML-Reference: <20110124161304.GK27353@bombadil.infradead.org> Signed-off-by: Kyle McMartin <kyle@redhat.com> [ committer note: Fixed up the annotation fixes, as that code moved recently ] Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> [Backported to 2.6.38.2 by deleting unused but set variables] Signed-off-by: Thomas Meyer <thomas@m3y3r.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> [Backported to linux-yocto kernel git version] Signed-off-by: Khem Raj <raj.khem@gmail.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto: safely process unbranched repositoriesBruce Ashfield2011-05-051-1/+1
| | | | | | | | | | | The BSP bootstrap and -dev use cases can be applied against unbranched or repos without meta data. To allow the proper and safe processing of those repositories, slight modifications to the tools are required to pass the branch on the command line (rather than detecting it always) and to only checkout branches that exist. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto: apply meta data to external reposBruce Ashfield2011-05-051-1/+1
| | | | | | | | | | | To support quick uprev and testing, it is desireable to build repositories that do not have embedded meta data. In this scenario the meta data can be automatically created or provided externally. This commit supports the first situation by detecting the lack of meta data and then automatically creating a base set of meta files. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lttng-viewer: explicitly add linkage to lttvwindowDexuan Cui2011-05-052-4/+48
| | | | | | | | Fixes [YOCTO #412] Also update FILES_${PN}. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* Remove distro-specific metadata for distros not in oe-corePaul Eggleton2011-05-042-13/+1
| | | | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* Remove machine-specific metadata for machines no longer in oe-corePaul Eggleton2011-05-0414-73/+0
| | | | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* poky-default-revisions: move the SRCREV to recipe fileYu Ke2011-05-0412-0/+38
| | | | | | in this case, those non poky distro can also use these recipe normally Signed-off-by: Yu Ke <ke.yu@intel.com>
* linux-tools.inc: Dummify do_compile_perf and do_install_perf for uclibcKhem Raj2011-04-281-4/+13
| | | | | | | Perf wants elfutils and elfutils on uclibc does not work due to its usage of obstack_printf functionality missing from uclibc. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-tools.inc: turn off newt and dwarf for perfTom Zanussi2011-04-221-2/+2
| | | | | | | | Turn these off for now to avoid the host infection issues for perf. Fixes yocto [BUGID #994]. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* lttng-viewer: upgrade from 0.12.36 to the latest version 0.12.38Dexuan Cui2011-04-221-3/+3
| | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* lttng-ust: upgrade from 0.11 to the latest version 0.12Dexuan Cui2011-04-223-117/+28
| | | | | | | | Updated LIC_FILES_CHKSUM as a new Copyright holder was added. Removed the patch since 0.12 has integrated that. Added arm into COMPATIBLE_HOST as 0.12 can build on arm now. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* modutils-initscripts: fix wrong order of module loading happening in udevPetr Štetiar2011-04-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the current state, udev init script is loaded as 3rd and modutils.sh as 20th, so udevadm called in udev init script loads all kernel modules in some unpredictable order, not honoring in any way specified order of modules in /etc/modules. This causes some troubles mainly in the first boot. So to fix this we now move loading of the kernel modules just before we exec udev init script. Example of the current state: Starting udev rtc-m48t86 rtc-m48t86: rtc core: registered m48t86 as rtc0 rtc-m48t86 rtc-m48t86: battery ok ep93xx-rtc ep93xx-rtc: rtc core: registered ep93xx-rtc as rtc1 root@ts72xx:~# cat /etc/modules rtc-ep93xx ohci-hcd ts72xx_sbcinfo rtc-m48t86 As you can guess, this is really wrong behaviour, because I've rtc1 as the main time source for my system. root@ts72xx:~# cat /etc/default/hwclock HWCLOCKACCESS=yes HWCLOCKDEVICE=/dev/rtc1 Expected behaviour with this patch applied: Please wait: booting... ep93xx-rtc ep93xx-rtc: rtc core: registered ep93xx-rtc as rtc0 usbcore: registered new device driver usb ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver ... rtc-m48t86 rtc-m48t86: rtc core: registered m48t86 as rtc1 rtc-m48t86 rtc-m48t86: battery ok Starting udev Signed-off-by: Petr Štetiar <ynezz@true.cz> (based on http://patches.openembedded.org/patch/1917/) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* Fix git.pokylinux.org urls to git.yoctoproject.orgRichard Purdie2011-04-204-4/+4
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Replace POKYBASE with COREBASERichard Purdie2011-04-201-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-stable: Update repository urlRichard Purdie2011-04-191-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofileui: upgrade to latest git versionDexuan Cui2011-04-182-1/+3
| | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* linux-yocto/qemux86-64: enable profiling and latencyBruce Ashfield2011-03-311-4/+0
| | | | | | | | | | The configuration chunks for profiling and latency top have been enabled in tree now, so we can drop optional feature additions in the recipe itself. build tests show identical configurations. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* base/kernel/image.bbclass: Clean up do_deploy ordering to ensure it just ↵Richard Purdie2011-03-291-1/+1
| | | | | | happens before a build completes Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Various: Update KERNELORG_MIRROR for consistencyTom Rini2011-03-234-4/+4
| | | | | | | | In mirrors.bbclass we point into /pub but we don't in bitbake.conf. All uses of KERNELORG_MIRROR look into /pub anyhow, so lets make use of that. Signed-off-by: Tom Rini <tom_rini@mentor.com>
* Various: Switch to KERNELORG_MIRRORTom Rini2011-03-231-1/+1
| | | | Signed-off-by: Tom Rini <tom_rini@mentor.com>
* kernel/bbclass: rework kernel and module classes to allow for building ↵Darren Hart2011-03-211-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | out-of-tree modules The existing infrastructure uses an external build tree which references the kernel source in the work dir. If run with rm work, building external modules will fail. This patch places a configured source tree in sysroots. Striking a balance between minimal size and minimal maintenance is difficult. A fully configured tree is about 500MB after a clean. This version leans on the side of caution and removes only the obviously unecessary parts of the source tree to conserve space, resulting in about 170MB. The arch directories would be some additional pruning we could do. Given examples from the devel package from distributions, I suspect this size could be reduced to 75MB or so, but at the cost of a much more complex recipe which is likely to require a great deal more maintenance to keep current with kernel releases. Care is also taken to clean the hostprogs in scripts, and the modules are responsible for building them as needed. Although it is unclear to me if this is really necessary, especially considering that modules put these bits back as soon as they compile. If we are not generating an sstate package, I suspect we can ignore these. Please try this with your modules and let me know how it does. I tried to take non linux-yocto kernel recipes into account, but I have only tested with linux-yocto and the hello-mod recipe so far. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net> Acked-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofileui: upgrade to latest git version.Lianhao Lu2011-03-161-1/+1
| | | | | | [YOCTO #880] Upgrade to latest git version. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* qemux86-64: Enable latencytop and profiling (temporary)Darren Hart2011-03-151-0/+4
| | | | | | | | | | | | | Fixes [YOCTO #858] and [YOCTO #859] common-pc-64.scc in the linux-yocto meta data omits latencytop and profiling (but common-pc.scc includes them). The right fix is in common-pc-64.inc, but this fix gets people people unblocked until Bruce can commit the proper fix to linux-yocto. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Bruce Ashfield <bruce.ashfield@windriver.com> CC: Jessica Zhang <jessica.zhang@intel.com>
* oprofileui: upgrade to the latest version maintained by the Yocto projectDexuan Cui2011-03-103-11/+10
| | | | | | | | | | | | Oprofileui at http://labs.o-hand.com/oprofileui/ is not maintained now, so we should change SRC_URI to the one maintained by the Yocto project. This one includes new bugfixes. This fixes [YOCTO #820] [sgw: merged oprofile-git.inc back into .bb as suggested by Joshua] Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* hello-mod: add a module for testing module.bbclassDarren Hart2011-03-044-0/+402
| | | | | | | | | | | | | | The following patch creates a hello-mod recipe for building a trivial out-of-tree kernel module, hello-mod.ko. This demonstrates the hostprogs build modifications added to module.bbclass. When loaded and unloaded, the module prints a simple string to the console to demonstrate it was compiled correctly. Tested on qemux86 poky-image-sato and beagleboard poky-image-minimal (after adding hello-mod to the images). Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Gary Thomas <gary@mlbassoc.com>
* linux-libc-headers_2.6.37.2.bb: Add checksumsKhem Raj2011-03-021-0/+2
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update to 2.6.37.2Bruce Ashfield2011-03-011-2/+1
| | | | | | | | | | | | Fixes [BUGID: 773] This consolidated SRCREV update addresses the following items: - updates to 2.6.37.2 - updates the routerstation pro configuration for USB mass storage - merges the PERF no scripting patch into the kernel tree Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-libc-headers: Update to 2.6.37.2Richard Purdie2011-03-011-0/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: enable audio for selected qemu targetsBruce Ashfield2011-02-231-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes [BUGID #488 #734] Enable audio for qemux86/qemux86-64 via the following kernel configuration options. CONFIG_SOUND_OSS_CORE=y CONFIG_SOUND_OSS_CORE_PRECLAIM=y CONFIG_SND_RAWMIDI=m CONFIG_SND_SEQUENCER=y CONFIG_SND_OSSEMUL=y CONFIG_SND_MIXER_OSS=y CONFIG_SND_PCM_OSS=y CONFIG_SND_PCM_OSS_PLUGINS=y CONFIG_SND_SEQUENCER_OSS=y CONFIG_SND_RAWMIDI_SEQ=m CONFIG_SND_AC97_CODEC=m CONFIG_SND_ENS1370=m CONFIG_SND_INTEL8X0=m CONFIG_AC97_BUS=m The mechanism to trigger these options is in the form of an optional kernel feature that is only appended for qemux86 and qemux86-64, but is contained within the kernel tree. This allows several things: - the options to be available/shared for all boards - the options to be in tree - to not add the options to every board, which unecessarily bloats the default configuration. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux.inc: remove the obsolete linux.inc kernel recipe includeDarren Hart2011-02-211-95/+0
| | | | | | | | | | | | linux.inc was used by older kernel recipes which have now been removed from the core meta data. I references machines now only defined in meta-extras. The configure prepend mangles the kernel .config in non-intuitive ways and the install peroforms some odd boot image manipulation that is not used nor required by supported machines. The required functionality, such as defconfig setup, has already been moved to the kernel bbclass. Remove linux.inc to avoid confusion for new kernel recipe authors and clean up the kernel meta data. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* linux-2.6.33.2: remove linux-2.6.33.2 recipeDarren Hart2011-02-216-9397/+0
| | | | | | | | The one machine listed for this kernel recipe does not have a machine config. This recipe uses some older mechanism which are being phased out. Remove it to avoid confusion and clean up the kernel recipes metadata. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* linux-2.6.23: remove the linux-2.6.23 recipeDarren Hart2011-02-2116-18748/+0
| | | | | | | The machines supported by this recipe were either recently removed or simply not defined. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* conf/machine: Drop older machines with no recent updatesRichard Purdie2011-02-18475-3140930/+0
| | | | | | | | | These are all moving to meta-extras. Ideally in the future machines such as these will be maintained to topic specific layers as we move to a more layer oriented model. If this causes a problem for anyone please discuss it on the mailing list. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-viewer: Fix rootfs contructionMark Hatle2011-02-161-0/+1
| | | | | | | | | A required run-time library was leaking into the -dev package. This caused a large number of -dev packages to be included in the build. This library is now part of the base lttng-viewer split. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* linux-libc-headers-yocto: Added RPROVIDES.Lianhao Lu2011-02-161-1/+3
| | | | | | | | | | | | | | [BUGID #714] Added RPROVIDES_${PN}-dev and RPROVIDES_${PN}-dbg for linux-libc-headers-yocto to provides "linux-libc-headers-dev" and "linux-libc-headers-dbg" respectively. This resolved the dependency issue of libc6-dev depending upon linux-libc-headers-dev. Package linux-libc-headers-yocto-dev will be installed as linux-libc-headers-dev. Also bumped the PR. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* linux-libc-headers-yocto: disable device tree generationBruce Ashfield2011-02-151-0/+4
| | | | | | | | | | | | | | | | Fixes [BUGID #719] The common routines for handling a git based yocto kernel are included from the lib headers recipe to checkout the appropriate branch of the kernel for header generation. linux-yocto.inc includes device tree installation rules which typically apply to a kernel user of the include file, but do not apply to a simple header generation. The fix is to override the DTB variables in this recipe, which disable the device tree installation rules. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* recipes: pre/post actionsMark Hatle2011-02-121-1/+1
| | | | | | | | A number of the recipes did not properly label their pre and post actions, causing the actions to occur in all split packages. This was corrected by defaulting to _${PN} in most cases. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* lttng-control: Fix SRC_URL to point at lttng.orgSaul Wold2011-02-111-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* linux-dtb.inc: Fix package name to match PACKAGESRichard Purdie2011-02-111-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: fix ppc build by removing ppc specific time reading functionDexuan Cui2011-02-102-2/+89
| | | | | | | Here I introduced a patch from lttng mailing list to fix ppc build. See the patch for more details. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* linux.inc: don't overwrite an existing uImageDarren Hart2011-02-091-1/+1
| | | | | | If a valid uImage exists, don't overwrite it with Image. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* linux/u-boot: Update LICENSE fields to specify GPL versionRichard Purdie2011-02-091-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux: add LIC_FILES_CHKSUMIlya Yanok2011-02-091-0/+2
| | | | | | | | Linux is licensed under GPL so add appropriate LIC_FILES_CHKSUM to linux.inc file. Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: add LIC_FILES_CHKSUM to dtc-nativeBruce Ashfield2011-02-091-0/+3
| | | | | | | | | The new license processing rules error if dtc-native itself doesn't have license information. Previously only the .inc files contained this information, so we make a copy and leave the existing license info to be removed pending further review. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>