Saturday, October 20, 2018

Re: update sysutils/arm-trusted-firmware to 1.6

> Date: Sun, 23 Sep 2018 23:15:44 +1000
> From: Jonathan Gray <jsg@jsg.id.au>
>
> Update to 1.6 and build the newly added a64/h5 platform support that can
> hopefully replace the atf-allwinner port.
>
> Only compile tested for lack of hardware.

FWIW, I've now also tested rk3399. So I think you should go ahead and
commit this.

ok kettenis@

> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/sysutils/arm-trusted-firmware/Makefile,v
> retrieving revision 1.5
> diff -u -p -r1.5 Makefile
> --- Makefile 10 Apr 2018 06:13:15 -0000 1.5
> +++ Makefile 23 Sep 2018 12:16:35 -0000
> @@ -6,7 +6,7 @@ COMMENT= ARM Trusted Firmware
>
> GH_ACCOUNT= ARM-software
> GH_PROJECT= arm-trusted-firmware
> -GH_TAGNAME= v1.5
> +GH_TAGNAME= v1.6
>
> CATEGORIES= sysutils
>
> @@ -19,17 +19,25 @@ BUILD_DEPENDS+= devel/arm-none-eabi/gcc-
> MAKE_ENV+= CROSS_COMPILE="aarch64-none-elf-"
> MAKE_ENV+= BUILD_STRING="${GH_TAGNAME:S/v//}"
>
> -MAKE_FLAGS+= V=1
> -MAKE_FLAGS+= PLAT=rk3399 DEBUG=1
> -
> -ALL_TARGET= bl31
> -
> NO_TEST= Yes
> USE_GMAKE= Yes
>
> +PLATFORMS=\
> + rk3399 \
> + sun50i_a64
> +
> +do-build:
> +.for P in ${PLATFORMS}
> + cd ${WRKSRC} && \
> + ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} \
> + V=1 PLAT=${P} DEBUG=1 bl31
> +.endfor
> +
> do-install:
> ${INSTALL_DATA_DIR} ${PREFIX}/share/arm-trusted-firmware/
> ${INSTALL_DATA} ${WRKBUILD}/build/rk3399/debug/bl31/bl31.elf \
> ${PREFIX}/share/arm-trusted-firmware/rk3399-bl31.elf
> + ${INSTALL_DATA} ${WRKBUILD}/build/sun50i_a64/debug/bl31.bin \
> + ${PREFIX}/share/arm-trusted-firmware/sun50i_a64-bl31.bin
>
> .include <bsd.port.mk>
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/sysutils/arm-trusted-firmware/distinfo,v
> retrieving revision 1.2
> diff -u -p -r1.2 distinfo
> --- distinfo 10 Apr 2018 06:13:15 -0000 1.2
> +++ distinfo 23 Sep 2018 12:09:39 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (arm-trusted-firmware-1.5.tar.gz) = dNxsnrWfK6zIp2vWAtMH0QVpn5DSyQKIL7riib9EQ2E=
> -SIZE (arm-trusted-firmware-1.5.tar.gz) = 2684635
> +SHA256 (arm-trusted-firmware-1.6.tar.gz) = YhIDaPIZbT4SYpbIEW8zmVaOEAlgpRIuUgF9InZrcAk=
> +SIZE (arm-trusted-firmware-1.6.tar.gz) = 3102529
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/sysutils/arm-trusted-firmware/pkg/PLIST,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 PLIST
> --- pkg/PLIST 20 Aug 2017 21:32:07 -0000 1.1.1.1
> +++ pkg/PLIST 23 Sep 2018 12:17:50 -0000
> @@ -1,3 +1,4 @@
> @comment $OpenBSD: PLIST,v 1.1.1.1 2017/08/20 21:32:07 kettenis Exp $
> share/arm-trusted-firmware/
> share/arm-trusted-firmware/rk3399-bl31.elf
> +share/arm-trusted-firmware/sun50i_a64-bl31.bin
>

No comments:

Post a Comment