[U-Boot] SPL load ARM Trusted Firmware BL31?

Simon Glass sjg at chromium.org
Thu Oct 6 04:51:26 CEST 2016


Hi Masahiro,

On 5 October 2016 at 20:02, Masahiro Yamada <yamada.masahiro at socionext.com>
wrote:
> Hi Simon,
>
>
> 2016-10-06 1:50 GMT+09:00 Simon Glass <sjg at chromium.org>:
>
>> Long term, I am wondering if ATF could be a library instead of a
>> separate binary? Or perhaps it could be build so that it can be linked
>> against.
>
>
> ATF is runtime firmware, so it will stay there while the system is
running.
> On the other hand, the memory allocated for U-Boot can be freed
> after the system boot up.

That is changing, e.g. with EFI_LOADER. Also it is possible on x86 that
some code may hang around (if SMM etc. is implemented in U-Boot).

>
>
> In the first place, this is a license issue.
>
> U-Boot GPL vs ATF BSD.
>
> I think they can not be linked together.

Ah OK.

Is it not permitted to link a BSD library into U-Boot? Anyway, that is not
so important I suppose.

Regards,
Simon


More information about the U-Boot mailing list