public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2 00/33] upl: Prerequite patches for updated spec
@ 2025-01-06 14:31 Simon Glass
  2025-01-06 14:31 ` [PATCH v2 01/33] bloblist: add api to get blob with size Simon Glass
                   ` (34 more replies)
  0 siblings, 35 replies; 60+ messages in thread
From: Simon Glass @ 2025-01-06 14:31 UTC (permalink / raw)
  To: U-Boot Mailing List
  Cc: Simon Glass, Ahelenia Ziemiańska, Alex Shumsky,
	Alexander Dahl, Alexander Graf, Alexander Kochetkov,
	Alexander Sverdlin, Alper Nebi Yasak, Anand Moon,
	Anatolij Gustschin, Andy Shevchenko, Bin Meng, Caleb Connolly,
	Chen-Yu Tsai, Christian Marangi, Devarsh Thakkar,
	Dmitry Gerasimov, Dmitry Rokosov, Dragan Simic, Heiko Schocher,
	Heinrich Schuchardt, Hou Zhiqiang, Hugo Cornelis, Igor Opaniuk,
	Ilias Apalodimas, Jagan Teki, Jan Kiszka, Janne Grunau,
	Jerome Forissier, Jerry Van Baren, Jiaxun Yang, Joe Hershberger,
	Jonas Karlman, Joshua Watt, Julien Masson, Kever Yang,
	Laurent Pinchart, Leo Yu-Chi Liang, Levi Yun, Lukasz Majewski,
	Marek Mojík, Marek Vasut, Marek Vasut, Masahisa Kojima,
	Matthew Garrett, Mattijs Korpershoek, Maxim Moskalets,
	Michael Walle, Michal Simek, Miquel Raynal, Nikhil M Jain,
	Patrick Delaunay, Patrick Rudolph, Paul-Erwan Rio, Pavel Herrmann,
	Peter Korsgaard, Peter Robinson, Philip Oberfichtner,
	Quentin Schulz, Rasmus Villemoes, Raymond Mao, Roman Stratiienko,
	Stefan Roese, Stefano Babic, Sughosh Ganu, Sumit Garg,
	This contributor prefers not to receive mails, Tom Rini,
	Tuomas Tynkkynen

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 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

Raymond Mao (1):
  bloblist: add api to get blob with size

Simon Glass (32):
  bloblist: Drop BSD license
  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: Update fit_image_get_emb_data to use abuf
  boot: Use fit_image_get_data() to get data
  boot: Update fit_image_get_data() to use abuf
  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
  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/arm/cpu/armv8/sec_firmware.c      | 13 ++--
 arch/arm/mach-k3/r5/sysfw-loader.c     | 11 ++-
 arch/x86/include/asm/cpu.h             |  9 ---
 arch/x86/lib/bdinfo.c                  |  3 +
 arch/x86/lib/bootm.c                   | 18 ++++-
 arch/x86/lib/spl.c                     | 12 +++-
 arch/x86/lib/tables.c                  | 11 ++-
 boot/image-board.c                     | 11 ++-
 boot/image-fit.c                       | 98 +++++++++-----------------
 cmd/Kconfig                            |  4 +-
 cmd/ximg.c                             | 14 ++--
 common/Kconfig                         | 15 ++--
 common/bloblist.c                      | 19 ++++-
 common/spl/spl_fit.c                   |  8 ++-
 common/splash_source.c                 | 18 +----
 common/update.c                        |  7 +-
 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             |  2 +
 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                            |  2 +-
 include/abuf.h                         | 25 +++++++
 include/bloblist.h                     | 20 +++++-
 include/cpu.h                          | 14 ++++
 include/dm/ofnode.h                    | 35 +++++++--
 include/image.h                        | 39 ++++++++--
 include/video.h                        |  2 +
 lib/Kconfig                            |  1 +
 lib/Makefile                           |  5 ++
 lib/abuf.c                             | 21 +++++-
 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/Makefile                         |  3 +-
 tools/fit_image.c                      |  8 +--
 tools/image-host.c                     | 23 +++---
 tools/mkimage.h                        |  2 +-
 50 files changed, 507 insertions(+), 207 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2025-01-10 21:15 UTC | newest]

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

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