[PATCH v1] SDRAM Calibration Failed fix for GEN5 SoCFPGA

Quentin Schulz quentin.schulz at cherry.de
Tue Nov 25 13:12:54 CET 2025


Hi Brian,

On 11/25/25 12:44 PM, Sune Brian wrote:
>> That's a bandage fix. It would be better to have some idea of what's
>> going on. If this is possible, bisecting between a known working and
>> broken commits would hopefully return the culprit and we can start
>> making educated guesses from there. I also see no defconfig in upstream
>> with TARGET_SOCFPGA_GEN5
> 
> 
> I have found the actual issue now might be wrong.
> 
> default:
> 
> #
> # Start-up hooks
> #
> # CONFIG_CYCLIC is not set
> 
> Normal:
> 
> CONFIG_CYCLIC=y
> CONFIG_SPL_CYCLIC=y
> CONFIG_CYCLIC_MAX_CPU_TIME_US=5000
> 

AH! In the default defconfig (can you please copy it in the mail?), can 
you tell us which WDT and WATCHDOG and CYCLIC symbols are enabled? It is 
possible there's a way to enable watchdog without cyclic (but that won't 
work as far as I could tell), and we should fix that in Kconfig so it 
cannot happen.

> I guess defcondig files are not sync to the latest SPL design?
> 

Which defconfig files are you talking about? Where can I find them?

Cheers,
Quentin


More information about the U-Boot mailing list