All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] What if ATF can be part of U-Boot source, like SPL?
@ 2019-06-29 15:02 Jagan Teki
  2019-06-29 16:50 ` Mark Kettenis
                   ` (4 more replies)
  0 siblings, 5 replies; 24+ messages in thread
From: Jagan Teki @ 2019-06-29 15:02 UTC (permalink / raw)
  To: u-boot

In terms of code maintenance and development feasibility it is always
a better approach to have out-of-tree code or binary to be part of
in-house source tree.

This is what exactly it was done for SPL, if I'm not wrong. So can we
do the same thing for ATF on ARM64 SoCs?

We are using ATF (on Allwinner) to switch EL3 to EL2 for start loading
U-Boot proper and minimal PSCI, PMIC initialization. So assuming the
functionality of ATF (like here) is limited so the code it require can
be limited too, so why can't this code to be part of U-Boot tree?

This would ultimately avoid out-off-tree ATF builds with associated
variable exporting during u-boot builds.

More over this idea would also help to design a single-step bootloader
where it can't depends on out-of-tree sources.

Code sync from ATF source to U-Boot can be possible in-terms licensing
point-of-view since ATF licensed under BSD-3-Clause.

I'm thinking this can be a worth-idea to look at it and I'm sure It
may require some hard changes and other things to consider but just
posted to understand how hard or feasible or meaningful it is?

Feel free for any comments?

Jagan,
Amarula Solutions India.

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

end of thread, other threads:[~2019-09-05 23:14 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20190904134501.7980e45b@donnerap.cambridge.arm.com>
2019-09-05  1:17 ` [U-Boot] What if ATF can be part of U-Boot source, like SPL? Matteo Carlini
2019-06-29 15:02 Jagan Teki
2019-06-29 16:50 ` Mark Kettenis
2019-06-29 18:38 ` Marek Vasut
2019-06-29 18:49 ` André Przywara
2019-06-29 23:03   ` Marek Vasut
2019-06-30  1:38     ` André Przywara
2019-07-02 18:32       ` Marek Vasut
2019-09-04  2:17         ` Simon Glass
2019-09-04 17:32           ` Andre Przywara
2019-09-04 17:56             ` Marek Vasut
2019-09-05  0:54               ` André Przywara
2019-09-05 12:26                 ` Marek Vasut
2019-09-05 23:14                   ` André Przywara
2019-06-30 11:15 ` Wolfgang Denk
2019-06-30 13:57 ` Tom Rini
2019-06-30 14:03   ` Marek Vasut
2019-06-30 14:07     ` Michael Nazzareno Trimarchi
2019-06-30 14:17     ` Tom Rini
2019-06-30 14:20       ` Marek Vasut
2019-06-30 14:29         ` Tom Rini
2019-06-30 14:50           ` Marek Vasut
2019-09-04  2:51         ` Masahiro Yamada
2019-09-04 23:10           ` Tom Rini

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.