
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@ti.com Cc: Lokesh Vutla lokeshvutla@ti.com Signed-off-by: Tom Rini trini@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#Com...
The only problem I see is with using environment in falcon boot. Can we live with that?
Thanks, Faiz