All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/18] bootstd: Useability improvements
@ 2025-05-01 13:37 Simon Glass
  2025-05-01 13:37 ` [PATCH v2 01/18] abuf: Add a helper for initing and allocating a buffer Simon Glass
                   ` (17 more replies)
  0 siblings, 18 replies; 33+ messages in thread
From: Simon Glass @ 2025-05-01 13:37 UTC (permalink / raw)
  To: U-Boot Mailing List
  Cc: Simon Glass, Caleb Connolly, Christian Marangi, Dragan Simic,
	Gabriel Dalimonte, Guillaume La Roque, Heinrich Schuchardt,
	Igor Opaniuk, Jerome Forissier, Julien Masson, Julius Lehmann,
	Marek Vasut, Marek Vasut, Martyn Welch, Mattijs Korpershoek,
	Maximilian Brune, Moritz Fischer, Nam Cao, Patrick Rudolph,
	Peter Robinson, Quentin Schulz, Rasmus Villemoes,
	Richard Weinberger, Roger Knecht, Stefan Roese, Stephen Warren,
	Stephen Warren, Sughosh Ganu, Tom Rini

This series collects together some bootstd improvements:

- Improve iteration when there are a lot of devices
- Add a test image for Ubuntu (to compliment Fedora)
- Improve the naming of USB devices and bootdevs
- Add a new command to set the bootdev order
- Add a little more debugging
- Use an abuf when dealing with allocate files
- A few other minor things in bootstd

Most of these issues were found when adding the new test image and more
USB devices to sandbox.

Changes in v2:
- Add new patch with a helper for initing and allocating a buffer
- Update to use abuf_init_size()
- Update commit message to make it clear this is not actually an image
- Drop use of LOGR()
- Rebase on top of recent FS changes

Simon Glass (18):
  abuf: Add a helper for initing and allocating a buffer
  fs: boot: Update fs_read_alloc() to use abuf
  fs: boot: Update fs_load_alloc() to use abuf
  fs: boot: Update bootmeth_alloc_other() to use abuf
  bootstd: Add more debugging to bootmeth_efi
  bootstd: Add more debugging to bootmeth_extlinux
  bootstd: Try all bootmeths on the final partition
  bootstd: Fully complete iteration of a uclass
  test/py: Split out core of Fedora image into a new function
  test/py: Add an extlinux file similar to Ubuntu
  usb: Use more useful names for block devices
  sandbox: Use a unique name for each USB controller
  bootstd: Tweak scanning with labels
  bootstd: Tidy up a nested CONFIG_IS_ENABLED(BOOTSTD)
  bootstd: Provide a command to select the bootdev order
  bootstd: Correct the comment for bootmeth_set_order()
  bootstd: Expand debugging in bootdev_find_in_blk()
  bootstd: Mention FS state in bootmeth_read_bootflow()

 arch/sandbox/dts/test.dts      |  13 +++-
 boot/bootdev-uclass.c          | 114 +++++++++++++++++++++++----------
 boot/bootflow.c                |  37 ++++++-----
 boot/bootmeth-uclass.c         |  17 ++---
 boot/bootmeth_efi.c            |   5 +-
 boot/bootmeth_extlinux.c       |  14 +++-
 boot/bootmeth_script.c         |   6 +-
 boot/bootstd-uclass.c          |  18 ++++++
 boot/cedit.c                   |   3 +-
 boot/scene.c                   |   3 +-
 boot/scene_textline.c          |   3 +-
 cmd/bootdev.c                  |  37 +++++++++++
 cmd/bootflow.c                 |   2 +-
 cmd/cat.c                      |  13 ++--
 cmd/cedit.c                    |  18 +++---
 doc/usage/cmd/bootdev.rst      |  36 +++++++++++
 drivers/usb/emul/sandbox_hub.c |   2 +-
 drivers/usb/host/usb-uclass.c  |  14 +++-
 fs/fs.c                        |  27 +++-----
 include/abuf.h                 |  11 ++++
 include/bootdev.h              |  60 +++++++++--------
 include/bootflow.h             |   2 +-
 include/bootmeth.h             |  12 ++--
 include/bootstd.h              |  10 +++
 include/fs.h                   |  18 +++---
 lib/abuf.c                     |   9 +++
 lib/of_live.c                  |   3 +-
 test/boot/bootdev.c            |  83 ++++++++++++++++++------
 test/boot/bootflow.c           |  10 +--
 test/dm/blk.c                  |   4 +-
 test/dm/usb.c                  |   8 +--
 test/lib/abuf.c                |  22 +++++++
 test/py/tests/test_ut.py       | 111 +++++++++++++++++++++++++-------
 33 files changed, 534 insertions(+), 211 deletions(-)

-- 
2.43.0

base-commit: 37e1b5b09b6ad0a8dd15c580b4f915ea46de8935
branch: schc2

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

end of thread, other threads:[~2025-05-24 14:35 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-01 13:37 [PATCH v2 00/18] bootstd: Useability improvements Simon Glass
2025-05-01 13:37 ` [PATCH v2 01/18] abuf: Add a helper for initing and allocating a buffer Simon Glass
2025-05-05 20:38   ` Tom Rini
2025-05-06 13:23     ` Simon Glass
2025-05-06 19:48       ` Tom Rini
2025-05-10 11:27         ` Simon Glass
2025-05-12 22:35           ` Tom Rini
2025-05-14 19:44             ` Simon Glass
2025-05-24  7:51               ` Simon Glass
2025-05-24 14:20                 ` Tom Rini
2025-05-24 14:31                   ` Simon Glass
2025-05-24 14:35                     ` Tom Rini
2025-05-01 13:37 ` [PATCH v2 02/18] fs: boot: Update fs_read_alloc() to use abuf Simon Glass
2025-05-01 13:37 ` [PATCH v2 03/18] fs: boot: Update fs_load_alloc() " Simon Glass
2025-05-01 13:37 ` [PATCH v2 04/18] fs: boot: Update bootmeth_alloc_other() " Simon Glass
2025-05-01 13:37 ` [PATCH v2 05/18] bootstd: Add more debugging to bootmeth_efi Simon Glass
2025-05-01 13:37 ` [PATCH v2 06/18] bootstd: Add more debugging to bootmeth_extlinux Simon Glass
2025-05-01 13:37 ` [PATCH v2 07/18] bootstd: Try all bootmeths on the final partition Simon Glass
2025-05-01 13:37 ` [PATCH v2 08/18] bootstd: Fully complete iteration of a uclass Simon Glass
2025-05-01 13:37 ` [PATCH v2 09/18] test/py: Split out core of Fedora image into a new function Simon Glass
2025-05-01 13:37 ` [PATCH v2 10/18] test/py: Add an extlinux file similar to Ubuntu Simon Glass
2025-05-01 13:37 ` [PATCH v2 11/18] usb: Use more useful names for block devices Simon Glass
2025-05-01 13:37 ` [PATCH v2 12/18] sandbox: Use a unique name for each USB controller Simon Glass
2025-05-01 13:37 ` [PATCH v2 13/18] bootstd: Tweak scanning with labels Simon Glass
2025-05-01 13:37 ` [PATCH v2 14/18] bootstd: Tidy up a nested CONFIG_IS_ENABLED(BOOTSTD) Simon Glass
2025-05-01 13:37 ` [PATCH v2 15/18] bootstd: Provide a command to select the bootdev order Simon Glass
2025-05-05  8:34   ` Quentin Schulz
2025-05-05 15:37     ` Simon Glass
2025-05-05 16:41       ` Tom Rini
2025-05-06 13:24         ` Simon Glass
2025-05-01 13:37 ` [PATCH v2 16/18] bootstd: Correct the comment for bootmeth_set_order() Simon Glass
2025-05-01 13:37 ` [PATCH v2 17/18] bootstd: Expand debugging in bootdev_find_in_blk() Simon Glass
2025-05-01 13:37 ` [PATCH v2 18/18] bootstd: Mention FS state in bootmeth_read_bootflow() Simon Glass

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.