Commit Graph

227 Commits

Author SHA1 Message Date
Richard Purdie 0504d36646 bitbake.conf: Drop unused *GUI* and MACHINE_DISPLAY variables
(From OE-Core rev: baf136a9c95a94c5bf89c9a818960d616439682c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-11 15:38:33 +01:00
Richard Purdie 367a1394e2 machine/qemu: Add qemu-config as an essential machine speicfic dependency and drop specific distro config
(From OE-Core rev: 617b8f2ae26a6b4ac57795fead39ef20b1f92ecc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-11 15:26:16 +01:00
Mei Lei 22c7a3a1c4 qemuppc: add libqtopengl4 for ppc
Modify some configs for ppc to enable the libqtopengl4 support.
This fixes [YOCTO #848]

(From OE-Core rev: cc6763b81fafddcb112a6126373c594e3ec4b140)

Signed-off-by: Mei Lei <lei.mei@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04 17:28:07 +01:00
Khem Raj 54d46cb693 machine/include/tune-atom.inc: Remove FULL_OPTIMIZATION_pn-gtk+
* Since bitbake.conf has got rid of -fomit-frame-pointer this
  is no longer required

(From OE-Core rev: ba89ba8e02185c7adb92240f119a57e7b21adfa7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-24 12:33:35 +00:00
Richard Purdie a295a0442e bitbake.conf/tune files: Adjust PACKAGE_EXTEA_ARCHS
There is a problem with the current PACKAGE_EXTRA_ARCHS implementation
since its impossible to control which extra architectures sort higher
than TARGET_ARCH and which sort lower. In the x86 case for example,
TARGET_ARCH might be "i586", i486 should be lower than this and i686 should
be higher. There are also complications where its easy to inject duplicate
entries into the variable.

I tried various versions of this patch and concluded that it was simplest
just to force the tune files to include TARGET_ARCH in the list in the
right place if they're planning to customise it themselves. Other approaches
with appends and prepends just complicated the code for no good reason.

The TARGET_ARCH definitions should also move to the tune files but I'll
leave this for a separate patch.

(From OE-Core rev: d492ebf8b1801da99c679f465be98ce54fd3061a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23 15:43:47 +00:00
Darren Hart 35260008f4 atom-pc: work around gcc bug for core2
Fixes [YOCTO #853]

Without these added optimization flags, the matchbox-panel (and possibly other)
applications would segfault. This patch applies the changes to all machines
derived from atom-pc.conf.

[Tweaked by RP to apply to gtk+ only]
(From OE-Core rev: 5eb24b1cb57d1e0b43dfc993a635cd2b58d58fcf)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-17 00:18:20 +00:00
Richard Purdie bd161f7594 tune-atom.inc: Remove duplicate TARGET_ARCH entry to avoid ipk rootfs issues as temp workaround for problems pending a proper fix
(From OE-Core rev: a39610f0ac4c77f225671916610f78a18ff70350)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-15 20:32:28 +00:00
Richard Purdie b0dec83e8c meta-yocto: Move files inappropriate to OE-Core from meta
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-03 23:53:32 +00:00
Richard Purdie e26e8ea364 conf/machine: Use linux-libc-headers instead of linux-libc-headers-yocto
Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
2011-02-25 22:43:33 +00:00
Yu Ke 8d1847a908 xf86-video-intel: add config option to support rootless X
- add global config option ROOTLESS_X to control if enable
  rootless X for the machine. ROOTLESS_X requires graphics
  driver supporting KMS (kernel mode setting), so far, only
  atom_pc support this. so enable ROOTLESS_X for atom_pc machine

- add config options for xf86-video-intel to support rootless X

Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-02-23 10:55:10 -08:00
Darren Hart 7bae9465f3 zaurus: remove zaurus linux includes
Zaurus support was removed with:

673abd92f9
conf/machine: Drop older machines with no recent updates

which removed both the linux-rp and sharp-flash-header recipes required by the
zaurus includes removed by this patch.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-02-21 17:59:39 +00:00
Richard Purdie 673abd92f9 conf/machine: Drop older machines with no recent updates
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-18 15:36:06 +00:00
Bruce Ashfield ad987ff0f3 mpc8315-rdb: add dtb generation configuration
Fixes [BUGID #610]

dtb files were not being built for the mpc8315e-rdb, since they
weren't being configured into the machine. With this and the
related dtc fixes, we now get a dtb in the deployment directories.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-02-09 11:16:35 +00:00
Darren Hart 1d3fdc85c6 beagleboard: allow kernel provider override
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-02-07 16:52:41 +00:00
Darren Hart 3a70078c36 beagleboard: set kernel provider to linux-yocto (2.6.37)
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-03 11:52:32 -08:00
Bruce Ashfield e4a4d9e984 mpc8315e-rdb: set UBOOT_ENTRYPOINT
Fixes [BUGID #685]

Although not used if the in kernel uImage is booted, it is
a good idea to set the UBOOT_ENTRYPOINT just as the other
uImage based boards do.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-02-01 23:59:43 +00:00
Saul Wold c52e13a5a6 beagleboard: Not ready for 2.6.37 kernel yet, use stable instead
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-01-24 14:42:55 -08:00
Darren Hart f1902976e5 overo: use the new upstream u-boot recipe
In preparation to remove the u-boot-omap3 recipe, update the overo
machine to use the new upstream u-boot recipe.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-01-21 11:18:36 +00:00
Darren Hart fb07e93b8e beagleboard: add x-load and u-boot depends
The Beagleboard xM requires x-load and u-boot to be installed
on the MMC as it has no NAND (as of rev B and onward).

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-01-21 11:18:36 +00:00
Darren Hart 8734754b3e machine/qemu: Allow for users to override the preferred kernel version
The linux-yocto-rt kernel has been boot tested on qemux86-64. Unlock
the preferred provider for virtual/kernel so it can be selected and
used.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-01-20 21:36:58 +00:00
Bruce Ashfield 37c4345197 linux-yocto: beagleboard enablement
Enable beagleboard support for 2.6.37. The only non-kernel related
change for the board is to update the serial console designation.

The Beagleboard use omap serial driver, so we replace ttyS2 with ttyO2.
This is described in following link:
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg40838.html

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Liming Wang <liming.wang@windriver.com>
2011-01-19 11:36:27 -08:00
Bruce Ashfield 03072100f1 linux-yocto: add routerstation pro and mpc8315e-rdb support
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-12 00:55:49 -08:00
Koen Kooi 38b25eed95 machines: move PACKAGE_EXTRA_ARCHS to tune files
This gets us closer to making including tune-<arch>.inc "just work".
Moving the TARGET_ARCH definitions is something for a follup patch.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-10 18:18:43 +00:00
Bruce Ashfield 88d27ef448 qemu: match kernel headers to preferred kernel
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>
2010-12-23 14:28:21 +00:00
Bruce Ashfield 0e7d9956a0 yocto-kernel: factor common routes, update to 2.6.37 and branch renaming
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-12-10 22:01:36 -08:00
Lianhao Lu 2021e2a74f Using TRANSLATED_TARGET_ARCH instead of TARGET_ARCH.
Using TRANSLATED_TARGET_ARCH instead of TARGET_ARCH for
cross-canadian packages. This is due to the TARGET_ARCH of x86_64
would results incorrect packaging in cross-canadian packages.

The pacakge name appendix of x86_64 target in cross-canadian
packages is x86-64.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2010-12-10 15:36:48 +00:00
Bruce Ashfield c70816cb90 linux-wrs: rename to linux-yocto
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-18 13:30:22 -08:00
Bruce Ashfield 8aa0c8c6cf mpc8315e-rdb: align PACKAGE_EXTRA_ARCHS with tuning
Fixes [BUGID #500]

While the tuning for the mpc8315e is 603e, the PACKAGE_EXTRA_ARCHES
was ppce300. This created a mismatch and resulted in rootfs assembly
issues due to missing locales.

We align both at 603 and can revist a better tuning in the future.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-10-21 13:52:01 +01:00
Darren Hart 03ecd2a3f4 atom-pc: remove kernel video mode parameters
The kernel video mode parameters are not needed with the atom-pc linux-wrs
configuration. Without them, we boot up with a standard 80x25 text display
until the Intel i915 driver is initialized, at which point we switch to a
higher resolution text mode. Afterwards, a sato image will start the splash
screen and successfully boot to X.

Tested on the Toshiba NB305 netbook and the Black Sand development board.

[BUGID #450]

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-15 10:13:26 +01:00
Tom Zanussi 65954baaa3 atom-pc: get rid of undefined video mode prompt on bootup
Temporary fix for [BUGID #450]

This fixes the video mode number to the expected value for this video
setting, but the setting itself needs to be fixed along with matching
config options - this patch is just a temporary fix for RC2.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2010-10-14 20:12:03 +01:00
Bruce Ashfield c9b6051f2c linux-wrs: add initial beagleboard support
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-11 22:57:20 +01:00
Bruce Ashfield 5ae1e2c9e8 mpc8315e-rdb: create machine and tuning configuration
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-11 22:57:00 +01:00
Bruce Ashfield 149f226213 routerstationpro: create machine conf and compatibility
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-11 22:56:28 +01:00
Richard Purdie 2f55ec4a52 atom-pc: Switch from linux-netbook to linux-wrs
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-09 16:00:57 +01:00
Darren Hart c449c78c25 Rename MACHINE=netbook to MACHINE=atom-pc
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-08 16:56:44 +01:00
Qing He 59646974ab qemux86-64: remove -march for 64bit common pc
Fixes [BUGID #347].

Signed-off-by: Qing He <qing.he@intel.com>
2010-09-27 08:59:16 -07:00
Saul Wold 239a368d57 netbook: Correct netbook build by moving netbook configuration from moblin to meta
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-09-24 16:43:21 -07:00
Joshua Lock 196f6f2d20 qemu.inc: ensure helper programs are built when building for qemu machines
QEMU machine images are useless without qemu-native and qemu-helper-native

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-08-25 11:15:16 +01:00
Richard Purdie fb10983b99 qemux86-64: Add new emulation machine for 64bit x86
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-27 22:45:41 -07:00
Bruce Ashfield d39ae18df2 qemu/mips: arrange for vmlinux to be bootable
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-07-19 11:59:51 -04:00
Bruce Ashfield 9ee1fbb720 qemu machines: Switch to use linux-wrs
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-07-19 11:59:51 -04:00
Enric Balletbo i Serra 053e64e14a igep0030: add new OMAP3 IGEP module.
The IGEP module is a low-power, high performance production-ready
system-on-module (SOM) based on TI's OMAP3 family.

The IGEP module solution based upon TI OMAP3 provides a low-power/low-cost
platform for a variety of consumer/industrial/medical devices.

Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
2010-07-05 15:49:33 +01:00
Enric Balletbo i Serra e5520e20ab igep0020: add MACHINE_EXTRA_RRECOMMENDS on linux-firmware-sd8686.
Signed-off-by: Enric Balletbo i Serra <eballetbo@gmail.com>
2010-07-05 15:49:33 +01:00
Enric Balletbo i Serra d42035d226 igep0020: use linux-igep for preferred kernel provider.
Signed-off-by: Enric Balletbo i Serra <eballetbo@gmail.com>
2010-07-05 15:49:33 +01:00
Enric Balletbo i Serra 912e9d234e igep0020: set default TARGET_FPU to 'hard'.
Signed-off-by: Enric Balletbo i Serra <eballetbo@gmail.com>
2010-07-05 15:49:32 +01:00
Joshua Lock 5dab2c9aa7 Move some machines which no longer build to meta-extras
om-gta01, om-gta02, nokia700, nokia800 and mx31litekit no longer build and we
don't have a maintainer for them so move them to meta-extras

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-29 15:20:33 +01:00
Richard Purdie d6bda454f8 qemuppc: Add ppc603e to PACKAGE_EXTRA_ARCHS, fixing image builds
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-11 10:27:02 +01:00
Richard Purdie f38160b367 bootcdx86: This is dropped in favour of netbook iso images
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-09 12:58:46 +01:00
Joshua Lock 53d98d76fd Move all QEMU machines to use a common kernel recipe set and version
The different kernel recipes encapsulate functionality groups for machines,
therefore it makes sense to have all the QEMU machines using the same kernel
recipe.

Switch the QEMU machines to default to the "linux" recipes for their kernel
and bump the latest recipe from linux-2.6.32 to 2.6.33.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-05-18 14:22:27 +01:00
Enric Balletbo i Serra aa1931498b igep0020: Rename files for IGEP v2 boards, prepare for support Hw rev. B and rev. C
Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
2010-04-07 10:20:53 +01:00