Hi Michael,

El lun., 17 feb. 2020 a las 17:26, Michael Tretter
(<m.tret...@pengutronix.de>) escribió:
>
> On Wed, 12 Feb 2020 17:40:33 +0100, Ahmad Fatoum wrote:
> > Trusted Firmware-A (TF-A) is a reference implementation of secure world
> > software for Arm A-Profile architectures (Armv8-A and Armv7-A).
>
> I successfully built the TF-A BL31 for the ZynqMP using this rule.
>
> However, I saw that the TF-A build uses the current git commitish for
> BUILD_STRING, which will be written into the binary. If I build the
> TF-A with this rule, this ends up to be the commitish of the BSP. I'm
> not sure if I actually want this, but I don't know what to put there
> instead.

Since we finally agreed to keep TF_A_EXTRA_ARGS in the final TF-A rule
files, you can actually set BUILD_STRING to anything you want. Just
include BUILD_STRING=whatever in the TF_A_EXTRA_ARGS parameter.

Best,

Guillermo

>
> Michael
>
> >
> > Cc: Alejandro Vazquez <avazquez....@gmail.com>
> > Signed-off-by: Rouven Czerwinski <rou...@czerwinskis.de>
> > Signed-off-by: Ahmad Fatoum <a.fat...@pengutronix.de>
> > ---
> > v1 -> v2:
> >  - Made TF_A_ARCH_MAJOR configurable to support 32 bit ARMv8 (Guillermo)
> >  - Replaces stm32mp-specific TF_A_DTB with TF_A_EXTRA_ARGS to contain
> >    all board/vendor specific options
> >  - removed reference to no longer existing CREDITS file
> >  - removed TF_A_MAKE_OPT contents that are set elsewhere
> >  - reduced uses of += in favor of directly appending to the string
> >  - delete old build directory in prepare instead of compile
> >  - use default compile stage (Guillermo)
> >  - install artifacts to sysroot /usr/lib/firmware in install stage
> >  - install artifacts to IMAGEDIR in targetinstall
> >  - fix clean stage to delete proper artifacts
> > ---
> >  platforms/tf-a.in | 138 ++++++++++++++++++++++++++++++++++++++++++++++
> >  rules/tf-a.make   | 114 ++++++++++++++++++++++++++++++++++++++
> >  2 files changed, 252 insertions(+)
> >  create mode 100644 platforms/tf-a.in
> >  create mode 100644 rules/tf-a.make
>
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de



-- 
Guillermo Rodriguez Garcia
guille.rodrig...@gmail.com

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to