All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ilias Apalodimas <ilias.apalodimas@linaro.org>
To: Masahisa Kojima <masahisa.kojima@linaro.org>
Cc: u-boot@lists.denx.de, Heinrich Schuchardt <xypron.glpk@gmx.de>,
	Simon Glass <sjg@chromium.org>,
	Takahiro Akashi <takahiro.akashi@linaro.org>
Subject: Re: [PATCH v2 6/6] doc: uefi: add HTTP Boot support
Date: Thu, 14 Sep 2023 16:57:25 +0300	[thread overview]
Message-ID: <ZQMRRQ4zOnKUU4WK@hera> (raw)
In-Reply-To: <20230901102542.609239-7-masahisa.kojima@linaro.org>

On Fri, Sep 01, 2023 at 07:25:42PM +0900, Masahisa Kojima wrote:
> This adds the description about HTTP Boot.
>
> Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
> ---
>  doc/develop/uefi/uefi.rst | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
>
> diff --git a/doc/develop/uefi/uefi.rst b/doc/develop/uefi/uefi.rst
> index a7a41f2fac..fd87bb1edb 100644
> --- a/doc/develop/uefi/uefi.rst
> +++ b/doc/develop/uefi/uefi.rst
> @@ -594,6 +594,27 @@ UEFI variables. Booting according to these variables is possible via::
>  As of U-Boot v2020.10 UEFI variables cannot be set at runtime. The U-Boot
>  command 'efidebug' can be used to set the variables.
>
> +UEFI HTTP Boot
> +~~~~~~~~~~~~~~
> +
> +HTTP Boot provides the capability for system deployment and configuration
> +over the network. HTTP Boot can be activated by specifying::
> +
> +    CONFIG_CMD_DNS
> +    CONFIG_CMD_WGET
> +    CONFIG_BLKMAP
> +
> +Set up the load option specifying the target URI::
> +
> +    efidebug boot add -u 1 netinst http://foo/bar
> +
> +When this load option is selected as boot selection, resolve the
> +host ip address by dhs, then download the file with wget.

 dhs -> dns
 what happens if it's an IP address?

> +If the downloaded file extension is .iso or .img file, efibootmgr tries to
> +mount the image and boot with the default file(e.g. EFI/BOOT/BOOTAA64.EFI).
> +If the downloaded file extension is .efi and file is PE-COFF image,
> +load the downloaded file and start it.
> +
>  Executing the built in hello world application
>  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> --
> 2.34.1
>

Thanks
/Ilias

  reply	other threads:[~2023-09-14 13:57 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-01 10:25 [PATCH v2 0/6] Add EFI HTTP boot support Masahisa Kojima
2023-09-01 10:25 ` [PATCH v2 1/6] net: wget: prevent overwriting reserved memory Masahisa Kojima
2023-09-02  0:09   ` Simon Glass
2023-09-05  7:13     ` Masahisa Kojima
2023-09-01 10:25 ` [PATCH v2 2/6] net: wget: add wget with dns utility function Masahisa Kojima
2023-09-14 12:52   ` Ilias Apalodimas
2023-09-14 23:20     ` Masahisa Kojima
2023-09-01 10:25 ` [PATCH v2 3/6] blk: blkmap: add ramdisk creation " Masahisa Kojima
2023-09-02  0:09   ` Simon Glass
2023-09-01 10:25 ` [PATCH v2 4/6] efi_loader: support boot from URI device path Masahisa Kojima
2023-09-14 13:56   ` Ilias Apalodimas
2023-09-15  4:15     ` Masahisa Kojima
2023-09-15  6:31       ` Ilias Apalodimas
2023-09-15  7:45         ` Masahisa Kojima
2023-09-15  8:11           ` Ilias Apalodimas
2023-09-14 14:55   ` Heinrich Schuchardt
2023-09-15  4:17     ` Masahisa Kojima
2023-09-01 10:25 ` [PATCH v2 5/6] cmd: efidebug: add uri " Masahisa Kojima
2023-09-01 10:25 ` [PATCH v2 6/6] doc: uefi: add HTTP Boot support Masahisa Kojima
2023-09-14 13:57   ` Ilias Apalodimas [this message]
2023-09-14 23:52     ` Masahisa Kojima
2023-09-15  6:09       ` Ilias Apalodimas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZQMRRQ4zOnKUU4WK@hera \
    --to=ilias.apalodimas@linaro.org \
    --cc=masahisa.kojima@linaro.org \
    --cc=sjg@chromium.org \
    --cc=takahiro.akashi@linaro.org \
    --cc=u-boot@lists.denx.de \
    --cc=xypron.glpk@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.