[meta-xilinx] [PATCH 2/4] arm-trusted-firmware_git.bb: Update to v2016.3 tag

Nathan Rossi nathan at nathanrossi.com
Fri Nov 18 08:36:05 PST 2016


On 18 November 2016 at 11:04, Manjukumar Matha
<manjukumar.harthikote-matha at xilinx.com> wrote:
> Update ATF to release tag xilinx-v2016.3 tag

This version of ATF is incompatible with the 2.27 version of binutils
that oe-core/poky provides. The following error occurs during atf
build.

...
|   AS      plat/arm/common/aarch64/arm_helpers.S
|   AS      drivers/cadence/uart/cdns_console.S
|   AS      plat/common/aarch64/platform_helpers.S
| bl31/aarch64/runtime_exceptions.S: Assembler messages:
| bl31/aarch64/runtime_exceptions.S:177: Error: non-constant
expression in ".if" statement
| bl31/aarch64/runtime_exceptions.S:186: Error: non-constant
expression in ".if" statement
| bl31/aarch64/runtime_exceptions.S:191: Error: non-constant
expression in ".if" statement
...

This is introduced because of
https://github.com/ARM-software/arm-trusted-firmware/commit/79627dc37259781e578c47e1e63856dd0424b2a2
being backported to this Xilinx version of atf. However the use of
padding value is broken in newer binutils.

This binutils change will need to be applied to get this working
again. For reference see this atf issue
https://github.com/ARM-software/tf-issues/issues/401.

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7ea12e5c3ad54da440c08f32da09534e63e515ca

Since this is an actual bug fix that is applied in master of binutils
getting this backported for morty/master would be the best way to
resolve this problem.

Regards,
Nathan

>
> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha at xilinx.com>
> ---
>  recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb b/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb
> index 4c74e87..b83b4e2 100644
> --- a/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb
> +++ b/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb
> @@ -12,8 +12,8 @@ S = "${WORKDIR}/git"
>  BRANCH = "master"
>  SRC_URI = "git://github.com/Xilinx/arm-trusted-firmware.git;protocol=https;branch=${BRANCH}"
>
> -# This points at the 'xilinx-v2016.2' tag
> -SRCREV ?= "1058495c23e3c759c1c3785432b4d8eaa4fc7340"
> +# This points at the 'xilinx-v2016.3' tag
> +SRCREV ?= "a9e3716615a23c78e3cdea5b5b2f840f89817cb1"
>
>  PV = "1.2+xilinx+git${SRCPV}"
>
> --
> 2.7.4
>
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx



More information about the meta-xilinx mailing list