# DDR4 calibration and training

**URL:** <https://community.solid-run.com/t/ddr4-calibration-and-training/204>\
**Category:** OCTEON CN9130\
**Created:** [December 13, 2021, 8:02am UTC](https://community.solid-run.com/t/ddr4-calibration-and-training/204 "2021-12-13T08:02:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhkim](https://avatars.discourse-cdn.com/v4/letter/j/f17d59/32.png) [@jhkim](https://community.solid-run.com/u/jhkim)\
**Post date:** [December 13, 2021, 8:02am UTC](https://community.solid-run.com/t/ddr4-calibration-and-training/204/1 "2021-12-13T08:02:52Z")

</div>

Hi,  
I found that the calibration and training of DDR4 in CN9132 evaluation board is controlled by synopsis memory phy firmware, is that right?  
Is there no role for CPU software for calibration and training algorithm of DDR4?  
In case when we wish to tune the algorithm of calibration and training, how can we do it?

Thanks in advance,  
J.Hwan Kim

---

<div class="post-metadata">

**Author:** ![Alon](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@Alon](https://community.solid-run.com/u/Alon)\
**Post date:** [February 3, 2022, 12:00pm UTC](https://community.solid-run.com/t/ddr4-calibration-and-training/204/2 "2022-02-03T12:00:34Z")

</div>

hi,

The DDR4 controller and software is of Synopsis.

In order to adjust calibration parameters, you can edit  
arm-trusted-firmware/plat/marvell/octeontx/otx2/t91/t9130/board/dram\_port.c

The DDR tarining is done prior to any boot from a device, therefore a CPU software will help you.

you can find synopsys drivers here ‘mv-ddr-marvell/drivers/snps/’
