pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1



Module Name:    pkgsrc
Committed By:   jmcneill
Date:           Fri Sep  1 21:02:40 UTC 2017

Added Files:
        pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1: DESCR Makefile PLIST
            distinfo
        pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/patches: patch-Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/DESCR \
    pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/Makefile \
    pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/PLIST \
    pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/patches/patch-Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/DESCR
diff -u /dev/null pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/DESCR:1.1
--- /dev/null   Fri Sep  1 21:02:40 2017
+++ pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/DESCR       Fri Sep  1 21:02:39 2017
@@ -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.
Index: pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/Makefile
diff -u /dev/null pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/Makefile:1.1
--- /dev/null   Fri Sep  1 21:02:40 2017
+++ pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/Makefile    Fri Sep  1 21:02:39 2017
@@ -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"
Index: pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/PLIST
diff -u /dev/null pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/PLIST:1.1
--- /dev/null   Fri Sep  1 21:02:40 2017
+++ pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/PLIST       Fri Sep  1 21:02:39 2017
@@ -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
Index: pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/distinfo
diff -u /dev/null pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/distinfo:1.1
--- /dev/null   Fri Sep  1 21:02:40 2017
+++ pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/distinfo    Fri Sep  1 21:02:39 2017
@@ -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

Index: pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/patches/patch-Makefile
diff -u /dev/null pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/patches/patch-Makefile:1.1
--- /dev/null   Fri Sep  1 21:02:40 2017
+++ pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/patches/patch-Makefile      Fri Sep  1 21:02:39 2017
@@ -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