[U-Boot] [PATCH] ti: am335x_evm: Enable CONFIG_SPL_OF_CONTROL

Faiz Abbas faiz_abbas at ti.com
Thu Mar 21 07:05:16 UTC 2019


Tom, Lokesh,

On 20/03/19 8:06 PM, Tom Rini wrote:
> On Wed, Mar 20, 2019 at 07:07:06PM +0530, Lokesh Vutla wrote:
>>
>>
>> On 19/03/19 4:49 PM, Tom Rini wrote:
>>> Enable support for SPL_OF_CONTROL on this platform.  That means doing a
>>> few things:
>>> - Add u-boot,dm-pre-reloc to a number of nodes
>>> - Drop static platdata in the board file.
>>> - A lot of tweaks to the defconfig.  We remove some things such as
>>>   SPL_USE_ARCH_MEMCPY/SET for space.  Increase our malloc len.
>>> - Drop, for now at least, USB SPL support as it's causing a hang.
>>>
>>> Cc: Faiz Abbas <faiz_abbas at ti.com>
>>> Cc: Lokesh Vutla <lokeshvutla at ti.com>
>>> Signed-off-by: Tom Rini <trini at konsulko.com>
>>
>> Any stats on the binary size changes and the remaining space left? I have been
>> trying to not add SPL_OF_CONTROL so that more features can fit in the same
>> binary :) We will soon reach that stage if few other boot modes are added in.
> 
> Without USB support, we're only at 72KiB.  Going for "kitchen sink" on
> this platform with DM is going to be tricky.  If we can drop falcon mode
> that'll help.
>

I've got usb working with my patches here:

https://patchwork.ozlabs.org/project/uboot/list/?series=97658

That means we have all the bootmodes for am335x working as shown in this
table:
http://processors.wiki.ti.com/index.php/Linux_Core_U-Boot_User%27s_Guide#Compiling_MLO_and_u-boot

The only problem I see is with using environment in falcon boot. Can we
live with that?

Thanks,
Faiz



More information about the U-Boot mailing list