All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Making U-Boot smaller
@ 2019-05-21 16:43 Simon Glass
  2019-05-21 16:56 ` Jagan Teki
  2019-05-21 19:31 ` Marek Vasut
  0 siblings, 2 replies; 15+ messages in thread
From: Simon Glass @ 2019-05-21 16:43 UTC (permalink / raw)
  To: u-boot

Hi,

(moved from thread "U-Boot PXA support")

We have of-platdata, which produces C data from the DT, for linking
into U-Boot. It saves libfdt and DT space. But we still have the DM
overhead.

We have binman which can insert values into the binary after
link-time. This is barely used at present, only for accessing the
location of things in flash.

Another thing is that every little tweak and feature adds a few bytes
and there are dozens of them in each release. It would be interesting
to build a board from 10 years ago (like PXA) and see where the growth
is. My bet is that we could add Kconfig options to disable extra
features (and enhancements of features) and make quite a difference.

For DM, I think it would be interesting to revisit and compare against
the initial release, and see if some features could be made optional
in SPL.

Finally I feel we could implement a single-device API for where
CONFIG_SPL_DM is not set. We could use the debug UART for serial, a
single instance of tiny MMC for MMC, etc.

Regards,
Simon

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2019-05-24 19:59 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-21 16:43 [U-Boot] Making U-Boot smaller Simon Glass
2019-05-21 16:56 ` Jagan Teki
2019-05-21 19:32   ` Marek Vasut
2019-05-21 19:53     ` Tom Rini
2019-05-21 19:54       ` Marek Vasut
2019-05-21 19:59         ` Tom Rini
2019-05-21 20:01           ` Marek Vasut
2019-05-21 20:10             ` Tom Rini
2019-05-21 20:13               ` Marek Vasut
2019-05-22 14:15                 ` Eugeniu Rosca
2019-05-22 15:09                   ` Tom Rini
2019-05-22 16:50                     ` Eugeniu Rosca
2019-05-22 18:50                       ` Tom Rini
2019-05-24 19:59                         ` Eugeniu Rosca
2019-05-21 19:31 ` Marek Vasut

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.