public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] ARM: dts: aspeed: Add an alt 128M flash layout.
@ 2026-01-20 19:26 Marc Olberding
  2026-01-20 19:26 ` [PATCH v3 1/2] ARM: dts: aspeed: add " Marc Olberding
  2026-01-20 19:26 ` [PATCH v3 2/2] ARM: dts: aspeed: Add alt partition support to msx4 Marc Olberding
  0 siblings, 2 replies; 5+ messages in thread
From: Marc Olberding @ 2026-01-20 19:26 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Joel Stanley,
	Andrew Jeffery
  Cc: devicetree, linux-arm-kernel, linux-aspeed, linux-kernel,
	Marc Olberding

Add a layout for an alternate 128M flash layout. This is useful for the
aspeed ast2500[2] and ast2600[1] SoCs, where it has the ability to boot
from one of two spi chips, nominally the primary and backup SPIs. Adding
a layout allows userspace to flash the alternate spi by partition and
switch over to it, allowing lower downtime for firmware flash, or for
updating the primary flash from the golden backup flash. This is already
an established scheme for the 32M and 64M layouts, where the layout is
the same but each partition has `alt` prepended to its name. This allows
userspace to just prepend alt to the images in the update process to
specify which flash chip to update. This series also adds support for
the msx4 to use this layout.

References:

[1] https://www.aspeedtech.com/server_ast2600/
[2] https://www.aspeedtech.com/server_ast2500/

Signed-off-by: Marc Olberding <molberding@nvidia.com>
---
Changes in v3:
- Reworded commit adding alt flash layout and fixed formatting issues
- Expanded testing section 
- Readded the Changes in v2 section, somehow they got lost
- Link to v2: https://lore.kernel.org/r/20251218-alt-128-v2-0-10499a0b7eb9@nvidia.com
Changes in v2:
- Retargetted series for the bmc tree
- Added a usage of the dtsi in the MSX4 device tree
- Link to v1: https://lore.kernel.org/all/20251211-alt-128-layout-v1-1-100f57d2bc4a@nvidia.com/

---
Marc Olberding (2):
      ARM: dts: aspeed: add an alt 128M flash layout
      ARM: dts: aspeed: Add alt partition support to msx4

 .../boot/dts/aspeed/aspeed-bmc-nvidia-msx4-bmc.dts |  1 +
 .../dts/aspeed/openbmc-flash-layout-128-alt.dtsi   | 32 ++++++++++++++++++++++
 2 files changed, 33 insertions(+)
---
base-commit: 459a5aa171c0f13fcd78faa9594dc4aa5a95770b
change-id: 20251218-alt-128-19270d894872

Best regards,
-- 
Marc Olberding <molberding@nvidia.com>


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

end of thread, other threads:[~2026-01-20 20:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-20 19:26 [PATCH v3 0/2] ARM: dts: aspeed: Add an alt 128M flash layout Marc Olberding
2026-01-20 19:26 ` [PATCH v3 1/2] ARM: dts: aspeed: add " Marc Olberding
2026-01-20 19:40   ` Krzysztof Kozlowski
2026-01-20 20:30     ` Marc Olberding
2026-01-20 19:26 ` [PATCH v3 2/2] ARM: dts: aspeed: Add alt partition support to msx4 Marc Olberding

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