Commit Graph

54 Commits

Author SHA1 Message Date
Nitin A Kamble
38685d6522 BSP README.sources: update the URL of the source tarball
Instead of the denzil release specify the location of the source tarball
of danny release.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-12-05 14:48:38 -06:00
Darren Hart
43b2e9c343 n450: Add WEBTITLE and boilerplate README
The WEBTITLE will be used to publish the BSP on the Yocto Project website.
Add a boilerplate README including the Yocto Project compliance
information for the 1.3 release.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2012-10-31 08:40:15 -07:00
Tom Zanussi
376fb0a2ac meta-intel: remove linux-yocto*_3.0 bbappends
The 3.2 and 3.4 kernels are the ones supported for Yocto 1.3, so
remove the 3.0 versions.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-10-29 18:04:12 -05:00
Darren Hart
5d8a058111 Fix use of PRINC in meta-intel BSPs
Replaces all uses of PRINC with the form:

PRINC := "${@int(PRINC) + N}"

Where N is the previously assigned value plus one to ensure a
monotonically increasing PRINC value.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Tom Zanussi <tom.zanussi@intel.com>
CC: Saul Wold <sgw@linux.intel.com>
CC: Nitin Kamble <nitin.a.kamble@intel.com>
2012-10-09 16:04:30 -07:00
Tom Zanussi
50ac6e8785 meta-intel: 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: Tom Zanussi <tom.zanussi@intel.com>
2012-10-02 11:30:47 -05:00
Tom Zanussi
6e74be58a9 meta-intel: remove task-core-tools-profile.bbappend
The functionality previously added by these bbappends was already
handled in task-core-tools-profile.bb (now
packagegroup-core-tools-profile.bb), so remove these.

SYSTEMTAP = "systemtap"
SYSTEMTAP_mips = ""

LTTNGUST = "lttng-ust"
LTTNGUST_mips = ""

RDEPENDS_${PN} = "\
    ${PROFILETOOLS} \
    ${LTTNGUST} \
    ${SYSTEMTAP} \
    ${VALGRIND} \

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-09-04 09:40:25 -05:00
Trevor Woerner
50b22497cb layer.conf: Clarify BBFILES comments regarding recipe-* directories
The recipes are no longer stored in a "packages" directory but in
directories under recipes-*.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2012-08-15 15:43:01 -07:00
Tom Zanussi
a944332ecf meta-n450: explicitly specify KBRANCH we expect to use
Without this, we get standard/default/common-pc/base with the correct
SRCREV initially checked out but standard/default/common-pc/atom-pc
checked out as if using AUTOREV for the actual build.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-07-12 19:40:02 -05:00
Tom Zanussi
8e51c1177c meta-n450: remove linux-yocto-2.6.37 .bbappend
linux-yocto-2.6.37.bb was removed from oe-core, so remove the
corresponding .bbappend from meta-n450.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-06-11 09:16:49 -05:00
Tom Zanussi
f64ab3a8c9 meta-intel: update README.sources with denzil link
Update the README.sources for all the meta-intel BSPs to reflect final
Yocto tarball location for denzil.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-05-25 15:50:08 -05:00
Darren Hart
a62c485edf linux-yocto_3.0: Update KMACHINE and KBRANCH to play nice with new kerntools
The 3.0 based boards are lazy compared to our new modern ones.

Without this patch, the linux-yocto-3.0 kernel do_patch() task would
fail with:

/srv/home/pokybuild/yocto-autobuilder/yocto-slave/cedartrail/build/build/tmp/sysroots/x86_64-linux/usr/bin/updateme:
line 434: yocto/standard/cedartrail-standard.scc: No such file or
directory

Setting the KBRANCH explicitly avoids this issue. This brings the
following recipes inline with the fri2 and sys940x BSPs.

Fix proposed by Bruce Ashfield.

Testing: Built linux-yocto_3.0 for all machines involved, including the
nopvr, noemgd variants. All built linux-yocto_3.0 successfully.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
CC: Kishore Bodke <kishore.k.bodke@intel.com>
2012-05-23 11:22:03 -07:00
Darren Hart
d719c0acf0 n450: Update to linux-yocto 3.2
Update the PREFERRED_VERSION to 3.2.
Drop cfg/smp.scc as this is now included in common-pc.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2012-05-07 12:39:19 -07:00
Paul Eggleton
df18b721f8 meta-intel: add LAYERDEPENDS for layers needing the meta-intel common layer
These layers all contain machine configuration that depends on having
the meta-intel common layer enabled as well, so use LAYERDEPENDS in the
layer configuration for each one to make this explicit.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-02-24 14:52:01 -06:00
Paul Eggleton
f89c24addd meta-intel: replace "include" with "require"
We want a failure to occur if the files specified in these statements
can't be found (e.g. when there is a misconfiguration), so use require
instead of include.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-02-24 14:51:38 -06:00
Tom Zanussi
188881dbca meta-intel: rename all task-core-tools.bbappend to task-core-tools-profile.bbappend
task-core-tools.bbappend was split into three, one of which is
profile.  Rename accordingly.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-02-07 17:23:06 -06:00
Joshua Lock
4f1ca13b5a n450-audio: drop this machine specific recipe in favour of alsa-state
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-01-17 13:35:19 -06:00
Joshua Lock
fad30a44da alsa-state: add alsa state for n450
Add a custom asound.state for the n450 so that the alsa-state init
script sets (and restores) sound configuration appropriately.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-01-17 13:34:55 -06:00
Darren Hart
3cb35ba444 n450: drop ROOTLESS_X as it breaks X
Fixes [YOCTO #1797]

Building with ROOTLESS_X results in X failing start with
the following error:

i915 0000:00:02.0: VGA-1: EDID block 0 invalid.
(EE) AIGLX error: dlopen of /usr/lib/dri/i915_dri.so failed
(/usr/lib/dri/i915_dri)
(EE) AIGLX: reverting to software rendering
(EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed
(/usr/lib/dri/swrast)
(EE) GLX: could not load software renderer

The n450 BSP is the only BSP in meta-intel using ROOTLESS_X. Dropping
it restores functionality and brings it inline with the rest of the BSPs.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-12-09 12:47:03 -08:00
Tom Zanussi
95baa601e7 meta-n450: remove 2.6.34 .bbappend
The linux-2.6.34 recipe was removed, so the .append needs to be
removed as well.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-12-01 18:15:00 -06:00
Tom Zanussi
e742a76993 meta-intel: add Patches section to BSP READMEs
Based on community input, it might be more user-friendly to have some
basic information about submitting patches in the BSP README itself.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-12-01 11:57:39 -06:00
Tom Zanussi
68c6b19d62 meta-intel: update READMEs with layer dependency list
Add a new 'Dependencies' section listing all the layer dependencies
for each BSP.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-11-21 09:30:00 -06:00
Tom Zanussi
6f65f6e44b Have n450.conf use the common ia32-base .inc file and remove the
open-coded machine settings.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-11-21 09:30:00 -06:00
Tom Zanussi
ba97cb7d2d meta-intel: remove virtual/xserver-xf86 references
These are now deprecated (in favor of just virtual/xserver), so remove
them.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-11-15 16:45:35 -06:00
Tom Zanussi
5b7438e46e meta-n450: xserver-xorg renaming updates
Update n450 to reflect the new xserver-xorg naming.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-10-15 22:04:12 -05:00
Tom Zanussi
e41d1e1fd2 meta-n450: update README.sources
Update README.sources to reflect final Yocto tarball location for
edison.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-10-04 22:13:18 -05:00
Tom Zanussi
072b217edf meta-intel: update BSPs to use grub2
grub2 is now the default, so explicit preferred entries are
unnecessary.  It also needs to be installed in the rootfs, so we need
to add it as a dependency.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-09-14 22:56:13 -05:00
Darren Hart
b86f811663 n450: update linux-yocto PREFERRED_VERSION to 3.0%
Avoid bitbake warnings about 3.0+git% not being available. The kernel version
contains the stable release as well (e.g. 3.0.4), so use the now standard
3.0% to select the latest 3.0 release of the linux-yocto kernel recipe.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-09-07 12:21:35 -07:00
Darren Hart
5ad6153af8 n450: update linux-yocto SRCREV to 3.0.4
Update n450 to use the 3.0.4 commit from the atom-pc branch.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-09-07 12:21:35 -07:00
Darren Hart
5c41b9b6a2 n450: decouple from meta-yocto atom-pc machine config
Fixes [YOCTO 1353]

The meta-yocto atom-pc is a more generic BSP than is needed
for the Intel n450. Decouple the n450.conf from the meta-yocto atom-pc.conf.
Add a linux-yocto_3.0.bbappend recipe.

In the process:
o remove MACHINE_FEATURES wifi and add serial
o specify linux-yocto version 3.0
o specify linux-libc-headers-yocto

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-08-19 14:22:21 -07:00
Darren Hart
bf39c131f3 rt: simplify linux-yocto-rt.bbappend for all BSPs
As the all the BSPs use the same BSP branch and meta commit ID as the base
recipe, there is no need specify the KBRANCH and SRCREVs. Not doing so
greatly simplifies maintenance. Leaving the syntax in place, but commented
out, serves as documentation should the need arise to use a different BSP
branch or meta commit ID.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-08-12 07:25:34 -07:00
Darren Hart
90d7762bb3 add linux-yocto-rt_3.0 support for all meta-intel BSPs
All the BSPs build out of the preempt-rt/base branch (rather than a
preempt-rt/$MACHINE branch), so separate KMACHINE and KBRANCH assignments are
required for each BSP.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-08-11 12:57:05 -07:00
Paul Eggleton
76d1178ba1 meta-intel: fix formfactor bbappends to use FILESEXTRAPATHS_prepend
This allows meta-intel sub-layers to coexist with meta-yocto when building
formfactor for different machines with the same layer setup.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-06-15 11:43:04 -05:00
Bruce Ashfield
d207c9531e meta-intel/linux-yocto: update to match the renamed linux-yocto recipes
The linux-yocto recipes have been renamed to include explicit
version numbers. The meta-intel bbappends must be updated to
follow the new naming convention.

As a consequence of the recipe renames any SRCREV specificiations
that were part of a machine.conf have been moved to the corresponding
bbappend file. This allows the 2.6.34 and 2.6.37 SRCREVs to co-exist.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

Minor whitespace cleanup.
Remove inadvertant? linux-libc-headers provider change.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-06-14 20:05:57 -07:00
Tom Zanussi
129773b573 meta-n450: add dependency info
Add information on the dependencies needed to use the meta-n450 layer.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-06-14 16:43:04 -05:00
Tom Zanussi
01e53d982b meta-intel: add systemtap bbappends
Add systemtap to task-core-tools-profile for crownbay,
crownbay-noemgd, fishriver, jasperforest, n450, and sugarbay.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-06-13 15:07:36 -05:00
Darren Hart
e94dba8309 linux-yocto*: correct FILESEXTRAPATHS assignment in all layers
My previous commit used a self referencing immediate expansion assignment using.
This causes a circular reference and build failure, particularly when more than
one layer is configured in.

Use the _prepend mechanism in conjunction with the immediate expansion
assignment operator to accomplish a similar thing without the self referencing.

Note: This patch is dependent on changes to oe-core, specifically:
http://lists.linuxtogo.org/pipermail/openembedded-core/2011-May/003145.html

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Cc: Phill Blundell <pb@pbcl.net>
Cc: Koen Kooi <koen@dominion.thruhere.net>
2011-05-27 09:47:56 -07:00
Otavio Salvador
3d02bee416 README.sources: use git.yoctoproject.org as server for the BSP repository
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-05-17 14:39:15 -05:00
Tom Zanussi
1b84a62be7 meta-intel: add README.sources
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-05-16 11:41:33 -05:00
Tom Zanussi
9db6f1d05c n450: fix n450-audio LIC_FILES_CHKSUM
Change from POKYBASE to COREBASE.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-05-14 20:53:39 -05:00
Darren Hart
90ace178d3 linux-yocto*: extend FILESEXTRAPATHS instead of clobber them
Clobbering FILESEXTRAPATHS prevents multiple bbappend files providing file://
SRC_URIs. Extend the variable in each meta-* layer instead.

Build tested with linux-yocto on n450 and crownbay and linux-yocto-stable on
crownbay. Build tested linux-yocto on n450 with a third layer adding a config
fragment.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Tom Zanussi <tom.zanussi@intel.com>
2011-05-13 07:47:47 -07:00
Darren Hart
7245856f0a n450: use linux-yocto (2.6.37) by default
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-04-27 15:20:38 -07:00
Darren Hart
c4ca6bf250 n450: add linux_yocto (2.6.37) bbappend
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-04-27 15:20:34 -07:00
Darren Hart
d29909877a n450: enable SMP and SCHED_SMT
Fixes [YOCTO 1010]

The Atom N450 CPU is single core with hyperthreading. Update the kernel recipe
to build with CONFIG_SMP and CONFIG_SCHED_SMT.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-04-27 15:20:15 -07:00
Darren Hart
6ddf87a8e9 gtk+: remove per-machine gtk+ FULL_OPTIMIZATION in favor of tune-atom.inc
Now that the FULL_OPTIMIZATION for gtk+ has been enabled in the core
tune-atom.inc, it is no longer necessary to do so for every atom based
bsp.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
CC: Ke Yu <ke.yu@intel.com>
CC: Richard Purdie <richard.purdie@intel.com>
2011-03-16 21:39:38 -07:00
Darren Hart
01ded1de3b n450: add optimization flags to gtk+ for n450 to avoid gcc core2 bug
Fixes [YOCTO #853]

Without these added optimization flags, the matchbox-panel (and possibly other)
applications would segfault. This patch applies the change only to the gtk+
recipe for the n450 bsp.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Ke Yu <ke.yu@intel.com>
2011-03-16 15:37:53 -07:00
Darren Hart
14f57b958b n450: add xorg.conf to disable AutoAddDevices
Fixes [YOCTO #869] (2 of 2)

The n450 needs:

    Option        "AutoAddDevices"  "False"

In the ServerFlags, or it will fail to detect the keyboard.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Tom Zanussi <tom.zanussi@intel.com>
2011-03-15 21:29:47 -07:00
Darren Hart
2bd6b798cb n450: add formfactor config
Fixes [YOCTO #869] (1 of 2)

Add a formfactor config for the n450 to include a keyboard and no
touchscreen. Without defining HAVE_TOUCHSCREEN=0, the default was
to set it to 1, and the matchbox session disables the cursor in
the case of a touchscreen device.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Tom Zanussi <tom.zanussi@intel.com>
2011-03-15 21:29:40 -07:00
Darren Hart
d9ac50894e n450: replace n450-audio with a proper init script
Rewrite n450-audio based on /etc/init.d/skeleton. Update the install to
rewrite all the system paths.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-03-12 00:46:56 -08:00
Darren Hart
d1ba49be30 n450: revamp audio mixer init script
Fixes [YOCTO #798]

n450-audiofix suffered from various problems, including not getting installed.
This patch adds it via MACHINE_EXTRA_RRECOMMENDS and cleans up the various
bugs in the implementation. The structure has been renamed and the comments
updated for consistency. This should be considered a stop-gap measure, as
something along the lines of oe's alsa-state is a far better solution.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-03-12 00:46:41 -08:00
Darren Hart
4bbfc4f08b n450: Default to atom-pc SRCREVs for linux-yocto-stable
AUTOREV should only be used for local development and that can be set using
the meta-extras/meta-kernel-dev layer. Comment the subtle aspect of defaulting
to the atom-pc SRCREVs due to the shared KMACHINE.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
2011-03-11 11:20:19 -08:00