Oh, long time has passed.
>> Maybe jsg@ has a good idea how to build both?
>
> I agree codesize may change with a newer toolchain.
> Not sure about the other part.
put PMIC fix for Allwinner H6 aside, I want to simply add H616 support and
upgrade to 2.8 now. how about this?
Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/arm-trusted-firmware/Makefile,v
retrieving revision 1.19
diff -u -p -r1.19 Makefile
--- Makefile 8 Aug 2022 15:27:59 -0000 1.19
+++ Makefile 18 Apr 2023 12:06:52 -0000
@@ -4,9 +4,9 @@ COMMENT= ARM Trusted Firmware
GH_ACCOUNT= ARM-software
GH_PROJECT= arm-trusted-firmware
-GH_TAGNAME= v2.7.0
+GH_TAGNAME= v2.8.0
-EPOCH= 0
+EPOCH= 1
CATEGORIES= sysutils
@@ -31,7 +31,8 @@ PLATFORMS=\
rk3328 \
rk3399 \
sun50i_a64 \
- sun50i_h6
+ sun50i_h6 \
+ sun50i_h616
do-build:
.for P in ${PLATFORMS}
@@ -50,5 +51,7 @@ do-install:
${PREFIX}/share/arm-trusted-firmware/sun50i_a64-bl31.bin
${INSTALL_DATA} ${WRKBUILD}/build/sun50i_h6/debug/bl31.bin \
${PREFIX}/share/arm-trusted-firmware/sun50i_h6-bl31.bin
+ ${INSTALL_DATA} ${WRKBUILD}/build/sun50i_h616/debug/bl31.bin \
+ ${PREFIX}/share/arm-trusted-firmware/sun50i_h616-bl31.bin
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/sysutils/arm-trusted-firmware/distinfo,v
retrieving revision 1.11
diff -u -p -r1.11 distinfo
--- distinfo 8 Aug 2022 15:27:59 -0000 1.11
+++ distinfo 18 Apr 2023 12:06:52 -0000
@@ -1,2 +1,2 @@
-SHA256 (arm-trusted-firmware-2.7.0.tar.gz) =
maN/WraCQVvoDyC7GKzcGkXtqfKn3mfrPceY+qcPZuY=
-SIZE (arm-trusted-firmware-2.7.0.tar.gz) = 6511934
+SHA256 (arm-trusted-firmware-2.8.0.tar.gz) =
YPrWDutoQAl/jmTxYJPAbdsu8mnHoir/7QK+qmzv5GY=
+SIZE (arm-trusted-firmware-2.8.0.tar.gz) = 7114236
--
SASANO Takayoshi (JG1UAA) <[email protected]>