Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1238455

Re: [PATCH v6 0/2] Enable capsule loader interface for efi firmware updating

Path csiph.com!au2pb.net!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From Borislav Petkov <bp@alien8.de>
Newsgroups linux.kernel
Subject Re: [PATCH v6 0/2] Enable capsule loader interface for efi firmware updating
Date Fri, 02 Oct 2015 19:40:03 +0200
Message-ID <qfctl-1MB-39@gated-at.bofh.it> (permalink)
References <qeLMu-53B-7@gated-at.bofh.it>
X-Original-To "Kweh, Hock Leong" <hock.leong.kweh@intel.com>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1443807428; bh=8+tzmCdfQ2hs5sEqM27nCAOniJOdlRLb+j9rQTJnT2Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=cbulDWVWrmDDbFl2D4fa1qRjicDNqniFJHZBTL 676y/BcC61GiCZTn4qLZz7mKd2WiawHEUMfZKFZgNbZJa5oA1OFkxEzE1Y9fXrkj7fd WENM6BQRysGYiKFh7SBMJZVDK7vT4C1PSVn56V6B8M1L8JoW5cPHW1fV5YQuY3mqVc=
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1443807428; bh=8+tzmCdfQ2hs5sEqM27nCAOniJOdlRLb+j9rQTJnT2Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=cbulDWVWrmDDbFl2D4fa1qRjicDNqniFJHZBTL 676y/BcC61GiCZTn4qLZz7mKd2WiawHEUMfZKFZgNbZJa5oA1OFkxEzE1Y9fXrkj7fd WENM6BQRysGYiKFh7SBMJZVDK7vT4C1PSVn56V6B8M1L8JoW5cPHW1fV5YQuY3mqVc=
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
User-Agent Mutt/1.5.23 (2014-03-12)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 36
Organization linux.* mail to news gateway
X-Original-Cc Matt Fleming <matt@console-pimps.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Ong Boon Leong <boon.leong.ong@intel.com>, LKML <linux-kernel@vger.kernel.org>, linux-efi@vger.kernel.org, Sam Protsenko <semen.protsenko@linaro.org>, Peter Jones <pjones@redhat.com>, Andy Lutomirski <luto@amacapital.net>, Roy Franz <roy.franz@linaro.org>, James Bottomley <James.Bottomley@hansenpartnership.com>, Linux FS Devel <linux-fsdevel@vger.kernel.org>, Fleming Matt <matt.fleming@intel.com>
X-Original-Date Fri, 2 Oct 2015 19:37:04 +0200
X-Original-Message-ID <20151002173704.GD16538@pd.tnic>
X-Original-References <1443733554-22743-1-git-send-email-hock.leong.kweh@intel.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1238455

Show key headers only | View raw


On Fri, Oct 02, 2015 at 05:05:52AM +0800, Kweh, Hock Leong wrote:
> 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.

What does the error case look like? A standard glibc message about
write(2) failing?

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.
--
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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v6 0/2] Enable capsule loader interface for efi firmware updating "Kweh, Hock Leong" <hock.leong.kweh@intel.com> - 2015-10-01 15:10 +0200
  Re: [PATCH v6 0/2] Enable capsule loader interface for efi firmware  updating Borislav Petkov <bp@alien8.de> - 2015-10-02 19:40 +0200
    RE: [PATCH v6 0/2] Enable capsule loader interface for efi firmware  updating "Kweh, Hock Leong" <hock.leong.kweh@intel.com> - 2015-10-03 05:20 +0200
      Re: [PATCH v6 0/2] Enable capsule loader interface for efi firmware  updating Borislav Petkov <bp@alien8.de> - 2015-10-03 11:10 +0200
        RE: [PATCH v6 0/2] Enable capsule loader interface for efi firmware  updating "Kweh, Hock Leong" <hock.leong.kweh@intel.com> - 2015-10-05 17:40 +0200
          Re: [PATCH v6 0/2] Enable capsule loader interface for efi firmware updating Andy Lutomirski <luto@amacapital.net> - 2015-10-05 21:10 +0200
    Re: [PATCH v6 0/2] Enable capsule loader interface for efi firmware updating Andy Lutomirski <luto@amacapital.net> - 2015-10-03 06:20 +0200
      Re: [PATCH v6 0/2] Enable capsule loader interface for efi firmware  updating Borislav Petkov <bp@alien8.de> - 2015-10-03 11:10 +0200

csiph-web