public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v3 00/30] upl: Prerequite patches for updated spec
@ 2025-01-10 23:59 Simon Glass
  2025-01-11  0:00 ` [PATCH v3 01/30] bloblist: Make BLOBLIST_ALLOC the default Simon Glass
                   ` (30 more replies)
  0 siblings, 31 replies; 36+ messages in thread
From: Simon Glass @ 2025-01-10 23:59 UTC (permalink / raw)
  To: U-Boot Mailing List
  Cc: Simon Glass, Ahelenia Ziemiańska, Alexander Dahl,
	Alexander Kochetkov, Alper Nebi Yasak, Anatolij Gustschin,
	Andy Shevchenko, Chen-Yu Tsai, Christian Marangi, Dragan Simic,
	Heiko Schocher, Heinrich Schuchardt, Hugo Cornelis, Igor Opaniuk,
	Janne Grunau, Jerome Forissier, Jerry Van Baren, Joe Hershberger,
	Jonas Karlman, Joshua Watt, Kever Yang, Lukasz Majewski,
	Marek Mojík, Masahisa Kojima, Matthew Garrett,
	Mattijs Korpershoek, Maxim Moskalets, Michael Walle,
	Miquel Raynal, Patrick Delaunay, Patrick Rudolph, Paul-Erwan Rio,
	Peter Korsgaard, Quentin Schulz, Rasmus Villemoes, Stefan Roese,
	Stefano Babic, Sughosh Ganu, Sumit Garg, Tom Rini

The current UPL spec[1] has been tidied up and improved over the last
year, since U-Boot's original UPL support was written.

This series includes some prerequisite patches needed for the real UPL
patches. It is split from [2]

[1] git@github.com:UniversalPayload/spec.git commit 3f1450d
[2] https://patchwork.ozlabs.org/project/uboot/list/?series=438574&state=*

Changes in v3:
- Use 'default' instead of reordering items
- Update the commit message
- Drop entire condition
- Reword commit message to clarify that the fault is with U-Boot
- Add new patch to avoid mapping the ACPI tables twice
- Be careful not to resend the bloblist license and get_size patches

Changes in v2:
- Fix 'Emable' typo
- Enable the command in cmd/Kconfig instead
- Fix unbalanced {}
- Add new patch to move x86 tables to use SZ macros
- Use 4K instead of 4KB
- Add new patch to enable bloblist on x86
- Split this into its own function
- Split prerequisite patches into their own series

Simon Glass (30):
  bloblist: Make BLOBLIST_ALLOC the default
  abuf: Provide a way to get the buffer address
  abuf: Allow use in host tools
  abuf: Provide a constant buffer
  cpu: Provide a way to get the physical-address size
  serial: Support info() method in ns16550 xPL with UPL
  mkimage: Update map_to_sysmem() to match its prototype
  x86: Enable meminfo command
  x86: Show the timestamp counter with bdinfo
  ofnode: Use 4K for a default tree-size
  ofnode: Indicate when out of space in a few places
  ofnode: Update of_add_subnode() to indicate name is alloced
  boot: Rename fit_image_get_data()
  boot: Rename fit_image_get_data_and_size()
  boot: Use fit_image_get_data() to get data
  test: Fix inpected typo in upl test
  emulation: fdt: Relax condition for OF_HAS_PRIOR_STAGE
  emulation: Use bloblist to hold tables
  x86: Create more space for SPL with qemu-x86_64
  pci: video: Set up the pixel-format field
  x86: Show an error if video fails
  x86: Support jumping to a UPL image
  x86: Enable UPL handoff for SPL
  x86: Move tables to use SZ macros
  x86: Align the SMBIOS table to a 4K boundary
  efi_loader: Avoid mapping the ACPI tables twice
  x86: emulation: Enable bloblist
  dm: core: Clarify behaviour of ofnode_name_eq()
  dm: core: Provide ofnode_name_eq_unit() to accept a unit address
  dm: core: Provide ofnode_find_subnode_unit()

 arch/x86/include/asm/cpu.h             |  9 ----
 arch/x86/lib/bdinfo.c                  |  3 ++
 arch/x86/lib/bootm.c                   | 15 +++++-
 arch/x86/lib/spl.c                     | 12 ++++-
 arch/x86/lib/tables.c                  | 11 +++--
 boot/image-board.c                     |  4 +-
 boot/image-fit.c                       | 30 ++++++------
 cmd/Kconfig                            |  4 +-
 cmd/ximg.c                             |  3 +-
 common/Kconfig                         |  2 +
 common/spl/spl_fit.c                   |  2 +-
 common/splash_source.c                 | 17 ++-----
 configs/chromebook_bob_defconfig       |  1 +
 configs/chromebook_coral_defconfig     |  1 +
 configs/chromebook_kevin_defconfig     |  1 +
 configs/chromebook_samus_tpl_defconfig |  1 +
 configs/qemu-x86_64_defconfig          |  6 ++-
 configs/qemu-x86_defconfig             |  4 ++
 configs/qemu_arm64_defconfig           |  2 +
 configs/qemu_arm_defconfig             |  2 +
 drivers/core/ofnode.c                  | 67 +++++++++++++++++++++-----
 drivers/misc/qfw_acpi.c                | 37 +++++++++++++-
 drivers/misc/qfw_smbios.c              | 45 ++++++++---------
 drivers/pci/pci_rom.c                  |  3 ++
 drivers/serial/ns16550.c               |  2 +-
 drivers/video/bochs.c                  |  1 +
 drivers/video/video-uclass.c           |  1 +
 dts/Kconfig                            |  1 -
 include/abuf.h                         | 25 ++++++++++
 include/cpu.h                          | 14 ++++++
 include/dm/ofnode.h                    | 35 ++++++++++++--
 include/image.h                        |  8 +--
 include/video.h                        |  2 +
 lib/Kconfig                            |  1 +
 lib/Makefile                           |  5 ++
 lib/abuf.c                             | 12 +++++
 lib/efi_loader/efi_acpi.c              | 10 ++++
 test/common/Makefile                   |  4 ++
 test/dm/core.c                         | 20 ++++++++
 test/dm/ofnode.c                       | 19 ++++++++
 test/lib/abuf.c                        | 26 +++++++++-
 test/py/tests/test_upl.py              |  2 +-
 tools/fit_image.c                      |  2 +-
 tools/image-host.c                     |  4 +-
 tools/mkimage.h                        |  2 +-
 45 files changed, 369 insertions(+), 109 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2025-03-06 16:21 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-10 23:59 [PATCH v3 00/30] upl: Prerequite patches for updated spec Simon Glass
2025-01-11  0:00 ` [PATCH v3 01/30] bloblist: Make BLOBLIST_ALLOC the default Simon Glass
2025-01-11  0:00 ` [PATCH v3 02/30] abuf: Provide a way to get the buffer address Simon Glass
2025-01-11  0:00 ` [PATCH v3 03/30] abuf: Allow use in host tools Simon Glass
2025-01-11  0:00 ` [PATCH v3 04/30] abuf: Provide a constant buffer Simon Glass
2025-01-11  0:00 ` [PATCH v3 05/30] cpu: Provide a way to get the physical-address size Simon Glass
2025-01-11  0:00 ` [PATCH v3 06/30] serial: Support info() method in ns16550 xPL with UPL Simon Glass
2025-01-11  0:00 ` [PATCH v3 07/30] mkimage: Update map_to_sysmem() to match its prototype Simon Glass
2025-01-11  0:00 ` [PATCH v3 08/30] x86: Enable meminfo command Simon Glass
2025-01-11  0:00 ` [PATCH v3 09/30] x86: Show the timestamp counter with bdinfo Simon Glass
2025-01-11  0:00 ` [PATCH v3 10/30] ofnode: Use 4K for a default tree-size Simon Glass
2025-01-11  0:00 ` [PATCH v3 11/30] ofnode: Indicate when out of space in a few places Simon Glass
2025-01-11  0:00 ` [PATCH v3 12/30] ofnode: Update of_add_subnode() to indicate name is alloced Simon Glass
2025-01-11  0:00 ` [PATCH v3 13/30] boot: Rename fit_image_get_data() Simon Glass
2025-01-11  0:00 ` [PATCH v3 14/30] boot: Rename fit_image_get_data_and_size() Simon Glass
2025-01-11  0:00 ` [PATCH v3 15/30] boot: Use fit_image_get_data() to get data Simon Glass
2025-01-11  0:00 ` [PATCH v3 16/30] test: Fix inpected typo in upl test Simon Glass
2025-01-11  0:00 ` [PATCH v3 17/30] emulation: fdt: Relax condition for OF_HAS_PRIOR_STAGE Simon Glass
2025-01-13 15:44   ` Tom Rini
2025-01-11  0:00 ` [PATCH v3 18/30] emulation: Use bloblist to hold tables Simon Glass
2025-01-11  0:00 ` [PATCH v3 19/30] x86: Create more space for SPL with qemu-x86_64 Simon Glass
2025-01-11  0:00 ` [PATCH v3 20/30] pci: video: Set up the pixel-format field Simon Glass
2025-01-11  0:00 ` [PATCH v3 21/30] x86: Show an error if video fails Simon Glass
2025-01-11  0:00 ` [PATCH v3 22/30] x86: Support jumping to a UPL image Simon Glass
2025-01-11  0:00 ` [PATCH v3 23/30] x86: Enable UPL handoff for SPL Simon Glass
2025-01-11  0:00 ` [PATCH v3 24/30] x86: Move tables to use SZ macros Simon Glass
2025-01-11  0:00 ` [PATCH v3 25/30] x86: Align the SMBIOS table to a 4K boundary Simon Glass
2025-01-11  0:00 ` [PATCH v3 26/30] efi_loader: Avoid mapping the ACPI tables twice Simon Glass
2025-01-11  0:00 ` [PATCH v3 27/30] x86: emulation: Enable bloblist Simon Glass
2025-01-11  0:00 ` [PATCH v3 28/30] dm: core: Clarify behaviour of ofnode_name_eq() Simon Glass
2025-01-11  0:00 ` [PATCH v3 29/30] dm: core: Provide ofnode_name_eq_unit() to accept a unit address Simon Glass
2025-01-11  0:00 ` [PATCH v3 30/30] dm: core: Provide ofnode_find_subnode_unit() Simon Glass
2025-01-23 14:13 ` [PATCH v3 00/30] upl: Prerequite patches for updated spec Tom Rini
2025-02-16  8:28   ` Patrick Rudolph
2025-02-16 12:56     ` Simon Glass
2025-03-06 14:34       ` Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox