Recent

Author Topic: Developing FreePascal on TI ARM64 SoC.  (Read 947 times)

HKPhysicist

  • New member
  • *
  • Posts: 8
Developing FreePascal on TI ARM64 SoC.
« on: January 18, 2026, 06:27:51 pm »
Hello FreePascal Experts,
I am new to Pascal.   :)

I am planning to develop FreePascal applications on a Beagle board with TI ARM64 SoC.  Beagle SoC uses Debian OS clones.

  • So, can I install the FreePascal deb packages for RaspPi5 onto my beagle board OS?
  • How do I write Pascal codes to communicate with my board's standard 9600bps UART?


Yours faithfully.   O:-)

ccrause

  • Hero Member
  • *****
  • Posts: 1093
Re: Developing FreePascal on TI ARM64 SoC.
« Reply #1 on: January 18, 2026, 09:34:54 pm »
Welcome! If your board runs Linux you should be able to install FPC from the standard distribution package manager. Using the UART should (in theory) be straight forward, search for any Linux serial examples.

Thaddy

  • Hero Member
  • *****
  • Posts: 18729
  • To Europe: simply sell USA bonds: dollar collapses
Re: Developing FreePascal on TI ARM64 SoC.
« Reply #2 on: January 19, 2026, 07:19:28 am »
1. FreePascal and Lazarus are in the Debian AARCH64 repositories. For freePascal, in recent Debian distributions this is the same version as the official freepascal one: 3.2.2. Mind you: the Lazarus version in the Debian repositories is slightly older than the official Lazarus distribution.
2. Download an official distribution from sourceforge.
3. BeagleBoards have a card reader.
4. Download fpcupdeluxe and run that for linux64/aarch64

There is no need for a RPi5/AARCH64 specific distribution, don't even use it, because there is none....
You need this one:
https://sourceforge.net/projects/freepascal/files/Linux/3.2.2/fpc-3.2.2.aarch64-linux.tar/download
If Europe sells their USA bonds the USD will collapse. Europe can affort that given average state debts. The USA can't affort that. Just an advice...

HKPhysicist

  • New member
  • *
  • Posts: 8
Re: Developing FreePascal on TI ARM64 SoC.
« Reply #3 on: January 19, 2026, 08:55:16 am »
Very nice.  Thank you.  Let me try.   ;D

Thaddy

  • Hero Member
  • *****
  • Posts: 18729
  • To Europe: simply sell USA bonds: dollar collapses
Re: Developing FreePascal on TI ARM64 SoC.
« Reply #4 on: January 19, 2026, 09:23:18 am »
First install build-essential, after that install simply fpc from debian repo. This will instal fpc-3.2.2 on bookworm or trixie.
If Europe sells their USA bonds the USD will collapse. Europe can affort that given average state debts. The USA can't affort that. Just an advice...

HKPhysicist

  • New member
  • *
  • Posts: 8
Re: Developing FreePascal on TI ARM64 SoC.
« Reply #5 on: January 19, 2026, 02:13:19 pm »
Yes, I have installed this in Beagleplay:
sudo apt install fpc

but the Lazarus is old, just v2, so I refuse this version.

HKPhysicist

  • New member
  • *
  • Posts: 8
Re: Developing FreePascal on TI ARM64 SoC.
« Reply #6 on: January 19, 2026, 03:53:13 pm »

HKPhysicist

  • New member
  • *
  • Posts: 8
Re: Developing FreePascal on TI ARM64 SoC.
« Reply #7 on: January 20, 2026, 08:59:53 pm »
First install build-essential, after that install simply fpc from debian repo. This will instal fpc-3.2.2 on bookworm or trixie.

Friend,
How to compile or install the newest Lazarus IDE in TI Debian clone if it already has the newest FPC?

ccrause

  • Hero Member
  • *****
  • Posts: 1093
Re: Developing FreePascal on TI ARM64 SoC.
« Reply #8 on: January 22, 2026, 06:14:41 pm »
There are several options to get Lazarus:
Install from a .deb: https://download.lazarus-ide.org/Lazarus%20Linux%20arm64%20DEB/Lazarus%204.4/

Or build Lazarus from source:
Code: Bash  [Select][+][-]
  1. $ git clone --single-branch -b lazarus_4_4 https://gitlab.com/freepascal.org/lazarus/lazarus.git lazarus
  2. $ make bigide
  3. $ sudo make install
This wiki page has more details and also list some external packages required by Lazarus.

HKPhysicist

  • New member
  • *
  • Posts: 8
Re: Developing FreePascal on TI ARM64 SoC.
« Reply #9 on: January 23, 2026, 05:00:26 pm »
Thank you.  ;D

 

TinyPortal © 2005-2018