summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* netbook: Correct netbook build by moving netbook configuration from moblin ↵Saul Wold2010-09-2499-0/+280822
| | | | | | to meta Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* perf: Add libelf to dependenciesTom Zanussi2010-09-171-1/+1
| | | | | | | | | | Fix for unresolved libelf error when running perf: perf: error while loading shared libraries: libelf.so.1: cannot open shared object file: No such file or directory Signed-off-by: <tom.zanussi@intel.com> Signed-off-by: <bruce.ashfield@windriver.com>
* dtc: Drop unneeded SRCREVRichard Purdie2010-09-101-1/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* dtc: device tree compiler recipesAdrian Alonso2010-09-105-0/+25
| | | | | | | | | | | | * Device tree compiler recipes from OE * v2 reorder patchset * remove BBCLASSEXTENDDED from dtc-native.inc * v3 remove installing dtc in ${STAGING_BINDIR} * fix PR variable follow Poky guidelines * v4 fix PV variable Signed-off-by: Adrian Alonso <aalonso00@gmail.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* linux: add binary devicetree generationAdrian Alonso2010-09-101-0/+27
| | | | | | | | | | | | | | | * Add binary devicetree generation support * Taken from OE * v2 reorder patch set * v3 remove package_stagefile_shell * v4 rename devicetree_image function to install_append * remove pkg_postinst_kernel-devicetree, pkg_postrm_kernel-devicetree functions * Update KERNEL_DEVICETREE_FLAGS use "-p" option instead of "-S" which is deprecated Signed-off-by: Adrian Alonso <aalonso00@gmail.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* linux-wrs: Update now SRCREV variable order is fixedRichard Purdie2010-09-091-2/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* linux-wrs: validate branches against known revisionsBruce Ashfield2010-09-091-0/+35
| | | | | | | | | | | | | | | | It is possible for the git repository to have commits on branches that are ahead of the SRCREVs for those branches. Since the kern tools will simply checkout and build, we can end up building a different kernel than what is expected. It is up to the recipe to ensure that the branches are at the correct commits. To do this, we simply check the current machine branch against the SRCREV and if they don't match we move the existing branch and do a checkout at the desired commit. Note: This probably needs to be disabled with AUTOREV. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* kernel.bbclass/linux-wrs: move definition of perf package to kernel classJoshua Lock2010-09-081-8/+0
| | | | | | | | By defining the perf package in the shared kernel class bitbake will be able to find the package provider even when the preferred kernel doesn't build perf, preventing dependency resolution failures. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* powertop: fix a typo: REPENDS ==> RDEPENDSDexuan Cui2010-09-081-1/+1
| | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* linux: Fix the compulab image post deploy function by making it a postfuncRichard Purdie2010-09-071-4/+3
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* linux-wrs: Ensure S directory exists else task can failRichard Purdie2010-09-061-0/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* kernel/wrs: update SRCREV for v2.6.34.6 + changesBruce Ashfield2010-09-063-50/+0
| | | | | | | | | | Updating the SRCREVs for the recent port of bug fixes for all boards and the integration of qemux86-64 config and connector changes. Now that the qemux86-64 changes are in tree, we can drop them from the linux-wrs recipe. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lttng-viewer: upgrade to the latest version 0.12.35Dexuan Cui2010-09-031-2/+2
| | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* lttng-ust: upgrade to the latest version 0.7Dexuan Cui2010-09-031-0/+0
| | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* kern-tools: add dependency on guilt-nativeKevin Tian2010-09-031-2/+2
| | | | | | Fix [BUGID #262] Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* linux-libc-headers: update hayes-gone patch to remove HAYES ioctls from mipsSaul Wold2010-09-022-1/+19
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* powertop: fix segfault in dump modeDexuan Cui2010-09-022-1/+33
| | | | | | | | | | | | | | | | | The cause is: in dump mode, setup_windows() is not invoked so the *_window variables, like cstate_window, are still NULL; later in main() -> show_cstates(), the functions, like wrefresh(), will trigger segfault. After discussing in PowerTop mailling list, I think the right solution is we should stub out the ncurses calls in dump mode. (The patch was also sent to upstream PowerTop mailling list.) This fixes [BUGID #195]: Bug 195 - [sdk] powertop segfault when running with dump option Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* powertop: upgrade from 1.11 to the latest version 1.13Dexuan Cui2010-09-021-4/+9
| | | | | | | | | | | | update HOMEPAGE; add RRECOMMENDS_${PN} = "pciutils" as powertop 1.13 needs lspci; add EXTRA_OEMAKE = "VERSION=\"${PV}\" to make the build succeed; fix coding style: 4 SPACEs --> 1 TAB. fix RRECOMMENDS to RDEPENDS Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* packages: Separate out most of the remaining packages into recipesRichard Purdie2010-09-013-0/+50
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* lttng-viewer: upgrade from 0.8.84 to 0.10.0Dexuan Cui2010-08-311-3/+11
| | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* Major layout change to the packages directoryRichard Purdie2010-08-27469-0/+2896687
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>