Recent

Author Topic: Raspberry Pi bundles now available  (Read 21780 times)

criageek

  • Jr. Member
  • **
  • Posts: 79
Re: Raspberry Pi bundles now available
« Reply #15 on: March 21, 2016, 07:55:18 pm »
I apologize if this is not the right place to post this, but seemed like a good place to start ;)

I've recently acquired an Odroid C2 and I'm having trouble getting Lazarus to run on it.  Will your script work on it?

When I do cat /proc/cpuinfo it says the processor is:

AArch64 Processor rev 4 (aarch64)

On their website it says it's a

Amlogic ARM\Uffffffff Cortex\Uffffffff-A53(ARMv8) 2Ghz quad core CPU

Thanks,
Rich

sysrpl

  • Sr. Member
  • ****
  • Posts: 315
    • Get Lazarus
Re: Raspberry Pi bundles now available
« Reply #16 on: March 22, 2016, 09:26:37 am »
I apologize if this is not the right place to post this, but seemed like a good place to start ;)

I've recently acquired an Odroid C2 and I'm having trouble getting Lazarus to run on it.  Will your script work on it?

When I do cat /proc/cpuinfo it says the processor is:

AArch64 Processor rev 4 (aarch64)

On their website it says it's a

Amlogic ARM\Uffffffff Cortex\Uffffffff-A53(ARMv8) 2Ghz quad core CPU

Thanks,
Rich
No.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Raspberry Pi bundles now available
« Reply #17 on: March 22, 2016, 11:37:59 am »
Real hijack ...  ;) ...

I have updated fpc(laz)up to install on aarch64 (Linux). Especially for Odroid-C2.

https://github.com/LongDirtyAnimAlf/Reiniero-fpcup

Just run:

./fpclazup_linux_aarch64 --fpcurl="trunk" --lazurl="trunk" --verbose --getfullrepo

Reports are welcome !

criageek

  • Jr. Member
  • **
  • Posts: 79
Re: Raspberry Pi bundles now available
« Reply #18 on: March 22, 2016, 01:59:36 pm »
Nice!  Thanks DonAlfredo!  I'll give this a try today or tomorrow and report back.

Rich

criageek

  • Jr. Member
  • **
  • Posts: 79
Re: Raspberry Pi bundles now available
« Reply #19 on: March 22, 2016, 02:38:06 pm »
:(   Here's what I get:

fpclazup: info: Going to download /tmp/TMP00000.tmp from URL: https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/raw/master/bin/aarch64-linux/aarch64-linux-ppca64
fpclazup: info: Download http(s) result: 500
fpclazup: ERROR: Error getting/extracting bootstrap compiler. Archive: /tmp/TMP00000.tmp
fpclazup: info: Error running fpcup. Technical details: error executing sequence fpc; line: 2, param: FPC
fpclazup: info: Error running fpcup. Technical details: error executing sequence defaultARM; line: 3, param: fpc
Fpclazup failed.


I'm running this as myself.  Should I be using sudo?

Thanks,
Rich

SymbolicFrank

  • Hero Member
  • *****
  • Posts: 1313
Re: Raspberry Pi bundles now available
« Reply #20 on: March 22, 2016, 02:44:58 pm »
In which directory do you execute the command?


criageek

  • Jr. Member
  • **
  • Posts: 79
Re: Raspberry Pi bundles now available
« Reply #22 on: March 22, 2016, 03:51:12 pm »
SymbolicFrank - I'm executing from Reiniero-fpcup-master/bin/aarch64-linux

DonAlfredo - yes

Thanks,
Rich

SymbolicFrank

  • Hero Member
  • *****
  • Posts: 1313
Re: Raspberry Pi bundles now available
« Reply #23 on: March 22, 2016, 04:03:25 pm »
Do you have write rights in the directory where it tries to store that file? Does wget work?

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Raspberry Pi bundles now available
« Reply #24 on: March 22, 2016, 04:17:10 pm »
I think the write rights are not the problem here.
Perhaps its an unexpected redirect from Github.

So, if you do the wget on the file, you will get a first 302 (redirect).

Or: could you send me the output of the wget ?

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Raspberry Pi bundles now available
« Reply #25 on: March 22, 2016, 04:19:33 pm »
But, you are able to download the fpc bootstrap compiler with wget.

So, if you put this file into the bootstrap directory manually, fpclazup will find it and continue.

Directory name: "fpcbootstrap" inside your install-directory !!


criageek

  • Jr. Member
  • **
  • Posts: 79
Re: Raspberry Pi bundles now available
« Reply #26 on: March 22, 2016, 04:41:24 pm »
Hmmm...same thing.  I copied aarch64-linux-ppca64 into my development/fpcbootstrap folder in my home directory.  The rights on aarch64-linux-ppca64 are 664 and I am the owner.

 
Rich

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Raspberry Pi bundles now available
« Reply #27 on: March 22, 2016, 05:08:10 pm »
Sorry ... my bad ... rename the file to ppca64

criageek

  • Jr. Member
  • **
  • Posts: 79
Re: Raspberry Pi bundles now available
« Reply #28 on: March 22, 2016, 05:34:03 pm »
Still no go.  I renamed aarch64-linux-ppca64 in my development/fpcbootstrap folder to ppca64 and still get the same error.

It would be good to figure out the root problem...why am I getting the error from git?

I'll be heading to the golf course shortly so it will be later today before I can get back to this but let me know if there is anything else you want me to try.

Thanks,
Rich
« Last Edit: March 22, 2016, 06:16:54 pm by criageek »

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Raspberry Pi bundles now available
« Reply #29 on: March 22, 2016, 06:34:28 pm »
Did you make it executable (with chmod) ?

As this is a hijacked thread (by me), and its about fpcup, lets continue on :

http://forum.lazarus.freepascal.org/index.php/topic,27211.0.html

 

TinyPortal © 2005-2018