[PATCH v1] SDRAM Calibration Failed fix for GEN5 SoCFPGA

Quentin Schulz quentin.schulz at cherry.de
Mon Nov 24 14:44:56 CET 2025



On 11/15/25 2:00 PM, Sune Brian wrote:
>> This is a quick fix to stablize what
>> currently users encountered bootup stall.
>> This fix is found under board boot trials.
>> No logical code can be explained why it
>> fails the SDRAM calibration but applying.
> 
> A bit follow up on this patch.
> When user turned on the watchdog on
> u-boot-xxxx.dts while having the original
> setup triggers the SDRAM calibration fail.
> 
> While users those do not turn on the watchdog.
> w/o this patch could be fine and not sure
> what is  the proper way to link the dts and
> watchdog driver accordingly.
> 
> Always included the watchdog driver should
> not be harm (correct me if not).
> What the dts does can either initialize it or not.
> What w/o the driver and dts setting to "okay"
> does break things.
> 
> So Tom I am not sure based on your experiences.
> Always attach driver and leave dts to do the job?
> 

Device Tree is representation of the hardware. Is the watchdog present 
in hardware? Yes? Then status = "okay".

Ideally, the board shouldn't fail if watchdog is enabled in DT but not 
the driver (and vice-versa).

Do you know what the actual issue is? Why does it fail when watchdog is 
enabled in DT but not the driver?

Cheers,
Quentin


More information about the U-Boot mailing list