Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1210842
| From | "Kweh, Hock Leong" <hock.leong.kweh@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v5 0/2] Enable capsule loader interface for efi firmware |
| Date | 2015-08-21 05:40 +0200 |
| Message-ID | <pZLlo-8tY-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
From: "Kweh, Hock Leong" <hock.leong.kweh@intel.com> Dear maintainers & communities, This patchset is created on top of Matt's patchset: 1.)https://lkml.org/lkml/2014/10/7/390 "[PATCH 1/2] efi: Move efi_status_to_err() to efi.h" 2.)https://lkml.org/lkml/2014/10/7/391 "[PATCH 2/2] efi: Capsule update support" It expose a misc char interface for user to upload the capsule binary and calling efi_capsule_update() API to pass the binary to EFI firmware. The steps to update efi firmware are: 1.) cat firmware.cap > /dev/efi_capsule_loader 2.) reboot Any failed upload error message will be returned while doing "cat" through Write() function call. Tested the code with Intel Quark Galileo platform. Thanks. --- changelog v5: * changed to new design without leveraging firmware_class API * use misc_char device interface instead of sysfs * error return through file Write() function call Kweh, Hock Leong (2): efi: export efi_capsule_supported() function symbol efi: a misc char interface for user to update efi firmware drivers/firmware/efi/Kconfig | 10 ++ drivers/firmware/efi/Makefile | 1 drivers/firmware/efi/capsule.c | 1 drivers/firmware/efi/efi-capsule-loader.c | 218 +++++++++++++++++++++++++++++ 4 files changed, 230 insertions(+) create mode 100644 drivers/firmware/efi/efi-capsule-loader.c -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v5 0/2] Enable capsule loader interface for efi firmware "Kweh, Hock Leong" <hock.leong.kweh@intel.com> - 2015-08-21 05:40 +0200
[PATCH v5 2/2] efi: a misc char interface for user to update efi firmware "Kweh, Hock Leong" <hock.leong.kweh@intel.com> - 2015-08-21 05:40 +0200
Re: [PATCH v5 2/2] efi: a misc char interface for user to update efi firmware Matt Fleming <matt@codeblueprint.co.uk> - 2015-08-27 16:50 +0200
csiph-web