pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1 Initial impor...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6ef9a3387cdd
branches:  trunk
changeset: 367432:6ef9a3387cdd
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Fri Sep 01 21:02:39 2017 +0000

description:
Initial import of arm-trusted-firmware-sun50iw1p1 version 20170831.

ARM Trusted Firmware (ATF) provides a reference implementation of secure
world software for ARMv8-A, including a Secure Monitor executing at
Exception Level 3 (EL3). It implements various ARM interface standards,
such as:

    The Power State Coordination Interface (PSCI)
    Trusted Board Boot Requirements (TBBR, ARM DEN0006C-1)
    SMC Calling Convention
    System Control and Management Interface

As far as possible the code is designed for reuse or porting to other
ARMv8-A model and hardware platforms.

ARM will continue development in collaboration with interested parties to
provide a full reference implementation of Secure Monitor code and ARM
standards to the benefit of all developers working with ARMv8-A TrustZone
technology.

This package provides ATF for Allwinner sun50iw1p1 family SoCs.

diffstat:

 sysutils/arm-trusted-firmware-sun50iw1p1/DESCR                  |  19 +++++
 sysutils/arm-trusted-firmware-sun50iw1p1/Makefile               |  33 ++++++++++
 sysutils/arm-trusted-firmware-sun50iw1p1/PLIST                  |   2 +
 sysutils/arm-trusted-firmware-sun50iw1p1/distinfo               |   7 ++
 sysutils/arm-trusted-firmware-sun50iw1p1/patches/patch-Makefile |  24 +++++++
 5 files changed, 85 insertions(+), 0 deletions(-)

diffs (105 lines):

diff -r 905055d519bf -r 6ef9a3387cdd sysutils/arm-trusted-firmware-sun50iw1p1/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/arm-trusted-firmware-sun50iw1p1/DESCR    Fri Sep 01 21:02:39 2017 +0000
@@ -0,0 +1,19 @@
+ARM Trusted Firmware (ATF) provides a reference implementation of secure
+world software for ARMv8-A, including a Secure Monitor executing at
+Exception Level 3 (EL3). It implements various ARM interface standards,
+such as:
+
+    The Power State Coordination Interface (PSCI)
+    Trusted Board Boot Requirements (TBBR, ARM DEN0006C-1)
+    SMC Calling Convention
+    System Control and Management Interface
+
+As far as possible the code is designed for reuse or porting to other
+ARMv8-A model and hardware platforms.
+
+ARM will continue development in collaboration with interested parties to
+provide a full reference implementation of Secure Monitor code and ARM
+standards to the benefit of all developers working with ARMv8-A TrustZone
+technology.
+
+This package provides ATF for Allwinner sun50iw1p1 family SoCs.
diff -r 905055d519bf -r 6ef9a3387cdd sysutils/arm-trusted-firmware-sun50iw1p1/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/arm-trusted-firmware-sun50iw1p1/Makefile Fri Sep 01 21:02:39 2017 +0000
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2017/09/01 21:02:39 jmcneill Exp $
+
+VERSION=       20170831
+GITHUB_PROJECT=        arm-trusted-firmware
+GITHUB_TAG=    aa75c8da415158a94b82a430b2b40000778e851f
+
+PKGNAME=       ${GITHUB_PROJECT}-sun50iw1p1-${VERSION}
+DISTNAME=      ${PKGNAME}
+CATEGORIES=    sysutils
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=apritzel/}
+EXTRACT_SUFX=  .zip
+
+MAINTAINER=    port-arm%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/apritzel/arm-trusted-firmware/
+COMMENT=       ARM Trusted Firmware for Allwinner sun50iw1p1 SoCs
+LICENSE=       modified-bsd
+
+USE_TOOLS+=    gmake
+
+MAKE_FLAGS+=   CROSS_COMPILE=${PREFIX}/cross-aarch64-none-elf/bin/aarch64-none-elf-
+MAKE_FLAGS+=   PLAT=sun50iw1p1
+MAKE_FLAGS+=   DEBUG=1
+MAKE_FLAGS+=   BUILD_STRING=${GITHUB_TAG}
+BUILD_TARGET=  bl31
+
+BUILD_DEPENDS+=        cross-aarch64-none-elf-gcc-[0-9]*:../../cross/aarch64-none-elf-gcc
+
+do-install:
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/arm-trusted-firmware/sun50iw1p1
+       ${INSTALL_DATA} ${WRKSRC}/build/sun50iw1p1/debug/bl31.bin \
+           ${DESTDIR}${PREFIX}/share/arm-trusted-firmware/sun50iw1p1
+
+.include "../../mk/bsd.pkg.mk"
diff -r 905055d519bf -r 6ef9a3387cdd sysutils/arm-trusted-firmware-sun50iw1p1/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/arm-trusted-firmware-sun50iw1p1/PLIST    Fri Sep 01 21:02:39 2017 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/09/01 21:02:39 jmcneill Exp $
+share/arm-trusted-firmware/sun50iw1p1/bl31.bin
diff -r 905055d519bf -r 6ef9a3387cdd sysutils/arm-trusted-firmware-sun50iw1p1/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/arm-trusted-firmware-sun50iw1p1/distinfo Fri Sep 01 21:02:39 2017 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2017/09/01 21:02:39 jmcneill Exp $
+
+SHA1 (arm-trusted-firmware-sun50iw1p1-20170831-aa75c8da415158a94b82a430b2b40000778e851f.zip) = 20f50fcfa18525c5808f6336f8e81665cc99cd04
+RMD160 (arm-trusted-firmware-sun50iw1p1-20170831-aa75c8da415158a94b82a430b2b40000778e851f.zip) = d4fb1d8d4818c06d7983373ac11829a3307f8dae
+SHA512 (arm-trusted-firmware-sun50iw1p1-20170831-aa75c8da415158a94b82a430b2b40000778e851f.zip) = 
2ffea0d9f7b54f789bc565b9957fff2366376f9de9a160c45c7c9eb1dd7c049122a71b65e33d50e71c0553dbab239c11d41c86cdcf51a6dd724c8c39c2a41a23
+Size (arm-trusted-firmware-sun50iw1p1-20170831-aa75c8da415158a94b82a430b2b40000778e851f.zip) = 1063088 bytes
+SHA1 (patch-Makefile) = 05a3c7b3777f058b6228dea940008bf2a15d1285
diff -r 905055d519bf -r 6ef9a3387cdd sysutils/arm-trusted-firmware-sun50iw1p1/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/arm-trusted-firmware-sun50iw1p1/patches/patch-Makefile   Fri Sep 01 21:02:39 2017 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-Makefile,v 1.1 2017/09/01 21:02:39 jmcneill Exp $
+
+--- Makefile.orig      2017-02-20 00:15:39.000000000 +0000
++++ Makefile
+@@ -107,8 +107,8 @@ BL_COMMON_SOURCES  :=      common/bl_common.c      
+ BUILD_BASE            :=      ./build
+ BUILD_PLAT            :=      ${BUILD_BASE}/${PLAT}/${BUILD_TYPE}
+ 
+-PLATFORMS             :=      $(shell ls -I common plat/)
+-SPDS                  :=      $(shell ls -I none services/spd)
++PLATFORMS             :=      $(shell ls plat/ | fgrep -v -x common)
++SPDS                  :=      $(shell ls services/spd | grep -v -x none)
+ HELP_PLATFORMS                :=      $(shell echo ${PLATFORMS} | sed 's/ /|/g')
+ 
+ # Convenience function for adding build definitions
+@@ -232,7 +232,7 @@ CFLAGS                     +=      -nostdinc -pedantic -ffrees
+                               -mgeneral-regs-only -std=c99 -c -Os             \
+                               ${DEFINES} ${INCLUDES}
+ CFLAGS                        +=      -ffunction-sections -fdata-sections
+-LDFLAGS                       +=      --fatal-warnings -O1
++LDFLAGS                       =       --fatal-warnings -O1
+ LDFLAGS                       +=      --gc-sections
+ #LDFLAGS              +=      --fix-cortex-a53-843419
+ 



Home | Main Index | Thread Index | Old Index