summaryrefslogtreecommitdiff
path: root/meta/recipes-bsp
Commit message (Collapse)AuthorAgeFilesLines
* grub-efi: Include GPT partition EXT FS supportDarren Hart2012-04-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes [YOCTO 2257] GPT partitions are common for EFI systems. Add support for them by including the part_gpt partition module in the grub-efi image. In order to allow for loading a Linux kernel from an EXT* filesystem, include the ext2 module as well. With this fix applied, I was able to boot from a USB key using a GPT partition table with the following layout: $ sudo gdisk -l /dev/sdc GPT fdisk (gdisk) version 0.8.2 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Disk /dev/sdc: 7669824 sectors, 3.7 GiB Logical sector size: 512 bytes Disk identifier (GUID): 68FA7CD4-E0C3-4A8E-82B5-1331C9B17A3C Partition table holds up to 128 entries First usable sector is 34, last usable sector is 7669790 Partitions will be aligned on 2-sector boundaries Total free space is 7428816 sectors (3.5 GiB) Number Start (sector) End (sector) Size Code Name 1 34 32801 16.0 MiB 0700 # FAT16 2 32802 240974 101.6 MiB 0700 # EXT3 From within GRUB, booted as bootia32.efi from the BOOT partition, I booted the OS with the following commands: grub> linux (hd0,gpt2)/vmlinuz rootwait root=/dev/sda2 console=ttyS0,115200 grub> boot This change will enable BSP developers to use the grub-efi image in their own images as well as enable upcoming changes to the installer to support EFI. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Kishore Bodke <kishore.k.bodke@intel.com> CC: Rahul Saxena <rahul.saxena@intel.com>
* u-boot: add machine name to spl image nameStefan Herbrechtsmeier2012-04-063-3/+3
| | | | Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
* setserial: Correct LICENSEElizabeth Flanagan2012-03-251-2/+1
| | | | | | | | | setserial's license is GPL version 2.0 per: http://sourceforge.net/projects/setserial/develop Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libacpi: fix stripped file warningPaul Eggleton2012-03-211-1/+2
| | | | | | | | Fix the following package warning: WARNING: File '/usr/bin/test-libacpi' from libacpi was already stripped, this will prevent future debugging! Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pciutils: fix a do_compile failureNitin A Kamble2012-03-191-0/+5
| | | | | | | | | | | | | | | | Avoid this issue: | ln -s libpci.so.3.1.9 libpci.so | ln: failed to create symbolic link `libpci.so': File exists | make[1]: *** [libpci.so] Error 1 | make[1]: Leaving directory `/srv/home/nitin/builds/build-multilib/tmp/work/x86_64-poky-linux/pciutils-3.1.9-r0/pciutils-3.1.9/lib' | make: *** [lib/libpci.so] Error 2 | ERROR: oe_runmake failed NOTE: package pciutils-3.1.9-r0: task do_compile: Failed PR not bumped as there are no changes in the output packages. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* usbinit: Fix License warningSaul Wold2012-03-151-1/+1
| | | | | WARNING: usbinit: No generic license file exists for: GPL in any provider Signed-off-by: Saul Wold <sgw@linux.intel.com>
* eee-acpi-scripts: Fix License warningSaul Wold2012-03-151-1/+1
| | | | | WARNING: eee-acpi-scripts: No generic license file exists for: GPL in any provider Signed-off-by: Saul Wold <sgw@linux.intel.com>
* qemu-config: Clarify license as GPLv2Richard Purdie2012-03-131-2/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* formfactor: use full path to fbsetPaul Eggleton2012-03-082-4/+4
| | | | | | | | | | When using rootless X, /usr/sbin is not in PATH and thus running "fbset" will fail; so specify /usr/sbin/fbset instead. Fixes [YOCTO #1986] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True)Richard Purdie2012-03-051-1/+1
| | | | | | | | | | | | Using "1" with getVar is bad coding style and "True" is preferred. This patch is a sed over the meta directory of the form: sed \ -e 's:\(\.getVar([^,()]*, \)1 *):\1True):g' \ -e 's:\(\.getVarFlag([^,()]*, [^,()]*, \)1 *):\1True):g' \ -i `grep -ril getVar *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* More quoting fixesMartin Jansa2012-02-262-2/+2
| | | | | | | | * We have various variables which are either not quoted at all or are half quoted. This patch fixes the bad exmaples so everything is consistent. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot-fw-utils: Add DEPEND on mtd-utilsSaul Wold2012-02-211-1/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* u-boot-fw-utils: Add for v2011.06Tom Rini2012-02-101-0/+26
| | | | | | | | | This provides the 'fw_setenv' and 'fw_getenv' programs for the target so that the U-Boot environment can be modified from Linux. These programs are system-agnostic and rely on a config file that a given BSP would provide and potentially RRECOMMEND this be installed. Signed-off-by: Tom Rini <trini@ti.com>
* u-boot inc: update inc file for newer u-boot versionsChase Maupin2012-02-071-4/+31
| | | | | | | | | | | | * Add support for different suffixes found with later u-boot versions which have switched from .bin to .img * Allow recipes that include u-boot.inc to also package an SPL if they build one. * Minimum requirement is to set the SPL_BINARY value to add the SPL to the u-boot package as well as into the deploy directory. Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
* pciutils: fix configure script for dashJoshua Lock2012-02-021-1/+1
| | | | | | | configure.patch was missing a closing quote in a sed expression which causes script execution to error on less forgiving shells such as dash. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* alsa-state: fix RDEPENDS assignmentKoen Kooi2012-02-011-3/+2
| | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* pm-utils: Add grep to RDEPENDS to avoid command failures.Marc Ferland2012-01-261-2/+3
| | | | | | | | | Second version of the patch that adds grep to RDEPENDS. Fixes [YOCTO #1887] Signed-off-by: Marc Ferland <ferlandm@sonatest.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pciutils: upgrade to 3.1.9Shane Wang2012-01-246-37/+38
| | | | Signed-off-by: Shane Wang <shane.wang@intel.com>
* apmd: refactor packages for staticdevSaul Wold2012-01-241-4/+5
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* grub-efi-native: fix errors with automake 1.11.2Nitin A Kamble2012-01-192-5810/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit replaces earlier patch (grub-1.99_fix_for_automake_1.11.2.patch) which did not work on all distros. Fixes these errors observed with automake 1.11.2 The useof pkglibhas become more strict compared to the earlier release of automake resulting in these failures. Fixed the files related to automake to avoid the issue. | conf/Makefile.common:140: `pkglibdir' is not a legitimate directory for `DATA' | grub-core/Makefile.am:5: `conf/Makefile.common' included from here | conf/Makefile.common:140: `pkglibdir' is not a legitimate directory for `DATA' | Makefile.am:6: `conf/Makefile.common' included from here | autoreconf: automake failed with exit status: 1 | ERROR: autoreconf execution failed. | conf/Makefile.common:150: `pkglibdir' is not a legitimate directory for `SCRIPTS' | grub-core/Makefile.am:5: `conf/Makefile.common' included from here | conf/Makefile.common:140: `pkglibdir' is not a legitimate directory for `DATA' | grub-core/Makefile.am:5: `conf/Makefile.common' included from here | conf/Makefile.common:150: `pkglibdir' is not a legitimate directory for `SCRIPTS' | Makefile.am:6: `conf/Makefile.common' included from here | conf/Makefile.common:140: `pkglibdir' is not a legitimate directory for `DATA' | Makefile.am:6: `conf/Makefile.common' included from here | autoreconf: automake failed with exit status: 1 Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* alsa-state: move state files to localstatedirJoshua Lock2012-01-172-6/+8
| | | | | | | | | | | alsactl creates the state files in /var/lib/alsa by default so switch alsa-state to use files in that location. Further, update the alsa-state init script to have the location of the state files sed'ed into the script at do_install time (so as to remove hard coding of directory paths). Signed-off-by: Joshua Lock <josh@linux.intel.com>
* alsa-state: add alsa-state from oe classicJoshua Lock2012-01-174-0/+99
| | | | | | | | alsa-state adds an init script and configuration files to enable a consistent and centralised mechanism for setting and restoring alsa configuration. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* grub-efi-native: fix errors with automake 1.11.2Nitin A Kamble2012-01-172-2/+5891
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes these errors observed with automake 1.11.2 The useof pkglibhas become more strict compared to the earlier release of automake resulting in these failures. Fixed the files related to automake to avoid the issue. | conf/Makefile.common:140: `pkglibdir' is not a legitimate directory for `DATA' | grub-core/Makefile.am:5: `conf/Makefile.common' included from here | conf/Makefile.common:140: `pkglibdir' is not a legitimate directory for `DATA' | Makefile.am:6: `conf/Makefile.common' included from here | autoreconf: automake failed with exit status: 1 | ERROR: autoreconf execution failed. | conf/Makefile.common:150: `pkglibdir' is not a legitimate directory for `SCRIPTS' | grub-core/Makefile.am:5: `conf/Makefile.common' included from here | conf/Makefile.common:140: `pkglibdir' is not a legitimate directory for `DATA' | grub-core/Makefile.am:5: `conf/Makefile.common' included from here | conf/Makefile.common:150: `pkglibdir' is not a legitimate directory for `SCRIPTS' | Makefile.am:6: `conf/Makefile.common' included from here | conf/Makefile.common:140: `pkglibdir' is not a legitimate directory for `DATA' | Makefile.am:6: `conf/Makefile.common' included from here | autoreconf: automake failed with exit status: 1 Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* qemuppc: add machconfigLiming Wang2012-01-171-0/+10
| | | | Signed-off-by: Liming Wang <liming.wang@windriver.com>
* qemuppc: add pointercal fileLiming Wang2012-01-171-0/+0
| | | | | | This file is for tslib. Signed-off-by: Liming Wang <liming.wang@windriver.com>
* misc patches: fix patch headersNitin A Kamble2012-01-031-1/+1
| | | | | | | These patches were marked by "UpstreamStatus:" line, fix it to use "Upstream-Status:" instead. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* Add Upstream-Status to patchesSaul Wold2012-01-031-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* u-boot: improved DESCRIPTION, fixed HOMEPAGEFrans Meulenbroeks2012-01-021-2/+2
| | | | | | | | | HOMEPAGE pointed to an sf.net page that said that the page did not exist any more and after that it redirected to the denx.de page; updated HOMEPAGE to point to that page Also improved the description to use the official capitalisation Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* grub-efi: specify prefix so it can find grub.cfgDarren Hart2011-12-161-2/+2
| | | | | | | | | | | | 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>
* grub-efi: Add efi_gop module to payload for physical console supportDarren Hart2011-12-161-1/+1
| | | | | | | | | | 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>
* Patch Upstream Status UpdatesSaul Wold2011-12-153-0/+6
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* grub_1.99.bb: drop 'PRIORITY = "optional"' as it is the defaultOtavio Salvador2011-12-151-1/+0
| | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub-efi-native_1.99.bb: drop 'PRIORITY = "optional"' as it is the defaultOtavio Salvador2011-12-151-1/+0
| | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: renamed dir from uboot to the more appropriate u-bootFrans Meulenbroeks2011-12-1310-0/+0
| | | | | | | 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>
* libacpi: Use the cross strip instead of host stripNitin A Kamble2011-12-122-2/+26
| | | | | | | | | | 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>
* libacpi: Fix libdir for x32Nitin A Kamble2011-12-122-2/+50
| | | | | | | | 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>
* qemu-config: Disable dbus-x11 when no x11 in DISTRO_FEATURESXiaofeng Yan2011-12-081-2/+2
| | | | | | | | | | | 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>
* grub: Create /etc/grub.dSaul Wold2011-12-081-1/+2
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* omap3-sgx-modules: drop from oe-core, it lives in the meta-ti BSP nowadaysKoen Kooi2011-12-061-17/+0
| | | | | | | | | 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>
* grub: Use COMPATIBLE_HOSTDarren Hart2011-11-301-7/+2
| | | | | | | | | 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>
* grub: Drop "apply=yes" from patchDarren Hart2011-11-301-1/+1
| | | | | | | | | 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>
* eee-acpi-scritps: Upgrade to 1.1.12 via git tagZhai Edwin2011-11-302-24/+24
| | | | | Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub-efi-native: New recipe to build GRUB EFI imagesDarren Hart2011-11-301-0/+74
| | | | | | | | | | | | | | | 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>
* keymaps: depend on kbd instead of console-toolsMartin Jansa2011-11-101-2/+3
| | | | | | * nowadays kbd seems more active Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* task-core-boot, keymaps: add another VIRTUAL-RUNTIME to allow distributions ↵Martin Jansa2011-11-101-1/+5
| | | | | | to use different set of initscripts or no initscripts at all Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie2011-11-105-5/+5
| | | | | | | | | | | | | | | 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>
* v86d: update to 0.1.10Saul Wold2011-10-141-2/+2
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* grub: Add SRC_URI ChecksumSaul Wold2011-10-061-1/+4
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* apmd: use ${HOST_SYS}-libtoolAndrew Gabbasov2011-09-281-1/+1
| | | | | | | | | 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>
* grub: Fix insane/QA architecture warningRichard Purdie2011-09-271-1/+1
| | | | | | | | 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>