From 058f9d856839b4f478d0254dd13ece6b2ffc8ae5 Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Tue, 5 Feb 2019 15:45:52 +0000 Subject: [PATCH] sysutils/atf-rk3399: Add a new ARM ATF port for RochChip RK3399 SoC --- sysutils/Makefile | 1 + sysutils/atf-master/distinfo | 4 +++- sysutils/atf-rk3399/Makefile | 11 +++++++++++ sysutils/atf-rk3399/pkg-descr | 7 +++++++ 4 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 sysutils/atf-rk3399/Makefile create mode 100644 sysutils/atf-rk3399/pkg-descr diff --git a/sysutils/Makefile b/sysutils/Makefile index caf39a301fa5..6999ee2abdfe 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -57,6 +57,7 @@ SUBDIR += asmon SUBDIR += asusoled SUBDIR += atf-sun50i_a64 + SUBDIR += atf-rk3399 SUBDIR += atitvout SUBDIR += atop SUBDIR += auto-admin diff --git a/sysutils/atf-master/distinfo b/sysutils/atf-master/distinfo index 46b69b1c952e..f58fe526d70c 100644 --- a/sysutils/atf-master/distinfo +++ b/sysutils/atf-master/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1549376667 +TIMESTAMP = 1549380665 +SHA256 (ARM-software-arm-trusted-firmware-v2.0_GH0.tar.gz) = 7d699a1683bb7a5909de37b6eb91b6e38db32cd6fc5ae48a08eb0718d6504ae4 +SIZE (ARM-software-arm-trusted-firmware-v2.0_GH0.tar.gz) = 3058755 SHA256 (ARM-software-arm-trusted-firmware-2.0.20181123-98aab97_GH0.tar.gz) = e5496f84f6cd550ed494d83e3c82fb75d8ebeb3d3034aa741e62cbdccfdc761c SIZE (ARM-software-arm-trusted-firmware-2.0.20181123-98aab97_GH0.tar.gz) = 3385437 diff --git a/sysutils/atf-rk3399/Makefile b/sysutils/atf-rk3399/Makefile new file mode 100644 index 000000000000..77b5e2105a6a --- /dev/null +++ b/sysutils/atf-rk3399/Makefile @@ -0,0 +1,11 @@ +# $FreeBSD$ + +MASTERDIR= ${.CURDIR}/../atf-master + +PLAT= rk3399 +BL31= bl31/bl31.elf + +# ATF build a firmware that runs on the Cortex-M0 +BUILD_DEPENDS+= arm-none-eabi-gcc:devel/arm-none-eabi-gcc + +.include "${MASTERDIR}/Makefile" diff --git a/sysutils/atf-rk3399/pkg-descr b/sysutils/atf-rk3399/pkg-descr new file mode 100644 index 000000000000..99790c2cd3b7 --- /dev/null +++ b/sysutils/atf-rk3399/pkg-descr @@ -0,0 +1,7 @@ +Arm Trusted Framework for RockChip RK3399 SoC + +Trusted Firmware-A (TF-A) provides a reference implementation of secure world +software for Armv7-A and Armv8-A, including a Secure Monitor executing at +Exception Level 3 (EL3). + +WWW: https://github.com/ARM-software/arm-trusted-firmware