sama5d27: Replacing at91bootstrap with U-Boot SPL

Eugen Hristev eugen.hristev at linaro.org
Thu Apr 3 16:29:38 CEST 2025



On 4/3/25 17:17, Fabio Estevam wrote:
> Hi,
> 
> Booting top of tree U-Boot from the SD card on a sama5d27_wlsom1_ek
> board works when  AT91 Bootstrap is used.
> 
> Now, I want to replace AT91 Bootstrap with U-Boot SPL.
> 
> I copied spl/boot.bin to the VFAT partition of the SD card, and I only
> got this storm of the following messages:
> 
> Could not initialize timer (err -96)
> 
> Could not initialize timer (err -96)
> 
> Could not initialize timer (err -96)
> 
> Could not initialize timer (err -96)
> 
> Could not initialize timer (err -96)
> 
> Would you happen to have any suggestions on how to fix this error and
> boot sama5d27 using U-Boot SPL?
> 
> Thanks,
> 
> Fabio Estevam

First thing that comes to my mind is that there are no timer devices
available. IIRC when you build u-boot, you get a separate DT for the
SPL, in which only some of the devices are present. My feeling is that
the timer is not there. Can you check ?
Devices that are in different boot stages have a property in DT bootph-*

Eugen


More information about the U-Boot mailing list