pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/arm-trusted-firmware-sun50i_a64
Module Name: pkgsrc
Committed By: martin
Date: Sat Feb 23 06:20:12 UTC 2019
Added Files:
pkgsrc/sysutils/arm-trusted-firmware-sun50i_a64: DESCR Makefile PLIST
buildlink3.mk distinfo
Log Message:
ARM trusted firmware, mainline version, build for the sun50i_a64
platform (e.g. Pinebook).
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/arm-trusted-firmware-sun50i_a64/DESCR \
pkgsrc/sysutils/arm-trusted-firmware-sun50i_a64/Makefile \
pkgsrc/sysutils/arm-trusted-firmware-sun50i_a64/PLIST \
pkgsrc/sysutils/arm-trusted-firmware-sun50i_a64/buildlink3.mk \
pkgsrc/sysutils/arm-trusted-firmware-sun50i_a64/distinfo
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-sun50i_a64/DESCR
diff -u /dev/null pkgsrc/sysutils/arm-trusted-firmware-sun50i_a64/DESCR:1.1
--- /dev/null Sat Feb 23 06:20:12 2019
+++ pkgsrc/sysutils/arm-trusted-firmware-sun50i_a64/DESCR Sat Feb 23 06:20:12 2019
@@ -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.
Index: pkgsrc/sysutils/arm-trusted-firmware-sun50i_a64/Makefile
diff -u /dev/null pkgsrc/sysutils/arm-trusted-firmware-sun50i_a64/Makefile:1.1
--- /dev/null Sat Feb 23 06:20:12 2019
+++ pkgsrc/sysutils/arm-trusted-firmware-sun50i_a64/Makefile Sat Feb 23 06:20:12 2019
@@ -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"
Index: pkgsrc/sysutils/arm-trusted-firmware-sun50i_a64/PLIST
diff -u /dev/null pkgsrc/sysutils/arm-trusted-firmware-sun50i_a64/PLIST:1.1
--- /dev/null Sat Feb 23 06:20:12 2019
+++ pkgsrc/sysutils/arm-trusted-firmware-sun50i_a64/PLIST Sat Feb 23 06:20:12 2019
@@ -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
Index: pkgsrc/sysutils/arm-trusted-firmware-sun50i_a64/buildlink3.mk
diff -u /dev/null pkgsrc/sysutils/arm-trusted-firmware-sun50i_a64/buildlink3.mk:1.1
--- /dev/null Sat Feb 23 06:20:12 2019
+++ pkgsrc/sysutils/arm-trusted-firmware-sun50i_a64/buildlink3.mk Sat Feb 23 06:20:12 2019
@@ -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
+
Index: pkgsrc/sysutils/arm-trusted-firmware-sun50i_a64/distinfo
diff -u /dev/null pkgsrc/sysutils/arm-trusted-firmware-sun50i_a64/distinfo:1.1
--- /dev/null Sat Feb 23 06:20:12 2019
+++ pkgsrc/sysutils/arm-trusted-firmware-sun50i_a64/distinfo Sat Feb 23 06:20:12 2019
@@ -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