[U-Boot] [PATCH v2 00/32] spi: DM_SPI migration timeout, remainder(2)
Tom Rini
trini at konsulko.com
Wed Nov 28 04:36:11 UTC 2018
On Wed, Nov 28, 2018 at 05:24:45AM +0100, Heiko Schocher wrote:
> Hello Marek, Jagan,
>
> Am 27.11.2018 um 13:10 schrieb Marek Vasut:
> >On 11/27/2018 06:51 AM, Jagan Teki wrote:
> >>On Mon, Nov 26, 2018 at 12:48 PM Peng Fan <peng.fan at nxp.com> wrote:
> >>>
> >>>Hi Jagan,
> >>>
> >>>Just have a quick question here.
> >>>
> >>>After dropping non-DM code, for SPL use non-DM code should switch to SPL_DM and use SPL OF CONTROL?
> >>
> >>Here are the options, that we dealt based on the size constraints
> >>1) try to use DM_SPL with SPL OF_CONTROL
> >
> >Not possible
> >
> >>2) try PLATDATA
> >
> >Adds extra bloat to SPLs which are already borderline, so not possible.
> >
> >>3) try TPL for truly small size
> >
> >How would that help ? I don't need extra level of bootloader, I can use
> >SPL right now.
>
> Exactly my thoughts too. I have a at91 based board (smartweb) in mainline
> where the SPL fits into 4k sram ... no chance for 1) or 2) ...
>
> I see the reasons for integrating more and more stuff into SPL, but
> it should be possible to build a small SPL ...
>
> Hopefully TPL stays really small ...
Staying small is the stated goal of TPL. And it's not impossible that
something like smartweb will need to switch to something like
TPL->U-Boot.
> Hmm.. while writting (did not actually looked into TPL ...):
>
> Is it possible to boot U-boot directly from TPL ?
No reason why not, so long as everything U-Boot needs is setup, just
like always.
> >>if none works, we can see the other option. may be some glue code to
> >>read flash for SPL or something else.
> >
> >I'll have to take a look at the Renesas Gen2, but probably next year.
>
> I talk with customers to get time for converting, but this also may
> take some time ...
I understand this concern, but, things have been converting for years.
I continue to be happy to hear and welcome additional technical problems
that need to be solved, but by that same token, I want to be clear that
"I think we just can't convert $X to DM for full U-Boot" or similar
aren't arguments I'm very receptive to.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181127/bbb6dae0/attachment.sig>
More information about the U-Boot
mailing list