Hi, Some Allwinner H6 based board does not work ethernet and HDMI (currently not used) due to improper setting of AXP805 PMIC.
To avoid this issue, Armbian uses old ATF (v2.2). Our ATF ports cannot downgrade, so using SUNXI_SETUP_REGULATORS=0 option to disable PMIC handling in ATF. This option is discussed at ATF's code review, see https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/12676 To reduce side-effect of this change, it is the best that compiling both (SUNXI_SETUP_REGULATORS=0 and 1) bl31 object separately, but looks difficult. So this suggestion is fixed to 0, please tell me if there is better idea. 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 Dec 2022 02:15:39 -0000 @@ -35,9 +35,15 @@ PLATFORMS=\ do-build: .for P in ${PLATFORMS} +. if "$P" == "sun50i_h6" + cd ${WRKSRC} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} \ + V=1 PLAT=${P} DEBUG=1 SUNXI_SETUP_REGULATORS=0 bl31 +.else cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} \ V=1 PLAT=${P} DEBUG=1 bl31 +. endif .endfor do-install: -- SASANO Takayoshi (JG1UAA) <u...@mx5.nisiq.net>