All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/16] pxe: Allow extlinux booting without CMDLINE enabled
@ 2023-12-15  4:18 Simon Glass
  2023-12-15  4:18 ` [PATCH v2 01/16] boot: Reorder FIT and BOOTSTD to be first Simon Glass
                   ` (16 more replies)
  0 siblings, 17 replies; 26+ messages in thread
From: Simon Glass @ 2023-12-15  4:18 UTC (permalink / raw)
  To: U-Boot Mailing List
  Cc: Tom Rini, Simon Glass, AKASHI Takahiro, Abdellatif El Khlifi,
	Alex Kiernan, Alexey Brodkin, Alexey Brodkin, Angelo Dureghello,
	Bin Meng, Dan Carpenter, Daniel Schwierzeck, Dario Binacchi,
	Eddie James, Eric Nelson, Eugeniy Paltsev, Heinrich Schuchardt,
	Huan Wang, Ilias Apalodimas, Leo, Marcel Ziswiler, Marek Vasut,
	Mattijs Korpershoek, Max Filippov, Michal Simek, Miquel Raynal,
	Neil Armstrong, Nobuhiro Iwamatsu, Patrice Chotard,
	Patrick Delaunay, Peter Hoyes, Quentin Schulz, Ramon Fried,
	Rick Chen, Sean Anderson, Sean Edmond, Shiji Yang, Soeren Moch,
	Thomas Chou, Thomas Mittelstaedt, Tobias Waldekranz,
	Yu Chien Peter Lin, uboot-snps-arc

This series is the culmanation of the current line of refactoring
series. It adjusts pxe to call the booting functionality directly
rather than going through the command-line interface.

With this is is possible to boot using the extlinux bootmeth without
the command line enabled.

It also updates fastboot to do a similar thing.

This is cmdf (part f of CMDLINE refactoring)
It depends on dm/cmde-working
which depends on dm/cmdd-working
which depends on dm/bootstda-working
which depends on dm/cmdc-working

Changes in v2:
- Use unmap_sysmem() too
- Drop check for NULL with env_set()
- Avoid changing the logic when a command is not set
- Split out the strlcpy() change into its own patch
- Update commit message to mention booti
- Use bootm_init() instead of memset()

Simon Glass (16):
  boot: Reorder FIT and BOOTSTD to be first
  bootm: Add a Kconfig option for bootm functionality
  bootm: Make OS booting dependent on BOOTM
  treewide: Make arch-specific bootm code depend on BOOTM
  boot: Update SYS_BOOTM_LEN to depend on BOOTM
  fastboot: Change fastboot_buf_addr to an address
  bootm: Make cmdline optional with bootm_boot_start()
  fastboot: Remove dependencies on CMDLINE
  doc: Mention fastboot dependency on CMDLINE
  pxe: Use strlcpy() instead of strcpy() in label_boot()
  pxe: Refactor to reduce the size of label_boot()
  pxe: Refactor to avoid over-using bootm_argv
  pxe: Move calculation of FDT file into a function
  pxe: Allow booting without CMDLINE for bootm methods
  pxe: Allow booting without CMDLINE for the zboot method
  x86: Drop message about features being missing with 64-bit

 arch/arc/lib/Makefile                         |   2 +-
 arch/arm/lib/Makefile                         |   2 +-
 arch/m68k/lib/Makefile                        |   2 +-
 arch/microblaze/lib/Makefile                  |   2 +-
 arch/mips/lib/Makefile                        |   2 +-
 arch/nios2/lib/Makefile                       |   2 +-
 arch/powerpc/lib/Makefile                     |   2 +-
 arch/riscv/lib/Makefile                       |   2 +-
 arch/sandbox/lib/Makefile                     |   2 +-
 arch/sh/lib/Makefile                          |   2 +-
 arch/x86/lib/Makefile                         |   2 +-
 arch/x86/lib/spl.c                            |   2 +-
 arch/xtensa/lib/Makefile                      |   2 +-
 boot/Kconfig                                  |  99 ++++-
 boot/Makefile                                 |   2 +-
 boot/pxe_utils.c                              | 360 ++++++++++--------
 cmd/Kconfig                                   |  50 +--
 cmd/fastboot.c                                |   2 +-
 configs/colibri_vf_defconfig                  |   2 +-
 configs/iot_devkit_defconfig                  |   2 +-
 configs/mx6memcal_defconfig                   |   2 +-
 configs/tools-only_defconfig                  |   2 +-
 configs/xilinx_versal_mini_defconfig          |   2 +-
 configs/xilinx_versal_mini_emmc0_defconfig    |   2 +-
 configs/xilinx_versal_mini_emmc1_defconfig    |   2 +-
 configs/xilinx_versal_mini_ospi_defconfig     |   2 +-
 configs/xilinx_versal_mini_qspi_defconfig     |   2 +-
 configs/xilinx_versal_net_mini_defconfig      |   2 +-
 configs/xilinx_versal_net_mini_emmc_defconfig |   2 +-
 configs/xilinx_versal_net_mini_ospi_defconfig |   2 +-
 configs/xilinx_versal_net_mini_qspi_defconfig |   2 +-
 configs/xilinx_zynqmp_mini_defconfig          |   2 +-
 configs/xilinx_zynqmp_mini_emmc0_defconfig    |   2 +-
 configs/xilinx_zynqmp_mini_emmc1_defconfig    |   2 +-
 configs/xilinx_zynqmp_mini_nand_defconfig     |   2 +-
 .../xilinx_zynqmp_mini_nand_single_defconfig  |   2 +-
 configs/xilinx_zynqmp_mini_qspi_defconfig     |   2 +-
 configs/zynq_cse_nand_defconfig               |   2 +-
 configs/zynq_cse_nor_defconfig                |   2 +-
 configs/zynq_cse_qspi_defconfig               |   2 +-
 doc/android/fastboot.rst                      |   1 +
 doc/board/emulation/qemu-x86.rst              |   2 +-
 drivers/fastboot/Kconfig                      |   1 -
 drivers/fastboot/fb_command.c                 |  17 +-
 drivers/fastboot/fb_common.c                  |  37 +-
 include/bootm.h                               |   2 +-
 include/fastboot-internal.h                   |   2 +-
 include/fastboot.h                            |   6 +-
 48 files changed, 350 insertions(+), 301 deletions(-)

-- 
2.43.0.472.g3155946c3a-goog


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2024-04-20  8:11 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-15  4:18 [PATCH v2 00/16] pxe: Allow extlinux booting without CMDLINE enabled Simon Glass
2023-12-15  4:18 ` [PATCH v2 01/16] boot: Reorder FIT and BOOTSTD to be first Simon Glass
2023-12-15  4:19 ` [PATCH v2 02/16] bootm: Add a Kconfig option for bootm functionality Simon Glass
2023-12-15  4:19 ` [PATCH v2 03/16] bootm: Make OS booting dependent on BOOTM Simon Glass
2023-12-15  4:19 ` [PATCH v2 04/16] treewide: Make arch-specific bootm code depend " Simon Glass
2023-12-23  7:28   ` Angelo Dureghello
2023-12-15  4:19 ` [PATCH v2 05/16] boot: Update SYS_BOOTM_LEN to " Simon Glass
2023-12-15  4:19 ` [PATCH v2 06/16] fastboot: Change fastboot_buf_addr to an address Simon Glass
2023-12-15  4:19 ` [PATCH v2 07/16] bootm: Make cmdline optional with bootm_boot_start() Simon Glass
2023-12-15  4:19 ` [PATCH v2 08/16] fastboot: Remove dependencies on CMDLINE Simon Glass
2023-12-15 12:06   ` Mattijs Korpershoek
2023-12-15 13:49   ` Tom Rini
2023-12-15  4:19 ` [PATCH v2 09/16] doc: Mention fastboot dependency " Simon Glass
2023-12-15 12:07   ` Mattijs Korpershoek
2023-12-15 13:14   ` Sam Protsenko
2023-12-15  4:19 ` [PATCH v2 10/16] pxe: Use strlcpy() instead of strcpy() in label_boot() Simon Glass
2023-12-15  4:19 ` [PATCH v2 11/16] pxe: Refactor to reduce the size of label_boot() Simon Glass
2023-12-15  4:19 ` [PATCH v2 12/16] pxe: Refactor to avoid over-using bootm_argv Simon Glass
2023-12-15  4:19 ` [PATCH v2 13/16] pxe: Move calculation of FDT file into a function Simon Glass
2023-12-15  4:19 ` [PATCH v2 14/16] pxe: Allow booting without CMDLINE for bootm methods Simon Glass
2023-12-15  4:19 ` [PATCH v2 15/16] pxe: Allow booting without CMDLINE for the zboot method Simon Glass
2023-12-15  4:19 ` [PATCH v2 16/16] x86: Drop message about features being missing with 64-bit Simon Glass
2024-04-11  1:45 ` [PATCH v2 00/16] pxe: Allow extlinux booting without CMDLINE enabled Tom Rini
2024-04-14 16:58   ` Jonas Karlman
2024-04-18 18:13     ` Tom Rini
2024-04-20  8:11       ` Jonas Karlman

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.