hw/riscv: microchip_pfsoc: Support factory HSS boot out of the box
Status from this message: Applied to riscv-to-apply.next
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest10 patches 5 repliesApplied
- v1 posting 2/29 patches 13 repliesSuperseded
- v1 posting 1/22 of 9 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- new patch: Document where to look at the PolarFire SoC memory maps
- change to map the reserved memory at address 0 instead of debug memory
- Increase the default memory size to 2 GiB
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | hw/riscv: microchip_pfsoc: Document where to look at the SoC memory mapshw/ | +18 | 1 reply | |
| 2/10 | hw/misc: Add Microchip PolarFire SoC DDR Memory Controller supportMAINTAINERS hw/ hw/ +2 more | +278 | 0 replies | |
| 3/10 | hw/riscv: microchip_pfsoc: Connect DDR memory controller moduleshw/ hw/ include/ | +24 | 1 reply | |
| 4/10 | hw/misc: Add Microchip PolarFire SoC IOSCB module supportMAINTAINERS hw/ hw/ +2 more | +298 | 0 replies | |
| 5/10 | hw/riscv: microchip_pfsoc: Connect the IOSCB modulehw/ hw/ include/ | +12 | 0 replies | |
| 6/10 | hw/misc: Add Microchip PolarFire SoC SYSREG module supportMAINTAINERS hw/ hw/ +2 more | +144 | 0 replies | |
| 7/10 | hw/riscv: microchip_pfsoc: Connect the SYSREG modulehw/ hw/ include/ | +9 | 0 replies | |
| 8/10 | hw/riscv: microchip_pfsoc: Map the reserved memory at address 0hw/ include/ | +11 | 1 reply | |
| 9/10 | hw/riscv: microchip_pfsoc: Correct DDR memory maphw/ include/ | +46 | 1 reply | |
| 10/10 | hw/riscv: microchip_pfsoc: Hook the I2C1 controllerhw/ include/ | +7 | 0 replies |
Reviews trailers per patch
All 10 patches have a Reviewed-by or Acked-by.
| Patch | Alistair Francis |
|---|---|
| 1/10 | R-b |
| 2/10 | R-b |
| 3/10 | R-b |
| 4/10 | R-b |
| 5/10 | R-b |
| 6/10 | R-b |
| 7/10 | R-b |
| 8/10 | R-b |
| 9/10 | R-b |
| 10/10 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/10] hw/riscv: microchip_pfsoc: Support factory HSS boot out of the box
From: Bin Meng <[email protected]>
At present the DDR memory controller is not modeled, hence the factory HSS firmware does not boot out of the box on QEMU. A modified HSS is required per the instructions on [1].
This series adds the missing DDR memory controller support to PolarFire SoC, as well as adding various misc models to support the DDR memory initialization done by HSS.
With this series, the unmodified HSS image can boot on QEMU out of the box. The latest SD card image [2] released by Microchip was used for testing which includes the pre-built U-Boot, device tree blob and Linux kernel. The instructions on [1] have been updated to latest information.
[1] https://wiki.qemu.org/Documentation/Platforms/RISCV#Microchip_PolarFire_SoC_Icicle_Kit
[2] ftp://ftpsoc.microsemi.com/outgoing/core-image-minimal-dev-icicle-kit-es-sd-20201009141623.rootfs.wic.gz
Changes in v2:
- new patch: Document where to look at the PolarFire SoC memory maps
- change to map the reserved memory at address 0 instead of debug memory
- Increase the default memory size to 2 GiB
Bin Meng (10):
hw/riscv: microchip_pfsoc: Document where to look at the SoC memory
maps
hw/misc: Add Microchip PolarFire SoC DDR Memory Controller support hw/riscv: microchip_pfsoc: Connect DDR memory controller modules hw/misc: Add Microchip PolarFire SoC IOSCB module support hw/riscv: microchip_pfsoc: Connect the IOSCB module hw/misc: Add Microchip PolarFire SoC SYSREG module support hw/riscv: microchip_pfsoc: Connect the SYSREG module hw/riscv: microchip_pfsoc: Map the reserved memory at address 0 hw/riscv: microchip_pfsoc: Correct DDR memory map hw/riscv: microchip_pfsoc: Hook the I2C1 controller
MAINTAINERS | 6 + hw/misc/Kconfig | 9 ++ hw/misc/mchp_pfsoc_dmc.c | 216 ++++++++++++++++++++++++++++++++ hw/misc/mchp_pfsoc_ioscb.c | 242 ++++++++++++++++++++++++++++++++++++ hw/misc/mchp_pfsoc_sysreg.c | 99 +++++++++++++++ hw/misc/meson.build | 3 + hw/riscv/Kconfig | 3 + hw/riscv/microchip_pfsoc.c | 123 +++++++++++++++--- include/hw/misc/mchp_pfsoc_dmc.h | 56 +++++++++ include/hw/misc/mchp_pfsoc_ioscb.h | 50 ++++++++ include/hw/misc/mchp_pfsoc_sysreg.h | 39 ++++++ include/hw/riscv/microchip_pfsoc.h | 18 ++- 12 files changed, 847 insertions(+), 17 deletions(-) create mode 100644 hw/misc/mchp_pfsoc_dmc.c create mode 100644 hw/misc/mchp_pfsoc_ioscb.c create mode 100644 hw/misc/mchp_pfsoc_sysreg.c create mode 100644 include/hw/misc/mchp_pfsoc_dmc.h create mode 100644 include/hw/misc/mchp_pfsoc_ioscb.h create mode 100644 include/hw/misc/mchp_pfsoc_sysreg.h
Signature · 1 line
2.7.4