Skip to content

aspeed: Add boot from eMMC support (AST2600)

Cédric Le Goater qemu-arm qemu-devel 2 versions – Applied

Status from this message: Applied to aspeed-next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 4 repliesApplied
  2. v18 patches 18 repliesSuperseded

Changes in v2 from the cover letter

- Rebased on upstream, now that the eMMC device model is available
- Rephrased commit logs
- Fixed SCU prefix of bit definitions
- Tuned 'boot-config' and 'boot-partition-size' eMMC properties

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/8aspeed: Change type of eMMC devicehw/arm/aspeed.c+5 -40 replies
2/8aspeed: Load eMMC first boot area as a boot romhw/arm/aspeed.c+5 -31 reply
3/8aspeed/scu: Add boot-from-eMMC HW strapping bit for AST2600 SoCinclude/hw/misc/aspeed_scu.h+4 -00 replies
4/8aspeed: Introduce a AspeedSoCClass 'boot_from_emmc' handlerhw/arm/aspeed_ast2600.c hw/arm/aspeed_soc_common.c include/hw/arm/aspeed_soc.h+16 -00 replies
5/8aspeed: Tune eMMC device properties to reflect HW strappinghw/arm/aspeed.c+13 -41 reply
6/8aspeed: Add boot-from-eMMC HW strapping bit to rainier-bmc machinehw/arm/aspeed.c+1 -10 replies
7/8aspeed: Introduce a 'hw_strap1' machine attributehw/arm/aspeed.c+5 -10 replies
8/8aspeed: Introduce a 'boot-emmc' machine optiondocs/system/arm/aspeed.rst hw/arm/aspeed.c+32 -00 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchAndrew JefferyPhilippe Mathieu-Daudé
SeriesT-b
1/8R-b T-b R-b T-b
2/8R-b T-b R-b
3/8R-b T-b
4/8R-b T-b
5/8R-b T-b R-b
6/8R-b T-b
7/8R-b T-b
8/8R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/8] aspeed: Add boot from eMMC support (AST2600)

Hello,

This series enables boot from eMMC on the rainier-bmc machine, which is the default behavior and also on the AST2600 EVB using a machine option to change the default.

First 6 patches adjust the machine setup and HW strapping to boot from eMMC, the last 2 are for the AST2600 EVB and are optional.

Thanks,

C.

Changes since v1:

- Rebased on upstream, now that the eMMC device model is available
- Rephrased commit logs
- Fixed SCU prefix of bit definitions
- Tuned 'boot-config' and 'boot-partition-size' eMMC properties

Cédric Le Goater (8):
aspeed: Change type of eMMC device
aspeed: Load eMMC first boot area as a boot rom aspeed/scu: Add boot-from-eMMC HW strapping bit for AST2600 SoC
aspeed: Introduce a AspeedSoCClass 'boot_from_emmc' handler
aspeed: Tune eMMC device properties to reflect HW strapping
aspeed: Add boot-from-eMMC HW strapping bit to rainier-bmc machine
aspeed: Introduce a 'hw_strap1' machine attribute
aspeed: Introduce a 'boot-emmc' machine option

 docs/system/arm/aspeed.rst   |  2 ++
 include/hw/arm/aspeed_soc.h  |  1 +
 include/hw/misc/aspeed_scu.h |  4 +++
 hw/arm/aspeed.c              | 62 +++++++++++++++++++++++++++++++-----
 hw/arm/aspeed_ast2600.c      |  8 +++++
 hw/arm/aspeed_soc_common.c   |  7 ++++
 6 files changed, 76 insertions(+), 8 deletions(-)
Signature · 1 line
2.45.2