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-sun50i_a64 ARM trusted f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eb734b0dfa00
branches:  trunk
changeset: 330092:eb734b0dfa00
user:      martin <martin%pkgsrc.org@localhost>
date:      Sat Feb 23 06:20:12 2019 +0000

description:
ARM trusted firmware, mainline version, build for the sun50i_a64
platform (e.g. Pinebook).

diffstat:

 sysutils/arm-trusted-firmware-sun50i_a64/DESCR         |  20 ++++++++
 sysutils/arm-trusted-firmware-sun50i_a64/Makefile      |  41 ++++++++++++++++++
 sysutils/arm-trusted-firmware-sun50i_a64/PLIST         |   2 +
 sysutils/arm-trusted-firmware-sun50i_a64/buildlink3.mk |  13 +++++
 sysutils/arm-trusted-firmware-sun50i_a64/distinfo      |   6 ++
 5 files changed, 82 insertions(+), 0 deletions(-)

diffs (102 lines):

diff -r b37e25d21739 -r eb734b0dfa00 sysutils/arm-trusted-firmware-sun50i_a64/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/arm-trusted-firmware-sun50i_a64/DESCR    Sat Feb 23 06:20:12 2019 +0000
@@ -0,0 +1,20 @@
+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 mainline ATF for the sun50i_a64 platform,
+for example used by u-boot for the Pinebook.
diff -r b37e25d21739 -r eb734b0dfa00 sysutils/arm-trusted-firmware-sun50i_a64/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/arm-trusted-firmware-sun50i_a64/Makefile Sat Feb 23 06:20:12 2019 +0000
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1 2019/02/23 06:20:12 martin Exp $
+
+VERSION=       2.0
+GITHUB_PROJECT=        arm-trusted-firmware
+GITHUB_TAG=    v${VERSION}
+
+DISTNAME=      ${GITHUB_PROJECT}-${VERSION}
+PLATFORM=      sun50i_a64
+PKGNAME=       ${GITHUB_PROJECT}-${PLATFORM}-${VERSION}
+CATEGORIES=    sysutils
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=ARM-software/}
+EXTRACT_SUFX=  .zip
+
+MAINTAINER=    port-arm%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/ARM-software/arm-trusted-firmware/
+COMMENT=       ARM Trusted Firmware
+LICENSE=       modified-bsd
+
+USE_TOOLS+=    gmake
+
+MAKE_FLAGS+=   CROSS_COMPILE=${PREFIX}/cross-aarch64-none-elf/bin/aarch64-none-elf-
+MAKE_FLAGS+=   PLAT=${PLATFORM}
+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-${PLATFORM}
+       ${INSTALL_DATA} ${WRKSRC}/build/${PLATFORM}/debug/bl31.bin \
+           ${DESTDIR}${PREFIX}/share/arm-trusted-firmware-${PLATFORM}/
+
+
+# XXX kludge. pkgsrc passes down run path flags in LDFLAGS but the
+# cross ld(1) doesn't understand -R. If we pass down -L instead it
+# will be safely ignored.
+COMPILER_RPATH_FLAG=-L
+
+
+.include "../../mk/bsd.pkg.mk"
diff -r b37e25d21739 -r eb734b0dfa00 sysutils/arm-trusted-firmware-sun50i_a64/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/arm-trusted-firmware-sun50i_a64/PLIST    Sat Feb 23 06:20:12 2019 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2019/02/23 06:20:12 martin Exp $
+share/arm-trusted-firmware-sun50i_a64/bl31.bin
diff -r b37e25d21739 -r eb734b0dfa00 sysutils/arm-trusted-firmware-sun50i_a64/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/arm-trusted-firmware-sun50i_a64/buildlink3.mk    Sat Feb 23 06:20:12 2019 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/02/23 06:20:12 martin Exp $
+
+BUILDLINK_DEPMETHOD.arm-trusted-firmware-sun50i_a64?=  build
+
+BUILDLINK_TREE+=       arm-trusted-firmware-sun50i_a64
+
+.if !defined(ARM_TRUSTED_FIRMWARE_SUN50I_A64_BUILDLINK3_MK)
+ARM_TRUSTED_FIRMWARE_SUN50I_A64_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.arm-trusted-firmware-sun50i_a64+=        arm-trusted-firmware-sun50i_a64>=2.0
+BUILDLINK_PKGSRCDIR.arm-trusted-firmware-sun50i_a64?=  ../../sysutils/arm-trusted-firmware-sun50i_a64
+.endif # ARM_TRUSTED_FIRMWARE_SUN50I_A64_BUILDLINK3_MK
+
diff -r b37e25d21739 -r eb734b0dfa00 sysutils/arm-trusted-firmware-sun50i_a64/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/arm-trusted-firmware-sun50i_a64/distinfo Sat Feb 23 06:20:12 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/02/23 06:20:12 martin Exp $
+
+SHA1 (arm-trusted-firmware-2.0.zip) = d789e7aac0e987d8524a11587cc598bf5d894581
+RMD160 (arm-trusted-firmware-2.0.zip) = a7a49da9b0e27c45df867ea1de4809cb89d9b8cc
+SHA512 (arm-trusted-firmware-2.0.zip) = 39180d12be7532b742949f162759793e97c0a6ac835d66aaf857bd3c1d9c0ab10b7ccd5e6a47831ad909a92b4727e181c82a74c90b5d941e469f3a5cf66b0e7c
+Size (arm-trusted-firmware-2.0.zip) = 3949049 bytes



Home | Main Index | Thread Index | Old Index