Welcome, Guest
Username: Password: Remember me
CodeTyphon Cross-Build Development, discussions and problems
  • Page:
  • 1

TOPIC:

Arm board: Banana Pi 8 years 10 months ago #7115

  • Bjorn
  • Bjorn's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
Hello everybody,

I have been working on getting this thing together but I can't seem to get it fixed.
As I recently changed from the Raspberry Pi to the Banana Pi, I stumbled upon a few problem when cross compiling from Linux (64 bit) to this board.

There are no default libraries for this board, so I grabbed them myself (Copied everything with
cp /lib/arm-linux-gnueabihf/*.so*
)
I added this folder to the path of lazarus Project-> Project Options->Path-> Libraries
However, I was not sure which crosscompiler I had to create, so I have been trying them all (toolchains)
I tried the arm-linux, arm-linux--eabihf and even the one for the raspberryPi2 (as it also has an ARMV7 CPU)

I always get the same error:
/usr/lib/x86_64-linux-gnu/crti.o: file not recognized: File format not recognized
MyProject.lpr(25,0) Error: Error while linking

Could somebody help me to get things working? I don't think I have been doing stupid things but I am not getting there yet. If any additional information is needed, please let me know!

Thanks in advance!

Please Log in or Create an account to join the conversation.

Last edit: by Bjorn.

Arm board: Banana Pi 8 years 10 months ago #7119

  • Bjorn
  • Bjorn's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
After hours of trying, fiddling around,... I managed to compile and run it on the Banana Pi.

I did some googling about the libraries and I forgot some. After adding, another error showed up that it could not find the libraries under /lib/arm-linux-gnueabihf/
I don't know how you guys are able to just put them in a directory and let fpc work from there (as I thought I did just that), so I copied them over in the /lib/arm-linux-gnueabihf folder (which I had to create on the host machine, not the target machine)

It compiled!

So, if somebody could explain how to fix it that I can put it in one folder, I can supply you the libraries. I used the arm-linux--eabihf toolchain (not sure this is the most efficient one but it worked)

Please Log in or Create an account to join the conversation.

Arm board: Banana Pi 8 years 10 months ago #7120

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4502
  • Thank you received: 1096
We not just copy to a folder of host pc and work
on host PC, we rename if needed all target OS libraries for FPC
it's a lot of work, for this reason we have so many target OS-libraries to our serves ready to use...

Anyway please post for Banana Pi
-FPC cross element script, is the same with Raspberry Pi 2 ?
- and the target OS (it's Debian ?) OS-Libraries

We will upload all these, to our servers after test...
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Arm board: Banana Pi 8 years 1 month ago #8837

  • sinovoip
  • sinovoip's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 1
  • Thank you received: 0
banana pi forum: www.banana-pi.org

more information about : bananapi BPI-M1,BPI-M1+,BPI-M2, BPI-M3

Please Log in or Create an account to join the conversation.

Arm board: Banana Pi 8 years 1 month ago #8838

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4502
  • Thank you received: 1096
Thanks Sir
I think, we must test this.

Many Software Companies wait for a cheap and powerful arm-linux board.
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Arm board: Banana Pi 8 years 1 month ago #8842

  • Tony_O_Gallos
  • Tony_O_Gallos's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Ελεύθερο λογισμικό ή θάνατος
  • Posts: 84
  • Thank you received: 23
Don't forget OrangePi too, even more powerful
www.orangepi.org/

Please Log in or Create an account to join the conversation.

Arm board: Banana Pi 7 years 8 months ago #9704

  • trustfm
  • trustfm's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 9
  • Thank you received: 2
yes orangepi support would be nice !!!

Please Log in or Create an account to join the conversation.

  • Page:
  • 1