Skip to content

Add gummiboot boot manager alongside grub-efi

Stefan Stanacar openembedded-core 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v14 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- split the first patch in two
- used ${B} instead of ${S} in gummiboot do_deploy
- change the function names in bootimg/grub-efi instead of using a
prefix

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4recipes-bsp: add gnu-efi recipemeta/recipes-bsp/gnu-efi/gnu-efi/parallel-make-archives.patch meta/recipes-bsp/gnu-efi/gnu-efi/parallel-make.patch meta/recipes-bsp/gnu-efi/gnu-efi_3.0u.bb+103 -00 replies
2/4recipes-bsp: Add gummiboot recipemeta/recipes-bsp/gummiboot/gummiboot_git.bb+25 -00 replies
3/4bootimg/grub-efi.bbclass: allow using a different class for EFI imagesmeta/classes/boot-directdisk.bbclass meta/classes/bootimg.bbclass meta/classes/grub-efi.bbclass+15 -130 replies
4/4classes: Add gummiboot classmeta/classes/gummiboot.bbclass meta/recipes-core/initrdscripts/files/init-install-efi.sh+149 -160 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] Add gummiboot boot manager alongside grub-efi

(I've sent this earlier but didn't add v2 to subject, this is resend only)

Hello,

This series adds recipes for gummiboot and a class allowing it to be used as the boot loader for live/hddimg images.
Without changing EFI_PROVIDER, we have the same behaviour for EFI machines. Using EFI_PROVIDER = "gummiboot" an installed image will use gummiboot instead of grub-efi as it's boot manager.

I've tested this on FRI2, NUC and minnow (live USB boot and install from USB and boot) with EFI_PROVIDER = "gummiboot" and KERNEL_FEATURES_append = " cfg/efi-ext" in local.conf

This is a partial fix for YB#4082.

Changes in V2:
- split the first patch in two
- used ${B} instead of ${S} in gummiboot do_deploy
- change the function names in bootimg/grub-efi instead of using a
prefix

I've tested again the changes on top of master.

Cheers,
Stefan

The following changes since commit abe417e22b1b55c444460f722ca434f9d382ef87:

classes/uboot-config: ignore doc varflag (2014-03-07 15:05:09 +0000)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib stefans/gummiboot
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=stefans/gummiboot

Stefan Stanacar (4):
recipes-bsp: add gnu-efi recipe
recipes-bsp: Add gummiboot recipe bootimg/grub-efi.bbclass: allow using a different class for EFI images
classes: Add gummiboot class

 meta/classes/boot-directdisk.bbclass               |   7 +-
 meta/classes/bootimg.bbclass                       |   9 +-
 meta/classes/grub-efi.bbclass                      |  12 +--
 meta/classes/gummiboot.bbclass                     | 114 +++++++++++++++++++++
 .../gnu-efi/gnu-efi/parallel-make-archives.patch   |  48 +++++++++
 .../gnu-efi/gnu-efi/parallel-make.patch            |  22 ++++
 meta/recipes-bsp/gnu-efi/gnu-efi_3.0u.bb           |  33 ++++++
 meta/recipes-bsp/gummiboot/gummiboot_git.bb        |  25 +++++
 .../initrdscripts/files/init-install-efi.sh        |  51 ++++++---
 9 files changed, 292 insertions(+), 29 deletions(-)
 create mode 100644 meta/classes/gummiboot.bbclass
 create mode 100644 meta/recipes-bsp/gnu-efi/gnu-efi/parallel-make-archives.patch
 create mode 100644 meta/recipes-bsp/gnu-efi/gnu-efi/parallel-make.patch
 create mode 100644 meta/recipes-bsp/gnu-efi/gnu-efi_3.0u.bb
 create mode 100644 meta/recipes-bsp/gummiboot/gummiboot_git.bb
Signature · 1 line
1.8.5.3