aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp
AgeCommit message (Collapse)Author
2011-12-16grub-efi: specify prefix so it can find grub.cfgDarren Hart
Specify /EFI/BOOT as the grub prefix so the grub efi payload can find the grub.cfg in the same directory. Ultimately, it might make more sense to install the grub tools and the grub-core modules to sysroot and make the grub-efi bbclass generate the image in the required format as part of the bootimg generation. However, bootimg is currently the only user, so make the correction here to resolve the immediate issue. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-16grub-efi: Add efi_gop module to payload for physical console supportDarren Hart
Without the efi_gop module, the GRUB menu would work, but the Linux kernel messages would not be displayed to the physical console. Adding efi_gop causes grub to pass the proper information in the boot parameters pointer such that the Linux kernel can detect and use the EFI framebuffer. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-15Patch Upstream Status UpdatesSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-12-15grub_1.99.bb: drop 'PRIORITY = "optional"' as it is the defaultOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-15grub-efi-native_1.99.bb: drop 'PRIORITY = "optional"' as it is the defaultOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-13u-boot: renamed dir from uboot to the more appropriate u-bootFrans Meulenbroeks
recipe dirs normally have the name of the (main) package and the official name is u-boot Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-12libacpi: Use the cross strip instead of host stripNitin A Kamble
to avoid this build error on x32: | strip: Unable to recognise the format of the input file `test-libacpi' | make: *** [test-libacpi] Error 1 | ERROR: oe_runmake failed Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-12-12libacpi: Fix libdir for x32Nitin A Kamble
libacpi doesn't use base_libdir for install. This patch adds base_libdir support so that x32 libraries are installed properly. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
2011-12-08qemu-config: Disable dbus-x11 when no x11 in DISTRO_FEATURESXiaofeng Yan
dbus-x11 could be not needed by an image without x11. So I modified this bb file to enable dbus-x11 when x11 is in DISTRO_FEATURES and disable \ dbus-x11 without x11 feature. [YOCTO #1674] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-08grub: Create /etc/grub.dSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-12-06omap3-sgx-modules: drop from oe-core, it lives in the meta-ti BSP nowadaysKoen Kooi
OE-core only support qemu based machines, so BSP type recipe should be moved to their respective BSPs omap3-sgx-modules can be found in the meta-ti BSP: http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/meta-texasinstruments/ Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-30grub: Use COMPATIBLE_HOSTDarren Hart
Drop the anonymous python block in favor of the much simpler COMPATIBLE_HOST mechanism. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-30grub: Drop "apply=yes" from patchDarren Hart
The "apply=yes" doesn't appear to be necessary, drop it in favor of a simpler SRC_URI specification. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-30eee-acpi-scritps: Upgrade to 1.1.12 via git tagZhai Edwin
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-30grub-efi-native: New recipe to build GRUB EFI imagesDarren Hart
Add a recipe to build the GRUB efi images. This recipe is written as a native recipe as the resulting GRUB utils are required to assemble the final image. Rather than build a native and a target recipe (and increase build times), this recipe builds the utils for the host and passes an appropriate --target argument to the GRUB configure script to build the modules for the target arch. The only output of this recipe is an EFI image in the deploy directory. Care is taken to ensure changing targets will force a rebuild of this native recipe by including the target arch in the PN. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-11-10keymaps: depend on kbd instead of console-toolsMartin Jansa
* nowadays kbd seems more active Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-11-10task-core-boot, keymaps: add another VIRTUAL-RUNTIME to allow distributions ↵Martin Jansa
to use different set of initscripts or no initscripts at all Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-11-10Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie
This is the result of running the following over the metadata: sed \ -e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-14v86d: update to 0.1.10Saul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-10-06grub: Add SRC_URI ChecksumSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-09-28apmd: use ${HOST_SYS}-libtoolAndrew Gabbasov
libtool-cross uses ${HOST_SYS}- prefix while building and installing. In some cases that may be different from ${TARGET_PREFIX}, that is currently used in apmd recipe. It's better to have them consistent. Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-27grub: Fix insane/QA architecture warningRichard Purdie
There is QA warning about this package for an architecture mismatch but this is inappropriate in this case since the bootloader needs 32 and 64 bit code. We therefore flag the QA check to be skipped. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22qemu-config: use pkg_postinst to generate the proper shutdown.desktopDexuan Cui
[YOCTO #1507] We need to remove the file qemuarm/shutdown.desktop, or else, on qemuarm, due to the PACKAGE_ARCH overriding from all to qemuarm in base.bbclass, the generated deb file will be stored at tmp/deploy/deb/qemuarm/qemu-config_1.0-r21_allarch.deb rather than tmp/deploy/deb/all/qemu-config_1.0-r21_all.deb, and the package qemu-config won't be installable -- task-base finally rdepends on qemu-config, so we get the do_rootfs failure: The following packages have unmet dependencies: | task-base-extended: Depends: task-base but it is not going to be installed | E: Broken packages There is also a generic shutdown.desktop, we can keep it and use a proper pkg_postinst to cope with the case of qemuarm. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22usbutils: Move the pkgconfig file(s) to the -dev packageMark Hatle
pkgconfig files belong in the -dev package. They automatically add a runtime dependency (when packaging with RPM) for "pkgconfig", which is not desired to be installed with this package. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16grub_1.99: add PN to RDEPENDSTom Zanussi
RDEPENDS is package-specific, so add ${PN} to it. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-15grub2: new recipeTom Zanussi
This adds the grub-1.98 from meta-intel while upgrading it to 1.99. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-09-02o-hand recipes: convert from svn.o-hand.org to git.yoctoproject.orgSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-08-23recipes: Delete patch=1, its default and replace pnum with striplevelKhem Raj
Some place pnum=1 is used which is removed as well since striplevel=1 is default Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-08-04SRC_URI, S: use BPN instead of PN for multilib caseYu Ke
in multilibcase, PN has multilib prefix, so it is not correct to use PN in SRC_URI and S. instead, we've dedicately pruned multilib prefix in BPN, so BPN is the right alternative for PN. Signed-off-by: Yu Ke <ke.y@intel.com>
2011-07-20pciutils: Change the hardcoded /usr/lib to support multilib.Dongxiao Xu
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-07-13Patches: Fix Upstream-Status infoSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-07-08usbutils: Add RDEPENDS on bashSaul Wold
[YOCTO #1214] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-07-07uboot: Add 2011.06 VersionSaul Wold
[YOCTO #1198] Addes the 2011.06 version, while keeping the older 2011.03 version since other layers might be using it still. This will need to be fixed in the future as oe-core should only be keeping the current versions and layer management addresses this somehow. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-07-07x-load: Drop PR from PV and fix version to 1.5.0Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-05x-load: Update to 1.5.0Saul Wold
[YOCTO #1197] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-07-05u-boot: Drop INSANE_SKIP since it insane no longer trips up on this recipeRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01Drop PRIORITY variableRichard Purdie
As discussed on the mailing list, this variable isn't useful and if wanted would be better implemented by distros using pn-X overrides. This patch executes: find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d' against the tree removing the referenced. Thanks to Phil Blundell for the command. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29grub: add -fno-reorder-functions into STAGE2_COMPILEDexuan Cui
This is used to work around a gcc-4.6's bug about the option. [YOCTO #1099] Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-28[PATCH] u-boot-mkimage: bump version to 2011.03Ilya Yanok
This patch changes u-boot-mkimage version to 2011.03. Unfortunately U-Boot 2011.03 release has some problems building tools from unconfigured tree, so this patch aslo includes the backported fixes. Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22u-boot: set SRCREV to a git revision instead of a tag referencePaul Eggleton
If we use a tag here then bitbake has to connect to the repository to find out the corresponding revision (so it can expand SRCPV which is part of PV, which amongst other things is needed to determine whether or not the package has to be rebuilt.) This occurs at parse time; on machines behind a firewall or with no network access this can be a problem. We wish to avoid unnecessary network accesses and network access in our default configuration during parse time is even worse. Substituting the git revision corresponding to the tag prevents bitbake from having to contact the remote repository in order to expand PV. Addresses [YOCTO #1186] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-06-13usbinit: Inherit allarch as its a generic scriptRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-13keymaps: Inhibit toolchain dependencies as its just configuration filesRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-13formfactor: Inhibit toolchain dependencies as its just config filesRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-13pointercal: Inhibit toolchain dependencies as its just config filesRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-02u-boot: package up u-boot.bin for field upgradesKoen Kooi
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-31Improve handling of 'all' architecture recipes and their interaction with sstateRichard Purdie
The existing PACKAGE_ARCH = "all" mechanism of sharing packages is problematic with sstate since there are a variety of variables which have target specific values and the sstate package therefore correctly changes signature depending on the MACHINE setting. This patch creates a new "allarch" class which sets: PACKAGE_ARCH = "all" (as per the existing convention) INHIBIT_DEFAULT_DEPS = "1" (since its not target specific and therefore can't depend on the cross compiler or target libc) TARGET_ARCH = "all" TARGET_OS = "linux" TARGET_CC_ARCH = "none" (since these variables shouldn't change between the different packages and target compiler flags shouldn't be getting used) PACKAGE_EXTRA_ARCHS = "" (since we shouldn't be depending on any architecture specific package architectures) Not all PACKAGE_ARCH = "all" recipes can use this class since some run configure checks on the compiler. This means they have target specific components and therefore the "all" classification is incorrect. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-27u-boot: rename u-boot_git.bb to u-boot_${PV}.bbDarren Hart
In order to facilitate reuse of the oe-core u-boot recipe, there needs to be some assurance that the oe-core version won't change without a clear indicator to people extending it. By renaming the recipe to include its version string instead of "git", BSP layers can extend a specific base version of u-boot, ie. u-boot_2011.03.bbappend. When 2011.06 becomes available, we can create that file without instantly breaking all the BSPs depending on oe-core version of the recipe. As a matter of policy I would recommend we not carry more than 2 versioned u-boot recipess at any given time. This will provide BSP layers time to migrate to the newer version, without cluttering oe-core with numerous stale versions of u-boot. We may decide later to resurrect u-boot_git.bb as an AUTOREV recipe to faciliate upstream development on u-boot in the oe environment. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Koen Kooi <koen@dominion.thruhere.net> Cc: Jason Kridner <jkridner@beagleboard.org>
2011-05-27u-boot: remove UBOOT_MACHINE and COMPATIBLE_MACHINESDarren Hart
oe-core does not define any machines, so it does not make sense to add machine specific information in the oe-core u-boot recipe and infrastructure. Also note that COMPATIBLE_MACHINES is not easily extended due to its regex syntax: "(machine_a|machine_b)", making it difficult to extend the u-boot recipe in bbappend files without resorting to machine specific overrides. Remove COMPATIBLE_MACHINES and the default UBOOT_MACHINE from the recipe and insert some anonymous python into u-boot.inc to raise SkipPackage if UBOOT_MACHINE is not set (this ensures 'world' still works for machines that can't build u-boot). UBOOT_MACHINE must now be specified in each machine config that requires u-boot. This is an improvement over requiring machine specific overrides in every BSP layer's u-boot_git.bbappend file. For example, a beagleboard machine config currently contains: UBOOT_ENTRYPOINT = "0x80008000" UBOOT_LOADADDRESS = "0x80008000" With this change, it must now contain: UBOOT_MACHINE = "omap3_beagle_config" UBOOT_ENTRYPOINT = "0x80008000" UBOOT_LOADADDRESS = "0x80008000" So long as the SRC_URI in the base recipe can build a working u-boot for a given machine, there is no need to create a u-boot_git.bbappend file. If additional patches are deemed necessary, a BSP layer creates a u-boot_git.bbappend file and extends the SRC_URI to include general or machine specific backports. Note: I used bb.note() instead of bb.debug() to ensure the message at least makes it to the console. From what I could gather, bb.debug() doesn't go anywhere during recipe parsing. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Koen Kooi <koen@dominion.thruhere.net> Cc: Jason Kridner <jkridner@beagleboard.org> Cc: Chris Larson <clarson@kergoth.com>
2011-05-26qemu-config: add runtime dep on dbus-x11Koen Kooi
dbus-launch moved into the dbus-x11 packages, so we need to drag it in. Also reorder fields to better fit with the styleguide Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-20Revert "u-boot: fix LIC_FILE_CHKSUM"Richard Purdie
This reverts commit bbdd81fcd25d2d5aa730a1ea99eecf50a2111989. Saul discovered this change was incorrect.