From: Cédric Le Goater <c...@kaod.org>

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.

It depends solely on the availability of an eMMC device model which is
currently being discussed upstream. Numerous patches have been merged
already and remaining ones [1] should be in 9.1 development cycle.
Since the changes of this series are small and localized, it would be
an interesting extension of the AST2600 SoC model for QEMU 9.1.

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.

[1] https://github.com/legoater/qemu/commits/aspeed-9.1

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: Set eMMC 'boot-config' property 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              | 60 +++++++++++++++++++++++++++++++-----
 hw/arm/aspeed_ast2600.c      |  8 +++++
 hw/arm/aspeed_soc_common.c   |  7 +++++
 6 files changed, 74 insertions(+), 8 deletions(-)

-- 
2.45.2


Reply via email to