pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils Initial import of arm-trusted-firmware-sun50i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1f9ea93f8951
branches:  trunk
changeset: 308549:1f9ea93f8951
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Sat May 26 17:51:33 2018 +0000

description:
Initial import of arm-trusted-firmware-sun50i-h6 version 20180207.

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 H6 family SoCs.

diffstat:

 sysutils/Makefile                                     |   3 +-
 sysutils/arm-trusted-firmware-sun50i-h6/DESCR         |  19 ++++++++++
 sysutils/arm-trusted-firmware-sun50i-h6/Makefile      |  33 +++++++++++++++++++
 sysutils/arm-trusted-firmware-sun50i-h6/PLIST         |   2 +
 sysutils/arm-trusted-firmware-sun50i-h6/buildlink3.mk |  14 ++++++++
 sysutils/arm-trusted-firmware-sun50i-h6/distinfo      |   6 +++
 6 files changed, 76 insertions(+), 1 deletions(-)

diffs (111 lines):

diff -r 56c73108bc5f -r 1f9ea93f8951 sysutils/Makefile
--- a/sysutils/Makefile Sat May 26 17:29:44 2018 +0000
+++ b/sysutils/Makefile Sat May 26 17:51:33 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.758 2018/05/18 17:08:12 youri Exp $
+# $NetBSD: Makefile,v 1.759 2018/05/26 17:51:33 jmcneill Exp $
 #
 
 COMMENT=       System utilities
@@ -21,6 +21,7 @@
 SUBDIR+=       ansible
 SUBDIR+=       ansible2
 SUBDIR+=       apcupsd
+SUBDIR+=       arm-trusted-firmware-sun50i-h6
 SUBDIR+=       arm-trusted-firmware-sun50iw1p1
 SUBDIR+=       asapm
 SUBDIR+=       atitvout
diff -r 56c73108bc5f -r 1f9ea93f8951 sysutils/arm-trusted-firmware-sun50i-h6/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/arm-trusted-firmware-sun50i-h6/DESCR     Sat May 26 17:51:33 2018 +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 H6 family SoCs.
diff -r 56c73108bc5f -r 1f9ea93f8951 sysutils/arm-trusted-firmware-sun50i-h6/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/arm-trusted-firmware-sun50i-h6/Makefile  Sat May 26 17:51:33 2018 +0000
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2018/05/26 17:51:33 jmcneill Exp $
+
+VERSION=       20180207
+GITHUB_PROJECT=        arm-trusted-firmware
+GITHUB_TAG=    406a637162bee1f1b0c26525c3aae204aac241fa
+
+PKGNAME=       ${GITHUB_PROJECT}-sun50i-h6-${VERSION}
+DISTNAME=      ${PKGNAME}
+CATEGORIES=    sysutils
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=Icenowy/}
+EXTRACT_SUFX=  .zip
+
+MAINTAINER=    port-arm%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/Icenowy/arm-trusted-firmware/
+COMMENT=       ARM Trusted Firmware for Allwinner H6 SoCs
+LICENSE=       modified-bsd
+
+USE_TOOLS+=    gmake
+
+MAKE_FLAGS+=   CROSS_COMPILE=${PREFIX}/cross-aarch64-none-elf/bin/aarch64-none-elf-
+MAKE_FLAGS+=   PLAT=sun50i_h6
+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/sun50i-h6
+       ${INSTALL_DATA} ${WRKSRC}/build/sun50i_h6/debug/bl31.bin \
+           ${DESTDIR}${PREFIX}/share/arm-trusted-firmware/sun50i-h6
+
+.include "../../mk/bsd.pkg.mk"
diff -r 56c73108bc5f -r 1f9ea93f8951 sysutils/arm-trusted-firmware-sun50i-h6/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/arm-trusted-firmware-sun50i-h6/PLIST     Sat May 26 17:51:33 2018 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/05/26 17:51:33 jmcneill Exp $
+share/arm-trusted-firmware/sun50i-h6/bl31.bin
diff -r 56c73108bc5f -r 1f9ea93f8951 sysutils/arm-trusted-firmware-sun50i-h6/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/arm-trusted-firmware-sun50i-h6/buildlink3.mk     Sat May 26 17:51:33 2018 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/05/26 17:51:33 jmcneill Exp $
+
+BUILDLINK_DEPMETHOD.arm-trusted-firmware-sun50i-h6?=   build
+
+BUILDLINK_TREE+=       arm-trusted-firmware-sun50i-h6
+
+.if !defined(ARM_TRUSTED_FIRMWARE_SUN50I_H6_BUILDLINK3_MK)
+ARM_TRUSTED_FIRMWARE_SUN50I_H6_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.arm-trusted-firmware-sun50i-h6+= arm-trusted-firmware-sun50i-h6>=20180207
+BUILDLINK_PKGSRCDIR.arm-trusted-firmware-sun50i-h6?=   ../../sysutils/arm-trusted-firmware-sun50i-h6
+.endif # ARM_TRUSTED_FIRMWARE_SUN50I_H6_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -arm-trusted-firmware-sun50i-h6
diff -r 56c73108bc5f -r 1f9ea93f8951 sysutils/arm-trusted-firmware-sun50i-h6/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/arm-trusted-firmware-sun50i-h6/distinfo  Sat May 26 17:51:33 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/05/26 17:51:33 jmcneill Exp $
+
+SHA1 (arm-trusted-firmware-sun50i-h6-20180207-406a637162bee1f1b0c26525c3aae204aac241fa.zip) = 57cb3ee8bbcd225e3b643bc57676a85fd413e77a
+RMD160 (arm-trusted-firmware-sun50i-h6-20180207-406a637162bee1f1b0c26525c3aae204aac241fa.zip) = 60a903dfbb523ef09c9c052cbc77bcf21efe7a67
+SHA512 (arm-trusted-firmware-sun50i-h6-20180207-406a637162bee1f1b0c26525c3aae204aac241fa.zip) = 
6f9b7b27b1d449a313b7b04b400f463356018b446e6e7c3cf20f6ee9625231d39d2e1bbe35049eb2c992a7b9c1e902e69e2ffb8b207a8c7bec577eae2fe1e472
+Size (arm-trusted-firmware-sun50i-h6-20180207-406a637162bee1f1b0c26525c3aae204aac241fa.zip) = 3330975 bytes



Home | Main Index | Thread Index | Old Index