summaryrefslogtreecommitdiff
path: root/meta/recipes-kernel
Commit message (Collapse)AuthorAgeFilesLines
* linux-yocto: Add LIC_FILES_CHKSUMSaul Wold2010-12-231-0/+2
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* qemu: match kernel headers to preferred kernelBruce Ashfield2010-12-231-6/+4
| | | | | | | | | As the yocto-kernel advances, the libc headers must also advance. This commit fixes the SRC_URI and SRCPV to work properly with the latest linux-yocto kernel. It also switches the qemu* targets to prefer this libc recipe. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto-stable: fix qemux86 branch nameBruce Ashfield2010-12-231-1/+1
| | | | | | | | | | | | 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>
* linux-yocto: remove or adjust to _ in branch namesBruce Ashfield2010-12-212-12/+16
| | | | | | | | | | | | | | | | | | | | | 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>
* recipes-kernel: Update SUMMARY and DESCRIPTIONMark Hatle2010-12-1611-0/+11
| | | | | | Add missing SUMMARY and updated DESCRIPTION fields if necessary Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* linux-yocto: fix machine compatibilityBruce Ashfield2010-12-133-2/+3
| | | | | | | | | | | | 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>
* update-modules/udev-extraconf: Fix license checksum handlingRichard Purdie2010-12-101-3/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* linux-libc-headers: Correct license checksumDarren Hart2010-12-101-1/+1
| | | | | | | Correct a typo in LIC_FILES_CHKSUM for linux-libc-headers as well as update the md5sum. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* linux-libc-headers-yocto: use common linux-yocto routinesBruce Ashfield2010-12-101-12/+9
| | | | | | | | | | | Modify linux-libc-headers-yocto to use the common linux-yocto routines, so headers exported to userspace will track the branches in the yocto kernel git repository. This commit also switches supported boards to prefer the yocto libc headers. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* yocto-kernel: factor common routes, update to 2.6.37 and branch renamingBruce Ashfield2010-12-105-207/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* update-modules: update license infoQing He2010-12-102-0/+341
| | | | Signed-off-by: Qing He <qing.he@intel.com>
* sysprof: add system-wide performance profiler for Linux.Tom Zanussi2010-12-104-0/+73
| | | | | | [sgw@linux.intel.com: alpha'ed poky-default-revision.inc and fix commit message] Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* SRC_URI Checksums AdditionalsSaul Wold2010-12-099-0/+27
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* modutils-initscripts:Add license checksum to bb fileMei Lei2010-12-082-1/+9
| | | | | | | | Add Public Domain license file as a patch, and add checksum to bb file [sgw@linux.intel.com: fixed the license text and the checksum] Signed-off-by: Mei Lei <lei.mei@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* linux-firmware: Update LIC_FILES_CHKSUM infoDongxiao Xu2010-12-021-0/+13
| | | | Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* dtc:Add license checksum and add the GPL informationMei Lei2010-12-021-0/+4
| | | | | | Add GPL file and libfdt.h file checksum to bb file and add the "GPLv2|BSD" according to the License file Signed-off-by: Mei Lei <lei.mei@intel.com>
* modutils-collateral:Add license checksum to bb fileMei Lei2010-12-011-2/+2
| | | | | | | | | | Get md5sum of COPYING.MIT file which under the meta directory, because this recipe is a local recipe, so we need to find the license file under the meta. Import a new varible "L" to record the license file path. [sgw@linux.intel.com: removed] [sgw@linux.intel.com]: remove changes to insane.bbclass and bitbake.conf, use the ${POKYBASE} variable instead. Signed-off-by: Mei Lei <lei.mei@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* lttng-control: Update to version 0.88Saul Wold2010-11-241-2/+2
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* lttng-ust: Update to version 0.8Saul Wold2010-11-241-1/+1
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* modutils:Add license checksum to bb fileMei Lei2010-11-241-0/+1
| | | | | | Add COPYING file checksum to bb file Signed-off-by: Mei Lei <lei.mei@intel.com>
* lttng:Add license file checksum and update the GPL informationMei Lei2010-11-231-2/+2
| | | | | | Add COPYING checksum to bb file and update the "GPL" to "GPLv3" according to COPYING Signed-off-by: Mei Lei <lei.mei@intel.com>
* blktrace: new packageTom Zanussi2010-11-222-0/+78
| | | | | | | Add blktrace, a tool for generating traces of the I/O traffic on block devices. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* Meta: Recipe ReogranizationSaul Wold2010-11-223-50/+0
| | | | | | | | | | | | | This is the next stage of recipe reorganization, in this stage many recipes where moved to a new meta-demoapps layer since this is more appropriate for demo usage then the core. Additional some recipes were moved to meta-extras to indicate they may be depercated at a future time. A number of recipes were modified since dependencies need to be corrected. Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* linux-libc-headers: upgrade from 2.6.34 to 2.6.36Nitin A Kamble2010-11-183-75/+2
| | | | | | | | | | | The upstream code has changed, and it does not need these fixes anymore. Removed these patches: hayes-gone.patch ppc_glibc_build_fix.patch Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* kexec_tools: Upgraded to version 2.0.2Dongxiao Xu2010-11-183-54/+2
| | | | | | Remove the patch since the fix is already in latest upstream. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* linux-wrs: rename to linux-yoctoBruce Ashfield2010-11-182-38/+39
| | | | | | | | | | | | | | | | | | 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>
* linux-wrs: implement BSP bootstrapping via fallback branchesBruce Ashfield2010-11-141-8/+32
| | | | | | | | | | | | | | | | 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>
* linux-wrs: rename force_revisions and allow overrideBruce Ashfield2010-11-101-3/+3
| | | | | | | | 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>
* linux-wrs: pass netfilter options as an addon featureBruce Ashfield2010-10-181-0/+1
| | | | | | | | | | | | 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>
* linux-wrs: allow optional features via KERNEL_FEATURES variableBruce Ashfield2010-10-181-2/+5
| | | | | | | | | | | | | | | | | | | | 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>
* emenlow: add 8250 serial optionsBruce Ashfield2010-10-141-1/+1
| | | | | | | | 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>
* linux-wrs: update SRCREVsBruce Ashfield2010-10-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* atom-pc: switch to the atom-pc branchBruce Ashfield2010-10-133-31/+2
| | | | | | | 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>
* linux-wrs: remove external x86 config fragmentBruce Ashfield2010-10-132-4/+0
| | | | | | | | | [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>
* linux-wrs: add initial beagleboard supportBruce Ashfield2010-10-111-1/+2
| | | | | | | | | BUGID: 421 Create the infrastructure to build the beagleboard against the linux-wrs kernel. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* mpc8315e-rdb: create machine and tuning configurationBruce Ashfield2010-10-111-2/+3
| | | | | | | | | | | 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>
* routerstationpro: create machine conf and compatibilityBruce Ashfield2010-10-111-2/+6
| | | | | | | | | BUGID: 422 Add the machine configuration and kernel infrastructure for building the routerstation pro BSP. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-wrs: move config fragment to the correct locationRichard Purdie2010-10-111-0/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* linux-wrs: Change the kernel configuration to enable psplash.Kevin Tian2010-10-112-0/+4
| | | | | | | | | | | | | 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>
* atom-pc: enable CONFIG_FRAMEBUFFER_CONSOLEDarren Hart2010-10-091-1/+1
| | | | | | | | | | | | 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>
* atom-pc: 8250 config fragmentDarren Hart2010-10-092-1/+9
| | | | | | Add serial port support for atom-pc. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* linux-wrs: Add support for atom-pcDarren Hart2010-10-092-2/+24
| | | | | | | | | | | | | | | 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>
* Rename MACHINE=netbook to MACHINE=atom-pcDarren Hart2010-10-083-4/+4
| | | | | | | | | | | | 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>
* poky-default-revisions.inc: Move SRCREV settings into this fileRichard Purdie2010-10-076-11/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* createme/patchme: use kgit-checkpoint to restore meta dataBruce Ashfield2010-10-041-1/+1
| | | | | | | | | | | | Fixes [BUGID: #390] The custom de-checkpoint routines used in createme/patchme destroyed data each run. This meant that incremental and expermental work couldn't be done directly in the kernel source tree itself. Using the more robust kgit-checkpoint allows that data to be persistent (until a clean is done). Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* kern_tools: allow patching on autocreated/empty branchesBruce Ashfield2010-10-041-1/+1
| | | | | | | | | | Fixes [BUGID #388] Even if we aren't creating the branch from scratch, it is possible that it has never been patched before. So let's make sure the infrastructure for patching is always in place. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-libc-header: Sync CONNECTOR_MAX_MSG_SIZE with wrs kernelZhai Edwin2010-09-302-1/+29
| | | | | | | | | | | | | | | | Currently default header is linux-libc-header, which leads the dismatch with wrs kernel. The different headers for same file cause trouble between kerenl module and user level binary. E.g. segfault in v86d due to different CONNECTOR_MAX_MSG_SIZE in connector.h from the one used by uvesafb. This fix is work around to sync with wrs kernel headers, and should be removed after switching to linux-libc-headers-wrs. [BUGID #279] fixed by this. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* linux-wrs: pass ARCH to updatemeBruce Ashfield2010-09-301-1/+1
| | | | | | | | | | Part of [BUGID #373] In order to generate BSP definitions for new boards, we need to know the architecture. So we'll arrange to pass it to updateme. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-wrs: validate commits when forcing branchesBruce Ashfield2010-09-301-6/+23
| | | | | | | | | | | | | | | | | | | | Fixes [BUGID #372] If for some unknown reason, the kernel git repository hasn't been properly updated and is *older* than the revisions listed in default-revisions the branch sanity checking kicks in and tries to force branches to the right revs. The problem is, the revisions it is looking for don't exist in the tree. As a result, error messages are thrown about invalid commit IDs. These aren't helpful, and are simply confusing for the user. Instead we can test for the commit ID, and if it isn't valid, indicate that the commit ID isn't valid and that the tree is potentially out of sync. This situation is not common, but it is an easy test and the extra sanity checking is useful. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* trace-cmd_git.bb: remove DEPENDS of glibc since there is a system default forSaul Wold2010-09-271-3/+1
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>