> Date: Sun, 23 Sep 2018 23:15:44 +1000 > From: Jonathan Gray <j...@jsg.id.au> > > Update to 1.6 and build the newly added a64/h5 platform support that can > hopefully replace the atf-allwinner port. > > Only compile tested for lack of hardware.
Works fine on my NanoPi A64. Used the diff below to pick up the new ATF. I didn't test the RK3399 firmware yet, but I suggest you move ahead anyway. I tested upstream ATF fairly recently so it should work fine. Index: sysutils/u-boot/Makefile =================================================================== RCS file: /cvs/ports/sysutils/u-boot/Makefile,v retrieving revision 1.41 diff -u -p -r1.41 Makefile --- sysutils/u-boot/Makefile 11 Sep 2018 10:35:01 -0000 1.41 +++ sysutils/u-boot/Makefile 29 Sep 2018 19:20:54 -0000 @@ -7,6 +7,7 @@ FLAVOR?= arm COMMENT= U-Boot firmware VERSION= 2018.09 +REVISION= 0 DISTNAME= u-boot-${VERSION} PKGNAME= u-boot-${FLAVOR}-${VERSION:S/-//} FULLPKGNAME= ${PKGNAME} @@ -34,9 +35,9 @@ MAKE_ENV= KBUILD_VERBOSE=1 \ .if "${FLAVOR}" == "aarch64" BUILD_DEPENDS+= devel/arm-none-eabi/gcc-linaro,aarch64 \ - sysutils/atf-allwinner + sysutils/arm-trusted-firmware MAKE_ENV+= CROSS_COMPILE="aarch64-none-elf-" -SUNXI_BL31= "${LOCALBASE}/share/atf-allwinner/bl31.bin" +SUNXI_BL31= "${LOCALBASE}/share/arm-trusted-firmware/sun50i_a64-bl31.bin" .elif "${FLAVOR}" == "arm" BUILD_DEPENDS+= devel/arm-none-eabi/gcc-linaro MAKE_ENV+= CROSS_COMPILE="arm-none-eabi-"