STM32MP1 boot slow
marex at denx.de
Mon Mar 30 12:10:04 CEST 2020
On 3/30/20 10:05 AM, Patrick DELAUNAY wrote:
>> 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,
>>>>> 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
>>> 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"
I added some review comments, thanks.
More information about the U-Boot