All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mattijs Korpershoek <mkorpershoek@baylibre.com>
To: Simon Glass <sjg@chromium.org>,
	U-Boot Mailing List <u-boot@lists.denx.de>
Cc: Tom Rini <trini@konsulko.com>, Simon Glass <sjg@chromium.org>,
	Bin Meng <bmeng.cn@gmail.com>,
	Heinrich Schuchardt <xypron.glpk@gmx.de>,
	Nam Cao <namcao@linutronix.de>,
	Quentin Schulz <quentin.schulz@cherry.de>
Subject: Re: [PATCH 04/13] doc: Add a description for bootmeth_pxe
Date: Tue, 16 Jul 2024 09:21:42 +0200	[thread overview]
Message-ID: <87h6cpol89.fsf@baylibre.com> (raw)
In-Reply-To: <20240715101354.97895-5-sjg@chromium.org>

Hi Simon,

Thank you for the patch.

On lun., juil. 15, 2024 at 11:13, Simon Glass <sjg@chromium.org> wrote:

> Add documentation for the pxe bootmeth.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>

Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>

Nitpick: now that pxelinux.rst exist, can we link to this file in
extlinux.rst ?

> ---
>
>  doc/develop/bootstd/index.rst    |  1 +
>  doc/develop/bootstd/overview.rst |  2 +-
>  doc/develop/bootstd/pxelinux.rst | 27 +++++++++++++++++++++++++++
>  3 files changed, 29 insertions(+), 1 deletion(-)
>  create mode 100644 doc/develop/bootstd/pxelinux.rst
>
> diff --git a/doc/develop/bootstd/index.rst b/doc/develop/bootstd/index.rst
> index 5bbb3d633a3..5052afe448f 100644
> --- a/doc/develop/bootstd/index.rst
> +++ b/doc/develop/bootstd/index.rst
> @@ -8,3 +8,4 @@ Standard Boot
>  
>     overview
>     extlinux
> +   pxelinux
> diff --git a/doc/develop/bootstd/overview.rst b/doc/develop/bootstd/overview.rst
> index 086a0b1281d..fd0692daf0d 100644
> --- a/doc/develop/bootstd/overview.rst
> +++ b/doc/develop/bootstd/overview.rst
> @@ -413,7 +413,7 @@ Available bootmeth drivers
>  Bootmeth drivers are provided for:
>  
>     - :doc:`extlinux / syslinux <extlinux>` boot from a disk
> -   - extlinux boot from a network (PXE)
> +   - :doc:`extlinux / syslinux <extlinux>` boot from a network (PXE)
>     - U-Boot scripts from disk, network or SPI flash
>     - EFI boot using bootefi from disk
>     - VBE
> diff --git a/doc/develop/bootstd/pxelinux.rst b/doc/develop/bootstd/pxelinux.rst
> new file mode 100644
> index 00000000000..08ba67e09c5
> --- /dev/null
> +++ b/doc/develop/bootstd/pxelinux.rst
> @@ -0,0 +1,27 @@
> +.. SPDX-License-Identifier: GPL-2.0+:
> +
> +PXE Bootmeth
> +============
> +
> +PXE (Preboot eXecution-Environment) provides a way to boot an Operating System
> +over a network interface. The PXE bootmeth supports PXELINUX and allows U-Boot to
> +provide a menu of possible Operating Systems from which the user can choose.
> +
> +U-Boot includes a parser for the `extlinux.conf` file described
> +`here <https://uapi-group.org/specifications/specs/boot_loader_specification>`_.
> +It consists primarily of a list of named OSes along with the kernel, initial
> +ramdisk and other settings. The file is retrieved from a network server using
> +tftpboot.
> +
> +When invoked on a bootdev, this bootmeth searches for the file and creates a
> +bootflow if found. See
> +`PXELINUX <https://wiki.syslinux.org/wiki/index.php?title=PXELINUX>`_ for
> +a full description of the search procedure.
> +
> +When the bootflow is booted, the bootmeth calls pxe_setup_ctx() to set up the
> +context, then pxe_process() to process the file. Depending on the contents, this
> +may boot an OS or provide a list of options to the user, perhaps with a timeout.
> +
> +The compatible string "u-boot,extlinux-pxe" is used for the driver. The driver
> +is automatically instantiated if there are no bootmeth drivers in the
> +devicetree.
> -- 
> 2.34.1

  parent reply	other threads:[~2024-07-16  7:21 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-15 10:13 [PATCH 00/13] doc: Add documentation for bootmeths Simon Glass
2024-07-15 10:13 ` [PATCH 01/13] MAINTAINERS: Rename BOOTDEVICE Simon Glass
2024-07-15 13:34   ` Quentin Schulz
2024-07-16  7:04   ` Mattijs Korpershoek
2024-07-15 10:13 ` [PATCH 02/13] doc: Move bootstd into its own directory Simon Glass
2024-07-15 14:12   ` Quentin Schulz
2024-07-15 21:58   ` Heinrich Schuchardt
2024-07-16  7:04     ` Simon Glass
2024-07-16 16:18       ` Tom Rini
2024-07-19 15:05         ` Simon Glass
2024-07-16  7:09   ` Mattijs Korpershoek
2024-07-15 10:13 ` [PATCH 03/13] doc: Add a description for bootmeth_extlinux Simon Glass
2024-07-15 14:12   ` Quentin Schulz
2024-07-15 22:30   ` Heinrich Schuchardt
2024-07-16  7:04     ` Simon Glass
2024-07-16  7:17   ` Mattijs Korpershoek
2024-07-15 10:13 ` [PATCH 04/13] doc: Add a description for bootmeth_pxe Simon Glass
2024-07-15 14:13   ` Quentin Schulz
2024-07-15 22:42   ` Heinrich Schuchardt
2024-07-16  7:04     ` Simon Glass
2024-07-16  7:21   ` Mattijs Korpershoek [this message]
2024-07-15 10:13 ` [PATCH 05/13] doc: Add a description for bootmeth_qfw Simon Glass
2024-07-15 14:13   ` Quentin Schulz
2024-07-15 22:56   ` Heinrich Schuchardt
2024-07-16  7:04     ` Simon Glass
2024-07-16  7:25   ` Mattijs Korpershoek
2024-07-15 10:13 ` [PATCH 06/13] doc: Add a description for bootmeth_cros Simon Glass
2024-07-15 14:13   ` Quentin Schulz
2024-07-15 23:02   ` Heinrich Schuchardt
2024-07-16  7:04     ` Simon Glass
2024-07-16  7:28   ` Mattijs Korpershoek
2024-07-15 10:13 ` [PATCH 07/13] doc: Add a description for bootmeth_sandbox Simon Glass
2024-07-15 14:13   ` Quentin Schulz
2024-07-16  7:30   ` Mattijs Korpershoek
2024-07-15 10:13 ` [PATCH 08/13] bootstd: Tidy up comments on the boothmeth drivers Simon Glass
2024-07-15 14:14   ` Quentin Schulz
2024-07-15 23:11   ` Heinrich Schuchardt
2024-07-15 10:13 ` [PATCH 09/13] bootstd: Correct handling of script from network Simon Glass
2024-07-15 10:13 ` [PATCH 10/13] doc: Add a description for bootmeth_script Simon Glass
2024-07-15 14:14   ` Quentin Schulz
2024-07-15 10:13 ` [PATCH 11/13] doc: Add a link to VBE from the bootstd docs Simon Glass
2024-07-15 14:14   ` Quentin Schulz
2024-07-15 23:09   ` Heinrich Schuchardt
2024-07-15 10:13 ` [PATCH 12/13] boot: Correct indentation in efi bootmeth Simon Glass
2024-07-15 14:14   ` Quentin Schulz
2024-07-15 23:05   ` Heinrich Schuchardt
2024-07-22  6:52   ` Ilias Apalodimas
2024-07-15 10:13 ` [PATCH 13/13] doc: Describe the bootstd settings Simon Glass
2024-07-15 14:15   ` Quentin Schulz

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=87h6cpol89.fsf@baylibre.com \
    --to=mkorpershoek@baylibre.com \
    --cc=bmeng.cn@gmail.com \
    --cc=namcao@linutronix.de \
    --cc=quentin.schulz@cherry.de \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --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.