Tom Zanussi [Thu, 13 Dec 2012 04:56:31 +0000 (22:56 -0600)]
yocto-bsp: add 'custom' choice to kernels()
Add a synthetic choice for linux-yocto-custom to the list of available
kernels. Choosing this will lead the user down the path of options
needed to specify a custom kernel.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Mon, 19 Nov 2012 16:50:04 +0000 (16:50 +0000)]
qt4: remove qt4-x11-free bbappend
This bbappend is forcibly enabling OpenGL on atom-pc and mpc8315e-rdb, but as
Poky enables the OpenGL distro feature this option is on for all machines
anyway.
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Laurentiu Palcu [Wed, 14 Nov 2012 09:48:41 +0000 (11:48 +0200)]
yocto-bsp: update configs after xorg upgrade
There were some changes in the xserver-xorg upstream project that need
to be reflected here too:
* extmod module was removed completely as it became empty;
* DRI1, DRI2, DBE (among others) were made built-in;
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Stefan Stanacar [Fri, 16 Nov 2012 16:37:27 +0000 (18:37 +0200)]
yocto-bsp: update qemu machine.conf template
Update the template with the changes from the last commits to meta/conf/machine/qemux86.conf
Building sato image for a machine created using yocto-bsp with qemux86/x86-64 templates fails because nothing RPROVIDES qemugl anymore so remove support from the template as well.
Also drop redundant glibc configure knobs (they are no longer optional and they don't exist in conf/machine/qemux86.conf anymore so for consistency the template shouldn't keep them).
Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Darren Hart [Thu, 18 Oct 2012 14:23:23 +0000 (14:23 +0000)]
yocto-bsp: Fix git url parsing, allowing for local mirrors
The git URLs used in bitbake recipes are not compatible directly with git. In
bitbake-speak, all git URLs start with git:// and the protocol is optionally
specified in the SRC_URI. Local git mirrors are specified like so:
git:///path/to/local/mirror.git;protocol=file
The URL that git requires would be:
file:///path/to/local/mirror.git
Update the yocto-bsp kernel.py to make the necessary adjustment when parsing
the SRC_URI to extract the git URL.
Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Tom Zanussi <tom.zanussi@intel.com> CC: evadeflow@gmail.com Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Thu, 11 Oct 2012 13:27:27 +0000 (14:27 +0100)]
local.conf.sample: add PATH to SSTATE_MIRRORS comments
The shared state cache as pointed to by SSTATE_DIR by default now has
two-character subdirectories to prevent there being an issue with too
many files in the same directory; also, native sstate packages will go
into a subdirectory named using the distro ID string. If you copy the
newly structured sstate cache to a mirror location (either local or
remote) and then point to it in SSTATE_MIRRORS, you need to append
"PATH" to the end of the mirror URL so that the path used by bitbake
before the mirror substitution is appended to the path used to access
the mirror.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Mon, 8 Oct 2012 13:54:46 +0000 (09:54 -0400)]
linux-yocto-bsps/3.4: perf: parallel build and tools fixes
korg commit 42dcd1f4e [perf tools: Fix parallel build] fixes parallel
build issues that are being seen in the autobuilder.
We also have a fix from Tom:
[
perf annotate: replace 'expand' with equivalent sed expression
We don't have 'expand' in our userspace so we need to accomplish the
same thing using 'sed', which we do have.
]
So we apply it to all BSP branches and kernel types.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The git proxy check seems to be hurting the user experience more than
its helping it so lets remove it andonly check http/https. Most builds
should be able to work from the http:// urls from the mirrors.
This also brings some parity to the situation as svn:// were not being
checked.
[YOCTO #3119]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Constantin Musca [Thu, 27 Sep 2012 12:44:11 +0000 (15:44 +0300)]
poky-sanity.bbclass: bblayers.conf should be updated automatically
- we need a bbclass (poky-sanity) so that we can append to the
check_bblayers_conf bitbake function from sanity.bbclass the
bblayers.conf specific merging functionality
- add check_bblayers_conf_append bitbake function which does the
meta-yocto specific updates (the bblayers.conf v5 -> v6 update)
- every layer should make its specific bblayers.conf updates
- we ask the user to re-run bitbake because we can't trigger
reparsing without being invasive
[YOCTO #3082]
Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tom Zanussi [Sat, 29 Sep 2012 23:45:30 +0000 (18:45 -0500)]
yocto-bsp: use FILESEXTRAPATHS for xserver-xf86-config bbappends
The xserver-xf86-config .bbappends are still using FILESPATH - update
them to use FILESEXTRAPATHS as recommended by the Poky Reference
Manual and BSP Developer's Guides.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tom Zanussi [Thu, 27 Sep 2012 22:12:42 +0000 (17:12 -0500)]
yocto-bsp: fix dmaengine feature inclusion
The cfg/dmaengine/dmaengine feature changed location to cfg/dmaengine
in the 3.4 yocto kernel's meta branch. Add template code to include
the appropriate version.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tom Zanussi [Thu, 27 Sep 2012 22:12:41 +0000 (17:12 -0500)]
yocto-bsp: make vfat feature inclusion conditional on kernel version
The linux-yocto-3.2 cfg/vfat feature changed location to cfg/fs/vfat
in the 3.4 yocto kernel's meta branch. Add template code to include
the appropriate version depending on kernel version.
Fixes [YOCTO #3178].
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 26 Sep 2012 11:11:00 +0000 (12:11 +0100)]
poky.conf: We need to clear WARN_QA to avoid the unsafe-references
The intention of the previous patch was to disable these warnings but by
commenting out the line, it caused a fallback to the defaults which enable
it. This really disables the warnings.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Mon, 24 Sep 2012 20:31:06 +0000 (16:31 -0400)]
beagleboard: update to 3.4
Updating the default preference of the beagleboard to the 3.4
kernel.
build, boot and testing has been done on the beagleboard (revC) and
beagleboard XM. Existing functionality has been confirmed using
core-image-sato, and in particular mouse, keyboard and graphics have
been re-validated.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
routerstation: Disable virtual terminal by default
This modifies the /etc/inittab on routerstationpro, avoiding the
"respawning too fast" message. The routerstation has a low memory,
so virtual terminal should be disable by default.
Fixes [YOCTO #3088]
Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 17 Sep 2012 19:08:16 +0000 (19:08 +0000)]
poky.conf: Silence unsafe reference warnings
These QA warnings undermine the quality impression of OE-Core. They are
useful in some specific circumstances but until the system has been audited
and these warnings are reduced, they shouldn't be showing by default.
Therefore disable them for now.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Jack Mitchell [Thu, 13 Sep 2012 12:27:21 +0000 (13:27 +0100)]
local.conf.sample: change valgrind support architecture comment
The comment for debug-tools states valgrind will only be installed for x86
targets. This is not true as valgrind now supports x86*, PPC* and ARMv7a;
delete the comment as the architecture support is now so varied.
Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The functionality previously added by these bbappends was already
handled in task-core-tools-profile.bb (now
packagegroup-core-tools-profile.bb), so remove this.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 5 Sep 2012 12:25:58 +0000 (13:25 +0100)]
meta-yocto: Split into distro and bsp components
Now we have settled on best practises and compliance criteria, bring meta-yocto
into compliance by separating out the hardware support components into
meta-yocto-bsp leaving policy configuration in meta-yocto.
Also rename the meta-yocto scripts directory to OE-Core can be a clearly
isolated component in poky.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Tue, 4 Sep 2012 15:35:05 +0000 (11:35 -0400)]
linux-yocto/meta-yocto: update SRCREVs to 3.4.9, unionfs, perf and cfg
Updating the SRCREVs for the following updates to match the oe-core boards:
- v3.4.8, v3.4.9
- bug fixes: a4c7a04 perf: add SLANG_INC for slang.h e32ab98 unionfs: restore FD_* utility defines 9f0fe58 unionfs: update unionfs fork to align with mainline b3fcc2f codel: refine one condition to avoid a nul rec_inv_sqrt ef7cf65 fq_codel: should use qdisc backlog as threshold 3f0ed1d net: codel: fix build errors 4c06aa1 net/codel: Add missing #include <linux/prefetch.h> 2888bf2 codel: use u16 field instead of 31bits for rec_inv_sqrt 6edeb2e codel: use Newton method instead of sqrt() and divides 2faecd6 fq_codel: Fair Queue Codel AQM edca95f netem: add ECN capability
- config/BSP updates:
463299b meta: bump kver to v3.4.9 6b961c8 CrystalForest: Enable PCI IOV feature 4bc2238 meta: Add new pci iov feature 70346e6 mpc8315: remove now obsolete CONFIG_MISC_DEVICES
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tom Zanussi [Wed, 29 Aug 2012 23:07:09 +0000 (18:07 -0500)]
yocto-bsp: add a LICENSE_FLAGS_WHITELIST blurb for emgd to README
Add a text snippet to the README to say that if emgd-driver-bin is
included in the BSP, LICENSE_FLAGS_WHITELIST needs to be set to for a
successful build.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Tom Zanussi [Wed, 29 Aug 2012 21:42:16 +0000 (16:42 -0500)]
yocto-bsp: update the help regarding the meta-intel layer
With move of ia32-base to oe-core, the only case remaining where
meta-intel needs to be added to bblayers.conf for a new BSP is the
case of an x86 BSP that selects EMGD.
Update the documentation to note that fact.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Tom Zanussi [Wed, 29 Aug 2012 21:33:32 +0000 (16:33 -0500)]
yocto-bsp: include meta-intel.inc if emgd selected
With move of ia32-base to oe-core, the intel-specific variables were
split off into meta-intel.inc, which needs to be included when using
components present only in meta-intel.
In the case of i386, that's currently just emgd, so conditionally
include emgd if emgd is selected as the xserver choice.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Tom Zanussi [Wed, 29 Aug 2012 03:01:35 +0000 (22:01 -0500)]
yocto-bsp: use KBRANCH_DEFAULT in 'newbranch' cases
The new yocto-kernel way of specifying that the branch sanity check
doesn't need to be run is to specify a default kbranch and build that.
In the case where we have a new kbranch but it's not yet in the repo,
we need to tell it that our new branch is the default and we're
building the default and that's how we avoid the sanity check and the
subsequent do_validate_branches() failure.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tom Zanussi [Wed, 29 Aug 2012 03:01:34 +0000 (22:01 -0500)]
yocto-bsp: remove obsolete references
The logbuf-normal feature is obsolete, so remove any references to it.
The dmaengine and hpet features have changed, but don't really need to
be added by default to i386 - leave that to the BSP developer. Also,
remove a couple duplicate feature references in the .scc files.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tom Zanussi [Tue, 7 Aug 2012 21:11:14 +0000 (16:11 -0500)]
yocto-bsp: generate default properties even if json specified
Users seem to want to specify incomplete property sets when using json
input. Allow this by generating default properties before the
user-specified properties are applied; the user will then get the
defaults for any unspecified values, and avoid cryptic backtraces.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Tom Zanussi [Mon, 6 Aug 2012 05:56:55 +0000 (00:56 -0500)]
yocto-bsp: use rstrip() for assignment lines
strip() isn't necessary and causes unintended formatting changes in
the output; rstrip() remove the trailing newlines as intended while
leaving indenting whitespace intact.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Paul Eggleton [Mon, 20 Aug 2012 16:05:47 +0000 (17:05 +0100)]
poky.conf: restore Ubuntu 12.04 LTS to tested distro list
Apparently some people don't apply the normal updates to their Ubuntu
installations, in which case they will not have the version updated to
12.04.1. Since the distinction between the two is fairly minimal,
restore the old version string in addition to the new one.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Gortmaker [Fri, 17 Aug 2012 15:24:19 +0000 (11:24 -0400)]
routerstationpro: move board off 3.0 and onto the 3.4 kernel
The updated patch series to support this target is in place
on the BSP specific branch in the 3.4 kernel tree now[1], so
we can move it ahead off of the old 3.0 kernel.
Cc: Bruce Ashfield <bruce.ashfield@windriver.com> Cc: Saul Wold <sgw@linux.intel.com> Acked-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Darren Hart [Tue, 21 Aug 2012 16:27:16 +0000 (09:27 -0700)]
README: Clarify where to send patches
There is still a great deal of confusion over where patches for the
various components of the poky repository should be sent. Attempt to
mitigate this by including a blurb in the poky README similar to what
other layers and repositories do.
V2: Call out the special care required when dealing with the scripts
directory per Saul Wold's recommendation.
V3: Recommend applying patches to oe-core prior to sending patches to
the oe-core mailing list.
Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Richard Purdie <richard.purdie@intel.com> CC: Paul Gortmaker <paul.gortmaker@windriver.com> CC: Paul Eggleton <paul.eggleton@linux.intel.com> CC: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Tue, 21 Aug 2012 07:17:20 +0000 (08:17 +0100)]
atom-pc: Drop glibc --with-tls option, its now the only option for glibc
This option is unused by (e)glibc since 2011 and is the default. It has been
shown to interact badly with the configure option in ia32-base.inc from meta-intel
causing a rebuild of the whole system despite the only change being an
assignment with += vs =. The easiest fix is simply to drop it.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Thu, 9 Aug 2012 19:48:27 +0000 (19:48 +0000)]
linux-yocto/meta-yocto/3.4: BSP, uprobes, config and cleanups
Updating the linux-yocto meta-yocto 3.4 with consolidated fixes, BSPs
and cleanups.
From the kernel meta branch:
28bcd46 meta: move emgd features to staging 6c01949 meta: Crystal Forest Machine Created. 3c19c4d meta/qemuppc: remove redundant profiling options a5da4d5 meta: kgdb: update configuration for out of box functionality 1d13e00 meta: update status/series and patches for v3.4 b96c408 fsl-mpc8315e-rdb: replace leading dot with hash in cfg file 7c9a3b0 usb: fix scc and cfg filename collision with ktypes/base/ aa0e1f6 kconfig: make CONFIG_BLOCK=y part of base config 3d1a2f2 kconfig: add tty/serial file to hardware listing 60b600f routerstationpro: specify chosen filesystems in audit input. 8b5c8c7 routerstationpro: add config data for audit purposes d7ae8fa meta: add ath79 Kconfig to hardware listing.
And from the standard branch:
c77666c powerpc: uprobes: removed external declaration of uprobe_get_swbp_addr. c262f3e powerpc: Uprobes port to powerpc d40e73d powerpc: Add trap_nr to thread_struct 6a64190 Revert "This is the port of uprobes to powerpc. Usage is similar to x86." e422119 Revert "powerpc: uprobes: removed external declaration of uprobe_get_swbp_addr." d4ef82f keys: kill task_struct->replacement_session_keyring 1cc141e keys: kill the dummy key_replace_session_keyring() 090ca45 keys: change keyctl_session_to_parent() to use task_work_add() 61bc7a8 genirq: reimplement exit_irq_thread() hook via task_work_add() 5ee34dd task_work_add: generic process-context callbacks 70754de move key_repace_session_keyring() into tracehook_notify_resume() 6f70bc1 powerpc: uprobes: removed external declaration of uprobe_get_swbp_addr. e5f6a4c This is the port of uprobes to powerpc. Usage is similar to x86. 2bc4597 On RISC architectures like powerpc, instructions are fixed size. Instruction analysis on such pl 8893371 perf probe: Detect probe target when m/x options are absent 544d531a perf probe: Provide perf interface for uprobes 103b503 tracing: Fix kconfig warning due to a typo 9bb012e tracing: Provide trace events interface for uprobes b9b7281 tracing: Extract out common code for kprobes/uprobes trace events 91f0360 tracing: Modify is_delete, is_return from int to bool a8600f2 uprobes/core: Decrement uprobe count before the pages are unmapped a252056 uprobes/core: Make background page replacement logic account for rss_stat counters 3efc15b uprobes/core: Optimize probe hits with the help of a counter 20f3d76 uprobes/core: Allocate XOL slots for uprobes use 77bfad8 uprobes/core: Handle breakpoint and singlestep exceptions 7196d9a uprobes/core: Rename bkpt to swbp c99bc18 uprobes/core: Make order of function parameters consistent across functions 7e9be99 uprobes/core: Make macro names consistent c4247f2 uprobes: Update copyright notices f066ff9 uprobes/core: Move insn to arch specific structure e91cf65 uprobes/core: Remove uprobe_opcode_sz 942b91c uprobes/core: Make instruction tables volatile 56c1e99 uprobes: Move to kernel/events/ 0a7ad1c uprobes/core: Clean up, refactor and improve the code 3760d62 uprobes, mm, x86: Add the ability to install and remove uprobes breakpoints
Two BSP updates:
- Crystal Forest Machine has been added
- routerstationpro configuration updates for 3.4
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>