aspeed/smc: Improve support for the alternate boot function
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 12 repliesIn review
- v14 patches 7 repliesSuperseded
Changes since v2 from the cover letter
- introduce a container region for the WDT2 register address space
- introduce a container region for the flash mmio address space
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | aspeed/wdt: Introduce a container for the MMIO regionhw/ include/ | +6 | 2 replies | |
| 2/5 | aspeed: Initialize the watchdog device models before the FMC modelshw/ hw/ | +36 | 2 replies | |
| 3/5 | aspeed/smc: Improve support for the alternate boot functionhw/ hw/ hw/ +1 more | +82 | 0 replies | |
| 4/5 | aspeed/smc: Use a container for the flash mmio address spacehw/ include/ | +8 | 2 replies | |
| 5/5 | speed/sdhci: Add trace eventshw/ hw/ | +9 | 2 replies |
Reviews trailers per patch
4 of 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Peter Delevoryas | Philippe Mathieu-Daudé | Francisco Iglesias |
|---|---|---|---|
| Series | R-b | ||
| 1/5 | R-b | R-b | |
| 2/5 | R-b | R-b | |
| 3/5 | |||
| 4/5 | R-b | R-b | |
| 5/5 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v2 0/5] aspeed/smc: Improve support for the alternate boot function
Hello,
The Aspeed SoCs have a dual boot function for firmware fail-over recovery. The system auto-reboots from the second flash if the main flash does not boot successfully within a certain amount of time. This function is called alternate boot (ABR) in the FMC controllers.
On the AST2600, the ABR registers controlling the 2nd watchdog timer were moved from the watchdog register to the FMC controller. To control WDT2 through the FMC model register set, this series creates a local address space on top of WDT2 memory region.
To test on the fuji-bmc machine, run :
devmem 0x1e620064
devmem 0x1e78504C
devmem 0x1e620064 32 0xffffffff
devmem 0x1e620064
devmem 0x1e78504CThanks
C.
Changes since v2:
- introduce a container region for the WDT2 register address space
- introduce a container region for the flash mmio address space
Cédric Le Goater (5):
aspeed/wdt: Introduce a container for the MMIO region
aspeed: Initialize the watchdog device models before the FMC models aspeed/smc: Improve support for the alternate boot function aspeed/smc: Use a container for the flash mmio address space speed/sdhci: Add trace events
include/hw/ssi/aspeed_smc.h | 5 +- include/hw/watchdog/wdt_aspeed.h | 1 + hw/arm/aspeed_ast2600.c | 38 +++++++------- hw/arm/aspeed_soc.c | 36 ++++++------- hw/sd/aspeed_sdhci.c | 5 ++ hw/ssi/aspeed_smc.c | 89 +++++++++++++++++++++++++++++--- hw/watchdog/wdt_aspeed.c | 6 ++- hw/sd/trace-events | 4 ++ hw/ssi/trace-events | 1 + 9 files changed, 141 insertions(+), 44 deletions(-)
Signature · 1 line
2.31.1