Skip to content

Coprocessor and memory mapping improvements for AST2700

Jamin Lin via qemu-arm qemu-devel 1 version Applied

Status from this message: Applied to aspeed-next.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 11 repliesApplied

Changes in v1 from the cover letter

1. Improved memory mapping
2. Added SRAM support and increased SDRAM size to 512MB to fix coprocessor crash observed in SDK v09.08
3. Updated coprocessor functional tests for SDK v09.08
4. Added VBOOTROM support
5. Shared a single SCU instance among PSP, SSP, and TSP
6. Shared UART set among PSP, SSP, and TSP

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/12hw/arm/aspeed_ast27x0-ssp: Add SDRAM region and fix naming and size to 512MBhw/arm/aspeed_ast27x0-ssp.c include/hw/arm/aspeed_coprocessor.h+11 -101 reply
2/12hw/arm/aspeed_ast27x0-tsp: Add SDRAM region and fix naming and size to 512MBhw/arm/aspeed_ast27x0-tsp.c+10 -101 reply
3/12hw/arm/ast27x0: Add SRAM link and alias mapping for SSP coprocessorhw/arm/aspeed_ast27x0-fc.c hw/arm/aspeed_ast27x0-ssp.c hw/arm/aspeed_coprocessor_common.c +1 more+15 -11 reply
4/12hw/arm/ast27x0: Add SRAM link and alias mapping for TSP coprocessorhw/arm/aspeed_ast27x0-fc.c hw/arm/aspeed_ast27x0-tsp.c+11 -01 reply
5/12hw/arm/ast27x0: Share single SCU instance across PSP, SSP, and TSPhw/arm/aspeed_ast27x0-fc.c hw/arm/aspeed_ast27x0-ssp.c hw/arm/aspeed_ast27x0-tsp.c +2 more+18 -181 reply
6/12hw/arm/ast27x0: Share single UART set across PSP, SSP, and TSPhw/arm/aspeed_ast27x0-fc.c hw/arm/aspeed_ast27x0-ssp.c hw/arm/aspeed_ast27x0-tsp.c +2 more+42 -491 reply
7/12hw/arm/aspeed_ast27x0-fc: Map FMC0 flash contents into CA35 boot ROMhw/arm/aspeed_ast27x0-fc.c+12 -20 replies
8/12hw/arm/aspeed_ast27x0-fc: Add VBOOTROM supporthw/arm/aspeed_ast27x0-fc.c+5 -00 replies
9/12tests/functional/aarch64/ast2700fc: Update test ASPEED SDK v09.08tests/functional/aarch64/test_aspeed_ast2700fc.py+6 -61 reply
10/12tests/functional/aarch64/ast2700fc: Add eth2 network interface check in PCIe testtests/functional/aarch64/test_aspeed_ast2700fc.py+4 -01 reply
11/12tests/functional/aarch64/ast2700fc: Move coprocessor image loading to common functiontests/functional/aarch64/test_aspeed_ast2700fc.py+12 -101 reply
12/12tests/functional/aarch64/ast2700fc: Add vbootrom testtests/functional/aarch64/test_aspeed_ast2700fc.py+15 -01 reply

Reviews trailers per patch

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

PatchCédric Le Goater
1/12R-b
2/12R-b
3/12R-b
4/12R-b
5/12R-b
6/12R-b
7/12R-b
8/12R-b
9/12R-b
10/12R-b
11/12R-b
12/12R-b

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

Read the v1 thread

Cover letter [PATCH v1 00/12] Coprocessor and memory mapping improvements for AST2700

v1:
1. Improved memory mapping
2. Added SRAM support and increased SDRAM size to 512MB to fix coprocessor crash observed in SDK v09.08
3. Updated coprocessor functional tests for SDK v09.08
4. Added VBOOTROM support
5. Shared a single SCU instance among PSP, SSP, and TSP
6. Shared UART set among PSP, SSP, and TSP

Jamin Lin (12):
hw/arm/aspeed_ast27x0-ssp: Add SDRAM region and fix naming and size to

    512MB
  hw/arm/aspeed_ast27x0-tsp: Add SDRAM region and fix naming and size to
    512MB

hw/arm/ast27x0: Add SRAM link and alias mapping for SSP coprocessor hw/arm/ast27x0: Add SRAM link and alias mapping for TSP coprocessor hw/arm/ast27x0: Share single SCU instance across PSP, SSP, and TSP hw/arm/ast27x0: Share single UART set across PSP, SSP, and TSP hw/arm/aspeed_ast27x0-fc: Map FMC0 flash contents into CA35 boot ROM hw/arm/aspeed_ast27x0-fc: Add VBOOTROM support tests/functional/aarch64/ast2700fc: Update test ASPEED SDK v09.08 tests/functional/aarch64/ast2700fc: Add eth2 network interface check
in PCIe test
tests/functional/aarch64/ast2700fc: Move coprocessor image loading to
common function
tests/functional/aarch64/ast2700fc: Add vbootrom test

 include/hw/arm/aspeed_coprocessor.h           | 14 ++--
 hw/arm/aspeed_ast27x0-fc.c                    | 55 +++++++++++----
 hw/arm/aspeed_ast27x0-ssp.c                   | 69 +++++++++----------
 hw/arm/aspeed_ast27x0-tsp.c                   | 69 +++++++++----------
 hw/arm/aspeed_coprocessor_common.c            |  7 ++
 .../aarch64/test_aspeed_ast2700fc.py          | 51 ++++++++++----
 6 files changed, 160 insertions(+), 105 deletions(-)
Signature · 1 line
2.43.0