Re: [Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-21 Thread Michael Schnell
On 03/18/2016 05:59 PM, Alfred wrote: Hello, I would like to inform you that Lazarus / FPC runs smooth on an Odroid-C2 under aarch64 (arch linux). Proof: https://drive.google.com/file/d/0B96fg3TpL5RDWnJiMUwyQ21hM00/view?usp=sharing GREAT !!! Many thanks for the good work !!! +1 ! -Michael

[Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-19 Thread Alfred
Hello, I would like to inform you that Lazarus / FPC runs smooth on an Odroid-C2 under aarch64 (arch linux). Proof: https://drive.google.com/file/d/0B96fg3TpL5RDWnJiMUwyQ21hM00/view?usp=sharing I hope that RPi3 will follow soon ! Many thanks for the good work !!!--

Re: [Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-04 Thread Florian Klämpfl
Am 04.03.2016 um 07:58 schrieb Alfred: > Then, perhaps, the ODROID-C2 could be your toy for aarch64 ! It is even not available yet? At least not at a reliable store in germany as far as I know. > > Especially the eMMC connector makes it very suitable for reliable embedded > (FPC) applications.

Re: [Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-04 Thread Mark Morgan Lloyd
Florian Klaempfl wrote: Am 03.03.2016 um 14:29 schrieb Alfred: Working ! Thanks very much. I have now an aarch64 fpc(laz)up executable, compiled through Lazarus. If a 64 bit RPi3 distro is available, I will report back !! I ordered also one in the hope using it to play with fpc aarch64. But

Re: [Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-04 Thread Michael Schnell
On 03/03/2016 07:18 PM, Florian Klaempfl wrote: I ordered also one in the hope using it to play with fpc aarch64. But currently it does not look good as it seems that it is not only a matter of the kernel but also the firmware. At least I didn't unwrap mine yet because of this, without aarch64 s

[Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-03 Thread Alfred
Then, perhaps, the ODROID-C2 could be your toy for aarch64 ! Especially the eMMC connector makes it very suitable for reliable embedded (FPC) applications. As well as its 2Gbyte SDRAM and Gigabit Ethernet. Arch has 64 bit ready: https://archlinuxarm.org/platforms/armv8/amlogic/odroid-c2 But,

Re: [Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-03 Thread Florian Klaempfl
Am 03.03.2016 um 14:29 schrieb Alfred: > Working ! > > Thanks very much. > I have now an aarch64 fpc(laz)up executable, compiled through Lazarus. > > If a 64 bit RPi3 distro is available, I will report back !! I ordered also one in the hope using it to play with fpc aarch64. But currently it doe

[Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-03 Thread Alfred
Working ! Thanks very much. I have now an aarch64 fpc(laz)up executable, compiled through Lazarus. If a 64 bit RPi3 distro is available, I will report back !! Fixed. I replaced a64 with aarch64 in the IDE. Mattias -- ___ Lazarus mailing list La

Re: [Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-03 Thread Michael Schnell
On 03/03/2016 12:33 PM, Bo Berglund wrote: And they claim not so much is to be gained with 64 bit mode since RAM is just 1GB (currently). I suppose similar to X86-64, with aarch64 the speed advantage vs 32 bit is debatable. Some applications that really do 64 bit calculation might get a lot f

Re: [Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-03 Thread Mattias Gaertner
On Thu, 03 Mar 2016 06:47:24 + Alfred wrote: >[...] > How to setup Lazarus to compile for Aarch64 ?? > Fpc does NOT know what to do with -Pa64. > Fpc does know what to do with -Paarch64. Fixed. I replaced a64 with aarch64 in the IDE. Mattias -- _

[Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-03 Thread Alfred
FYI. All my RPi(2) FPC/Lazarus apps do run unchanged on the new RPi3, by just replacing the boot firmware with the latest firmware. They were (cross-)compiled for ARMV7 hardfloat and run on Arch Linux. And boot is fast ... and ... my apps run FAST !!! So, this makes the change towards th

Re: [Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-03 Thread Maxim Ganetsky
03.03.2016 09:47, Alfred пишет: > However, the main question still stands: > > How to setup Lazarus to compile for Aarch64 ?? > Fpc does NOT know what to do with -Pa64. > Fpc does know what to do with -Paarch64. Please create a bug report. -- Best regards, Maxim Ganetsky mai

Re: [Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-03 Thread Bo Berglund
On Thu, 03 Mar 2016 10:53:43 +0100, Michael Schnell wrote: >On 03/02/2016 05:09 PM, Michael Ring wrote: >> AFAIK This is the default mode on RPi for now, same for ODroid C2, it >> also currently runs a64 cpu with a a32 kernel, 'real' 64bit support >> will come later. >> >So obviously the a64 ha

Re: [Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-03 Thread Michael Schnell
On 03/02/2016 05:09 PM, Michael Ring wrote: AFAIK This is the default mode on RPi for now, same for ODroid C2, it also currently runs a64 cpu with a a32 kernel, 'real' 64bit support will come later. So obviously the a64 hardware can run a32 code :-) . Hence I suppose an a64 Linux distributio

[Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-02 Thread Alfred
For all RPi's I use Arch Linux. However, at the moment, no easy Arch aarch64 distro available for RPi3. URL: https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-3 Therefor, I used the general libraries to build the aarch64 cross-compiler. URL: https://archlinuxarm.org/platforms/armv8

Re: [Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-02 Thread Bo Berglund
On Wed, 02 Mar 2016 17:27:24 +0100, Michael Schnell wrote: >On 03/02/2016 05:09 PM, Michael Ring wrote: >> AFAIK This is the default mode on RPi for now, same for ODroid C2, it >> also currently runs a64 cpu with a a32 kernel, 'real' 64bit support >> will come later. >> >So Alfred will only be

Re: [Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-02 Thread Michael Schnell
On 03/02/2016 05:09 PM, Michael Ring wrote: AFAIK This is the default mode on RPi for now, same for ODroid C2, it also currently runs a64 cpu with a a32 kernel, 'real' 64bit support will come later. So Alfred will only be able to run 64 Bit Lazarus programs after updating the OS to a 64 bit v

Re: [Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-02 Thread Michael Ring
AFAIK This is the default mode on RPi for now, same for ODroid C2, it also currently runs a64 cpu with a a32 kernel, 'real' 64bit support will come later. Michael Am 02.03.16 um 13:52 schrieb Michael Schnell: On 03/01/2016 09:45 PM, Alfred wrote: While preparing fpc(laz)up for my RPi3,

Re: [Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-02 Thread Michael Schnell
On 03/01/2016 09:45 PM, Alfred wrote: While preparing fpc(laz)up for my RPi3, Choosing a64 as CPU target I am exited to see that there is a very cheap testing platform for a64 arch ! Question: can a64 hardware and Linux run a32 programs (like X64 systems can run X32 programs) ? -Mich

Re: [Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-02 Thread Bo Berglund
On Tue, 01 Mar 2016 20:45:11 +, Alfred wrote: >While preparing fpc(laz)up for my RPi3 Quick action! They are sold out now everywhere I looked... -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

[Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-01 Thread Alfred
While preparing fpc(laz)up for my RPi3, I did encounter an error with Lazarus. Choosing a64 as CPU target in Lazarus does not work on my system. Manually (command line) choosing aarch64 as CPU target however, does work. Am I doing something wrong ?-- __