generic-poky/meta/recipes-bsp
Darren Hart c13afae688 grub-efi: Include GPT partition EXT FS support
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.

(From OE-Core rev: a2c6687410f00623efe8dfcb22385cbbc7f2e1a9)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Kishore Bodke <kishore.k.bodke@intel.com>
CC: Rahul Saxena <rahul.saxena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-10 13:32:00 +01:00
..
acpid SRC_URI Checksums Additionals 2010-12-09 08:18:17 -08:00
alsa-state alsa-state: fix RDEPENDS assignment 2012-02-01 15:07:42 +00:00
apmd apmd: refactor packages for staticdev 2012-01-24 11:54:17 +00:00
eee-acpi-scripts eee-acpi-scripts: Fix License warning 2012-03-16 10:40:30 +00:00
formfactor formfactor: use full path to fbset 2012-03-08 12:18:14 -08:00
grub grub-efi: Include GPT partition EXT FS support 2012-04-10 13:32:00 +01:00
hostap recipes: Delete patch=1, its default and replace pnum with striplevel 2011-08-23 18:23:30 -07:00
keymaps keymaps: depend on kbd instead of console-tools 2011-11-10 12:08:58 +00:00
libacpi libacpi: fix stripped file warning 2012-03-21 15:33:05 +00:00
lrzsz recipes: Delete patch=1, its default and replace pnum with striplevel 2011-08-23 18:23:30 -07:00
orinoco Patch Upstream Status Updates 2011-12-15 14:36:26 +00:00
pciutils pciutils: fix a do_compile failure 2012-03-19 14:37:39 +00:00
pcmciautils More quoting fixes 2012-02-26 22:51:58 +00:00
pm-utils pm-utils: Add grep to RDEPENDS to avoid command failures. 2012-01-26 20:48:01 +00:00
pointercal qemuppc: add pointercal file 2012-01-17 14:53:17 +00:00
qemu-config qemu-config: Clarify license as GPLv2 2012-03-13 11:45:06 +00:00
setserial setserial: Correct LICENSE 2012-03-25 12:23:39 +01:00
u-boot u-boot: add machine name to spl image name 2012-04-06 01:12:46 +01:00
usbinit usbinit: Fix License warning 2012-03-16 10:40:30 +00:00
usbutils usbutils: Move the pkgconfig file(s) to the -dev package 2011-09-22 05:06:58 +01:00
v86d v86d: update to 0.1.10 2011-10-14 13:18:16 +01:00
x-load Patch Upstream Status Updates 2011-12-15 14:36:26 +00:00
zaurusd o-hand recipes: convert from svn.o-hand.org to git.yoctoproject.org 2011-09-02 18:15:29 +01:00