[U-Boot] [u-boot-release] [PATCH 2/3] armv8: ls1088a: SPL size reduction

York Sun york.sun at nxp.com
Fri Jan 5 16:24:52 UTC 2018


On 01/05/2018 08:22 AM, Sumit Garg wrote:
>> -----Original Message-----
>> From: York Sun
>> Sent: Friday, January 05, 2018 9:40 PM
>> To: Sumit Garg <sumit.garg at nxp.com>; u-boot at lists.denx.de
>> Cc: Prabhakar Kushwaha <prabhakar.kushwaha at nxp.com>; Ruchika Gupta
>> <ruchika.gupta at nxp.com>
>> Subject: Re: [u-boot-release] [PATCH 2/3] armv8: ls1088a: SPL size reduction
>>
>> On 01/05/2018 08:07 AM, Sumit Garg wrote:
>>
>> <snip>
>>
>>>>
>>>> Sumit,
>>>>
>>>> PPA has been fixed to not claim OCRAM. Please rework your patch.
>>>>
>>>> York
>>>
>>> York,
>>>
>>> I have just sent reworked patches without removing dcache cache code.
>>> It's been working only with toolchain above GCC 6 that reduces SPL size.
>>
>> Thanks.
>> What do you mean "working only with toolchain above GCC 6"? Do you mean
>> the size would be too large using older toolchain?
>>
>> York
> 
> Yes for LSDK, tool-chain being used is GCC 5.4.1. Following is analysis with LSDK too-chain:
> 
> SPL size for Secure boot image without dcache code:	83K
> Available max OCRAM memory size for SPL image:	84K
> SPL size for Secure boot image with dcache code:	85K
> 
> So for LSDK we have remove dcache code for Secure boot to work with current SPL size reduction.

If you are out of space for LSDK, go ahead to remove the dcache code.
For upstream U-Boot, I want to keep those code for falcon boot. We are
going with GCC 6 anyway.

York


More information about the U-Boot mailing list