[U-Boot-Custodians] SPL / TPL

Wolfgang Denk wd at denx.de
Mon Oct 14 08:04:19 UTC 2019


Dear Masahiro,

In message <CAK7LNATmYs3r6PCP=5tCPN0iVmmh6UDuBVB4mNBETiP3-EXnnw at mail.gmail.com> you wrote:
>
> You can check that by building every board with CONFIG_TPL=y,
> and comparing the sizes between SPL and TPL.

In which way does size give any indication about the sequence of
execution?

> TPL is smaller than SPL, so the rockchip platforms work
> in the boot order of TPL -> SPL -> U-Boot

Um... this is a _very_ strange argument.

-> size net/ping.o spl/common/console.o
   text    data     bss     dec     hex filename
    569       0       6     575     23f net/ping.o
   1771       0       8    1779     6f3 spl/common/console.o

So the execution order is that "ping" is running before the console
initialization?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The light at the end of the tunnel is usually a "No Exit" sign.


More information about the U-Boot-Custodians mailing list