aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux
AgeCommit message (Collapse)Author
2011-02-23linux-yocto: enable audio for selected qemu targetsBruce Ashfield
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>
2011-02-21linux.inc: remove the obsolete linux.inc kernel recipe includeDarren Hart
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>
2011-02-21linux-2.6.33.2: remove linux-2.6.33.2 recipeDarren Hart
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>
2011-02-21linux-2.6.23: remove the linux-2.6.23 recipeDarren Hart
The machines supported by this recipe were either recently removed or simply not defined. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-02-18conf/machine: Drop older machines with no recent updatesRichard Purdie
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>
2011-02-11linux-dtb.inc: Fix package name to match PACKAGESRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-09linux.inc: don't overwrite an existing uImageDarren Hart
If a valid uImage exists, don't overwrite it with Image. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-02-09linux/u-boot: Update LICENSE fields to specify GPL versionRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-09linux: add LIC_FILES_CHKSUMIlya Yanok
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>
2011-02-09linux: factor dts/dtc/dtb handling into a specific includeBruce Ashfield
Fixes [BUGID #610] The powerpc linux-yocto kernels were not creating dtb images in the deploy directories. This was due to two problems: - the dtb generation rules were not being configured - the boards were not specifying a device tree in their config This change addresses the first point by factoring out the dtb generation routines into a new include that can be used by multiple recipes. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-02-09linux-yocto: streamline BSP bootstrappingBruce Ashfield
In order to build BSPs that were not already integrated into the upstream linux yocto kernel AND keep the git fetcher happy, some fairly complex anonymous python sections were required. These sections cause problems with variable expansion and SRCREV processing. With the updated git fetcher code, we can streamline the BSP boostrapping process and drop 99% of the anonymous python code. This commit has the following changes to support BSP boot strapping and simplication for existing BSPs. - KMETA is set per-recipe rather than in python code - undefined machines are no longer used, but instead common branch names are set per-recipe - fallback machine SRCREVs are present in the default revisions file - A new variable YOCTO_KERNEL_EXTERNAL_BRANCH should be set in the local.conf for new BSPs instead of being programatically determined in the anonymous python. - No more explicity KMACHINE variable expansion and manipulation, since the tools and build phases no longer require it due to the per-recipe fallbacks. Integrated/merged BSPs are unaffected by the changes and have been regression tested. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> foo Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-02-08linux-yocto-stable: Fix meta branch nameRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-03beagleboard: set kernel provider to linux-yocto (2.6.37)Darren Hart
Support has been added for basic Beagleboard xM functionality, including networking, to the linux-yocto kernel repository. Tested on the Beagleboard xM. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-02-03linux-yocto: BSP updatesBruce Ashfield
Updating for the sugarbay and beagleboard BSPs. To make the sugbay inhert common-pc-64 generic config/changes/fixes it has been branched in the kernel as yocto/standard/common-pc-64/sugarbar, as a result, we'll bump the common-pc-64 to be yocto/standard/common-pc-64/base. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-02-02linux-yocto-stable: Update SRC_URI after fetcher changesRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-02linux-yocto/linux-libc-headers-yocto: Adjust to git fetcher improvementsRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-01linux-yocto: export kernel configuration audit to the consoleBruce Ashfield
Fixes [BUGID #692] Previously the information dumped by the kernel configuration audit scripts was only placed in log files. This isn't as useful as it could be, since they are rarely checked. This change takes the output from kconf_check and explicitly displays it to the user. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-01-28linux_2.6.33.2: Add LIC_FILES_CHKSUMSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-01-24Drop remaining bootcdx86 references, the -live images for qemux86 and ↵Richard Purdie
atom-pc replace this Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-20linux-igep: Add required LIC_FILES_CHKSUMGary Thomas
[sgw@linux.intel.com: added linux-igep to synopsis] Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-01-20linux-dummy: add license and LIC_FILES_CHKSUMIlya Yanok
This package fails to build because of missing LIC_FILES_CHKSUM option. This patch adds GPL and LIC_FILES_CHKSUM to this recipe. Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-01-14linux-yocto: hard-code NO_LIBPERL/NO_LIBPYTHONTom Zanussi
ExtUtils::Embed ccopts is getting the host's -I/usr/local/include and using it to compile perf, which results in a compilation error that started appearing just recently. This turns the code that makes use of ExtUtils::Embed off and simply hard-codes NO_LIBPERL. It does the same for LIBPYTHON while we're at it, since it probably suffers from a similar underlying problem and just by chance hasn't broken anything yet. This will be re-enabled after I familiarize myself with the perf recipe and am able to create a proper fix. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-01-12linux-yocto: add routerstation pro and mpc8315e-rdb supportBruce Ashfield
The routerstation pro and mpc8315e-rdb have been validated on 2.6.37 so we can switch their preference to linux-yocto and update the machine compatibility to add them to the support list. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-01-06recpies: use SRCPV instead of SRCREV for PVYu Ke
SRCPV is intended being used by PV, some recipes still use SRCREV for PV, which is not correct. This patch fix all the misusage. Signed-off-by: Yu Ke <ke.yu@intel.com>
2010-12-30linux-tools.inc: Userspace tools should be compiled with the userspace ↵Richard Purdie
compiler, not the kernel one Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-12-23linux-yocto: Fix branch name on behalf of Bruce after recent renamingRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-12-23linux-yocto: Add LIC_FILES_CHKSUMSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-12-23linux-yocto-stable: fix qemux86 branch nameBruce Ashfield
The mapping of qemu to kernel branch name for the stable kernel had a small leak from the devel kernel. Nothing broke since qemux86 prefers the 2.6.37 kernel and this was hidden. This fixes the mapping for anyone who does want a 2.6.34 based qemux86 kernel. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-12-21linux-yocto: remove or adjust to _ in branch namesBruce Ashfield
The existing 2.6.34 kernel tree uses _ where poky typically uses -. This is a historical artifact, since working with gnu Make and shells means avoiding - is wise. The opposite is true in Yocto. To avoid using the _ reserved character wherever possible we can simply remove it from the branch names in the new 2.6.37 kernel, but to keep the content stable in the 0.9 2.6.34 kernel, we map _ to - for the purposes of packaging. To further faciliate this switch, the branch names no longer need to be shortened in the KMACHINE mappings, but can be fully specified and the tools/processing adapt as required. This gives us the flexibility to map multiple boards to a single branch for building. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-12-13linux-yocto: fix machine compatibilityBruce Ashfield
During the last phase of the recipe factoring, the board compatibility lists ended up in the wrong place, which meant we had an incomplete list of boards, and the same set of boards for both kernels (stable and devel). To fix this, I've yanked the compatibility to the recipes themselves and updated the emenlow to have a -stable bbappend. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-12-10yocto-kernel: factor common routes, update to 2.6.37 and branch renamingBruce Ashfield
In order to extend and create more kernel recipes based on the supported yocto kernel common routines need to be placed in re-usable blocks. To accomplish this meta/recipes-kernel/linux/linux-yocto_git.bb is broken into three parts: - meta/classes/kernel-yocto.bbclass: contains common routines for checking out and configuring a yocto kernel git repository. This should be inherited by recipes that need this functionality. - meta/recipes-kernel/linux/linux-yocto.inc: Contains the machine mappings, compatibility, build directives and common task definitions for a yocto kernel based recipe. This inherits kernel-yocto, and is the typical point of entry for other recipes. - meta/recipes-kernel/linux/linuux-tools.inc: tasks and function definitions for kernel recipes that want to build/export perf It also updates the linux-yocto recipe to default to 2.6.37. As part of the update to 2.6.37 the branch naming and conventions have been modified to show inheritance, and be more generic. For example: master meta yocto/base yocto/standard/arm_versatile_926ejs yocto/standard/base yocto/standard/beagleboard yocto/standard/common_pc/atom-pc yocto/standard/common_pc/base yocto/standard/common_pc_64 yocto/standard/fsl-mpc8315e-rdb yocto/standard/intel_atom_z530 yocto/standard/intel_core_qm57_pch yocto/standard/mti_malta32_be yocto/standard/preempt_rt/base yocto/standard/preempt_rt/common_pc yocto/standard/preempt_rt/common_pc_64 yocto/standard/preempt_rt/intel_atom_z530 yocto/standard/preempt_rt/intel_core_qm57_pch yocto/standard/qemu_ppc32 yocto/standard/routerstationpro In this structure: master: tracks the mainline kernel meta: meta information for the BSPs and kernel features yocto/base: baseline kernel branch yocto/standard/base: 'standard' kernel, contains features and configs for all BSPs yocto/standard/<machine>: represents a BSP with specific features or configurations The tools, tree and libc-headers have all been updated to deal with this new structure. Also in addition to dealing with the new structure, they continue to work with the existing tree and will adapt at runtime to the differences. The linux-yocto-stable_git.bb recipe continues to build the 2.6.34 based tree,and linux-yocto_git.bb builds 2.6.37. As boards are enabled for the new kernel they will move from -stable to the development kernel. As of now, only the emulated targets have moved to 2.6.37-rcX Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-11-18linux-wrs: rename to linux-yoctoBruce Ashfield
The existing preferred yocto kernel wasn't named appropriately and needs to be updated. In keeping the changes small and isolated, this commit simply renames the recipe and some internal variables. Future commits will refactor the code into more usable blocks. Now that linuy-wrs has been renamed linux-yocto, we need to rename and update an board configurations and append files. Now that linux-wrs has been renamed linux-yocto, we need to update the SRCREVs to have the new name. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-11-14linux-wrs: implement BSP bootstrapping via fallback branchesBruce Ashfield
When creating a new BSP there isn't always an upstream branch to validate SRCREVs against. Therefore, creating a new BSP required extra manipulations of the git repository, even though the branch for the build would be dynamically created. To fix this, provide a fallback to the 'standard' branch if WRMACHINE is not assigned a specific value for the given MACHINE. The fallback saved in KBRANCH, and represents the branch that we should build, even if no fallback is required. Some substeps of the recipe have been updated to use KBRANCH rather than enforcing MACHINE-KERNELTYPE. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-11-10linux-wrs: rename force_revisions and allow overrideBruce Ashfield
It is useful to override revision checking from a layer or other recipe. In order to show the global nature of the variable rename it KERNEL_REVISION_CHECKING and make it a weak assignment. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-10-18linux-wrs: pass netfilter options as an addon featureBruce Ashfield
Fixes [BUGID #199] Although an optional feature to a base BSP, most of the machines currently supported want/need the netfilter options. To enforce this configuration, it is temporarily forced in the kernel recipe itself, but can move to machine configurations in the future. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-10-18linux-wrs: allow optional features via KERNEL_FEATURES variableBruce Ashfield
Fixes [BUGID #199] Reinstate the ability to specify optional/additional kernel features when updating the tree. This is done via the variable KERNEL_FEATURES which specifies a list of features to be appended to the current branch and config. These features are part of the wrs_meta branch in the kernel repository and hence are self contained within the kernel tree waiting to be activated. This saves multiple branches simply to allow a machine to have many profiles. The kernel patching/configuration phases will locate these features and add them to the meta_series, which in turn modifies the tree. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-10-14emenlow: add 8250 serial optionsBruce Ashfield
The emenlow didn't have the default 8250 serial ports. Including the common serial config fragment fixes this problem. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-10-13linux-wrs: update SRCREVsBruce Ashfield
Fixes [BUGID #432, #438, #437, #422] [atom-pc: switch to the atom-pc branch The atom-pc has a dedicated branch and merged kernel commits. Swtich the kernel recipe to use the fully integrated BSP Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>] [atom-pc: add kernel config options needed for -live images Fixes [BUGID #432] Live images require VFAT filesystem and loop device support - this adds the required kernel config options for them. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>] [atom-pc: Add netbook wireless networking support for NB305 and eee901 Add the atom-pc-wifi.cfg to enable wireless networking support for the netbooks mentioned in the atom-pc machine config file. Note: this adds a staging tree driver (rt2860sta) for the eee901 wifi. [BUGID #438] Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Tom Zanussi <tom.zanussi@intel.com> CC: Richard Purdie <rpurdie@linux.intel.com> CC: Bruce Ashfield <bruce.ashfield@windriver.com>] [atom-pc: Add netbook wired networking support for NB305, Aspire One, and eee901 Add the atom-pc-eth.cfg to enable wired networking support for the three netbooks mentioned in the atom-pc machine config file. [BUGID #437] Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Tom Zanussi <tom.zanussi@intel.com> CC: Richard Purdie <rpurdie@linux.intel.com> CC: Bruce Ashfield <bruce.ashfield@windriver.com>] [routerstationpro: add missing kernel patches [BUGID: #422] Add the kernel patches required for routerstaion pro boot Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>] [netbook: allow hardisk booting [BUGID: #445] Signed-off-by: Darren Hart <dvhart@linux.intel.com>] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-10-13atom-pc: switch to the atom-pc branchBruce Ashfield
The atom-pc has a dedicated branch and merged kernel commits. Swtich the kernel recipe to use the fully integrated BSP Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-10-13linux-wrs: remove external x86 config fragmentBruce Ashfield
[BUGID #363] Integrate the x86 gfx options into the existing x86 graphics options for the common_pc and common_pc_64 boards. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-10-11linux-wrs: add initial beagleboard supportBruce Ashfield
BUGID: 421 Create the infrastructure to build the beagleboard against the linux-wrs kernel. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-10-11mpc8315e-rdb: create machine and tuning configurationBruce Ashfield
BUGID: 423 Introduce the basic mpc8315e BSP. By default this BSP uses the basic 603 tuning and soft-float. There are issues with the e300 tuning and eglibc, and the compiler. Subsequent commits will further tune this BSP. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-10-11routerstationpro: create machine conf and compatibilityBruce Ashfield
BUGID: 422 Add the machine configuration and kernel infrastructure for building the routerstation pro BSP. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-10-11linux-wrs: move config fragment to the correct locationRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-11linux-wrs: Change the kernel configuration to enable psplash.Kevin Tian
Init scripts assume uvesafb as module, and also need CONFIG_FRAMEBUFFER_CONSOLE to set some mode parameter, else wrong parameter cause psplash's mmap failure. This is just a quick fix as we don't know how to change the wrs kernel config in a clean way. Should revert it with clean way of changing. [BUGID #363] fixed by this Signed-off-by: Tian Kevin <kevin.tian@intel.com> Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-10-09atom-pc: enable CONFIG_FRAMEBUFFER_CONSOLEDarren Hart
Add CONFIG_FRAMEBUFFER_CONSOLE to the i915.cfg config fragment for the atom-pc machine. This allows the BlackSand to boot to the sato desktop with text after the fb switch as well as the poky splash screen. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Tom Zanussi <tom.zanussi@intel.com> CC: Bruce Ashfield <bruce.ashfield@windriver.com> CC: Richard Purdie <rpurdie@linux.intel.com>
2010-10-09atom-pc: 8250 config fragmentDarren Hart
Add serial port support for atom-pc. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2010-10-09linux-wrs: Add support for atom-pcDarren Hart
Add the option of using linux-wrs as the kernel provider for atom-pc. This patch uses poky to apply config fragments to the common_pc-standard branch of the linux-wrs kernel. A follow-on patch will remove these once linux-wrs has an atom-pc branch and the config fragments are present in the kernel repository. This configuration boots to a prompt on the BlackSand, but panics unable to find the root partition on the Toshiba NB305 where the "rootwait" kernel boot option appears to be being ignored. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-08Rename MACHINE=netbook to MACHINE=atom-pcDarren Hart
In preparation for the more generic atom-pc, rename the netbook machine and all the relevant overrides. Leave the linux-netbook kernel recipe intact and as the default kernel for the atom-pc machine. A future patch will convert this over to linux-wrs and likely remove the linux-netbook kernel recipe. Cc: Tom Zanussi <tom.zanussi@intel.com> Cc: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-07poky-default-revisions.inc: Move SRCREV settings into this fileRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>