[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-arm] [PATCH for-2.9 00/30] Aspeed SoC fixes and model improvements
From: |
Cédric Le Goater |
Subject: |
[Qemu-arm] [PATCH for-2.9 00/30] Aspeed SoC fixes and model improvements |
Date: |
Tue, 29 Nov 2016 16:43:38 +0100 |
Here is a collection of fixes and improvements on existing models for
the Aspeed SoCs
* Block
- add a 'model' option to -drive for MTD devices
* SoC level
- an AST2400 A1 SoC for the Palmetto machine
- a new Romulus machine
- a SRAM region (which is used at early boot in U-Boot, serves as a
stack, and by DRAM calibration)
* SMC (Flash controller)
- Command mode support. Flash contents is accessed directly on the
AHB bus
- DMA support
- dummy bytes
- auto strapping of configuration for boot flash
- use CS0 as a boot ROM. Today, qemu can not boot from a MMIO region.
As this is complex to do (TCG layer modification), we use a ROM
region in which we copy the flash contents. Hopefully, I got it
right this time.
* Watchdog
- new model.
- not complete but reset under U-Boot and reboot under Linux now
work
Thanks,
C.
Cédric Le Goater (29):
target-arm: Add VBAR support to ARM1176 CPUs
m25p80: add support for the mx66l1g45g
aspeed: QOMify the CPU object and attach it to the SoC
aspeed: remove cannot_destroy_with_object_finalize_yet
aspeed: attach the second SPI controller object to the SoC
aspeed: extend the board configuration with flash models
aspeed: add support for the romulus-bmc board
aspeed: add a memory region for SRAM
aspeed: add the definitions for the AST2400 A1 SoC
aspeed: change SoC revision of the palmetto-bmc machine
aspeed/scu: fix SCU region size
aspeed/smc: improve segment register support
aspeed/smc: set the number of flash modules for the FMC controller
aspeed/smc: rework the prototype of the AspeedSMCFlash helper routines
aspeed/smc: introduce a aspeed_smc_flash_update_cs() helper
aspeed/smc: autostrap CE0/1 configuration
aspeed/smc: handle SPI flash Command mode
aspeed/smc: extend tests for Command mode
aspeed/smc: unfold the AspeedSMCController array
aspeed/smc: add a 'sdram_base' property
aspeed/smc: add support for DMAs
aspeed/smc: handle dummy bytes when doing fast reads
aspeed/smc: adjust the size of the register region
aspeed: use first SPI flash as a boot ROM
block: add a model option for MTD devices
aspeed/smc: use flash model option
aspeed: add a watchdog controller
aspeed/scu: add a aspeed_scu_get_clk() helper
wdt: aspeed: use scu to get clock freq
Joel Stanley (1):
wdt: Add Aspeed watchdog device model
blockdev.c | 12 +
hw/arm/aspeed.c | 113 ++++++-
hw/arm/aspeed_soc.c | 109 +++++--
hw/block/m25p80.c | 1 +
hw/misc/aspeed_scu.c | 16 +-
hw/misc/aspeed_sdmc.c | 3 +
hw/ssi/aspeed_smc.c | 663 +++++++++++++++++++++++++++++++++------
hw/watchdog/Makefile.objs | 1 +
hw/watchdog/wdt_aspeed.c | 223 +++++++++++++
include/hw/arm/aspeed_soc.h | 6 +-
include/hw/misc/aspeed_scu.h | 2 +
include/hw/ssi/aspeed_smc.h | 8 +-
include/hw/watchdog/wdt_aspeed.h | 43 +++
include/sysemu/blockdev.h | 1 +
qemu-options.hx | 4 +-
target-arm/cpu.c | 6 +
target-arm/cpu.h | 1 +
target-arm/helper.c | 24 +-
tests/m25p80-test.c | 86 +++++
19 files changed, 1197 insertions(+), 125 deletions(-)
create mode 100644 hw/watchdog/wdt_aspeed.c
create mode 100644 include/hw/watchdog/wdt_aspeed.h
--
2.7.4
- [Qemu-arm] [PATCH for-2.9 00/30] Aspeed SoC fixes and model improvements,
Cédric Le Goater <=
- [Qemu-arm] [PATCH for-2.9 01/30] target-arm: Add VBAR support to ARM1176 CPUs, Cédric Le Goater, 2016/11/29
- [Qemu-arm] [PATCH for-2.9 02/30] m25p80: add support for the mx66l1g45g, Cédric Le Goater, 2016/11/29
- [Qemu-arm] [PATCH for-2.9 03/30] aspeed: QOMify the CPU object and attach it to the SoC, Cédric Le Goater, 2016/11/29
- [Qemu-arm] [PATCH for-2.9 04/30] aspeed: remove cannot_destroy_with_object_finalize_yet, Cédric Le Goater, 2016/11/29
- [Qemu-arm] [PATCH for-2.9 05/30] aspeed: attach the second SPI controller object to the SoC, Cédric Le Goater, 2016/11/29
- [Qemu-arm] [PATCH for-2.9 06/30] aspeed: extend the board configuration with flash models, Cédric Le Goater, 2016/11/29
- [Qemu-arm] [PATCH for-2.9 07/30] aspeed: add support for the romulus-bmc board, Cédric Le Goater, 2016/11/29
- [Qemu-arm] [PATCH for-2.9 08/30] aspeed: add a memory region for SRAM, Cédric Le Goater, 2016/11/29
- [Qemu-arm] [PATCH for-2.9 09/30] aspeed: add the definitions for the AST2400 A1 SoC, Cédric Le Goater, 2016/11/29
- [Qemu-arm] [PATCH for-2.9 10/30] aspeed: change SoC revision of the palmetto-bmc machine, Cédric Le Goater, 2016/11/29