(adding atf-build's email to Cc: loop) Zoltan HERPAI <wigy...@uid0.hu> [2020-04-23 17:24:04]:
Hi, > On 4/20/2020 16:29, Petr Štetiar wrote: > > Update ATF to latest v2.3-rc1 version and use reproducible bl31 binaries > > from atf-builds project. > > > > atf-builds project started recently offering reproducible ATF binaries > > which is more convenient then building very tiny ATF artifacts from > > scratch during each build, thus saving considerable build resources. It > > has reduced build from scratch time on my CI builder for sunxi/cortexa53 > > target from 57min down to 29min. > > > > Run tested on a64-olinuxino-emmc. > > > NAK for now, sorry - they don't provide H6 builds which has a separate plat, > and the A64 builds can't be used on it. I'm probably missing something here, where is this H6 used right now? Or you plan to add this soon? I'm quite lost here as I did build/run test this change, didn't noticed any breakage. I'm quite lost here. > If you can ping them to release H6 builds as well, then let's re-discuss. You or anyone else can ping them[1] with a simple PR which would add other binaries. I did the same with "Add sun50i_a64 target"[2] for a64. atf-builds started in "rockchip: add support for Pine64 RockPro64"[3], otherwise we would need to build another toolchain (build time expensive) just to get small ATF binary. Using reproducible ATF binaries seemed better solution to me, then for example having Linux only solution (due to downloaded Linux toolchain) in arm-trusted-firmware-mvebu. > Also, if you could share how the speed-up was measured only with this > change, that'd be great. I'm building my staging tree for some time on GitLab CI, using same steps/config as used on the project's buildbots. Most of the builds are around 30min, so those almost double build times for a53 are easily noticeable. https://gitlab.com/ynezz/openwrt/-/jobs/518186436 (29min, sunxi/cortexa53 with atf-builds) https://gitlab.com/ynezz/openwrt/-/jobs/502628921 (57min, sunxi/cortexa53) https://gitlab.com/ynezz/openwrt/-/jobs/497486792 (56min, sunxi/cortexa53) https://gitlab.com/ynezz/openwrt/-/jobs/496212640 (57min, sunxi/cortexa53) https://gitlab.com/ynezz/openwrt/-/jobs/485014798 (27min, sunxi/cortexa8) https://gitlab.com/ynezz/openwrt/-/jobs/485014797 (32min, sunxi/cortexa7) 1. https://github.com/atf-builds/atf#adding-new-build-targets 2. https://github.com/atf-builds/atf/pull/1 3. https://github.com/openwrt/openwrt/pull/2917#issuecomment-614329227 -- ynezz _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel