Skip to content

add efi secure boot support

Jean-Christophe PLAGNIOL-VILLARD barebox 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13bootm: move open to image_handlerarch/arm/lib/bootm.c arch/blackfin/lib/blackfin_linux.c arch/nios2/lib/bootm.c +8 more+80 -551 reply
2/13boot_verify: use a new error ESECVIOLATIONcommon/bootm.c common/efi/efi.c common/image-fit.c +1 more+12 -101 reply
3/13bootm: make security genericarch/arm/lib/bootm.c common/image-fit.c include/bootm.h+3 -00 replies
4/13boot: invert the secure boot forcing supportcommon/Kconfig common/bootm.c+11 -70 replies
5/13move boot verify to generic codecommands/bootm.c common/Kconfig common/Makefile +7 more+79 -500 replies
6/13boot_verify: make it modifiable at start timecommands/bootm.c common/boot_verify.c common/bootm.c +1 more+47 -111 reply
7/13go: only use it if boot signature is not requiredcommands/go.c+4 -02 replies
8/13boot_verify: allow to force unsigned image to bootcommands/go.c common/Kconfig common/boot_verify.c +4 more+74 -51 reply
9/13boot_verify: add password request supportcommon/boot_verify.c common/password.c include/password.h+34 -01 reply
10/13efi: add more security related guid for the efivarscommon/efi-guid.c include/efi.h+24 -00 replies
11/13efi: fix lds for secure boot supportarch/x86/mach-efi/elf_ia32_efi.lds.S arch/x86/mach-efi/elf_x86_64_efi.lds.S arch/x86/mach-efi/include/mach/barebox.lds.h +1 more+31 -111 reply
12/13efi: fix secure and setup mode reportdrivers/efi/efi-device.c+3 -30 replies
13/13efi: enable sercure boot supportarch/x86/Kconfig common/efi/efi-image.c drivers/efi/efi-device.c+13 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/13] add efi secure boot support

Hi,

This patch series rework the secure boot support to make it generic and we could use it on EFI too

The following changes since commit 2846e53d2d41742348459676edab737edf90604a:

arm: baltos: define baltos_sram_init() return type as void (2017-03-13 09:13:17 +0100)

are available in the git repository at:

git://git.jcrosoft.org/barebox.git delivery/efi-sb

for you to fetch changes up to ff17500171e65d8c20c7c0acc803aa5a4d22d014:

efi: enable sercure boot support (2017-03-15 03:09:09 +0800)

----------------------------------------------------------------
Jean-Christophe PLAGNIOL-VILLARD (13):
bootm: move open to image_handler
boot_verify: use a new error ESECVIOLATION
bootm: make security generic
boot: invert the secure boot forcing support move boot verify to generic code
boot_verify: make it modifiable at start time
go: only use it if boot signature is not required
boot_verify: allow to force unsigned image to boot
boot_verify: add password request support
efi: add more security related guid for the efivars
efi: fix lds for secure boot support
efi: fix secure and setup mode report
efi: enable sercure boot support

 arch/arm/lib/bootm.c                         |   3 +++
 arch/blackfin/lib/blackfin_linux.c           |   1 +
 arch/nios2/lib/bootm.c                       |   1 +
 arch/ppc/lib/ppclinux.c                      |   1 +
 arch/x86/Kconfig                             |   1 +
 arch/x86/mach-efi/elf_ia32_efi.lds.S         |  10 +++++++---
 arch/x86/mach-efi/elf_x86_64_efi.lds.S       |  10 ++++++----
 arch/x86/mach-efi/include/mach/barebox.lds.h |  14 +++++++++++++-
 commands/bootm.c                             |   6 +++---
 commands/go.c                                |   9 +++++++++
 common/Kconfig                               |  24 ++++++++++++++++++++----
 common/Makefile                              |   1 +
 common/boot_verify.c                         | 113 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 common/bootm.c                               | 123 ++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------------
 common/efi-guid.c                            |   6 ++++++
 common/efi/efi-image.c                       |   1 +
 common/efi/efi.c                             |   2 +-
 common/image-fit.c                           |  42 +++++++++++++++++++++++++++++-------------
 common/misc.c                                |   1 +
 common/password.c                            |  18 ++++++++++++++++++
 common/uimage.c                              |  33 +++++++++++++++++++++++++++++++++
 drivers/efi/efi-device.c                     |  17 +++++++++++++----
 include/asm-generic/barebox.lds.h            |   8 +++++---
 include/asm-generic/errno.h                  |   1 +
 include/boot_verify.h                        |  36 ++++++++++++++++++++++++++++++++++++
 include/bootm.h                              |  16 +++++-----------
 include/efi.h                                |  18 ++++++++++++++++++
 include/image-fit.h                          |   5 +++--
 include/image.h                              |   2 ++
 include/password.h                           |   6 ++++++
 30 files changed, 395 insertions(+), 134 deletions(-)

Best Regards,
J.

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox