[U-Boot] [PATCH 0/6] ARM: DRA7: AM57xx: Enable SPL_DM

Lokesh Vutla lokeshvutla at ti.com
Wed Feb 8 13:28:10 UTC 2017



On Wednesday 08 February 2017 06:45 PM, Tom Rini wrote:
> On Wed, Feb 08, 2017 at 06:37:17PM +0530, Lokesh Vutla wrote:
>>
>>
>> On Wednesday 08 February 2017 06:26 PM, Tom Rini wrote:
>>> On Wed, Feb 08, 2017 at 06:03:31PM +0530, Lokesh Vutla wrote:
>>>
>>>> - Enable SPL_DM on all DRA7 and AM57xx based platforms.
>>>> - SPL uses a generic dts on all platforms with same defconfig.
>>>> - After this series SPL size is increased by ~7KB.
>>>
>>> That's not a bad size growth, esp here where we can afford it.  Did you
>>
>> Yeah, but I am worried about this size on am335x.
> 
> Agreed, at least wrt HS platforms as well.
> 
>>
>>> experiment with going the board-data way?  Also it looks like we're
>>
>> hmm.. IIUC, board-data is duplication of same data that is available in
>> DT. Anyways all the unsed nodes in DT are removed for SPL case. So, I
>> used this approach.
> 
> My understanding was that going this way (ala rockchip) does save space.
> We may also need to start saying that gcc-6 is required on these
> platforms in order to take advantage of having all of the unused strings
> really be discarded from the final binary.

Okay, Ill try this for am335x. I guess the current approach is fine for
DRA7 and AM57?

Thanks and regards,
Lokesh

> 
>>> going the same DT for U-Boot proper now, will this work long term?  Or
>>> do you need to switch to having U-Boot itself be loaded from a FIT image
>>> and given the correct board dtb?  Thanks!
>>
>> The DT that is being introduced in this series will be used only by SPL.
>> For U-Boot proper, a FIT image will be built using OF_LIST. I don't
>> think we need to switch.
> 
> Ah, I missed that already being set, sorry.
> 


More information about the U-Boot mailing list