summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine
Commit message (Collapse)AuthorAgeFilesLines
* bitbake.conf/qemux86-64: Automate TRANSLATED_TARGET_ARCHRichard Purdie2011-08-031-3/+0
| | | | | | (From OE-Core rev: 6def7129cf7580a935c05cc05b7f803812d5bb18) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune/ppc: Fix various TUNE_PKGARCH issuesRichard Purdie2011-08-026-6/+7
| | | | | | | | | | We need to ensure only one value ends up in TUNE_PKGARCH rather than several. This change ensures consistency accross all the PPC tune files and that they correctly inherit the core value but also allow it to be overwritten. (From OE-Core rev: f9a8b719dd3fc7593a509c8f288caf1486add2f8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* arch-armv7a.inc: fix armv7a-vfp-neon -> armv7a compat caseKoen Kooi2011-08-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this 'armv7a' is used as TUNE_ARCH but does *not* end up in PACKAGE_EXTRA_ARCHS: arch all 1 arch any 6 arch noarch 11 arch arm 16 arch armv4 21 arch armv4t 26 arch armv5 31 arch armv5t 36 arch armv5-vfp 41 arch armv5t-vfp 46 arch armv5e 51 arch armv5te 56 arch armv5e-vfp 61 arch armv5te-vfp 66 arch armv6-vfp 71 arch armv6t-vfp 76 arch armv7-vfp 81 arch armv7t2-vfp 86 arch armv7a-vfp 91 arch armv7at2-vfp 96 arch armv7a-vfp-neon 101 arch armv7at2-vfp-neon 106 arch beagleboard 111 Which leads to a failing do_rootfs (From OE-Core rev: 2a41a311ddda11713296391050f3c2c1b2c1d3d3) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune-ppce500mc: Adjust PowerPC e500mc tune file to correctly set hard fpu.Malcolm Crossley2011-08-011-1/+1
| | | | | | | | (From OE-Core rev: 1456cdef9e1a28f7abe1385b10caa5069ba7afac) Signed-off-by: Malcolm Crossley <malcolm.crossley@ge.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune/arch-powerpc64: Remove support for soft-float from ppc64Kumar Gala2011-08-011-4/+2
| | | | | | | | | | All 64-bit PPC processors support hard-float so no need to support soft-float. (From OE-Core rev: 54c7d1faf5376c8fb9b19f4e192ce959c8442782) Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune/arch-powerpc64: Fix typo with 64-bit TUNE_CCARGS handlingKumar Gala2011-08-011-1/+1
| | | | | | | | | | When figuring out how to set TUNE_CCARGS we should look for 'm64' not 'n64' in TUNE_FEATURES. (From OE-Core rev: 7a9ea28e69e8121a559f610dd2330edd33f0a907) Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* feature-arm-thumb: respect ARM_INSTRUCTION_SETMartin Jansa2011-08-011-1/+2
| | | | | | | | (From OE-Core rev: e23f9ce928353c9da2b9c4bfa9a1a125a7d160f2) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune-xscale: fix xscale/xscale-be confusionDmitry Eremin-Solenikov2011-08-011-1/+1
| | | | | | | | | | | Currently tune-xscale.inc has options wrt. setting of xscale/xscale-be tunes. Fix that. (From OE-Core rev: 90ce6e4b7ffaaf1e3af39583ca62b20f08e78959) Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* arch-armv6, arch-armv5-dsp: correct endianness confusionPhil Blundell2011-08-012-6/+6
| | | | | | | | | | | | | | | | | | | PACKAGE_EXTRA_ARCHS_tune-armv5eb needs to be defined in terms of the non-e with the same endianness, i.e. PACKAGE_EXTRA_ARCHS_tune-armv5b not PACKAGE_EXTRA_ARCHS_tune-armv5, otherwise PACKAGE_EXTRA_ARCHS will end up containing a semi-random mixture of endiannesses and disaster will ensue. Likewise for the vfp and armv6 variants. This is all a bit confusing because TUNE_FEATURES is done the opposite way around, i.e. TUNE_FEATURES_tune-armv5eb is derived by taking the armv5e version and adding bigendian. But fixing that is probably a subject for a separate patch. (From OE-Core rev: 391c0102a81455c76244d13b6878e3a76cca65dc) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune-cortex{m1, m3, r4}: correct spelling of "cortex"Phil Blundell2011-08-013-4/+3
| | | | | | | | | | Otherwise the test in TUNE_CCARGS will never match. (From OE-Core rev: 3b7784021259ac745c80043bec16189fa8f4e45e) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add basic PowerPC core tune configRichard Purdie2011-07-277-18/+96
| | | | | | (From OE-Core rev: 3212029f0967dd353fec8cc147d2b95031d1018a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add basic Mips core tune configRichard Purdie2011-07-272-3/+76
| | | | | | | Acked-by: Mark Hatle <mark.hatle@windriver.com> (From OE-Core rev: b33cdc23c04acfa55df0f764e1648bf030ae5e9c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add ARM tune file overhaul based largely on work from Mark HatleRichard Purdie2011-07-2723-74/+435
| | | | | | (From OE-Core rev: 789dcb8e68a2ab9784ac10ab36815010c61af2fc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* machine/qemu: set preferred linux-yocto kernel versionBruce Ashfield2011-07-271-0/+1
| | | | | | | | | | | The introduction of the linux-yocto-3.0 kernel is taking precedence over the known working 2.6.37 version. Forcing 2.6.37 until 3.0 is validated on the qemu machines. (From OE-Core rev: 77a41ab5ca92606ee08f002a8dfc631f642a3179) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune-core2.inc: Drop X86ARCH32 usageRichard Purdie2011-07-271-1/+0
| | | | | | | | | Using i686 doesn't work well with locale generation and doesn't gain anything so revert to the i586 default. (From OE-Core rev: 79b7b1aab5d3d002bfa7a49887d5d834c29eae45) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* arch-ia32.inc: Fix up TUNE_ARCH variable conflictsRichard Purdie2011-07-262-3/+5
| | | | | | | | | The current approach causes duplicate values to appear in the TUNE_ARCH field and this patch addresses that. (From OE-Core rev: 02031d766f983cd7e01e468cb2c926604313cd2a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Rename SITEINFO_ENDIANESS to SITEINFO_ENDIANNESSKhem Raj2011-07-261-2/+2
| | | | | | | | | | | | | There is this discrepency in spelling. Lets fix it in core. There are lot of layers using SITEINFO_ENDIANNESS This was shielded since meta-oe had its own copy of siteinfo class. But that class has now been deleted in favor of oe-core (From OE-Core rev: 54a54778fad39931ac7d43daaf37ce7c1946a29b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Move architecture specific TARGET_OS mangling into tune filesRichard Purdie2011-07-252-0/+4
| | | | | | (From OE-Core rev: f10a3457cdfbb4a94978da998d178d4254632fa7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* conf/machine/include: Start to fill out architecture specific tune include ↵Richard Purdie2011-07-2528-35/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | files and tune features These changes revolve around the idea of tune features. These are represented by 'flag' strings that are included in the TUNE_FEATURES variable. Any string included in TUNE_FEATURES should also add a TUNEVALID[<name>] entry so we can know which flags are available in TUNE_FEATURES and have documentation about what the flags do. We will add sanity code to error if flags are listed in TUNE_FEATURES but are not documented in TUNEVALID. A given tune configuration will want to define one or more predetermined sets of _FEATURE flag lists. These are defined in the form TUNE_FEATURES_tune-<name>. For defined tune configuation, <name> should be added to the AVAILTUNE list so that we can determine what tune configurations are available. Flags cannot be used in this case as with TUNEVALID since its useful to be able to build up tune lists from other TUNE_FEATURES_tune-yyy options. A given tune configuration may also define PACKAGE_EXTRA_ARCHS_tune-<name> and BASE_LIB_tune-<name> to control the multilib location. All options can be overridden by the distro or local user configuration. (From OE-Core rev: 5f9d56bd64997b93ed7e46c117851002a0556654) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* conf/machine/include: Set TUNE_CCARGS instead of TARGET_CC_ARCHRichard Purdie2011-07-2527-31/+31
| | | | | | | | | | | | | | Since we're updating the tune file format, it makes sense to abstract the compiler tune arguments at this point too. This means that should these need to be overridden at any point, the original values can still be obtained in a similar manner to the other TUNE* variables. Whilst this isn't strictly necessary for any current need, its likely good practise to standardise this behaviour. (From OE-Core rev: 3a3c69a1bc3cf0b6f6a3b13d86c12ed21798d48e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* conf/machine/tune: Overhaul tune include file variablesRichard Purdie2011-07-2531-54/+87
| | | | | | | | | | | | | | | | | | | | | | There is currently consideradble confusion over how the tune files operate and how these interact with the rest of the build system. This update/overhaul changes things so the tune files are primarily resonsible for setting: TUNE_ARCH - What was formerly set as TARGET_ARCH and is the value that represents the architecture we're targetting. TUNE_PKGARCH - The value that represents the tune confuration that this set of tune parameters results in. This allows the significant improvement that the core can now always determine the target architecture value, even when TARGET_ARCH needs to be reset to something different and likewise, there is one package architecture variable the core can reference allowing simplification of the BASE_PACKAGE_ARCH, PACKAGE_ARCH and FEED_ARCH variables. (From OE-Core rev: a10de4cf8b424ee95c8e283e75d486be5b3b8eac) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune-ppce500mc: Add a tune file for PowerPC e500mc coreKumar Gala2011-07-201-0/+4
| | | | | | | (From OE-Core rev: 8f37792dc422f81e39e3b32df5e56d915c87216f) Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune-ppce500v2: Add a tune file for PowerPC e500v2 coresKumar Gala2011-07-201-0/+4
| | | | | | | (From OE-Core rev: 1448b6381b2039d0da7ab06c522d973bd8126747) Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "qemu.inc: append to IMAGE_FSTYPES instead of weakly assigning them"Richard Purdie2011-06-141-1/+1
| | | | | | This reverts commit a205c32dcb229e30c5e8eead1472593fc8bc96a6. This was accidentally committed.
* qemu.inc: append to IMAGE_FSTYPES instead of weakly assigning themKoen Kooi2011-06-141-1/+1
| | | | | | | | | The ext3 format is pretty much mandatory for qemu usage, so always create it. (From OE-Core rev: 94da548810eece652bd32fb68a36f978b7d7cf2a) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* IMAGE_ROOTFS_SIZE CleanupSaul Wold2011-05-251-2/+0
| | | | | | | | | | | | | | | | | This basic cleanup removes the _ext2/3 overrides from places they no longer belong since they did not allow further overrides. In doing this the core-image-minimal* recipes can now set a reasonably small rootfs so that it's a realistic size for minimal. The new default for minimal is 8M and will be adujsted upward by the IMAGE_OVERHEAD_FACTOR (default of 1.3). This also fixes the ROOTFS_SIZE usage in the IMAGE_CMD_<fstype> code (From OE-Core rev: d3f6e1e6106ab539e73c19037915b2e4a5f2efa9) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu machines: drop MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "qemu-config"Koen Kooi2011-05-231-1/+0
| | | | | | | | | Things like 'distcc' and 'bash' are not essential to booting a qemu machine. (From OE-Core rev: 65f1109faf9548c5d083089561d5b9d99dbacc83) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Drop unused *GUI* and MACHINE_DISPLAY variablesRichard Purdie2011-05-111-2/+0
| | | | | | (From OE-Core rev: baf136a9c95a94c5bf89c9a818960d616439682c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* machine/qemu: Add qemu-config as an essential machine speicfic dependency ↵Richard Purdie2011-05-113-2/+3
| | | | | | | | and drop specific distro config (From OE-Core rev: 617b8f2ae26a6b4ac57795fead39ef20b1f92ecc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemuppc: add libqtopengl4 for ppcMei Lei2011-04-041-0/+2
| | | | | | | | | | 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>
* machine/include/tune-atom.inc: Remove FULL_OPTIMIZATION_pn-gtk+Khem Raj2011-03-241-4/+0
| | | | | | | | | | * 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>
* bitbake.conf/tune files: Adjust PACKAGE_EXTEA_ARCHSRichard Purdie2011-03-2314-14/+14
| | | | | | | | | | | | | | | | | | | | | 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>
* atom-pc: work around gcc bug for core2Darren Hart2011-03-171-0/+4
| | | | | | | | | | | | | | 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>
* tune-atom.inc: Remove duplicate TARGET_ARCH entry to avoid ipk rootfs issues ↵Richard Purdie2011-03-151-1/+1
| | | | | | | | as temp workaround for problems pending a proper fix (From OE-Core rev: a39610f0ac4c77f225671916610f78a18ff70350) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-yocto: Move files inappropriate to OE-Core from metaRichard Purdie2011-03-034-127/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* conf/machine: Use linux-libc-headers instead of linux-libc-headers-yoctoRichard Purdie2011-02-254-4/+4
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xf86-video-intel: add config option to support rootless XYu Ke2011-02-231-0/+2
| | | | | | | | | | | - 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>
* zaurus: remove zaurus linux includesDarren Hart2011-02-212-87/+0
| | | | | | | | | | | | Zaurus support was removed with: 673abd92f999829bdd67d0273c43570a62123a63 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>
* conf/machine: Drop older machines with no recent updatesRichard Purdie2011-02-1817-517/+0
| | | | | | | | | 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>
* mpc8315-rdb: add dtb generation configurationBruce Ashfield2011-02-091-0/+1
| | | | | | | | | | 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>
* beagleboard: allow kernel provider overrideDarren Hart2011-02-071-1/+1
| | | | | Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Bruce Ashfield <bruce.ashfield@windriver.com>
* beagleboard: set kernel provider to linux-yocto (2.6.37)Darren Hart2011-02-031-1/+1
| | | | | | | | | 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>
* mpc8315e-rdb: set UBOOT_ENTRYPOINTBruce Ashfield2011-02-011-0/+3
| | | | | | | | | | 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>
* beagleboard: Not ready for 2.6.37 kernel yet, use stable insteadSaul Wold2011-01-241-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* overo: use the new upstream u-boot recipeDarren Hart2011-01-211-1/+1
| | | | | | | | | 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>
* beagleboard: add x-load and u-boot dependsDarren Hart2011-01-211-0/+3
| | | | | | | | | 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>
* machine/qemu: Allow for users to override the preferred kernel versionDarren Hart2011-01-201-1/+1
| | | | | | | | 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>
* linux-yocto: beagleboard enablementBruce Ashfield2011-01-191-3/+3
| | | | | | | | | | | | 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>
* linux-yocto: add routerstation pro and mpc8315e-rdb supportBruce Ashfield2011-01-122-4/+4
| | | | | | | | | 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>
* machines: move PACKAGE_EXTRA_ARCHS to tune filesKoen Kooi2011-01-1041-29/+38
| | | | | | | | 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>