From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!aioe.org!5WHqCw2XxjHb2npjM9GYbw.user.gioia.aioe.org.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Are there any cross-compiler for Embedded Linux on ARMv7? Date: Tue, 30 Mar 2021 20:12:36 +0200 Organization: Aioe.org NNTP Server Message-ID: References: NNTP-Posting-Host: 5WHqCw2XxjHb2npjM9GYbw.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 X-Notice: Filtered by postfilter v. 0.9.2 Content-Language: en-US Xref: reader02.eternal-september.org comp.lang.ada:61691 List-Id: On 2021-03-30 18:17, John McCabe wrote: > The Zynq-7000 we're using is a dual-core ARM A9 (as I mentioned) running > at between 866MHz. As far as I can see the ODROID XU4 has quad-A15s at > 2GHz + quad-A7s at 1.4GHz, with 2GB RAM. So, if you imagine the "week > instead of a day" thing, then take into account the dual-core vs 8-core, > 866MHz vs 2.0GHz/1.4GHz, 1.0GB vs 2.0GB, and RAM filesystem (ok, > admittedly we have got 4GB flash on there, but...), perhaps a native ARM > compiler isn't going to be a very effective evaluation tool :-) One of our target boards is only 512M RAM single core. The trick is to build on ODROID, but to run on the target. Our code basis is huge, which is why it takes so long to build. For a sizeable project ODROID is OK. When I compile my private stuff it takes 12+ hours to recompile everything on a Raspberry Pi 3, and only 3-4 on an ODROID. The main problem is to figure out the gprbuild -j switch. -j0 will likely run you into the swap with 8 kernels and many generics. ARM Linux becomes unstable when swapping. If you invest in writing a good mock for your hardware, you could develop and test mostly on an x86. Only the integration tests would require building on the ODROID and running on the target. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de