STM32MP1 boot slow

Patrick DELAUNAY patrick.delaunay at st.com
Mon Mar 30 10:05:50 CEST 2020


Hi,

> From: Marek Vasut <marex at denx.de>
> Sent: vendredi 27 mars 2020 19:21
> 
> On 3/27/20 4:35 PM, Patrick DELAUNAY wrote:
> > Hi Marek,
> 
> Hi,
> 
> [...]
> 
> >>> I would like to see patches to enable the cache. We did this some
> >>> years ago in a Chromebook and it made a big difference. It is not
> >>> that hard.
> >>
> >> ACK. Why did the chromebook patches never make it upstream ?
> >
> > Work in progress
> > https://gitlab.denx.de/u-boot/custodians/u-boot-stm/-/commit/3399fb37c
> > 3b7db6e99118766c4d1cd5e742ecc8f
> >
> > with improvements
> >
> > For example, the result on STM32MP157C-DK2 board is:
> >    1,6s gain for trusted boot chain with TF-A
> >    2,2s gain for basic boot chain with SPL
> >
> > I will push this patch after sanity checks (ARM requirement on TLB /
> > cache update with MMU activated).
> 
> Nice, thanks. CC me when submitting it.

I check the dcache and MMU sequence with my patch and it is correctly
handled in SPL and U-Boot pre-reloc.

So the I send my my patch today:
"arm: stm32mp1: activate data cache in SPL and before relocation"

http://patchwork.ozlabs.org/patch/1263815/

> [...]
> 
> --
> Best regards,
> Marek Vasut

Regards
Patrick


More information about the U-Boot mailing list