[PATCH v4] SDRAM Calibration Failed fix for GEN5 SoCFPGA
Ralph Siemsen
ralph.siemsen at linaro.org
Wed Dec 3 19:00:57 CET 2025
Hi Brian,
On Mon, Dec 1, 2025 at 8:24 AM Sune Brian <briansune at gmail.com> wrote:
> I am enclosing a bit log here.
> I had diff both sequencer on mainstream and altera trunk.
> No diff.
>
> As for the sdram_gen5.c there are diff but no major point
> before calibration fail is trigger. ECC is not use or setup.
>
> Setup:
> No CYCLIC no WDT all off on dts and .config.
> No modification on code.
I had similar problem on a custom board with cyclone V. I tried
disabling the watchdog but this didn't make any difference.
After bisecting, I traced it to commit 3b8dfc42a23 which changed
CONFIG_SYS_TIMER_COUNTS_DOWN into a real Kconfig symbol. Although this
was updated in socfpga_cyclone5_defconfig, I had to make the same
change in my defconfig.
Not sure if this is your problem too, but worth checking, particularly
if you're using a custom defconfig.
Regards,
Ralph
More information about the U-Boot
mailing list