Agilex5 DDR Driver Enhancement
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | arm: socfpga: agilex5: Add MMU mapping regionarch/ | +14 | 3 replies | |
| 2/5 | arm: socfpga: socfpga_soc64: Enable LMB_ARCH_MEM_MAParch/ arch/ | +14 | 1 reply | |
| 3/5 | arm: dts: agilex5: Update CCU configurationarch/ | +4 | 1 reply | |
| 4/5 | ddr: altera: agilex5: LPDDRs in-line ECC supportarch/ drivers/ drivers/ +2 more | +220 | 1 reply | |
| 5/5 | ddr: altera: iossm: Enhance debug information for ECC errorsdrivers/ | +51 | 1 reply |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Tien Fong Chee |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 0/5] Agilex5 DDR Driver Enhancement
From: Tingting Meng <[email protected]>
This patch series enhances the U-Boot DDR driver for Agilex 5 with improvements in memory handling, cache control, and ECC support. The updates include:
1. MMU mapping regions were added for the second and third DDR memory banks.
2. LMB_ARCH_MEM_MAP is enabled to correctly handle memory reservations for the second and third DDR memory banks.
3. Cache allocation for dirty writes in the CCU system cache was disabled for performance optimization.
4. In-line ECC support was added for LPDDR by reserving the last one-eighth of the memory space for ECC data. Full memory initialization using the BIST MEM INIT mailbox command, based on address and size, is required to correctly generate ECC data and enable proper ECC logic verification.
5. ECC debug information was enhanced to improve the readability of error messages.
This patch series has been tested on the Agilex 5 devkit with RAM boot using TFTP and the ARM DS debugger.
Tingting Meng (5):
arm: socfpga: agilex5: Add MMU mapping region
arm: socfpga: socfpga_soc64: Enable LMB_ARCH_MEM_MAP
arm: dts: agilex5: Update CCU configuration
ddr: altera: agilex5: LPDDRs in-line ECC support
ddr: altera: iossm: Enhance debug information for ECC errors
arch/arm/Kconfig | 1 + arch/arm/dts/socfpga_agilex5-u-boot.dtsi | 6 +- .../arm/dts/socfpga_agilex5_socdk-u-boot.dtsi | 26 +- arch/arm/mach-socfpga/board.c | 13 + arch/arm/mach-socfpga/mmu-arm64_s10.c | 14 ++ drivers/ddr/altera/iossm_mailbox.c | 225 ++++++++++++++++-- drivers/ddr/altera/iossm_mailbox.h | 11 +- drivers/ddr/altera/sdram_agilex5.c | 19 +- drivers/ddr/altera/sdram_soc64.c | 52 ++-- 9 files changed, 303 insertions(+), 64 deletions(-)
Signature · 1 line
2.25.1