comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Are there any cross-compiler for Embedded Linux on ARMv7?
Date: Tue, 30 Mar 2021 20:12:36 +0200	[thread overview]
Message-ID: <s3vpmg$14gs$1@gioia.aioe.org> (raw)
In-Reply-To: s3vium$q55$4@dont-email.me

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<n> 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

  reply	other threads:[~2021-03-30 18:12 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-29 17:16 Are there any cross-compiler for Embedded Linux on ARMv7? John McCabe
2021-03-29 18:26 ` Dmitry A. Kazakov
2021-03-29 21:06   ` John McCabe
2021-03-29 21:40     ` Dmitry A. Kazakov
2021-03-30 16:17       ` John McCabe
2021-03-30 18:12         ` Dmitry A. Kazakov [this message]
2021-03-29 18:46 ` Andreas ZEURCHER
2021-03-29 21:14   ` John McCabe
2021-03-30 10:01 ` Maxim Reznik
2021-03-30 17:58 ` Shark8
2021-04-01  9:16   ` John McCabe
2021-04-05 18:19     ` Shark8
2021-04-06 18:26       ` John McCabe
2021-04-06 21:19       ` antispam
2021-04-06 22:02         ` Britt
2021-04-07 18:58           ` antispam
2021-04-07  0:19         ` Paul Rubin
2021-04-07 19:24           ` antispam
2021-04-07  9:00         ` John McCabe
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox